POST api/appmessage/update
Request Information
URI Parameters
None.
Body Parameters
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. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"RowGuid": "c0e6b776-1c78-4a2e-9940-ffcd2f26f5a4",
"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>c0e6b776-1c78-4a2e-9940-ffcd2f26f5a4</RowGuid> <Type>4</Type> <Visibility>5</Visibility> </AppMessage>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AppMessageDisplay| Name | Description | Type | Additional information |
|---|---|---|---|
| LanguageIdDisplay | string |
None. |
|
| TypeDisplay | string |
None. |
|
| VisibilityDisplay | string |
None. |
|
| editDisableButton | boolean |
Required |
|
| 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:
{
"LanguageIdDisplay": "sample string 1",
"TypeDisplay": "sample string 2",
"VisibilityDisplay": "sample string 3",
"editDisableButton": true,
"Id": 5,
"RowGuid": "2bbbed26-e4e5-4616-bf43-70ec2b83944e",
"MessageKey": "sample string 7",
"Type": 8,
"Visibility": 9,
"Message": "sample string 10",
"LanguageId": 11,
"Description": "sample string 12"
}
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 12</Description> <Id>5</Id> <LanguageId>11</LanguageId> <Message>sample string 10</Message> <MessageKey>sample string 7</MessageKey> <RowGuid>2bbbed26-e4e5-4616-bf43-70ec2b83944e</RowGuid> <Type>8</Type> <Visibility>9</Visibility> <LanguageIdDisplay>sample string 1</LanguageIdDisplay> <TypeDisplay>sample string 2</TypeDisplay> <VisibilityDisplay>sample string 3</VisibilityDisplay> <editDisableButton>true</editDisableButton> </AppMessageDisplay>