POST api/appmessage/preparenew
Request Information
URI Parameters
None.
Body Parameters
Collection of KeyValue| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
Required |
|
| Value | string |
None. |
Request 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>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
AppMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
Required |
|
| RowGuid | globally unique identifier |
Required |
|
| MessageKey | string |
None. |
|
| Message | string |
None. |
|
| LanguageId | integer |
Required |
|
| Description | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"RowGuid": "9627e37c-f2d0-4a1b-a421-b8fb23074260",
"MessageKey": "sample string 3",
"Message": "sample string 4",
"LanguageId": 5,
"Description": "sample string 6"
}
application/xml, text/xml
Sample:
<AppMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models"> <Description>sample string 6</Description> <Id>1</Id> <LanguageId>5</LanguageId> <Message>sample string 4</Message> <MessageKey>sample string 3</MessageKey> <RowGuid>9627e37c-f2d0-4a1b-a421-b8fb23074260</RowGuid> </AppMessage>