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": "b779f699-05ce-45bf-8399-3519db3e33e1",
"PatientAppointmentId": "a36606e1-d9e8-4bce-b933-f32647baf157",
"PatientServiceAppointmentId": "7e75ff68-7dfb-41d4-b570-9826244a8fc6",
"PatientId": "24913725-f9b8-4f4b-8f2d-5a32d3278cd8",
"BranchLocationId": "687bd4fd-a282-4fd8-8f33-937200bc9196",
"BranchId": "706a7bcc-8a98-4997-a75e-d7d8cc970ed1",
"RideCancelRemarks": "sample string 2",
"AppointmentNo": "sample string 3",
"LocationLongitude": 1.1,
"LocationLattitude": 1.1,
"UserId": "0f7bbe20-2e69-4d48-88d5-a117872a553c",
"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>706a7bcc-8a98-4997-a75e-d7d8cc970ed1</BranchId> <BranchLocationId>687bd4fd-a282-4fd8-8f33-937200bc9196</BranchLocationId> <Id>b779f699-05ce-45bf-8399-3519db3e33e1</Id> <LocationLattitude>1.1</LocationLattitude> <LocationLongitude>1.1</LocationLongitude> <PatientAppointmentId>a36606e1-d9e8-4bce-b933-f32647baf157</PatientAppointmentId> <PatientId>24913725-f9b8-4f4b-8f2d-5a32d3278cd8</PatientId> <PatientServiceAppointmentId>7e75ff68-7dfb-41d4-b570-9826244a8fc6</PatientServiceAppointmentId> <RideCancelRemarks>sample string 2</RideCancelRemarks> <RiderAddress>sample string 4</RiderAddress> <RiderLocationURL>sample string 5</RiderLocationURL> <UserId>0f7bbe20-2e69-4d48-88d5-a117872a553c</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.