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": "f901767f-80cc-42bb-a9db-ce92a628447f",
"PatientAppointmentId": "f4184868-940b-4275-893e-9ceb1d712a8d",
"PatientServiceAppointmentId": "af8f45ef-9c8f-47c0-90ef-ee3b73a97c6b",
"PatientId": "3dd6747d-8099-470c-9c30-89334766de10",
"BranchLocationId": "23d2b1d5-36c2-4f22-9fb2-e7adb833ee24",
"BranchId": "c0147ead-8e06-43ff-85a3-0d2a45538c11",
"RideCancelRemarks": "sample string 2",
"AppointmentNo": "sample string 3",
"LocationLongitude": 1.1,
"LocationLattitude": 1.1,
"UserId": "a89fcb91-7190-49e1-948b-ec7466c1c2dd",
"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>c0147ead-8e06-43ff-85a3-0d2a45538c11</BranchId> <BranchLocationId>23d2b1d5-36c2-4f22-9fb2-e7adb833ee24</BranchLocationId> <Id>f901767f-80cc-42bb-a9db-ce92a628447f</Id> <LocationLattitude>1.1</LocationLattitude> <LocationLongitude>1.1</LocationLongitude> <PatientAppointmentId>f4184868-940b-4275-893e-9ceb1d712a8d</PatientAppointmentId> <PatientId>3dd6747d-8099-470c-9c30-89334766de10</PatientId> <PatientServiceAppointmentId>af8f45ef-9c8f-47c0-90ef-ee3b73a97c6b</PatientServiceAppointmentId> <RideCancelRemarks>sample string 2</RideCancelRemarks> <RiderAddress>sample string 4</RiderAddress> <RiderLocationURL>sample string 5</RiderLocationURL> <UserId>a89fcb91-7190-49e1-948b-ec7466c1c2dd</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.