GET api/hotel/promotion?packageId={packageId}&startTime={startTime}
获取酒店Promotion
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
packageId | string |
Required |
|
startTime | date |
Required |
Body Parameters
None.
Response Information
Resource Description
获取酒店Promotion
ReturnResultOfListOfHotelPromotionContractName | Description | Type | Additional information |
---|---|---|---|
data | Collection of HotelPromotionContract |
None. |
|
code |
状态码:100成功,其他自定义 |
integer |
None. |
message |
提示消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "data": [ { "flightnumber": "sample string 1", "hotelid": "sample string 2", "flightcolor": "sample string 3", "hotelcolor": "sample string 4", "hotelcolor2": "sample string 5", "hotelcolor3": "sample string 6", "flightremark": "sample string 7", "hotelremark": "sample string 8", "orderby": 9 }, { "flightnumber": "sample string 1", "hotelid": "sample string 2", "flightcolor": "sample string 3", "hotelcolor": "sample string 4", "hotelcolor2": "sample string 5", "hotelcolor3": "sample string 6", "flightremark": "sample string 7", "hotelremark": "sample string 8", "orderby": 9 } ], "code": 1, "message": "sample string 2" }