POST /rids/:rid - Send data to single device
Send point to point message to single rid
Request Uri Parameters
Parameter | Datatype |
---|---|
rid | string |
Request Http Post Parameter Parameters
Parameter | Datatype | Description |
---|---|---|
payload | Http Post Parameter | Http Post parameter which contains Array of JSON objects which are sent to a client |
JSON parameters in Request's payload
Parameter | Description |
---|---|
rid | Http Post parameter which contains Array of JSON objects which are sent to a client |
payload_type | Optional parameters, which describes payload's data type. Possible values are: STRING, INT, BINARY |
payload | Data which is sent to client. For payload_type STRING this should be a string, for INT a 32 bit signed integer and for BINARY a string containing base64 encoded binary data. |
Response Status Codes
Server will return 200 on success case
For error cases see: Error Status Codes
Parameter | Datatype | Description |
---|---|---|
result | string | String representation of end result |