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 string nullable
Possible values: [SUB_CPO
, SITE
, SUB_SITE
, CIRCUIT
, OTHER
]
Default value: SUB_CPO
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...