POST api/account/CancelRide
Request Information
URI Parameters
None.
Body Parameters
DTOCancelRide| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| PatientAppointmentId | globally unique identifier |
None. |
|
| PatientServiceAppointmentId | globally unique identifier |
None. |
|
| PatientId | globally unique identifier |
None. |
|
| BranchLocationId | globally unique identifier |
None. |
|
| BranchId | globally unique identifier |
None. |
|
| RideCancelRemarks | string |
None. |
|
| AppointmentNo | string |
None. |
|
| LocationLongitude | decimal number |
None. |
|
| LocationLattitude | decimal number |
None. |
|
| UserId | globally unique identifier |
None. |
|
| RiderAddress | string |
None. |
|
| RiderLocationURL | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "8ec57592-5bd9-42a9-b1df-a0d2b4547642",
"PatientAppointmentId": "82fed113-0d11-4aac-b9c6-4bbe37189d6b",
"PatientServiceAppointmentId": "a82b4979-991a-4c88-b78b-8dcb61107210",
"PatientId": "4602b5bc-6bd8-4304-978a-df41af95bfb8",
"BranchLocationId": "2489a89f-28d6-4e8c-8149-4b70e4ba6d66",
"BranchId": "7d5a4ade-8a8a-4933-978c-7eaf8f5ef614",
"RideCancelRemarks": "sample string 2",
"AppointmentNo": "sample string 3",
"LocationLongitude": 1.1,
"LocationLattitude": 1.1,
"UserId": "b0f0c2fd-b23b-426c-aa2d-d60b6e864381",
"RiderAddress": "sample string 4",
"RiderLocationURL": "sample string 5"
}
application/xml, text/xml
Sample:
<DTOCancelRide xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HomeCarePortal.BAL.DTOModels"> <AppointmentNo>sample string 3</AppointmentNo> <BranchId>7d5a4ade-8a8a-4933-978c-7eaf8f5ef614</BranchId> <BranchLocationId>2489a89f-28d6-4e8c-8149-4b70e4ba6d66</BranchLocationId> <Id>8ec57592-5bd9-42a9-b1df-a0d2b4547642</Id> <LocationLattitude>1.1</LocationLattitude> <LocationLongitude>1.1</LocationLongitude> <PatientAppointmentId>82fed113-0d11-4aac-b9c6-4bbe37189d6b</PatientAppointmentId> <PatientId>4602b5bc-6bd8-4304-978a-df41af95bfb8</PatientId> <PatientServiceAppointmentId>a82b4979-991a-4c88-b78b-8dcb61107210</PatientServiceAppointmentId> <RideCancelRemarks>sample string 2</RideCancelRemarks> <RiderAddress>sample string 4</RiderAddress> <RiderLocationURL>sample string 5</RiderLocationURL> <UserId>b0f0c2fd-b23b-426c-aa2d-d60b6e864381</UserId> </DTOCancelRide>
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.