GET api/Sleep/GetTip

获取随机的tips

Request Information

URI Parameters

None.

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>