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": "84cb41c8-13f6-4a6b-843f-f0ccf0f2fde5",
"PatientAppointmentId": "3276362d-cdf4-4f6f-b709-37f5fd5cc00c",
"PatientServiceAppointmentId": "51142d1c-fdbd-4a1a-9fa8-485bacaf63e8",
"PatientId": "298b284d-f2da-43b4-af34-51eb08efa4f4",
"BranchLocationId": "821ec313-6083-4d94-b86f-764a0774df50",
"BranchId": "3897dea8-db80-44e3-94be-fd4675ef0d61",
"RideCancelRemarks": "sample string 2",
"AppointmentNo": "sample string 3",
"LocationLongitude": 1.1,
"LocationLattitude": 1.1,
"UserId": "c653fd03-be90-4888-aaa4-bab8cdbdad9a",
"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>3897dea8-db80-44e3-94be-fd4675ef0d61</BranchId> <BranchLocationId>821ec313-6083-4d94-b86f-764a0774df50</BranchLocationId> <Id>84cb41c8-13f6-4a6b-843f-f0ccf0f2fde5</Id> <LocationLattitude>1.1</LocationLattitude> <LocationLongitude>1.1</LocationLongitude> <PatientAppointmentId>3276362d-cdf4-4f6f-b709-37f5fd5cc00c</PatientAppointmentId> <PatientId>298b284d-f2da-43b4-af34-51eb08efa4f4</PatientId> <PatientServiceAppointmentId>51142d1c-fdbd-4a1a-9fa8-485bacaf63e8</PatientServiceAppointmentId> <RideCancelRemarks>sample string 2</RideCancelRemarks> <RiderAddress>sample string 4</RiderAddress> <RiderLocationURL>sample string 5</RiderLocationURL> <UserId>c653fd03-be90-4888-aaa4-bab8cdbdad9a</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.