List gateways
Depending on the parameters passed through the URL, the list gateways API allows the client application to get a list of gateways that are attached to a particular group.
To get a list of all gateways irrespective of the make and model that are attached to a particular group, pass the groupName parameter through the URL.
To get a list of gateways of a particular make, model irrespective of the gateway type, pass the groupName, manu, and model parameters through the URL.
To get a list of Nokia ISA gateways that are attached to a particular group, set the, manu to Nokia, and model to ISA Gateway and pass it through the URL along with the groupName.
List gateways describes the API structure for listing all gateways that are attached to a particular group.
Title | List gateways |
---|---|
URL | http://<impact_url>/m2m/gateway?groupName=<>&manu=<>&model=<> |
Method | GET |
Content-Type | application/json |
URL Params | The following are the URL parameters:
|
Data Params | Msg:[String]: info/warning/error message |
Success Code |
Response Code: 201 |
Error Code |
400 : Bad Request 401 : Unauthorized 403 : Forbidden 404 : Not Found |
Sample Call |
|
Notes |
Depending upon the nature of the error, IMPACT IoT returns an error messages and error code. The valid error message and error codes are:
|