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": "e8e6c2ec-4edb-4e5b-85c6-d11c2c2cffcc",
"PatientAppointmentId": "a274d2ec-cae3-425c-b9cf-c41c50418d68",
"PatientServiceAppointmentId": "1656d00a-3172-4b0b-be23-fbd08f2ee30c",
"PatientId": "916dff6d-c2db-4710-9217-b03addacfed1",
"BranchLocationId": "5d77ac5b-eb30-440e-a279-6bf7c779ebb9",
"BranchId": "7490fbe9-0955-426d-bba5-3e2153adbe5e",
"RideCancelRemarks": "sample string 2",
"AppointmentNo": "sample string 3",
"LocationLongitude": 1.1,
"LocationLattitude": 1.1,
"UserId": "e8c27547-fc97-4c1b-b614-1bd461712323",
"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>7490fbe9-0955-426d-bba5-3e2153adbe5e</BranchId> <BranchLocationId>5d77ac5b-eb30-440e-a279-6bf7c779ebb9</BranchLocationId> <Id>e8e6c2ec-4edb-4e5b-85c6-d11c2c2cffcc</Id> <LocationLattitude>1.1</LocationLattitude> <LocationLongitude>1.1</LocationLongitude> <PatientAppointmentId>a274d2ec-cae3-425c-b9cf-c41c50418d68</PatientAppointmentId> <PatientId>916dff6d-c2db-4710-9217-b03addacfed1</PatientId> <PatientServiceAppointmentId>1656d00a-3172-4b0b-be23-fbd08f2ee30c</PatientServiceAppointmentId> <RideCancelRemarks>sample string 2</RideCancelRemarks> <RiderAddress>sample string 4</RiderAddress> <RiderLocationURL>sample string 5</RiderLocationURL> <UserId>e8c27547-fc97-4c1b-b614-1bd461712323</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.