Skip to main content

This end-point saves availability for resources

You can either mark resource as available or not available. In case of clash, the latest entry will be honoured.
ApiScope: manage.calendar.write
API Scope Level: ServiceSubscriberScope

Request Body required
    availabilityMap object
    property name* 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]

    isAvailable boolean
  • ]
Responses

OK


Schema
    errors object[]
  • Array [
  • errorCode int32
    errorTitle string
    errorMessage string
  • ]
  • warnings object[]
  • Array [
  • warningCode int32
    warningTitle string
    warningMessage string
  • ]
  • apiRequestId string
    constraintMap object
    property name* string[]
  • Array [
  • string

  • ]
  • failuresMap object
    property name* 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]

    isAvailable boolean
  • ]
PUT /v2/calendar/availability

Authorization

name: basicAuthtype: httpscheme: basic

Request

Base URL
/manage
Username
Password
Body required
{
"availabilityMap": {}
}
Accept
curl / cURL
curl -L -X PUT '/manage/v2/calendar/availability' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"availabilityMap": {}
}'