Skip to main content

This end-point fetches effective availability for list of resources.

Fetches effective availabilities on the basis of various filters.
ApiScope: manage.calendar.read
API Scope Level: ServiceSubscriberScope

Request Body required
    resources object
    property name* string[]
  • Array [
  • string

  • ]
  • startDateTime string
    endDateTime string
    purposeName string
    platform string

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

    timezone string
    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
    availabilityMap object
    property name* object[]
  • Array [
  • constraintUuid string
    startDateTime string
    endDateTime string
    isAvailable boolean
  • ]
POST /v2/calendar/availability/effective

Authorization

name: basicAuthtype: httpscheme: basic

Request

Base URL
/manage
Username
Password
Body required
{
"resources": {},
"startDateTime": "string",
"endDateTime": "string",
"purposeName": "string",
"platform": "DEALER_APP",
"timezone": "string",
"isAvailable": true
}
Accept
curl / cURL
curl -L -X POST '/manage/v2/calendar/availability/effective' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"resources": {},
"startDateTime": "string",
"endDateTime": "string",
"purposeName": "string",
"platform": "DEALER_APP",
"timezone": "string",
"isAvailable": true
}'