GET api/DailyStocks/RoomAllotment/ByProfileId/{profileId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| profileId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of AllotmentEligibleViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| IsPromo | boolean |
None. |
|
| StockItemCode | string |
None. |
|
| Id | integer |
None. |
|
| Text | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"IsPromo": true,
"StockItemCode": "sample string 2",
"Id": 3,
"Text": "sample string 4"
},
{
"IsPromo": true,
"StockItemCode": "sample string 2",
"Id": 3,
"Text": "sample string 4"
}
]
application/xml, text/xml
Sample:
<ArrayOfAllotmentEligibleViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TripPlannerAPI.Models.DTO">
<AllotmentEligibleViewModel>
<Id>3</Id>
<Text>sample string 4</Text>
<IsPromo>true</IsPromo>
<StockItemCode>sample string 2</StockItemCode>
</AllotmentEligibleViewModel>
<AllotmentEligibleViewModel>
<Id>3</Id>
<Text>sample string 4</Text>
<IsPromo>true</IsPromo>
<StockItemCode>sample string 2</StockItemCode>
</AllotmentEligibleViewModel>
</ArrayOfAllotmentEligibleViewModel>