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": "81697bbd-8be1-4f30-b08e-0e20a2a94a7d",
"PatientAppointmentId": "39f47520-516d-4ea0-83dc-710bde30742d",
"PatientServiceAppointmentId": "b94a7af7-c266-46da-84e9-f99e4adb620d",
"PatientId": "cd1102e8-29ce-4988-9c19-7d58a4ee5acc",
"BranchLocationId": "37df7a44-cbf1-454c-9c33-3e49c1e411d5",
"BranchId": "1e84f36b-37c7-434f-b669-73f3aa8e7341",
"RideCancelRemarks": "sample string 2",
"AppointmentNo": "sample string 3",
"LocationLongitude": 1.1,
"LocationLattitude": 1.1,
"UserId": "424a7782-5ca7-4007-bcd2-4fd188b3b6fe",
"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>1e84f36b-37c7-434f-b669-73f3aa8e7341</BranchId> <BranchLocationId>37df7a44-cbf1-454c-9c33-3e49c1e411d5</BranchLocationId> <Id>81697bbd-8be1-4f30-b08e-0e20a2a94a7d</Id> <LocationLattitude>1.1</LocationLattitude> <LocationLongitude>1.1</LocationLongitude> <PatientAppointmentId>39f47520-516d-4ea0-83dc-710bde30742d</PatientAppointmentId> <PatientId>cd1102e8-29ce-4988-9c19-7d58a4ee5acc</PatientId> <PatientServiceAppointmentId>b94a7af7-c266-46da-84e9-f99e4adb620d</PatientServiceAppointmentId> <RideCancelRemarks>sample string 2</RideCancelRemarks> <RiderAddress>sample string 4</RiderAddress> <RiderLocationURL>sample string 5</RiderLocationURL> <UserId>424a7782-5ca7-4007-bcd2-4fd188b3b6fe</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.