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": "7c282c4f-4792-4184-919f-c162b99b4a16",
"PatientAppointmentId": "d6262f29-f112-4869-bdf5-4222cb6bf3bf",
"PatientServiceAppointmentId": "bddc7158-30e1-4862-94a3-1e784c556523",
"PatientId": "f12da3d7-cbcf-44a6-a175-d3e96ab8677a",
"BranchLocationId": "4c626245-b0a3-4652-ac5f-a44f1dcf709d",
"BranchId": "b1bbe250-7796-4d13-865b-5a15e6e28975",
"RideCancelRemarks": "sample string 2",
"AppointmentNo": "sample string 3",
"LocationLongitude": 1.1,
"LocationLattitude": 1.1,
"UserId": "e98854a2-04e4-4135-b8c2-df9fe0ca3e18",
"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>b1bbe250-7796-4d13-865b-5a15e6e28975</BranchId> <BranchLocationId>4c626245-b0a3-4652-ac5f-a44f1dcf709d</BranchLocationId> <Id>7c282c4f-4792-4184-919f-c162b99b4a16</Id> <LocationLattitude>1.1</LocationLattitude> <LocationLongitude>1.1</LocationLongitude> <PatientAppointmentId>d6262f29-f112-4869-bdf5-4222cb6bf3bf</PatientAppointmentId> <PatientId>f12da3d7-cbcf-44a6-a175-d3e96ab8677a</PatientId> <PatientServiceAppointmentId>bddc7158-30e1-4862-94a3-1e784c556523</PatientServiceAppointmentId> <RideCancelRemarks>sample string 2</RideCancelRemarks> <RiderAddress>sample string 4</RiderAddress> <RiderLocationURL>sample string 5</RiderLocationURL> <UserId>e98854a2-04e4-4135-b8c2-df9fe0ca3e18</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.