POST api/Sleep/EndAndReturn?state={state}&message={message}&uniqueId={uniqueId}&req={req}&sleepid={sleepid}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
state

integer

Required

message

string

Required

uniqueId

string

Required

req

string

Required

sleepid

integer

Default value is 0

Body Parameters

None.

Response Information

Resource Description

MessageModel
NameDescriptionTypeAdditional information
State

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "State": 1,
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<MessageModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Models">
  <Message>sample string 2</Message>
  <State>1</State>
</MessageModel>