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": "6bd03948-7c4e-47bc-9585-a86102d2503a",
"PatientAppointmentId": "ac2817ff-8994-4527-9451-70620054dc11",
"PatientServiceAppointmentId": "48ed65d6-1630-445d-82f8-844d8f504431",
"PatientId": "2ab0df88-4658-4940-a31f-c2742f6a4dec",
"BranchLocationId": "d4cbc927-d546-492b-9236-e32597a77aa1",
"BranchId": "bf34d351-7847-4c08-8a2d-406fe9c05408",
"RideCancelRemarks": "sample string 2",
"AppointmentNo": "sample string 3",
"LocationLongitude": 1.1,
"LocationLattitude": 1.1,
"UserId": "9898486a-07c7-4aaf-baee-4ec72ea5c9db",
"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>bf34d351-7847-4c08-8a2d-406fe9c05408</BranchId> <BranchLocationId>d4cbc927-d546-492b-9236-e32597a77aa1</BranchLocationId> <Id>6bd03948-7c4e-47bc-9585-a86102d2503a</Id> <LocationLattitude>1.1</LocationLattitude> <LocationLongitude>1.1</LocationLongitude> <PatientAppointmentId>ac2817ff-8994-4527-9451-70620054dc11</PatientAppointmentId> <PatientId>2ab0df88-4658-4940-a31f-c2742f6a4dec</PatientId> <PatientServiceAppointmentId>48ed65d6-1630-445d-82f8-844d8f504431</PatientServiceAppointmentId> <RideCancelRemarks>sample string 2</RideCancelRemarks> <RiderAddress>sample string 4</RiderAddress> <RiderLocationURL>sample string 5</RiderLocationURL> <UserId>9898486a-07c7-4aaf-baee-4ec72ea5c9db</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.