POST api/menuitems/showmessage

Request Information

URI Parameters

None.

Body Parameters

ShowMessageDTO
NameDescriptionTypeAdditional information
UserId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": 1
}

text/html

Sample:
{"UserId":1}

application/xml, text/xml

Sample:
<ShowMessageDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gregsys.DTO">
  <UserId>1</UserId>
</ShowMessageDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ShowMessageResault
NameDescriptionTypeAdditional information
MessageToShow

string

None.

IsExists

boolean

None.

isSuccess

boolean

None.

message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "MessageToShow": "sample string 1",
  "IsExists": true,
  "isSuccess": true,
  "message": "sample string 4"
}

text/html

Sample:
{"MessageToShow":"sample string 1","IsExists":true,"isSuccess":true,"message":"sample string 4"}

application/xml, text/xml

Sample:
<ShowMessageResault 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 4</message>
  <IsExists>true</IsExists>
  <MessageToShow>sample string 1</MessageToShow>
</ShowMessageResault>