POST api/GetRidesByAccountId
Request Information
URI Parameters
None.
Body Parameters
GetRidesByAccountIdPost| Name | Description | Type | Additional information |
|---|---|---|---|
| AccountId | integer |
None. |
|
| UserType | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"AccountId": 1,
"UserType": 2
}
application/xml, text/xml
Sample:
<GetRidesByAccountIdPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cabie.API.Models.Ride.Post"> <AccountId>1</AccountId> <UserType>2</UserType> </GetRidesByAccountIdPost>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
GetRidesByAccountIdResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Rides | Collection of integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Rides": [
1,
2
]
}
application/xml, text/xml
Sample:
<GetRidesByAccountIdResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cabie.API.Models.Ride.Response">
<Rides xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:long>1</d2p1:long>
<d2p1:long>2</d2p1:long>
</Rides>
</GetRidesByAccountIdResponse>