Enterprise Insert Enterprise Service

Enterprise Insert Enterprise Service

Creates a new enterprise service for the specified enterprise.

Privileges required:

CREATE NETWORK_SERVICE

Request
URI
POST
https://{api_host}/portal/rest/enterprise/insertEnterpriseService
COPY
Request Body

Show optional properties

{
    "type": "string",
    "name": "string",
    "data": {}
}
{
    "enterpriseId": 0,
    "type": "string",
    "name": "string",
    "data": {},
    "edgeId": 0,
    "parentGroupId": 0
}
integer
enterpriseId
Optional

enterpriseId

string
type
Required

type

string
name
Required

name

object
data
Required

data

integer
edgeId
Optional

edgeId

integer
parentGroupId
Optional

parentGroupId

Responses
200

Request was successfully processed

Returns enterprise_insert_enterprise_service_result of type(s) application/json
This response body class contains all of the following: Inlineenterprise_insert_enterprise_service_result0
{
    "id": 123,
    "rows": 1
}

400
Returns generic_400 of type(s) application/json
Operation doesn't return any data structure

500
Returns generic_500 of type(s) application/json
Operation doesn't return any data structure

Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"type:"string","name:"string","data:"object"}' https://{api_host}/portal/rest/enterprise/insertEnterpriseService