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": "13d73800-9d98-4b2b-a963-d09b9e957ded",
"PatientAppointmentId": "d4b49f40-3025-4306-8be5-3dd12fe7974d",
"PatientServiceAppointmentId": "26f3a3b4-39bd-40a4-aca5-1203207128de",
"PatientId": "81748d02-585a-4efc-949d-70f4f47826d0",
"BranchLocationId": "4d509ffd-495f-474a-a989-9a3c24581e26",
"BranchId": "fab7ebc3-f2eb-4728-856b-8896899bf857",
"RideCancelRemarks": "sample string 2",
"AppointmentNo": "sample string 3",
"LocationLongitude": 1.1,
"LocationLattitude": 1.1,
"UserId": "306912bf-782e-428d-8799-ec5f8b7b2245",
"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>fab7ebc3-f2eb-4728-856b-8896899bf857</BranchId> <BranchLocationId>4d509ffd-495f-474a-a989-9a3c24581e26</BranchLocationId> <Id>13d73800-9d98-4b2b-a963-d09b9e957ded</Id> <LocationLattitude>1.1</LocationLattitude> <LocationLongitude>1.1</LocationLongitude> <PatientAppointmentId>d4b49f40-3025-4306-8be5-3dd12fe7974d</PatientAppointmentId> <PatientId>81748d02-585a-4efc-949d-70f4f47826d0</PatientId> <PatientServiceAppointmentId>26f3a3b4-39bd-40a4-aca5-1203207128de</PatientServiceAppointmentId> <RideCancelRemarks>sample string 2</RideCancelRemarks> <RiderAddress>sample string 4</RiderAddress> <RiderLocationURL>sample string 5</RiderLocationURL> <UserId>306912bf-782e-428d-8799-ec5f8b7b2245</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.