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": "8f719e18-4da8-422a-a504-c3fc2733ecfb",
"PatientAppointmentId": "bd2bf909-77b0-4acd-9799-9707b3777df2",
"PatientServiceAppointmentId": "d088c75b-ee56-41c5-80e4-fd8a20850ad5",
"PatientId": "1b98fc4f-7d24-4dfd-837d-81c5595cbdfa",
"BranchLocationId": "cf147eb2-452c-45ba-ba5c-d7205cede383",
"BranchId": "79d5e1f3-bc1a-4c09-a7f1-90963bb6e265",
"RideCancelRemarks": "sample string 2",
"AppointmentNo": "sample string 3",
"LocationLongitude": 1.1,
"LocationLattitude": 1.1,
"UserId": "57ca02c2-d9ad-4bb1-b934-7f8f6bf86f63",
"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>79d5e1f3-bc1a-4c09-a7f1-90963bb6e265</BranchId> <BranchLocationId>cf147eb2-452c-45ba-ba5c-d7205cede383</BranchLocationId> <Id>8f719e18-4da8-422a-a504-c3fc2733ecfb</Id> <LocationLattitude>1.1</LocationLattitude> <LocationLongitude>1.1</LocationLongitude> <PatientAppointmentId>bd2bf909-77b0-4acd-9799-9707b3777df2</PatientAppointmentId> <PatientId>1b98fc4f-7d24-4dfd-837d-81c5595cbdfa</PatientId> <PatientServiceAppointmentId>d088c75b-ee56-41c5-80e4-fd8a20850ad5</PatientServiceAppointmentId> <RideCancelRemarks>sample string 2</RideCancelRemarks> <RiderAddress>sample string 4</RiderAddress> <RiderLocationURL>sample string 5</RiderLocationURL> <UserId>57ca02c2-d9ad-4bb1-b934-7f8f6bf86f63</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.