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": "a6f81338-9954-472d-bf5b-5d9ac02ba678",
"PatientAppointmentId": "a0e0d677-5be9-4b26-83e2-265740979d35",
"PatientServiceAppointmentId": "6664ba61-63ff-479a-bb99-2fd5cc44415b",
"PatientId": "94370b86-4d49-4567-928e-a8daf5adb113",
"BranchLocationId": "feafbc75-fb05-4563-af07-486193b0956e",
"BranchId": "3cc46c15-e018-4fea-a80b-f1716130b827",
"RideCancelRemarks": "sample string 2",
"AppointmentNo": "sample string 3",
"LocationLongitude": 1.1,
"LocationLattitude": 1.1,
"UserId": "72dacdae-9dcb-461f-9604-46c9bcbc84ea",
"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>3cc46c15-e018-4fea-a80b-f1716130b827</BranchId> <BranchLocationId>feafbc75-fb05-4563-af07-486193b0956e</BranchLocationId> <Id>a6f81338-9954-472d-bf5b-5d9ac02ba678</Id> <LocationLattitude>1.1</LocationLattitude> <LocationLongitude>1.1</LocationLongitude> <PatientAppointmentId>a0e0d677-5be9-4b26-83e2-265740979d35</PatientAppointmentId> <PatientId>94370b86-4d49-4567-928e-a8daf5adb113</PatientId> <PatientServiceAppointmentId>6664ba61-63ff-479a-bb99-2fd5cc44415b</PatientServiceAppointmentId> <RideCancelRemarks>sample string 2</RideCancelRemarks> <RiderAddress>sample string 4</RiderAddress> <RiderLocationURL>sample string 5</RiderLocationURL> <UserId>72dacdae-9dcb-461f-9604-46c9bcbc84ea</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.