Add gateway
The add gateway API allows the client application to create a remote gateway in IMPACT. The newly created gateway is added to an existing IMPACT group.
Add gateway describes the API structure for the creating a remote gateway in IMPACT.
| 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. User must have access to the group and sub-groups for creating a gateway. |