POST api/TripPlanner/Driving/BookmarkDrivingTrip

Request Information

URI Parameters

None.

Body Parameters

BookmarkDrivingTripRequestModel
NameDescriptionTypeAdditional information
startingPointPlaceId

string

None.

destinationPlaceId

string

None.

collectionId

integer

None.

categoryId

integer

None.

TripId

string

None.

PriceLevel

integer

None.

Radius

decimal number

None.

RestaurantTypeIds

string

None.

RestaurantCategoryIds

string

None.

startingPointPlaceName

string

None.

destinationPlaceName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "startingPointPlaceId": "sample string 1",
  "destinationPlaceId": "sample string 2",
  "collectionId": 1,
  "categoryId": 1,
  "TripId": "sample string 3",
  "PriceLevel": 1,
  "Radius": 4.1,
  "RestaurantTypeIds": "sample string 5",
  "RestaurantCategoryIds": "sample string 6",
  "startingPointPlaceName": "sample string 7",
  "destinationPlaceName": "sample string 8"
}

application/xml, text/xml

Sample:
<BookmarkDrivingTripRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GlutenDude.BusinessEntity.Admin">
  <PriceLevel>1</PriceLevel>
  <Radius>4.1</Radius>
  <RestaurantCategoryIds>sample string 6</RestaurantCategoryIds>
  <RestaurantTypeIds>sample string 5</RestaurantTypeIds>
  <TripId>sample string 3</TripId>
  <categoryId>1</categoryId>
  <collectionId>1</collectionId>
  <destinationPlaceId>sample string 2</destinationPlaceId>
  <destinationPlaceName>sample string 8</destinationPlaceName>
  <startingPointPlaceId>sample string 1</startingPointPlaceId>
  <startingPointPlaceName>sample string 7</startingPointPlaceName>
</BookmarkDrivingTripRequestModel>

multipart/form-data

Sample:
<BookmarkDrivingTripRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GlutenDude.BusinessEntity.Admin"><PriceLevel>1</PriceLevel><Radius>4.1</Radius><RestaurantCategoryIds>sample string 6</RestaurantCategoryIds><RestaurantTypeIds>sample string 5</RestaurantTypeIds><TripId>sample string 3</TripId><categoryId>1</categoryId><collectionId>1</collectionId><destinationPlaceId>sample string 2</destinationPlaceId><destinationPlaceName>sample string 8</destinationPlaceName><startingPointPlaceId>sample string 1</startingPointPlaceId><startingPointPlaceName>sample string 7</startingPointPlaceName></BookmarkDrivingTripRequestModel>

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

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.