Add a new site
x-ms-visibility: "important"
Send a request to add a new site specified in the request body.
application/json
Request Body required
Site object that needs to be added. GroupType can be one of these: SUB_CPO,SITE,SUB_SITE,CIRCUIT,OTHER (SITE is default).
name string
parentGroupId int64
groupType int32 nullable
Possible values: [0
, 1
, 2
, 3
, 4
]
Default value: 0
externalId string
Responses
- 200
- 400
- 401
Returns the site id of the new site
application/json
Schema
Example (from schema)
response
Schema
id int64
{
"id": 0
}
{"id":3}
Errors in the body request
Customer not found or not authorised
Loading...