Skip to main content

Map Departments to Department Groups


ApiScope: manage.departmentgroup.write
API Scope Level: DealerScope
Path Parameters
    dealerUUID string required
    departmentGroupUuid string required
Request Body required
    departmentUuids string[]
Responses

OK


Schema
    errors object[]
  • Array [
  • errorCode int32
    errorTitle string
    errorMessage string
  • ]
  • warnings object[]
  • Array [
  • warningCode int32
    warningTitle string
    warningMessage string
  • ]
  • apiRequestId string
    requestUuid string
PUT /v2/dealers/:dealerUUID/departmentGroup/:departmentGroupUuid/department

Authorization

name: basicAuthtype: httpscheme: basic

Request

Base URL
/manage
Username
Password
dealerUUID — path required
departmentGroupUuid — path required
Body required
{
"departmentUuids": [
"string"
]
}
Accept
curl / cURL
curl -L -X PUT '/manage/v2/dealers/:dealerUUID/departmentGroup/:departmentGroupUuid/department' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"departmentUuids": [
"string"
]
}'