POST api/candidate/calendar/longterm/preferences

Request Information

URI Parameters

None.

Body Parameters

SetLongTermPreferenceRequest
NameDescriptionTypeAdditional information
AllowLongTermInvitations

boolean

None.

LongTermAvailableFrom

date

None.

MinimumBookingLength

integer

None.

WeeklyAvailability

Collection of integer

None.

Roles

Collection of string

None.

Request Formats

application/json, text/json

Sample:
{
  "AllowLongTermInvitations": true,
  "LongTermAvailableFrom": "2025-05-03T22:18:33.3705166Z",
  "MinimumBookingLength": 1,
  "WeeklyAvailability": [
    1,
    2
  ],
  "Roles": [
    "sample string 1",
    "sample string 2"
  ]
}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.