POST api/Quotes

Request Information

URI Parameters

None.

Body Parameters

GetQuotesRequest
NameDescriptionTypeAdditional information
Pickup

AddressDto

Required

Dropoff

AddressDto

None.

RideNow

boolean

Required

PickupDatetime

date

Required

NumberOfPassengers

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "pickup": {
    "landmark": "sample string 1",
    "streetNo": "sample string 2",
    "street": "sample string 3",
    "city": "sample string 4",
    "state": "sample string 5",
    "country": "sample string 6",
    "lat": 7.0,
    "long": 8.0,
    "googlePlaceId": "sample string 9",
    "postalCode": "sample string 10",
    "formatted": "sample string 11"
  },
  "dropoff": {
    "landmark": "sample string 1",
    "streetNo": "sample string 2",
    "street": "sample string 3",
    "city": "sample string 4",
    "state": "sample string 5",
    "country": "sample string 6",
    "lat": 7.0,
    "long": 8.0,
    "googlePlaceId": "sample string 9",
    "postalCode": "sample string 10",
    "formatted": "sample string 11"
  },
  "rideNow": true,
  "pickupDatetime": "2018-11-15T12:59:16.3155149+00:00",
  "numberOfPassengers": 1
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.