Update DealerAssociate Group
ApiScope: manage.dealerassociate.group
API Scope Level: DepartmentScope
Path Parameters
ServiceSubscriberDepartment string required
dealerAssociateGroup string required
Query Parameters
includeInvalid boolean
application/json
Request Body required
name The new or the existing name of the DA Group/Team. When not passed it will remain the same
addDealerAssociateUuids The list of DA UUIDs which needs to be added to this DA Group/Team.[]
deleteDealerAssociateUuids The list of DA UUIDs which needs to be removed from this DA Group/Team.[]
groupPhoneNumber Phone number of the DA Group/Team. When not passed it will remain the same
isValid The isValid parameter is for activating and deactivating the DA Group/Team. When not passed it will remain the same
isDefaultCommunicationDealerAssociateGroup To make this DA Group/Team as the DefaultCommunicationDealerAssociateGroup or not. When not passed it will remain the same
defaultDealerAssociateUuid This is the UUID of the DA which is the default DA for this Group/Team. When not passed it will remain the same
addPurposeKeys The list of DA Group Purpose Type/Category Keys which needs to be added to this DA Group/Team.[]
removePurposeKeys The list of DA Group Purpose Type/Category Keys which needs to be removed from this DA Group/Team.[]
addAuthorities object[]
removeAuthorities object[]
enableGroupThreadOwnership DA Group/Team will own thread, not its members
Responses
- 200
- 400
- 401
- 403
- 500
OK
application/json
application/x-protobuf
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
apiRequestId string
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
],
"apiRequestId": "string"
}
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
apiRequestId string
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
],
"apiRequestId": "string"
}
Bad Request
application/json
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
apiRequestId string
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
],
"apiRequestId": "string"
}
Unauthorized
application/json
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
apiRequestId string
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
],
"apiRequestId": "string"
}
Forbidden
application/json
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
apiRequestId string
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
],
"apiRequestId": "string"
}
Internal Server Error
application/json
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
apiRequestId string
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
],
"apiRequestId": "string"
}
POST /v2/department/:ServiceSubscriberDepartment/dealerAssociateGroup/:dealerAssociateGroup
Authorization
name: basicAuthtype: httpscheme: basic
Request
Request
curl / cURL
curl -L -X POST '/manage/v2/department/:ServiceSubscriberDepartment/dealerAssociateGroup/:dealerAssociateGroup' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"name": "string",
"addDealerAssociateUuids": [
"string"
],
"deleteDealerAssociateUuids": [
"string"
],
"groupPhoneNumber": "string",
"isValid": true,
"isDefaultCommunicationDealerAssociateGroup": true,
"defaultDealerAssociateUuid": "string",
"addPurposeKeys": [
"string"
],
"removePurposeKeys": [
"string"
],
"addAuthorities": [
{
"authority": "string",
"description": "string"
}
],
"removeAuthorities": [
{
"authority": "string",
"description": "string"
}
],
"enableGroupThreadOwnership": true
}'
python / requests
curl -L -X POST '/manage/v2/department/:ServiceSubscriberDepartment/dealerAssociateGroup/:dealerAssociateGroup' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"name": "string",
"addDealerAssociateUuids": [
"string"
],
"deleteDealerAssociateUuids": [
"string"
],
"groupPhoneNumber": "string",
"isValid": true,
"isDefaultCommunicationDealerAssociateGroup": true,
"defaultDealerAssociateUuid": "string",
"addPurposeKeys": [
"string"
],
"removePurposeKeys": [
"string"
],
"addAuthorities": [
{
"authority": "string",
"description": "string"
}
],
"removeAuthorities": [
{
"authority": "string",
"description": "string"
}
],
"enableGroupThreadOwnership": true
}'
go / native
curl -L -X POST '/manage/v2/department/:ServiceSubscriberDepartment/dealerAssociateGroup/:dealerAssociateGroup' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"name": "string",
"addDealerAssociateUuids": [
"string"
],
"deleteDealerAssociateUuids": [
"string"
],
"groupPhoneNumber": "string",
"isValid": true,
"isDefaultCommunicationDealerAssociateGroup": true,
"defaultDealerAssociateUuid": "string",
"addPurposeKeys": [
"string"
],
"removePurposeKeys": [
"string"
],
"addAuthorities": [
{
"authority": "string",
"description": "string"
}
],
"removeAuthorities": [
{
"authority": "string",
"description": "string"
}
],
"enableGroupThreadOwnership": true
}'
nodejs / axios
curl -L -X POST '/manage/v2/department/:ServiceSubscriberDepartment/dealerAssociateGroup/:dealerAssociateGroup' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"name": "string",
"addDealerAssociateUuids": [
"string"
],
"deleteDealerAssociateUuids": [
"string"
],
"groupPhoneNumber": "string",
"isValid": true,
"isDefaultCommunicationDealerAssociateGroup": true,
"defaultDealerAssociateUuid": "string",
"addPurposeKeys": [
"string"
],
"removePurposeKeys": [
"string"
],
"addAuthorities": [
{
"authority": "string",
"description": "string"
}
],
"removeAuthorities": [
{
"authority": "string",
"description": "string"
}
],
"enableGroupThreadOwnership": true
}'
ruby / Net::HTTP
curl -L -X POST '/manage/v2/department/:ServiceSubscriberDepartment/dealerAssociateGroup/:dealerAssociateGroup' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"name": "string",
"addDealerAssociateUuids": [
"string"
],
"deleteDealerAssociateUuids": [
"string"
],
"groupPhoneNumber": "string",
"isValid": true,
"isDefaultCommunicationDealerAssociateGroup": true,
"defaultDealerAssociateUuid": "string",
"addPurposeKeys": [
"string"
],
"removePurposeKeys": [
"string"
],
"addAuthorities": [
{
"authority": "string",
"description": "string"
}
],
"removeAuthorities": [
{
"authority": "string",
"description": "string"
}
],
"enableGroupThreadOwnership": true
}'
csharp / RestSharp
curl -L -X POST '/manage/v2/department/:ServiceSubscriberDepartment/dealerAssociateGroup/:dealerAssociateGroup' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"name": "string",
"addDealerAssociateUuids": [
"string"
],
"deleteDealerAssociateUuids": [
"string"
],
"groupPhoneNumber": "string",
"isValid": true,
"isDefaultCommunicationDealerAssociateGroup": true,
"defaultDealerAssociateUuid": "string",
"addPurposeKeys": [
"string"
],
"removePurposeKeys": [
"string"
],
"addAuthorities": [
{
"authority": "string",
"description": "string"
}
],
"removeAuthorities": [
{
"authority": "string",
"description": "string"
}
],
"enableGroupThreadOwnership": true
}'
php / cURL
curl -L -X POST '/manage/v2/department/:ServiceSubscriberDepartment/dealerAssociateGroup/:dealerAssociateGroup' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"name": "string",
"addDealerAssociateUuids": [
"string"
],
"deleteDealerAssociateUuids": [
"string"
],
"groupPhoneNumber": "string",
"isValid": true,
"isDefaultCommunicationDealerAssociateGroup": true,
"defaultDealerAssociateUuid": "string",
"addPurposeKeys": [
"string"
],
"removePurposeKeys": [
"string"
],
"addAuthorities": [
{
"authority": "string",
"description": "string"
}
],
"removeAuthorities": [
{
"authority": "string",
"description": "string"
}
],
"enableGroupThreadOwnership": true
}'
java / OkHttp
curl -L -X POST '/manage/v2/department/:ServiceSubscriberDepartment/dealerAssociateGroup/:dealerAssociateGroup' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"name": "string",
"addDealerAssociateUuids": [
"string"
],
"deleteDealerAssociateUuids": [
"string"
],
"groupPhoneNumber": "string",
"isValid": true,
"isDefaultCommunicationDealerAssociateGroup": true,
"defaultDealerAssociateUuid": "string",
"addPurposeKeys": [
"string"
],
"removePurposeKeys": [
"string"
],
"addAuthorities": [
{
"authority": "string",
"description": "string"
}
],
"removeAuthorities": [
{
"authority": "string",
"description": "string"
}
],
"enableGroupThreadOwnership": true
}'
powershell / RestMethod
curl -L -X POST '/manage/v2/department/:ServiceSubscriberDepartment/dealerAssociateGroup/:dealerAssociateGroup' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"name": "string",
"addDealerAssociateUuids": [
"string"
],
"deleteDealerAssociateUuids": [
"string"
],
"groupPhoneNumber": "string",
"isValid": true,
"isDefaultCommunicationDealerAssociateGroup": true,
"defaultDealerAssociateUuid": "string",
"addPurposeKeys": [
"string"
],
"removePurposeKeys": [
"string"
],
"addAuthorities": [
{
"authority": "string",
"description": "string"
}
],
"removeAuthorities": [
{
"authority": "string",
"description": "string"
}
],
"enableGroupThreadOwnership": true
}'