POST api/DeviceMessages
Request Information
URI Parameters
None.
Body Parameters
DeviceMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| to | string |
None. |
|
| message | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"to": "sample string 1",
"message": "sample string 2"
}
application/xml, text/xml
Sample:
<DeviceMessage xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <to>sample string 1</to> <message>sample string 2</message> </DeviceMessage>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ObjectNone.
Response Formats
application/json, text/json
Sample:
{}
application/xml, text/xml
Sample:
<anyType xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />