POST api/appointment/freebusy

Returns Free/Busy information regarding multiple people.

Request Information

URI Parameters

None.

Body Parameters

Dezrez.Core.DataContracts.External.Api.Scheduling.FreeBusy.PeopleFreeBusyQueryDataContract
NameDescriptionTypeAdditional information
Scope

Dezrez.Core.DataContracts.External.Api.Scheduling.TimeRangeDataContract

None.

PersonIds

Collection of integer

None.

Request Formats

application/x-www-form-urlencoded

Sample:

Sample not available.

application/json, text/json

Sample:
{
  "Scope": {
    "Start": "2024-03-28T16:21:30.3615766Z",
    "End": "2024-03-28T16:21:30.3615766Z"
  },
  "PersonIds": [
    1,
    2
  ]
}

Response Information

Resource Description

A list of free/busy information, by person.

Collection of Dezrez.Core.DataContracts.External.Api.Scheduling.FreeBusy.PeopleFreeBusyQueryResponseDataContract
NameDescriptionTypeAdditional information
PersonId

integer

None.

BusyTimeRanges

Collection of Dezrez.Core.DataContracts.External.Api.Scheduling.TimeRangeDataContract

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "PersonId": 1,
    "BusyTimeRanges": [
      {
        "Start": "2024-03-28T16:21:30.3615766Z",
        "End": "2024-03-28T16:21:30.3615766Z"
      },
      {
        "Start": "2024-03-28T16:21:30.3615766Z",
        "End": "2024-03-28T16:21:30.3615766Z"
      }
    ]
  },
  {
    "PersonId": 1,
    "BusyTimeRanges": [
      {
        "Start": "2024-03-28T16:21:30.3615766Z",
        "End": "2024-03-28T16:21:30.3615766Z"
      },
      {
        "Start": "2024-03-28T16:21:30.3615766Z",
        "End": "2024-03-28T16:21:30.3615766Z"
      }
    ]
  }
]