GET api/devices/serialnumber/{serialNumber}/gateway
Gets info about the gateway that the specified device serial number belongs to.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
serialNumber | string |
Required |
Body Parameters
None.
Response Information
Resource Description
GatewayName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
SerialNumber | string |
None. |
|
IsActive | boolean |
None. |
|
ExternalId | string |
None. |
|
ZoneId | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": "b88ec4a2-a4d6-4575-9421-af7121090fc5", "SerialNumber": "sample string 2", "IsActive": true, "ExternalId": "sample string 4", "ZoneId": "sample string 5" }
text/html
Sample:
{"Id":"b88ec4a2-a4d6-4575-9421-af7121090fc5","SerialNumber":"sample string 2","IsActive":true,"ExternalId":"sample string 4","ZoneId":"sample string 5"}