Skip to main content

Incremental update DealerUser with preferences to add or update, as well as remove


ApiScope: manage.user.migration
API Scope Level: ServiceSubscriberScope
Path Parameters
    id string required
Request Body required
    preferencesToAddOrUpdate object[]
  • Array [
  • keyName string
    value string
    promptType string
    possibleValues string
    description string
  • ]
  • preferencesToRemove object[]
  • Array [
  • keyName string
    value string
    promptType string
    possibleValues string
    description string
  • ]
Responses

OK


Schema
    errors object[]
  • Array [
  • errorCode int32
    errorTitle string
    errorMessage string
  • ]
  • warnings object[]
  • Array [
  • warningCode int32
    warningTitle string
    warningMessage string
  • ]
  • apiRequestId string
    migratedDealerUserId string
POST /v2/migration/dealerUser/:id/preference/partial

Authorization

name: basicAuthtype: httpscheme: basic

Request

Base URL
/manage
Username
Password
id — path required
Body required
{
"preferencesToAddOrUpdate": [
{
"keyName": "string",
"value": "string",
"promptType": "string",
"possibleValues": "string",
"description": "string"
}
],
"preferencesToRemove": [
{
"keyName": "string",
"value": "string",
"promptType": "string",
"possibleValues": "string",
"description": "string"
}
]
}
Accept
curl / cURL
curl -L -X POST '/manage/v2/migration/dealerUser/:id/preference/partial' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"preferencesToAddOrUpdate": [
{
"keyName": "string",
"value": "string",
"promptType": "string",
"possibleValues": "string",
"description": "string"
}
],
"preferencesToRemove": [
{
"keyName": "string",
"value": "string",
"promptType": "string",
"possibleValues": "string",
"description": "string"
}
]
}'