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": "25576c52-122f-428a-97e7-3d2df011394d",
"PatientAppointmentId": "4b42d936-e2b6-417c-a0cb-9e1555324823",
"PatientServiceAppointmentId": "d8ea3870-032e-4ad8-88b8-b7df2bad42b3",
"PatientId": "b0a9f33c-146d-410c-a094-03b34a02c816",
"BranchLocationId": "278e09a7-8b92-4e74-bd6e-4b358104d887",
"BranchId": "182a1018-bf6a-4e0d-8554-c2536b44fe8e",
"RideCancelRemarks": "sample string 2",
"AppointmentNo": "sample string 3",
"LocationLongitude": 1.1,
"LocationLattitude": 1.1,
"UserId": "f129b9f0-b91b-46bc-a1fc-fe5346dd3990",
"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>182a1018-bf6a-4e0d-8554-c2536b44fe8e</BranchId> <BranchLocationId>278e09a7-8b92-4e74-bd6e-4b358104d887</BranchLocationId> <Id>25576c52-122f-428a-97e7-3d2df011394d</Id> <LocationLattitude>1.1</LocationLattitude> <LocationLongitude>1.1</LocationLongitude> <PatientAppointmentId>4b42d936-e2b6-417c-a0cb-9e1555324823</PatientAppointmentId> <PatientId>b0a9f33c-146d-410c-a094-03b34a02c816</PatientId> <PatientServiceAppointmentId>d8ea3870-032e-4ad8-88b8-b7df2bad42b3</PatientServiceAppointmentId> <RideCancelRemarks>sample string 2</RideCancelRemarks> <RiderAddress>sample string 4</RiderAddress> <RiderLocationURL>sample string 5</RiderLocationURL> <UserId>f129b9f0-b91b-46bc-a1fc-fe5346dd3990</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.