Update OutOfOffice and UserInvite Status For all dealerAssociates present in dealerList
Fetches latestInviteStatus of the user and OutOfOffice status from Kmanage and update it in dealerAssociate table, this endpoint needs to run before for the dealer before Manage User tab under Admin tab is turned on for the dealer
ApiScope: manage.dealerassociate.write
API Scope Level: MultiDealerScope
application/json
Request Body required
dealerUuids string[]
validate boolean
doNotValidate boolean
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/dealerAssociate/update/status
Authorization
name: basicAuthtype: httpscheme: basic
Request
Request
curl / cURL
curl -L -X POST '/manage/v2/department/dealerAssociate/update/status' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dealerUuids": [
"string"
],
"validate": true,
"doNotValidate": true
}'
python / requests
curl -L -X POST '/manage/v2/department/dealerAssociate/update/status' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dealerUuids": [
"string"
],
"validate": true,
"doNotValidate": true
}'
go / native
curl -L -X POST '/manage/v2/department/dealerAssociate/update/status' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dealerUuids": [
"string"
],
"validate": true,
"doNotValidate": true
}'
nodejs / axios
curl -L -X POST '/manage/v2/department/dealerAssociate/update/status' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dealerUuids": [
"string"
],
"validate": true,
"doNotValidate": true
}'
ruby / Net::HTTP
curl -L -X POST '/manage/v2/department/dealerAssociate/update/status' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dealerUuids": [
"string"
],
"validate": true,
"doNotValidate": true
}'
csharp / RestSharp
curl -L -X POST '/manage/v2/department/dealerAssociate/update/status' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dealerUuids": [
"string"
],
"validate": true,
"doNotValidate": true
}'
php / cURL
curl -L -X POST '/manage/v2/department/dealerAssociate/update/status' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dealerUuids": [
"string"
],
"validate": true,
"doNotValidate": true
}'
java / OkHttp
curl -L -X POST '/manage/v2/department/dealerAssociate/update/status' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dealerUuids": [
"string"
],
"validate": true,
"doNotValidate": true
}'
powershell / RestMethod
curl -L -X POST '/manage/v2/department/dealerAssociate/update/status' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dealerUuids": [
"string"
],
"validate": true,
"doNotValidate": true
}'