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": "344c1549-119d-4f58-9dce-6e0f089794cc",
"PatientAppointmentId": "c0158adf-72bd-4ada-b19a-89c41e8f716b",
"PatientServiceAppointmentId": "85db35e6-c2ee-4c39-bb72-5b8b2a140300",
"PatientId": "4a4bbcff-25be-49b3-be71-43f98365a77b",
"BranchLocationId": "49198328-ee4d-4c34-b658-4d9eb9a3025b",
"BranchId": "07b4ab2d-e2b2-41d8-b8a1-5f20a2738cf2",
"RideCancelRemarks": "sample string 2",
"AppointmentNo": "sample string 3",
"LocationLongitude": 1.1,
"LocationLattitude": 1.1,
"UserId": "cbe85cda-6a43-443e-b603-7ba6417b810b",
"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>07b4ab2d-e2b2-41d8-b8a1-5f20a2738cf2</BranchId> <BranchLocationId>49198328-ee4d-4c34-b658-4d9eb9a3025b</BranchLocationId> <Id>344c1549-119d-4f58-9dce-6e0f089794cc</Id> <LocationLattitude>1.1</LocationLattitude> <LocationLongitude>1.1</LocationLongitude> <PatientAppointmentId>c0158adf-72bd-4ada-b19a-89c41e8f716b</PatientAppointmentId> <PatientId>4a4bbcff-25be-49b3-be71-43f98365a77b</PatientId> <PatientServiceAppointmentId>85db35e6-c2ee-4c39-bb72-5b8b2a140300</PatientServiceAppointmentId> <RideCancelRemarks>sample string 2</RideCancelRemarks> <RiderAddress>sample string 4</RiderAddress> <RiderLocationURL>sample string 5</RiderLocationURL> <UserId>cbe85cda-6a43-443e-b603-7ba6417b810b</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.