POST api/menuitems/message
Request Information
URI Parameters
None.
Body Parameters
MessageViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Text | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Text": "sample string 1"
}
text/html
Sample:
{"Text":"sample string 1"}
application/xml, text/xml
Sample:
<MessageViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gregsys.DTO"> <Text>sample string 1</Text> </MessageViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseBase| Name | Description | Type | Additional information |
|---|---|---|---|
| isSuccess | boolean |
None. |
|
| message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"isSuccess": true,
"message": "sample string 2"
}
text/html
Sample:
{"isSuccess":true,"message":"sample string 2"}
application/xml, text/xml
Sample:
<ResponseBase xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gregsys.WebApi.Models"> <isSuccess>true</isSuccess> <message>sample string 2</message> </ResponseBase>