This request delivers all gateways of one or more customers.
gateway
GET
-
This parameter is optional. Default is json.
format=json|xml
This parameter is required. You may access data of one or more customers by comma delimited string of customers slcIDs. No comma at the beginning or end of this string.
customer=104,105
Entity | Type | Nullable | Description |
---|---|---|---|
customer[] | array (mainEntity) | no |
Entity | Type | Nullable | Description |
---|---|---|---|
customer_id | int | no | slcID of customer |
gateway[] | array (gateway) | no | gateways |
Entity | Type | Nullable | Description |
---|---|---|---|
id | int | no | slcID of gateway |
hw_id | string | no | slcHardwareAdress of gateway |
name | string | yes | name of gateway |
latitude | float | yes | latitude (WGS84) |
longitude | float | yes | longitude (WGS84) |
last_connection_at | datetime | yes | date and time of last connection |
last_activity_at | datetime | yes | date and time of last activity |
<?xml version="1.0" encoding="UTF-8" ?> <slControl> <customer> <customer_id>103</customer_id> <gateway> <id>90</id> <hw_id>123942B1-D9EBBCBD-BCBEEA11-CD725E17</hw_id> <name>Schuch Demo</name> <latitude>47.000</latitude> <longitude>7.001</longitude> <last_connection_at>2017-05-04 07:37:05</last_connection_at> <last_activitiy_at>2017-05-04 07:37:05</last_activitiy_at> </gateway> </customer> </slControl>
{ "customer": { "customer_id": "103", "gateway": { "id": "90", "hw_id": "123942B1-D9EBBCBD-BCBEEA11-CD725E17", "name": "Schuch Demo", "latitude": "47.000", "longitude": "7.001", "last_connection_at": "2017-05-04 07:37:05", "last_activitiy_at": "2017-05-04 07:37:05" } } }