save auto delegation configuration for dealer
save auto delegation configuration for dealer
Path Parameters
dealerUUID string required
application/json
Request Body required
dealerUuid string
autoDelegationConfigType string
Possible values: [ALL
, INDIVIDUAL
]
allAutoDelegationConfig object
individualAutoDelegationConfig object[]
Responses
- 200
OK
application/json
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
{
"errors": [
{
"errorCode": "string",
"errorDescription": "string",
"errorUID": "string"
}
],
"warnings": [
{
"warningCode": "string",
"warningDescription": "string"
}
]
}
PUT /dealers/:dealerUUID/auto-delegation-map
Authorization
name: basicAuthtype: httpscheme: basic
Request
Request
curl / cURL
curl -L -X PUT '/communications/dealers/:dealerUUID/auto-delegation-map' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dealerUuid": "string",
"autoDelegationConfigType": "ALL",
"allAutoDelegationConfig": {
"delegatee": {
"uuid": "string",
"name": "string",
"type": "USER",
"departmentUuid": "string"
}
},
"individualAutoDelegationConfig": [
{
"delegator": {
"uuid": "string",
"name": "string",
"type": "USER",
"departmentUuid": "string"
},
"delegatee": {
"uuid": "string",
"name": "string",
"type": "USER",
"departmentUuid": "string"
}
}
]
}'
python / requests
curl -L -X PUT '/communications/dealers/:dealerUUID/auto-delegation-map' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dealerUuid": "string",
"autoDelegationConfigType": "ALL",
"allAutoDelegationConfig": {
"delegatee": {
"uuid": "string",
"name": "string",
"type": "USER",
"departmentUuid": "string"
}
},
"individualAutoDelegationConfig": [
{
"delegator": {
"uuid": "string",
"name": "string",
"type": "USER",
"departmentUuid": "string"
},
"delegatee": {
"uuid": "string",
"name": "string",
"type": "USER",
"departmentUuid": "string"
}
}
]
}'
go / native
curl -L -X PUT '/communications/dealers/:dealerUUID/auto-delegation-map' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dealerUuid": "string",
"autoDelegationConfigType": "ALL",
"allAutoDelegationConfig": {
"delegatee": {
"uuid": "string",
"name": "string",
"type": "USER",
"departmentUuid": "string"
}
},
"individualAutoDelegationConfig": [
{
"delegator": {
"uuid": "string",
"name": "string",
"type": "USER",
"departmentUuid": "string"
},
"delegatee": {
"uuid": "string",
"name": "string",
"type": "USER",
"departmentUuid": "string"
}
}
]
}'
nodejs / axios
curl -L -X PUT '/communications/dealers/:dealerUUID/auto-delegation-map' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dealerUuid": "string",
"autoDelegationConfigType": "ALL",
"allAutoDelegationConfig": {
"delegatee": {
"uuid": "string",
"name": "string",
"type": "USER",
"departmentUuid": "string"
}
},
"individualAutoDelegationConfig": [
{
"delegator": {
"uuid": "string",
"name": "string",
"type": "USER",
"departmentUuid": "string"
},
"delegatee": {
"uuid": "string",
"name": "string",
"type": "USER",
"departmentUuid": "string"
}
}
]
}'
ruby / Net::HTTP
curl -L -X PUT '/communications/dealers/:dealerUUID/auto-delegation-map' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dealerUuid": "string",
"autoDelegationConfigType": "ALL",
"allAutoDelegationConfig": {
"delegatee": {
"uuid": "string",
"name": "string",
"type": "USER",
"departmentUuid": "string"
}
},
"individualAutoDelegationConfig": [
{
"delegator": {
"uuid": "string",
"name": "string",
"type": "USER",
"departmentUuid": "string"
},
"delegatee": {
"uuid": "string",
"name": "string",
"type": "USER",
"departmentUuid": "string"
}
}
]
}'
csharp / RestSharp
curl -L -X PUT '/communications/dealers/:dealerUUID/auto-delegation-map' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dealerUuid": "string",
"autoDelegationConfigType": "ALL",
"allAutoDelegationConfig": {
"delegatee": {
"uuid": "string",
"name": "string",
"type": "USER",
"departmentUuid": "string"
}
},
"individualAutoDelegationConfig": [
{
"delegator": {
"uuid": "string",
"name": "string",
"type": "USER",
"departmentUuid": "string"
},
"delegatee": {
"uuid": "string",
"name": "string",
"type": "USER",
"departmentUuid": "string"
}
}
]
}'
php / cURL
curl -L -X PUT '/communications/dealers/:dealerUUID/auto-delegation-map' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dealerUuid": "string",
"autoDelegationConfigType": "ALL",
"allAutoDelegationConfig": {
"delegatee": {
"uuid": "string",
"name": "string",
"type": "USER",
"departmentUuid": "string"
}
},
"individualAutoDelegationConfig": [
{
"delegator": {
"uuid": "string",
"name": "string",
"type": "USER",
"departmentUuid": "string"
},
"delegatee": {
"uuid": "string",
"name": "string",
"type": "USER",
"departmentUuid": "string"
}
}
]
}'
java / OkHttp
curl -L -X PUT '/communications/dealers/:dealerUUID/auto-delegation-map' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dealerUuid": "string",
"autoDelegationConfigType": "ALL",
"allAutoDelegationConfig": {
"delegatee": {
"uuid": "string",
"name": "string",
"type": "USER",
"departmentUuid": "string"
}
},
"individualAutoDelegationConfig": [
{
"delegator": {
"uuid": "string",
"name": "string",
"type": "USER",
"departmentUuid": "string"
},
"delegatee": {
"uuid": "string",
"name": "string",
"type": "USER",
"departmentUuid": "string"
}
}
]
}'
powershell / RestMethod
curl -L -X PUT '/communications/dealers/:dealerUUID/auto-delegation-map' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dealerUuid": "string",
"autoDelegationConfigType": "ALL",
"allAutoDelegationConfig": {
"delegatee": {
"uuid": "string",
"name": "string",
"type": "USER",
"departmentUuid": "string"
}
},
"individualAutoDelegationConfig": [
{
"delegator": {
"uuid": "string",
"name": "string",
"type": "USER",
"departmentUuid": "string"
},
"delegatee": {
"uuid": "string",
"name": "string",
"type": "USER",
"departmentUuid": "string"
}
}
]
}'