POST api/partners/v1/appointments/self-cancel
Request Information
URI Parameters
None.
Body Parameters
PartnerAppointmentSelfCancelRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| AppointmentId | integer |
None. |
|
| CustomerFolderId | integer |
None. |
|
| CancellationReasonId | integer |
None. |
|
| CancellationMessage | string |
None. |
|
| UserId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"AppointmentId": 1,
"CustomerFolderId": 2,
"CancellationReasonId": 3,
"CancellationMessage": "sample string 4",
"UserId": 5
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PartnerAppointmentActionResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Appointment | PartnerAppointment |
None. |
|
| ReturnCode | integer |
None. |
|
| ReturnMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Appointment": {
"CFId": 1,
"FolderAlias": "sample string 2",
"CFPId": 3,
"CustId": 4,
"AppId": 5,
"TrtId": 6,
"TrtDescription": "sample string 7",
"TrtDuration": 8,
"TrtPrice": 9.1,
"AppointmentDate": "sample string 10",
"AppointmentStartTime": "sample string 11",
"AppointmentEndTime": "sample string 12",
"AppointmentTherapist": "sample string 13",
"AppointmentRoom": "sample string 14",
"CustomerName": "sample string 15",
"CustomerSurname": "sample string 16",
"CustomerEmail": "sample string 17",
"CustomerPhone": "sample string 18",
"Resource1Id": 19,
"Resource2Id": 20,
"Resource3Id": 21,
"Notes": "sample string 22",
"IsLocked": true,
"EntryType": 0,
"SessionId": 24
},
"ReturnCode": 1,
"ReturnMessage": "sample string 2"
}