POST api/account/CancelRide

Request Information

URI Parameters

None.

Body Parameters

DTOCancelRide
NameDescriptionTypeAdditional 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": "8dca139f-5fbf-4868-b76f-047eb2753e8b",
  "PatientAppointmentId": "187819a1-6f09-4b63-b914-58b19656274c",
  "PatientServiceAppointmentId": "4908a2b7-8e9c-42c5-9fd7-05da67beeaf5",
  "PatientId": "ef0417cd-efbc-486b-b9bb-4a7eaf03a7b1",
  "BranchLocationId": "8b6d0f11-d24f-4cd7-9932-157bf89fc81f",
  "BranchId": "1f2794bb-edca-48e5-954c-48852a3b5eb3",
  "RideCancelRemarks": "sample string 2",
  "AppointmentNo": "sample string 3",
  "LocationLongitude": 1.1,
  "LocationLattitude": 1.1,
  "UserId": "7ca276d5-9a55-4f29-9db1-21af149c32e6",
  "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>1f2794bb-edca-48e5-954c-48852a3b5eb3</BranchId>
  <BranchLocationId>8b6d0f11-d24f-4cd7-9932-157bf89fc81f</BranchLocationId>
  <Id>8dca139f-5fbf-4868-b76f-047eb2753e8b</Id>
  <LocationLattitude>1.1</LocationLattitude>
  <LocationLongitude>1.1</LocationLongitude>
  <PatientAppointmentId>187819a1-6f09-4b63-b914-58b19656274c</PatientAppointmentId>
  <PatientId>ef0417cd-efbc-486b-b9bb-4a7eaf03a7b1</PatientId>
  <PatientServiceAppointmentId>4908a2b7-8e9c-42c5-9fd7-05da67beeaf5</PatientServiceAppointmentId>
  <RideCancelRemarks>sample string 2</RideCancelRemarks>
  <RiderAddress>sample string 4</RiderAddress>
  <RiderLocationURL>sample string 5</RiderLocationURL>
  <UserId>7ca276d5-9a55-4f29-9db1-21af149c32e6</UserId>
</DTOCancelRide>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'DTOCancelRide'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.