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": "a19feb1c-f4ce-4173-8875-cf43cbb7bcee",
"PatientAppointmentId": "880b153c-ccc3-4c07-9197-08ce3a432aa2",
"PatientServiceAppointmentId": "bcb7a0de-4054-49c3-bd74-b71a7d100545",
"PatientId": "63213ba4-231b-4b5d-a1d1-81e7d13b3340",
"BranchLocationId": "105f99a3-b66d-4a46-be44-57b512436f98",
"BranchId": "f4d30def-3baa-4f77-857c-fab1fdd0ce6a",
"RideCancelRemarks": "sample string 2",
"AppointmentNo": "sample string 3",
"LocationLongitude": 1.1,
"LocationLattitude": 1.1,
"UserId": "94007890-6bac-428c-9c50-17273f34a83f",
"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>f4d30def-3baa-4f77-857c-fab1fdd0ce6a</BranchId> <BranchLocationId>105f99a3-b66d-4a46-be44-57b512436f98</BranchLocationId> <Id>a19feb1c-f4ce-4173-8875-cf43cbb7bcee</Id> <LocationLattitude>1.1</LocationLattitude> <LocationLongitude>1.1</LocationLongitude> <PatientAppointmentId>880b153c-ccc3-4c07-9197-08ce3a432aa2</PatientAppointmentId> <PatientId>63213ba4-231b-4b5d-a1d1-81e7d13b3340</PatientId> <PatientServiceAppointmentId>bcb7a0de-4054-49c3-bd74-b71a7d100545</PatientServiceAppointmentId> <RideCancelRemarks>sample string 2</RideCancelRemarks> <RiderAddress>sample string 4</RiderAddress> <RiderLocationURL>sample string 5</RiderLocationURL> <UserId>94007890-6bac-428c-9c50-17273f34a83f</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.