POST api/device/sendMsg

Request Information

URI Parameters

None.

Body Parameters

MSG
NameDescriptionTypeAdditional information
devid

string

None.

time

string

None.

reqid

string

None.

message

string

None.

type

integer

None.

payment

decimal number

None.

reward

decimal number

None.

orderid

string

None.

timeout

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "devid": "sample string 1",
  "time": "sample string 2",
  "reqid": "sample string 3",
  "message": "sample string 4",
  "type": 5,
  "payment": 6.1,
  "reward": 7.1,
  "orderid": "sample string 8",
  "timeout": 9
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'MSG'.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}