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": "fce98c5a-47af-45f5-a58c-422c16eb5134",
"PatientAppointmentId": "8ccd6306-31da-4cdb-94d6-add3390b5287",
"PatientServiceAppointmentId": "4ee76afb-3684-4820-bea7-ae64fd81fefe",
"PatientId": "ed490d85-fe58-48fc-ba71-439ba06a7ec9",
"BranchLocationId": "51755efe-aff1-4d76-ad80-7c382b73e97f",
"BranchId": "eadf7d87-9695-4f01-a436-0f6a2f331429",
"RideCancelRemarks": "sample string 2",
"AppointmentNo": "sample string 3",
"LocationLongitude": 1.1,
"LocationLattitude": 1.1,
"UserId": "bbab18b1-e352-45ae-a7f3-a481716990b9",
"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>eadf7d87-9695-4f01-a436-0f6a2f331429</BranchId> <BranchLocationId>51755efe-aff1-4d76-ad80-7c382b73e97f</BranchLocationId> <Id>fce98c5a-47af-45f5-a58c-422c16eb5134</Id> <LocationLattitude>1.1</LocationLattitude> <LocationLongitude>1.1</LocationLongitude> <PatientAppointmentId>8ccd6306-31da-4cdb-94d6-add3390b5287</PatientAppointmentId> <PatientId>ed490d85-fe58-48fc-ba71-439ba06a7ec9</PatientId> <PatientServiceAppointmentId>4ee76afb-3684-4820-bea7-ae64fd81fefe</PatientServiceAppointmentId> <RideCancelRemarks>sample string 2</RideCancelRemarks> <RiderAddress>sample string 4</RiderAddress> <RiderLocationURL>sample string 5</RiderLocationURL> <UserId>bbab18b1-e352-45ae-a7f3-a481716990b9</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.