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": "6639ca68-b4ed-4750-924a-a5087d63601e",
"PatientAppointmentId": "87de7ba3-520c-48c0-ad92-425e32cb65a8",
"PatientServiceAppointmentId": "59a1ea0b-cfb3-443e-a76b-9ad8ab7cd22d",
"PatientId": "d30ca0fd-0db1-4128-ae65-abf7c8eae250",
"BranchLocationId": "f9532eeb-ce20-496e-8f00-8f961bd2c2ec",
"BranchId": "5ef15ad2-7e1c-433e-8b54-97d912addd10",
"RideCancelRemarks": "sample string 2",
"AppointmentNo": "sample string 3",
"LocationLongitude": 1.1,
"LocationLattitude": 1.1,
"UserId": "cb9d8780-3b57-487d-a0af-4cfc4b66f973",
"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>5ef15ad2-7e1c-433e-8b54-97d912addd10</BranchId> <BranchLocationId>f9532eeb-ce20-496e-8f00-8f961bd2c2ec</BranchLocationId> <Id>6639ca68-b4ed-4750-924a-a5087d63601e</Id> <LocationLattitude>1.1</LocationLattitude> <LocationLongitude>1.1</LocationLongitude> <PatientAppointmentId>87de7ba3-520c-48c0-ad92-425e32cb65a8</PatientAppointmentId> <PatientId>d30ca0fd-0db1-4128-ae65-abf7c8eae250</PatientId> <PatientServiceAppointmentId>59a1ea0b-cfb3-443e-a76b-9ad8ab7cd22d</PatientServiceAppointmentId> <RideCancelRemarks>sample string 2</RideCancelRemarks> <RiderAddress>sample string 4</RiderAddress> <RiderLocationURL>sample string 5</RiderLocationURL> <UserId>cb9d8780-3b57-487d-a0af-4cfc4b66f973</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.