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. |
|
| Type | integer |
Required |
|
| Visibility | integer |
Required |
|
| Message | string |
None. |
|
| LanguageId | integer |
Required |
|
| Description | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"RowGuid": "3b245bad-84fc-43e3-81e5-ae5d120c27f2",
"MessageKey": "sample string 3",
"Type": 4,
"Visibility": 5,
"Message": "sample string 6",
"LanguageId": 7,
"Description": "sample string 8"
}
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 8</Description> <Id>1</Id> <LanguageId>7</LanguageId> <Message>sample string 6</Message> <MessageKey>sample string 3</MessageKey> <RowGuid>3b245bad-84fc-43e3-81e5-ae5d120c27f2</RowGuid> <Type>4</Type> <Visibility>5</Visibility> </AppMessage>