POST api/StartRide

Request Information

URI Parameters

None.

Body Parameters

StartRidePost
NameDescriptionTypeAdditional information
RideId

integer

None.

DriverId

integer

None.

StartingPointLatLng

string

None.

StartingPointAddress

string

None.

StartingPointDateTime

date

None.

Request Formats

application/json, text/json

Sample:
{
  "RideId": 1,
  "DriverId": 2,
  "StartingPointLatLng": "sample string 3",
  "StartingPointAddress": "sample string 4",
  "StartingPointDateTime": "2025-12-17T07:09:42.5220146+01:00"
}

application/xml, text/xml

Sample:
<StartRidePost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cabie.API.Models.Ride.Post">
  <DriverId>2</DriverId>
  <RideId>1</RideId>
  <StartingPointAddress>sample string 4</StartingPointAddress>
  <StartingPointDateTime>2025-12-17T07:09:42.5220146+01:00</StartingPointDateTime>
  <StartingPointLatLng>sample string 3</StartingPointLatLng>
</StartRidePost>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

StartRideResponse
NameDescriptionTypeAdditional information
StartRideId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "StartRideId": 1
}

application/xml, text/xml

Sample:
<StartRideResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cabie.API.Models.Ride.Response">
  <StartRideId>1</StartRideId>
</StartRideResponse>