POST api/Notification/SaveSensor
Request Information
URI Parameters
None.
Body Parameters
SensorName | Description | Type | Additional information |
---|---|---|---|
Account | string |
None. |
|
ZoneId | integer |
None. |
|
ZoneNumber | string |
None. |
|
Description1 | string |
None. |
|
Description2 | string |
None. |
|
DeviceId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "account": "sample string 1", "zoneId": 2, "zoneNumber": "sample string 3", "description1": "sample string 4", "description2": "sample string 5", "deviceId": 6 }
application/xml, text/xml
Sample:
<Sensor xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GeminiiSecureWebAPI.Model"> <Account>sample string 1</Account> <Description1>sample string 4</Description1> <Description2>sample string 5</Description2> <DeviceId>6</DeviceId> <ZoneId>2</ZoneId> <ZoneNumber>sample string 3</ZoneNumber> </Sensor>
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:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />