Add gateway
The add gateway API allows the client application to create a remote gateway in IMPACT IoT. The newly created gateway is added to an existing IMPACT IoT group.
Add gateway describes the API structure for the creating a remote gateway in IMPACT IoT.
Title | Create gateway |
---|---|
URL | http://<Impact_URL>/impact/m2m/gateway |
Method | POST |
Content-Type | application/json |
URL Params | The following are the URL parameters:
|
Data Params |
msg:[string]: info/warning/error message |
Success Code |
Response Code: 200 |
Error Code |
400 : Bad Request 401 : Unauthorized 404 : Not Found |
Sample Call | Curl: Response
Body:
|
Notes | The group name passed through the groupName parameter must match with the group name available in IMPACT IoT. User must have access to the group and sub-groups for creating a gateway. |