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": "3dadbacf-c9a4-4200-b4a9-5865a4bb0dc6",
"PatientAppointmentId": "801628bf-ad24-48e7-8604-d3157bdce723",
"PatientServiceAppointmentId": "3655e193-54ef-4f72-b728-1c6c6011c194",
"PatientId": "48e5755c-7999-4d9d-8db5-89152330dddc",
"BranchLocationId": "29de7c71-9476-4f8e-930d-9129ec982cd6",
"BranchId": "e2f3e138-3306-4b64-b356-9a17195ea398",
"RideCancelRemarks": "sample string 2",
"AppointmentNo": "sample string 3",
"LocationLongitude": 1.1,
"LocationLattitude": 1.1,
"UserId": "2a4a57f3-2e5a-4483-8b79-c3149413bdf9",
"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>e2f3e138-3306-4b64-b356-9a17195ea398</BranchId> <BranchLocationId>29de7c71-9476-4f8e-930d-9129ec982cd6</BranchLocationId> <Id>3dadbacf-c9a4-4200-b4a9-5865a4bb0dc6</Id> <LocationLattitude>1.1</LocationLattitude> <LocationLongitude>1.1</LocationLongitude> <PatientAppointmentId>801628bf-ad24-48e7-8604-d3157bdce723</PatientAppointmentId> <PatientId>48e5755c-7999-4d9d-8db5-89152330dddc</PatientId> <PatientServiceAppointmentId>3655e193-54ef-4f72-b728-1c6c6011c194</PatientServiceAppointmentId> <RideCancelRemarks>sample string 2</RideCancelRemarks> <RiderAddress>sample string 4</RiderAddress> <RiderLocationURL>sample string 5</RiderLocationURL> <UserId>2a4a57f3-2e5a-4483-8b79-c3149413bdf9</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.