PUT api/appointment/cancel/{id}/Date/{date}

Cancel calculated appointment by id and datetime, if it exists.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

appointment id

integer

Required

date

appointment start date

string

Required

Body Parameters

Dezrez.Core.DataContracts.External.Api.Events.Appointments.Command.CancelAppointmentCommandDataContract
NameDescriptionTypeAdditional information
ReasonForCancellation

string

None.

CancelSeries

boolean

None.

Id

integer

None.

Request Formats

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 'CancelAppointmentCommandDataContract'.

application/json, text/json

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

Response Information

Resource Description

System.Net.Http.HttpResponseMessage
NameDescriptionTypeAdditional information
Version

System.Version

None.

Content

System.Net.Http.HttpContent

None.

StatusCode

System.Net.HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

System.Net.Http.HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.