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": "79c3e841-ee28-4d64-b3ba-5362b2444288",
"PatientAppointmentId": "6a5407df-4785-484f-9e7c-c0a424fdbf60",
"PatientServiceAppointmentId": "56df2fcf-3cf2-44ef-a0c1-477ab5a0dec5",
"PatientId": "23695ce9-7988-4947-a522-fb5d3d0a2e91",
"BranchLocationId": "45ed5118-ac4e-4bf1-95d9-1da4d8f43115",
"BranchId": "1386fa66-dc3a-48f8-ac3c-17614bdfda92",
"RideCancelRemarks": "sample string 2",
"AppointmentNo": "sample string 3",
"LocationLongitude": 1.1,
"LocationLattitude": 1.1,
"UserId": "703e4065-e1b8-4c4e-a3b3-22f21ffa80a5",
"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>1386fa66-dc3a-48f8-ac3c-17614bdfda92</BranchId> <BranchLocationId>45ed5118-ac4e-4bf1-95d9-1da4d8f43115</BranchLocationId> <Id>79c3e841-ee28-4d64-b3ba-5362b2444288</Id> <LocationLattitude>1.1</LocationLattitude> <LocationLongitude>1.1</LocationLongitude> <PatientAppointmentId>6a5407df-4785-484f-9e7c-c0a424fdbf60</PatientAppointmentId> <PatientId>23695ce9-7988-4947-a522-fb5d3d0a2e91</PatientId> <PatientServiceAppointmentId>56df2fcf-3cf2-44ef-a0c1-477ab5a0dec5</PatientServiceAppointmentId> <RideCancelRemarks>sample string 2</RideCancelRemarks> <RiderAddress>sample string 4</RiderAddress> <RiderLocationURL>sample string 5</RiderLocationURL> <UserId>703e4065-e1b8-4c4e-a3b3-22f21ffa80a5</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.