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": "6a8766c4-0bd1-49f7-9f71-c03b43e403b7",
"PatientAppointmentId": "2ce9fac6-600a-4abb-a1d3-71acca3e14c2",
"PatientServiceAppointmentId": "4284a326-ded2-4f22-955b-b140de325722",
"PatientId": "5f347a43-8283-4fe6-9131-930005c9b707",
"BranchLocationId": "f6298092-621b-4f3f-b3fd-1cafb0c30685",
"BranchId": "35ecfb7f-56a9-4ff7-89c0-37c370a8110b",
"RideCancelRemarks": "sample string 2",
"AppointmentNo": "sample string 3",
"LocationLongitude": 1.1,
"LocationLattitude": 1.1,
"UserId": "1bbaed55-f807-4b9f-a77a-05fb6954960c",
"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>35ecfb7f-56a9-4ff7-89c0-37c370a8110b</BranchId> <BranchLocationId>f6298092-621b-4f3f-b3fd-1cafb0c30685</BranchLocationId> <Id>6a8766c4-0bd1-49f7-9f71-c03b43e403b7</Id> <LocationLattitude>1.1</LocationLattitude> <LocationLongitude>1.1</LocationLongitude> <PatientAppointmentId>2ce9fac6-600a-4abb-a1d3-71acca3e14c2</PatientAppointmentId> <PatientId>5f347a43-8283-4fe6-9131-930005c9b707</PatientId> <PatientServiceAppointmentId>4284a326-ded2-4f22-955b-b140de325722</PatientServiceAppointmentId> <RideCancelRemarks>sample string 2</RideCancelRemarks> <RiderAddress>sample string 4</RiderAddress> <RiderLocationURL>sample string 5</RiderLocationURL> <UserId>1bbaed55-f807-4b9f-a77a-05fb6954960c</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.