POST api/appmessage/keyvalue
Request Information
URI Parameters
None.
Body Parameters
AppMessageSelect| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| MessageKey | string |
None. |
|
| Message | string |
None. |
|
| LanguageId | integer |
None. |
|
| Description | string |
None. |
|
| PageSize | integer |
Required |
|
| PageIndex | integer |
Required |
|
| SortField | string |
None. |
|
| SortFieldDefault | string |
None. |
|
| Quicksearch | string |
None. |
|
| filterIsSet | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"MessageKey": "sample string 1",
"Message": "sample string 2",
"LanguageId": 1,
"Description": "sample string 3",
"PageSize": 4,
"PageIndex": 5,
"SortField": "sample string 6",
"SortFieldDefault": "sample string 7",
"Quicksearch": "sample string 8",
"filterIsSet": true
}
application/xml, text/xml
Sample:
<AppMessageSelect xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models"> <PageIndex>5</PageIndex> <PageSize>4</PageSize> <Quicksearch>sample string 8</Quicksearch> <SortField>sample string 6</SortField> <SortFieldDefault>sample string 7</SortFieldDefault> <filterIsSet>true</filterIsSet> <Description>sample string 3</Description> <Id>1</Id> <LanguageId>1</LanguageId> <Message>sample string 2</Message> <MessageKey>sample string 1</MessageKey> </AppMessageSelect>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Collection of KeyValue| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
Required |
|
| Value | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"Value": "sample string 2"
},
{
"Id": 1,
"Value": "sample string 2"
}
]
application/xml, text/xml
Sample:
<ArrayOfKeyValue xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models">
<KeyValue>
<Id>1</Id>
<Value>sample string 2</Value>
</KeyValue>
<KeyValue>
<Id>1</Id>
<Value>sample string 2</Value>
</KeyValue>
</ArrayOfKeyValue>