POST api/appointment/freebusy

Returns Free/Busy information regarding multiple people.

Request Information

URI Parameters

None.

Body Parameters

PeopleFreeBusyQueryDataContract
NameDescriptionTypeAdditional information
Scope

TimeRangeDataContract

None.

PersonIds

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Scope": {
    "Start": "2020-11-24T12:49:44.8616665Z",
    "End": "2020-11-24T12:49:44.8616665Z"
  },
  "PersonIds": [
    1,
    2
  ]
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

A list of free/busy information, by person.

Collection of PeopleFreeBusyQueryResponseDataContract
NameDescriptionTypeAdditional information
PersonId

integer

None.

BusyTimeRanges

Collection of TimeRangeDataContract

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "PersonId": 1,
    "BusyTimeRanges": [
      {
        "Start": "2020-11-24T12:49:44.8772733Z",
        "End": "2020-11-24T12:49:44.8772733Z"
      },
      {
        "Start": "2020-11-24T12:49:44.8772733Z",
        "End": "2020-11-24T12:49:44.8772733Z"
      }
    ]
  },
  {
    "PersonId": 1,
    "BusyTimeRanges": [
      {
        "Start": "2020-11-24T12:49:44.8772733Z",
        "End": "2020-11-24T12:49:44.8772733Z"
      },
      {
        "Start": "2020-11-24T12:49:44.8772733Z",
        "End": "2020-11-24T12:49:44.8772733Z"
      }
    ]
  }
]