Skip to main content

This end-point saves max count for resources

UUID is compulsory for max count update to be processed. Other than it, send only those parameters which are to be updated.
ApiScope: manage.calendar.write
API Scope Level: ServiceSubscriberScope

Request Body required
    maxCountMap object[]
  • Array [
  • uuid string
    platform string

    Possible values: [DEALER_APP, WEB, MOBILE_APP, DMS, TRANSPORTATION_EVENTS_CONSUMER]

    purposeName string
    startDateTime string
    endDateTime string
    timezone string
    recurrenceRule string
    isValid boolean
    resourceUuid string
    resourceType string

    Possible values: [DEALER, DEPARTMENT, USER]

    count int32
  • ]
Responses

OK


Schema
    errors object[]
  • Array [
  • errorCode int32
    errorTitle string
    errorMessage string
  • ]
  • warnings object[]
  • Array [
  • warningCode int32
    warningTitle string
    warningMessage string
  • ]
  • apiRequestId string
    successUuids string[]
    failureUuids string[]
PATCH /v2/calendar/max-count

Authorization

name: basicAuthtype: httpscheme: basic

Request

Base URL
/manage
Username
Password
Body required
{
"maxCountMap": [
{
"uuid": "string",
"platform": "DEALER_APP",
"purposeName": "string",
"startDateTime": "string",
"endDateTime": "string",
"timezone": "string",
"recurrenceRule": "string",
"isValid": true,
"resourceUuid": "string",
"resourceType": "DEALER",
"count": 0
}
]
}
Accept
curl / cURL
curl -L -X PATCH '/manage/v2/calendar/max-count' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"maxCountMap": [
{
"uuid": "string",
"platform": "DEALER_APP",
"purposeName": "string",
"startDateTime": "string",
"endDateTime": "string",
"timezone": "string",
"recurrenceRule": "string",
"isValid": true,
"resourceUuid": "string",
"resourceType": "DEALER",
"count": 0
}
]
}'