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": "48a52a1d-f765-4987-aa8d-245f3c59aea0",
"PatientAppointmentId": "463ea274-a6c8-4482-a74d-59c5da30493a",
"PatientServiceAppointmentId": "a52c23ce-6a94-4a48-b146-09d3887adac8",
"PatientId": "19c0376b-dfe5-4e1d-8726-bde1e626f492",
"BranchLocationId": "85a4214c-1d41-431f-a1d4-8a8458418cd2",
"BranchId": "d2198aa4-c793-4a6d-9f42-f11dd15c1620",
"RideCancelRemarks": "sample string 2",
"AppointmentNo": "sample string 3",
"LocationLongitude": 1.1,
"LocationLattitude": 1.1,
"UserId": "abaf5246-3184-46ca-ba3b-91382d571b06",
"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>d2198aa4-c793-4a6d-9f42-f11dd15c1620</BranchId> <BranchLocationId>85a4214c-1d41-431f-a1d4-8a8458418cd2</BranchLocationId> <Id>48a52a1d-f765-4987-aa8d-245f3c59aea0</Id> <LocationLattitude>1.1</LocationLattitude> <LocationLongitude>1.1</LocationLongitude> <PatientAppointmentId>463ea274-a6c8-4482-a74d-59c5da30493a</PatientAppointmentId> <PatientId>19c0376b-dfe5-4e1d-8726-bde1e626f492</PatientId> <PatientServiceAppointmentId>a52c23ce-6a94-4a48-b146-09d3887adac8</PatientServiceAppointmentId> <RideCancelRemarks>sample string 2</RideCancelRemarks> <RiderAddress>sample string 4</RiderAddress> <RiderLocationURL>sample string 5</RiderLocationURL> <UserId>abaf5246-3184-46ca-ba3b-91382d571b06</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.