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": "9f104241-5b67-4689-8a89-103fbc158279",
"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>9f104241-5b67-4689-8a89-103fbc158279</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.