Incremental update list of DealerAssociate with authorities to add and remove
ApiScope: manage.dealerassociate.authority.bulk.write
API Scope Level: ServiceSubscriberScope
application/json
Request Body required
updateMultipleDealerAssociateAuthoritiesList object[]
Responses
- 200
- 400
- 401
- 403
- 500
OK
application/json
application/x-protobuf
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
apiRequestId string
dealerAssociateList string[]
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
],
"apiRequestId": "string",
"dealerAssociateList": [
"string"
]
}
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
apiRequestId string
dealerAssociateList string[]
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
],
"apiRequestId": "string",
"dealerAssociateList": [
"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"
}
PATCH /v2/department/dealerAssociates/authorities
Authorization
name: basicAuthtype: httpscheme: basic
Request
Request
curl / cURL
curl -L -X PATCH '/manage/v2/department/dealerAssociates/authorities' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"updateMultipleDealerAssociateAuthoritiesList": [
{
"dealerAssociateUuid": "string",
"authoritiesToAddAndRemoveList": {
"authoritiesToAdd": [
{
"authority": "string",
"description": "string"
}
],
"authoritiesToRemove": [
{
"authority": "string",
"description": "string"
}
]
}
}
]
}'
python / requests
curl -L -X PATCH '/manage/v2/department/dealerAssociates/authorities' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"updateMultipleDealerAssociateAuthoritiesList": [
{
"dealerAssociateUuid": "string",
"authoritiesToAddAndRemoveList": {
"authoritiesToAdd": [
{
"authority": "string",
"description": "string"
}
],
"authoritiesToRemove": [
{
"authority": "string",
"description": "string"
}
]
}
}
]
}'
go / native
curl -L -X PATCH '/manage/v2/department/dealerAssociates/authorities' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"updateMultipleDealerAssociateAuthoritiesList": [
{
"dealerAssociateUuid": "string",
"authoritiesToAddAndRemoveList": {
"authoritiesToAdd": [
{
"authority": "string",
"description": "string"
}
],
"authoritiesToRemove": [
{
"authority": "string",
"description": "string"
}
]
}
}
]
}'
nodejs / axios
curl -L -X PATCH '/manage/v2/department/dealerAssociates/authorities' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"updateMultipleDealerAssociateAuthoritiesList": [
{
"dealerAssociateUuid": "string",
"authoritiesToAddAndRemoveList": {
"authoritiesToAdd": [
{
"authority": "string",
"description": "string"
}
],
"authoritiesToRemove": [
{
"authority": "string",
"description": "string"
}
]
}
}
]
}'
ruby / Net::HTTP
curl -L -X PATCH '/manage/v2/department/dealerAssociates/authorities' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"updateMultipleDealerAssociateAuthoritiesList": [
{
"dealerAssociateUuid": "string",
"authoritiesToAddAndRemoveList": {
"authoritiesToAdd": [
{
"authority": "string",
"description": "string"
}
],
"authoritiesToRemove": [
{
"authority": "string",
"description": "string"
}
]
}
}
]
}'
csharp / RestSharp
curl -L -X PATCH '/manage/v2/department/dealerAssociates/authorities' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"updateMultipleDealerAssociateAuthoritiesList": [
{
"dealerAssociateUuid": "string",
"authoritiesToAddAndRemoveList": {
"authoritiesToAdd": [
{
"authority": "string",
"description": "string"
}
],
"authoritiesToRemove": [
{
"authority": "string",
"description": "string"
}
]
}
}
]
}'
php / cURL
curl -L -X PATCH '/manage/v2/department/dealerAssociates/authorities' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"updateMultipleDealerAssociateAuthoritiesList": [
{
"dealerAssociateUuid": "string",
"authoritiesToAddAndRemoveList": {
"authoritiesToAdd": [
{
"authority": "string",
"description": "string"
}
],
"authoritiesToRemove": [
{
"authority": "string",
"description": "string"
}
]
}
}
]
}'
java / OkHttp
curl -L -X PATCH '/manage/v2/department/dealerAssociates/authorities' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"updateMultipleDealerAssociateAuthoritiesList": [
{
"dealerAssociateUuid": "string",
"authoritiesToAddAndRemoveList": {
"authoritiesToAdd": [
{
"authority": "string",
"description": "string"
}
],
"authoritiesToRemove": [
{
"authority": "string",
"description": "string"
}
]
}
}
]
}'
powershell / RestMethod
curl -L -X PATCH '/manage/v2/department/dealerAssociates/authorities' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"updateMultipleDealerAssociateAuthoritiesList": [
{
"dealerAssociateUuid": "string",
"authoritiesToAddAndRemoveList": {
"authoritiesToAdd": [
{
"authority": "string",
"description": "string"
}
],
"authoritiesToRemove": [
{
"authority": "string",
"description": "string"
}
]
}
}
]
}'