DELETE api/Appointments
Request Information
URI Parameters
None.
Body Parameters
DeleteAppointmentParameters| Name | Description | Type | Additional information |
|---|---|---|---|
| BookingReference | string |
None. |
|
| UserId | globally unique identifier |
None. |
|
| CancellationReason | AppointmentCancellationReason |
None. |
|
| AppointmentCancelledBy | AppointmentCancelledBy |
None. |
|
| SupressCanxNotificationToExpert | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"BookingReference": "sample string 1",
"UserId": "513a0b8b-d046-40c2-8222-24770b3260f9",
"CancellationReason": 0,
"AppointmentCancelledBy": 0,
"SupressCanxNotificationToExpert": true
}
application/xml, text/xml
Sample:
<DeleteAppointmentParameters xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Premex.API.Appointments.WebApi.Models"> <AppointmentCancelledBy>ApptCanxBy00</AppointmentCancelledBy> <BookingReference>sample string 1</BookingReference> <CancellationReason>ApptCanx00</CancellationReason> <SupressCanxNotificationToExpert>true</SupressCanxNotificationToExpert> <UserId>513a0b8b-d046-40c2-8222-24770b3260f9</UserId> </DeleteAppointmentParameters>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.