GET api/RestaurantProfileLocations/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
RestaurantProfileLocationViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| RestaurantProfile | IdTextModel |
None. |
|
| RestaurantLocation | ValueTextModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"RestaurantProfile": {
"Id": 1,
"Text": "sample string 2"
},
"RestaurantLocation": {
"Value": "sample string 1",
"Text": "sample string 2"
}
}
application/xml, text/xml
Sample:
<RestaurantProfileLocationViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TripPlannerAPI.Models.DTO">
<Id>1</Id>
<RestaurantLocation>
<Text>sample string 2</Text>
<Value>sample string 1</Value>
</RestaurantLocation>
<RestaurantProfile>
<Id>1</Id>
<Text>sample string 2</Text>
</RestaurantProfile>
</RestaurantProfileLocationViewModel>