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-11-21T09:42:11.0653602Z",
    "End": "2024-11-21T09:42:11.0653602Z"
  },
  "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-11-21T09:42:11.0653602Z",
        "End": "2024-11-21T09:42:11.0653602Z"
      },
      {
        "Start": "2024-11-21T09:42:11.0653602Z",
        "End": "2024-11-21T09:42:11.0653602Z"
      }
    ]
  },
  {
    "PersonId": 1,
    "BusyTimeRanges": [
      {
        "Start": "2024-11-21T09:42:11.0653602Z",
        "End": "2024-11-21T09:42:11.0653602Z"
      },
      {
        "Start": "2024-11-21T09:42:11.0653602Z",
        "End": "2024-11-21T09:42:11.0653602Z"
      }
    ]
  }
]