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": "555c8273-b75e-40e6-9aa5-2268806f4687",
"PatientAppointmentId": "40dfb3b7-3307-49ed-8e98-7a65ece44390",
"PatientServiceAppointmentId": "e83b18cc-4e7d-4ee7-841e-6722f9441b99",
"PatientId": "59d519c1-c970-47dc-a2a6-0010c88e3796",
"BranchLocationId": "d29f8677-a033-41ad-81af-40484f55e4bd",
"BranchId": "fabea6ae-2228-49b8-a084-64f1d53f00ba",
"RideCancelRemarks": "sample string 2",
"AppointmentNo": "sample string 3",
"LocationLongitude": 1.1,
"LocationLattitude": 1.1,
"UserId": "6b8107c0-46c8-446d-ad6c-8cec26505b98",
"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>fabea6ae-2228-49b8-a084-64f1d53f00ba</BranchId> <BranchLocationId>d29f8677-a033-41ad-81af-40484f55e4bd</BranchLocationId> <Id>555c8273-b75e-40e6-9aa5-2268806f4687</Id> <LocationLattitude>1.1</LocationLattitude> <LocationLongitude>1.1</LocationLongitude> <PatientAppointmentId>40dfb3b7-3307-49ed-8e98-7a65ece44390</PatientAppointmentId> <PatientId>59d519c1-c970-47dc-a2a6-0010c88e3796</PatientId> <PatientServiceAppointmentId>e83b18cc-4e7d-4ee7-841e-6722f9441b99</PatientServiceAppointmentId> <RideCancelRemarks>sample string 2</RideCancelRemarks> <RiderAddress>sample string 4</RiderAddress> <RiderLocationURL>sample string 5</RiderLocationURL> <UserId>6b8107c0-46c8-446d-ad6c-8cec26505b98</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.