PUT api/appointment/cancel/{id}

Cancel an appointment by id if it exists.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

the appointment id

integer

Required

Body Parameters

The cancellation details, including reason of cancellation

CancelAppointmentCommandDataContract
NameDescriptionTypeAdditional information
ReasonForCancellation

string

None.

CancelSeries

boolean

None.

Id

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ReasonForCancellation": "sample string 1",
  "CancelSeries": true,
  "Id": 3
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.