Project

General

Profile

Actions

개선(improvement) #3080

closed

개선(improvement) #2616: ** Hotel Lists Screen UI Renewal

개선(improvement) #2771: - PC

API Multi Promotion For Hotel List B2C

Added by harry harry about 1 month ago. Updated about 1 month ago.

Status:
완료(Done)
Priority:
보통(Normal)
Assignee:
Start date:
Due date:
% Done:

100%

Estimated time:
Part:
Build env.:

Description

- We will sort promotions based on the total discount amount.
- If a user searches for multiple days, the system will sum up the discounts for all days and then sort them.


Files

picture402-1.png (104 KB) picture402-1.png harry harry, 02/05/2026 10:52 AM
picture402-2.png (297 KB) picture402-2.png harry harry, 02/05/2026 10:52 AM
Actions #1

Updated by John Lee about 1 month ago

  • Status changed from 신규(New) to 진행(Doing)
Actions #2

Updated by John Lee about 1 month ago

  • % Done changed from 0 to 100
Actions #3

Updated by John Lee about 1 month ago

  • Status changed from 진행(Doing) to 완료(Done)
curl --location 'http://localhost:8080/hotel/listPromotion' \
--header 'accept: application/json, text/plain, */*' \
--header 'accept-language: en-GB,en;q=0.9,ko;q=0.8,ja;q=0.7,en-US;q=0.6,vi;q=0.5,fr-FR;q=0.4,fr;q=0.3' \
--header 'content-type: application/json' \
--header 'origin: http://localhost:4204' \
--header 'priority: u=1, i' \
--header 'referer: https://dev-newwww.ohmyhotel.com/' \
--header 'sec-ch-ua: "Not(A:Brand";v="8", "Chromium";v="144", "Google Chrome";v="144"' \
--header 'sec-ch-ua-mobile: ?0' \
--header 'sec-ch-ua-platform: "Windows"' \
--header 'sec-fetch-dest: empty' \
--header 'sec-fetch-mode: cors' \
--header 'sec-fetch-site: same-site' \
--header 'user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36' \
--header 'usertoken: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxMTYxMzMiLCJyb2xlcyI6WyJkYXQubnQxQG9obXlob3RlbC5jb20iLCIxMTYxMzMiLCJBUUFBQUFJQUFDY1FBQUFBRUtMT0xuZ3Z6QVB6SXc0K25LRTg5bEova1BRMWZ0RDQ0byt0QVVOVHNVaXl1cVZEQXFvajluZUpiMUZVclN1akZRPT0iXSwiaWF0IjoxNzcwMDAxNzQxLCJleHAiOjE4MDE1Mzc3NDF9.a-9o6-qpQszKnYuHi4h0GvgAfX3p5CeUC0t_e26_8YQ' \
--data '{
    "stationTypeCode": "STN01",
    "currency": "VND",
    "country": "VN",
    "language": "EN",
    "condition": {
        "hotelCodes": [886565,886502,850709,804721,861095,813477,113099,119879,1009162,1009265,1009135,1009244],
        "checkInDate": "2026-03-01",
        "checkOutDate": "2026-03-02",
        "dynamicRateYn": true,
        "rooms": [
            {
                "adultCount": 2,
                "childCount": 0
            }
        ],
        "regionCode": 102529,
        "sortOrder": "Recommend",
        "limits": [
            0,
            15
        ]
    }
}'
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 50 MB)