Create a new service
{ "config": { "customServiceTypes": [ { "icmpType": [ { "lowerValue": 0, "upperValue": 0, "value": 0 } ], "port": [ { "lowerValue": 0, "upperValue": 0, "value": 0 } ], "protocol": "ICMP" } ], "serviceTypes": [ "ANY" ] }, "description": "string", "name": "string", "routes": [ { "description": "string", "value": "string" } ], "type": "IP_SOURCE"
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
networkItemId | query | string | true | networkItemId |
networkItemType | query | string | true | networkItemType |
Responses
Status | Meaning | Description |
---|---|---|
200 | OK | |
201 | Entity created | |
400 | Bad Request | |
401 | Unauthorized | |
403 | Access Forbidden | |
404 | Not Found | |
406 | Not Acceptable | |
429 | Too Many Requests | |
500 | Internal Server Error |
{ "config": { "customServiceTypes": [ { "icmpType": [ { "lowerValue": 0, "upperValue": 0, "value": 0 } ], "port": [ { "lowerValue": 0, "upperValue": 0, "value": 0 } ], "protocol": "ICMP" } ], "serviceTypes": [ "ANY" ] }, "description": "string", "id": "string", "name": "string", "networkItemId": "string", "networkItemType": "HOST", "routes": [ { "description": "string", "id": "string", "parentRouteId": "string", "subnet": "string", "type": "IP_V4" } ], "type": "IP_SOURCE" }
To perform this operation, you must be authenticated by means of one of the following methods: OAuth_authorization