Add service commcells to new company
This API adds service commcells to a new company
Header Parameters
- Accept string required
- application/json
Request Body
associations object[]
- associationsOperationType integer
- organizationId integer
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
- warningCode integer
- errorCode integer
- warningMessage string
{
"warningCode": 0,
"errorCode": 0,
"warningMessage": "string"
}
POST /security/multicommcell
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/security/multicommcell' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"associations": [
{
"entity": {
"entityName": "string",
"entityId": 0,
"entityType": 0,
"_type_": 0
},
"properties": {
"role": {
"roleId": 0,
"roleName": "string"
}
},
"userOrGroup": {
"providerDomainName": "string",
"providerId": 0,
"_type_": 0
}
}
],
"associationsOperationType": 0,
"organizationId": 0
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/security/multicommcell' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"associations": [
{
"entity": {
"entityName": "string",
"entityId": 0,
"entityType": 0,
"_type_": 0
},
"properties": {
"role": {
"roleId": 0,
"roleName": "string"
}
},
"userOrGroup": {
"providerDomainName": "string",
"providerId": 0,
"_type_": 0
}
}
],
"associationsOperationType": 0,
"organizationId": 0
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/security/multicommcell' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"associations": [
{
"entity": {
"entityName": "string",
"entityId": 0,
"entityType": 0,
"_type_": 0
},
"properties": {
"role": {
"roleId": 0,
"roleName": "string"
}
},
"userOrGroup": {
"providerDomainName": "string",
"providerId": 0,
"_type_": 0
}
}
],
"associationsOperationType": 0,
"organizationId": 0
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/security/multicommcell' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"associations": [
{
"entity": {
"entityName": "string",
"entityId": 0,
"entityType": 0,
"_type_": 0
},
"properties": {
"role": {
"roleId": 0,
"roleName": "string"
}
},
"userOrGroup": {
"providerDomainName": "string",
"providerId": 0,
"_type_": 0
}
}
],
"associationsOperationType": 0,
"organizationId": 0
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/security/multicommcell' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"associations": [
{
"entity": {
"entityName": "string",
"entityId": 0,
"entityType": 0,
"_type_": 0
},
"properties": {
"role": {
"roleId": 0,
"roleName": "string"
}
},
"userOrGroup": {
"providerDomainName": "string",
"providerId": 0,
"_type_": 0
}
}
],
"associationsOperationType": 0,
"organizationId": 0
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/security/multicommcell' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"associations": [
{
"entity": {
"entityName": "string",
"entityId": 0,
"entityType": 0,
"_type_": 0
},
"properties": {
"role": {
"roleId": 0,
"roleName": "string"
}
},
"userOrGroup": {
"providerDomainName": "string",
"providerId": 0,
"_type_": 0
}
}
],
"associationsOperationType": 0,
"organizationId": 0
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/security/multicommcell' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"associations": [
{
"entity": {
"entityName": "string",
"entityId": 0,
"entityType": 0,
"_type_": 0
},
"properties": {
"role": {
"roleId": 0,
"roleName": "string"
}
},
"userOrGroup": {
"providerDomainName": "string",
"providerId": 0,
"_type_": 0
}
}
],
"associationsOperationType": 0,
"organizationId": 0
}'