POST api/appmessage/insert
Request Information
URI Parameters
None.
Body Parameters
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. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"RowGuid": "1521ca02-2b5f-4e3c-9bd4-2489236ef73b",
"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>1521ca02-2b5f-4e3c-9bd4-2489236ef73b</RowGuid> </AppMessage>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
AppMessageDisplay| Name | Description | Type | Additional information |
|---|---|---|---|
| LanguageIdDisplay | string |
None. |
|
| 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:
{
"LanguageIdDisplay": "sample string 1",
"Id": 2,
"RowGuid": "327a1c1e-2f4d-4f20-85a6-60aaee268663",
"MessageKey": "sample string 4",
"Message": "sample string 5",
"LanguageId": 6,
"Description": "sample string 7"
}
application/xml, text/xml
Sample:
<AppMessageDisplay xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models"> <Description>sample string 7</Description> <Id>2</Id> <LanguageId>6</LanguageId> <Message>sample string 5</Message> <MessageKey>sample string 4</MessageKey> <RowGuid>327a1c1e-2f4d-4f20-85a6-60aaee268663</RowGuid> <LanguageIdDisplay>sample string 1</LanguageIdDisplay> </AppMessageDisplay>