POST api/RestaurantProfileLocations

Request Information

URI Parameters

None.

Body Parameters

RestaurantProfileLocationBindingModel
NameDescriptionTypeAdditional information
RestaurantProfileId

integer

Required

RestaurantLocationId

string

Required

Request Formats

application/json, text/json

Sample:
{
  "RestaurantProfileId": 1,
  "RestaurantLocationId": "sample string 2"
}

application/xml, text/xml

Sample:
<RestaurantProfileLocationBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TripPlannerAPI.Models.DTO">
  <RestaurantLocationId>sample string 2</RestaurantLocationId>
  <RestaurantProfileId>1</RestaurantProfileId>
</RestaurantProfileLocationBindingModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

RestaurantProfileLocation
NameDescriptionTypeAdditional information
Id

integer

None.

RestaurantProfileId

integer

Required

RestaurantLocationId

string

Required

RestaurantLocation

RestaurantLocation

None.

RestaurantProfile

RestaurantProfile

None.

Response Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.