POST api/DailyStocks/TourGuide/day
Request Information
URI Parameters
None.
Body Parameters
TourGuideDayBindingModelName | Description | Type | Additional information |
---|---|---|---|
ServiceItemId | integer |
Required |
|
Date | date |
Required |
|
ReleaseDays | integer |
Range: inclusive between 0 and 2000 |
|
Qty | integer |
Required Range: inclusive between 0 and 1 |
Request Formats
application/json, text/json
Sample:
{ "ServiceItemId": 1, "Date": "2025-06-26T13:48:48.3013652+00:00", "ReleaseDays": 1, "Qty": 3 }
application/xml, text/xml
Sample:
<TourGuideDayBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TripPlannerAPI.Models.DTO"> <Date>2025-06-26T13:48:48.3013652+00:00</Date> <Qty>3</Qty> <ReleaseDays>1</ReleaseDays> <ServiceItemId>1</ServiceItemId> </TourGuideDayBindingModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AllotmentByProfileViewModelName | Description | Type | Additional information |
---|---|---|---|
ServiceItemId | integer |
None. |
|
ServiceItemName | string |
None. |
|
StockItemCode | string |
None. |
|
StockCode | string |
String length: inclusive between 0 and 17 |
|
DateTime | date |
None. |
|
ReleaseDays | integer |
None. |
|
Qty | integer |
None. |
|
IsSpecialPeriod | boolean |
None. |
|
StockLeft | integer |
None. |
|
IsStillValid | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "ServiceItemId": 1, "ServiceItemName": "sample string 2", "StockItemCode": "sample string 3", "StockCode": "sample string 4", "DateTime": "2025-06-26T13:48:48.3169881+00:00", "ReleaseDays": 6, "Qty": 7, "IsSpecialPeriod": true, "StockLeft": 9, "IsStillValid": true }
application/xml, text/xml
Sample:
<AllotmentByProfileViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TripPlannerAPI.Models.DTO"> <DateTime>2025-06-26T13:48:48.3169881+00:00</DateTime> <IsSpecialPeriod>true</IsSpecialPeriod> <IsStillValid>true</IsStillValid> <Qty>7</Qty> <ReleaseDays>6</ReleaseDays> <StockCode>sample string 4</StockCode> <StockItemCode>sample string 3</StockItemCode> <StockLeft>9</StockLeft> <ServiceItemId>1</ServiceItemId> <ServiceItemName>sample string 2</ServiceItemName> </AllotmentByProfileViewModel>