POST api/TripPlanner/Driving/Filters

Request Information

URI Parameters

None.

Body Parameters

TripStep2FilterRequestModel
NameDescriptionTypeAdditional information
TripId

globally unique identifier

None.

StartingPoint

string

None.

Destination

string

None.

StartingPointPlaceId

string

None.

DestinationPlaceId

string

None.

StartingPointLatitude

string

None.

StartingPointLongitude

string

None.

DestinationLatitude

string

None.

DestinationLongitude

string

None.

DistanceFromRoute

integer

None.

RestaurantType

string

None.

RestaurantCategory

string

None.

PriceLevel

string

None.

CreatedBy

integer

None.

CreatedFromIp

string

None.

Request Formats

application/json, text/json

Sample:
{
  "TripId": "577fafae-db56-4407-a38a-d3663d9e9e13",
  "StartingPoint": "sample string 2",
  "Destination": "sample string 3",
  "StartingPointPlaceId": "sample string 4",
  "DestinationPlaceId": "sample string 5",
  "StartingPointLatitude": "sample string 6",
  "StartingPointLongitude": "sample string 7",
  "DestinationLatitude": "sample string 8",
  "DestinationLongitude": "sample string 9",
  "DistanceFromRoute": 10,
  "RestaurantType": "sample string 11",
  "RestaurantCategory": "sample string 12",
  "PriceLevel": "sample string 13",
  "CreatedBy": 14,
  "CreatedFromIp": "sample string 15"
}

application/xml, text/xml

Sample:
<TripStep2FilterRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GlutenDude.BusinessEntity.Admin">
  <CreatedBy>14</CreatedBy>
  <CreatedFromIp>sample string 15</CreatedFromIp>
  <Destination>sample string 3</Destination>
  <DestinationLatitude>sample string 8</DestinationLatitude>
  <DestinationLongitude>sample string 9</DestinationLongitude>
  <DestinationPlaceId>sample string 5</DestinationPlaceId>
  <DistanceFromRoute>10</DistanceFromRoute>
  <PriceLevel>sample string 13</PriceLevel>
  <RestaurantCategory>sample string 12</RestaurantCategory>
  <RestaurantType>sample string 11</RestaurantType>
  <StartingPoint>sample string 2</StartingPoint>
  <StartingPointLatitude>sample string 6</StartingPointLatitude>
  <StartingPointLongitude>sample string 7</StartingPointLongitude>
  <StartingPointPlaceId>sample string 4</StartingPointPlaceId>
  <TripId>577fafae-db56-4407-a38a-d3663d9e9e13</TripId>
</TripStep2FilterRequestModel>

multipart/form-data

Sample:
<TripStep2FilterRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GlutenDude.BusinessEntity.Admin"><CreatedBy>14</CreatedBy><CreatedFromIp>sample string 15</CreatedFromIp><Destination>sample string 3</Destination><DestinationLatitude>sample string 8</DestinationLatitude><DestinationLongitude>sample string 9</DestinationLongitude><DestinationPlaceId>sample string 5</DestinationPlaceId><DistanceFromRoute>10</DistanceFromRoute><PriceLevel>sample string 13</PriceLevel><RestaurantCategory>sample string 12</RestaurantCategory><RestaurantType>sample string 11</RestaurantType><StartingPoint>sample string 2</StartingPoint><StartingPointLatitude>sample string 6</StartingPointLatitude><StartingPointLongitude>sample string 7</StartingPointLongitude><StartingPointPlaceId>sample string 4</StartingPointPlaceId><TripId>577fafae-db56-4407-a38a-d3663d9e9e13</TripId></TripStep2FilterRequestModel>

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 'TripStep2FilterRequestModel'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.