POST api/appointment/suggest

Request Information

URI Parameters

None.

Body Parameters

RequestAppointmentQueryDataContract
NameDescriptionTypeAdditional information
AppointmentType

EnumDataContract

None.

RoleIds

Collection of integer

None.

Location

PointDataContract

None.

Availability

Collection of TimeRangeDataContract

None.

PreferredPersonId

integer

None.

PreferredTeamGroupId

integer

None.

OtherRequiredPeople

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "AppointmentType": {
    "Id": 1,
    "Name": "sample string 2",
    "SystemName": "sample string 3"
  },
  "RoleIds": [
    1,
    2
  ],
  "Location": {
    "Latitude": 1.1,
    "Longitude": 2.1,
    "Altitude": 3.1,
    "Order": 4,
    "Id": 5
  },
  "Availability": [
    {
      "Start": "2018-11-16T19:49:15.645352Z",
      "End": "2018-11-16T19:49:15.645352Z"
    },
    {
      "Start": "2018-11-16T19:49:15.645352Z",
      "End": "2018-11-16T19:49:15.645352Z"
    }
  ],
  "PreferredPersonId": 1,
  "PreferredTeamGroupId": 1,
  "OtherRequiredPeople": [
    1,
    2
  ]
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'RequestAppointmentQueryDataContract'.

Response Information

Resource Description

RequestAppointmentQueryResponseDataContract
NameDescriptionTypeAdditional information
Availability

TimeRangeDataContract

None.

AutomaticallySelectedPeople

Collection of integer

None.

RequiredPeople

Collection of integer

None.

TeamId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Availability": {
    "Start": "2018-11-16T19:49:15.6922854Z",
    "End": "2018-11-16T19:49:15.6922854Z"
  },
  "AutomaticallySelectedPeople": [
    1,
    2
  ],
  "RequiredPeople": [
    1,
    2
  ],
  "TeamId": 1
}