POST api/CheckRide

Request Information

URI Parameters

None.

Body Parameters

CheckRidePost
NameDescriptionTypeAdditional information
AccountId

integer

None.

RideStatusId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "AccountId": 1,
  "RideStatusId": 2
}

application/xml, text/xml

Sample:
<CheckRidePost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cabie.API.Models.Ride.Post">
  <AccountId>1</AccountId>
  <RideStatusId>2</RideStatusId>
</CheckRidePost>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CheckRideResponse
NameDescriptionTypeAdditional information
RidesId

Collection of integer

None.

Response Formats

application/json, text/json

Sample:
{
  "RidesId": [
    1,
    2
  ]
}

application/xml, text/xml

Sample:
<CheckRideResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cabie.API.Models.Ride.Response">
  <RidesId xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:long>1</d2p1:long>
    <d2p1:long>2</d2p1:long>
  </RidesId>
</CheckRideResponse>