How can we help?

Searching:

0 results found

Gateways/Get(List)

Get /odata/gateways
 

Description

Retrieves a list of all the Gateways assigned to the specified application.

Example JSON Gateways/Get (List) Request

curl -X GET \

https://api.axonize.com/odata/gateways \

-H ‘Authorization: Token’ \

-H ‘Content-Type: application/json’ \

-H ‘appId: 801A048A-9F23-429F-BF0D-B6D35B221234’ \

 

Example JSON Gateways/Get (List) Response

Status 200 ‒ OK

{

“@odata.context”: “http://10.10.2.103/odata/$metadata#Gateways”,

“value”: [

{

“type”: “HttpGatewayProducer”,

“namespace”: “ssg”,

“name”: “gw-5p6hm”,

“datastructureEndpoint”: null,

“authKey”: “”,

“iothubUrl”: “”,

“gatewayDeviceId”: “5dee1f1ce3b0c76550c51324”,

“productId”: “5dd24b95e3b0cc5f50cf1234”,

“port”: 8020,

“ip”: “51.137.115.111”,

“url”: “”,

“status”: “Installed”,

“manufacturer”: “Amazon”,

“id”: “5dee1f1de3b0c76550c51234”,

“appId”: “f5b62d39-d05d-4563-8442-0ebaa8f61234”,

“createDate”: “2019-12-09T10:17:01.172Z”,

“createUser”: “1234”,

“updateDate”: “2019-12-09T10:17:08.062Z”,

“updateUser”: “1234”,

“image”: null

},

{

“type”: “HttpGatewayProducer”,

“namespace”: “ssg”,

“name”: “gw-5p123”,

“datastructureEndpoint”: null,

“authKey”: “”,

“iothubUrl”: “”,

“gatewayDeviceId”: “5dee1f1ce3b0c76550c51324”,

“productId”: “5dd24b95e3b0cc5f50cf1234”,

“port”: 8020,

“ip”: “51.137.115.111”,

“url”: “”,

“status”: “Installed”,

“manufacturer”: “Amazon”,

“id”: “5dee1f1de3b0c76550c51234”,

“appId”: “f5b62d39-d05d-4563-8442-0ebaa8f61234”,

“createDate”: “2019-12-09T10:17:01.172Z”,

“createUser”: “1234”,

“updateDate”: “2019-12-09T10:17:08.062Z”,

“updateUser”: “1234”,

“image”: null

}

 

]

}