POST api/lightsandheating/appshortname/{appShortName}/devices/{deviceAssetId}/push
POST args to send a PUSH message to mobile units
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| appShortName |
Shortname for app using method |
string |
Required |
| deviceAssetId |
associated measuring device |
integer |
Required |
Body Parameters
notification settings related args
PushArgs| Name | Description | Type | Additional information |
|---|---|---|---|
| Message | string |
None. |
|
| Category | string |
None. |
|
| Id | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Message": "sample string 1",
"Category": "sample string 2",
"Id": "sample string 3"
}
text/html
Sample:
{"Message":"sample string 1","Category":"sample string 2","Id":"sample string 3"}
Response Information
Resource Description
IHttpActionResult
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html
Sample:
Sample not available.