Restriction
About 2260 wordsAbout 8 min
2025-04-28
Open API Restriction Additional Explanation
| Field | Description | Setting Content | Content Meaning | Scenario Examples |
|---|---|---|---|---|
close | Close status | Set to close from 2021-10-01 to 2021-10-10 | From 2021-10-01 to 2021-10-10, including 10-01 and 10-10, set to closed for sale | 1. Booking from 2021-09-30 to check in on 2021-10-02 and check out, not bookable;2. Booking from 2021-10-01 to check in on 2021-10-02 and check out, not bookable;3. Booking from 2021-10-10 to check in on 2021-10-11 and check out, not bookable; |
close | Close status | Set to open from 2021-10-01 to 2021-10-10 | From 2021-10-01 to 2021-10-10, including 10-01 and 10-10, set to open for sale | Booking from 2021-10-01 to 2021-10-10, check-in and check-out dates are bookable |
minStayArrival | Minimum stay on the first day Min Stay Arrival | Set to 3 from 2021-10-01 to 2021-10-10 | From 2021-10-01 to 2021-10-10, including 10-01 and 10-10, set the minimum stay X days for each day, and the total stay must be greater than or equal to X days set on the first day of check-in | 1. Booking from 2021-09-30 to check in on 2021-10-02 and check out, no restriction, bookable;2. Booking from 2021-10-01 to check in on 2021-10-02 and check out, total stay is 1 day, check the minimum stay of 10-01 as 3 days, 1<3, not bookable;3. Booking from 2021-10-10 to check in on 2021-10-11 and check out, total stay is 1 day, check the minimum stay of 10-10 as 3 days, 1<3, not bookable;4. Booking from 2021-10-11 to check in on 2021-10-12 and check out, no restriction, bookable; |
maxStayArrival | Maximum stay on the first day Max Stay Arrival | Set to 10 from 2021-10-01 to 2021-10-10 | From 2021-10-01 to 2021-10-10, including 10-01 and 10-10, set the maximum stay X days for each day, and the total stay must be less than or equal to X days set on the first day of check-in | 1. Booking from 2021-09-30 to check in on 2021-10-02 and check out, no restriction, bookable;2. Booking from 2021-10-01 to check in on 2021-10-12 and check out, total stay is 11 days, check the maximum stay of 10-01 as 10 days, 11>10, not bookable;3. Booking from 2021-10-10 to check in on 2021-10-21 and check out, total stay is 11 days, check the maximum stay of 10-10 as 10 days, 11>10, not bookable;4. Booking from 2021-10-11 to check in on 2021-10-12 and check out, no restriction, bookable; |
minStayThrough | Minimum stay throughout Min Stay Through | Set to 3 from 2021-10-01 to 2021-10-10 | From 2021-10-01 to 2021-10-10, including 10-01 and 10-10, set the minimum stay X days for each day, and each day is independently checked, the total stay must be greater than or equal to X days set for each day | 1. Booking from 2021-09-30 to check in on 2021-10-02 and check out, check the minimum stay of 10-01 to 10-10 as 3 days, 2<3, not bookable;2. Booking from 2021-10-01 to check in on 2021-10-02 and check out, total stay is 1 day, check the minimum stay of 10-01 to 10-10 as 3 days, 1<3, not bookable;3. Booking from 2021-10-10 to check in on 2021-10-11 and check out, total stay is 1 day, check the minimum stay of 10-01 to 10-10 as 3 days, 1<3, not bookable;4. Booking from 2021-10-11 to check in on 2021-10-12 and check out, no restriction, bookable;5. Booking from 2021-10-06 to check in on 2021-10-11 and check out, total stay is 4 days, 4>3, bookable; |
maxStayThrough | Maximum stay throughout Max Stay Through | Set to 10 from 2021-10-01 to 2021-10-10 | From 2021-10-01 to 2021-10-10, including 10-01 and 10-10, set the maximum stay X days for each day, and each day is independently checked, the total stay must be less than or equal to X days set for each day | 1. Booking from 2021-09-30 to check in on 2021-10-02 and check out, no restriction, bookable;2. Booking from 2021-10-01 to check in on 2021-10-12 and check out, total stay is 11 days, check the maximum stay of 10-01 to 10-10 as 10 days, 11>10, not bookable;3. Booking from 2021-10-10 to check in on 2021-10-21 and check out, total stay is 11 days, check the maximum stay of 10-01 to 10-10 as 10 days, 11>10, not bookable;4. Booking from 2021-10-11 to check in on 2021-10-12 and check out, no restriction, bookable; |
minAdvanceDay | Minimum advance booking days | Set to 3 from 2021-10-01 to 2021-10-10 | From 2021-10-01 to 2021-10-10, including 10-01 and 10-10, set the minimum advance booking X days, restricting that bookings must be made at least X days before the first day of check-in | 1. Booking on 2021-09-30 to check in on 2021-09-30 and check out on 2021-10-02, no restriction, bookable;2. Booking on 2021-09-30 to check in on 2021-10-01 and check out on 2021-10-02, check the minimum advance booking days of 10-01 as 3 days, advance 1<3, not bookable;3. Booking on 2021-09-30 to check in on 2021-10-02 and check out on 2021-10-03, check the minimum advance booking days of 10-02 as 3 days, advance 2<3, not bookable;4. Booking on 2021-09-30 to check in on 2021-10-03 and check out on 2021-10-04, check the minimum advance booking days of 10-03 as 3 days, advance 3=3, bookable; |
maxAdvanceDay | Maximum advance booking days | Set to 10 from 2021-10-01 to 2021-10-10 | From 2021-10-01 to 2021-10-10, including 10-01 and 10-10, set the maximum advance booking X days, restricting that bookings must be made within X days before the first day of check-in, exceeding X days is not bookable | 1. Booking on 2021-09-22 to check in on 2021-09-30 and check out on 2021-10-02, no restriction, bookable;2. Booking on 2021-09-22 to check in on 2021-10-01 and check out on 2021-10-02, check the maximum advance booking days of 10-01 as 10 days, advance 10=10, bookable;3. Booking on 2021-09-22 to check in on 2021-10-02 and check out on 2021-10-03, check the maximum advance booking days of 10-02 as 10 days, advance 11>10, not bookable;4. Booking on 2021-09-22 to check in on 2021-10-03 and check out on 2021-10-04, check the maximum advance booking days of 10-03 as 10 days, advance 12>10, not bookable; |
cta | Close on Arrival | Set to close from 2021-10-01 to 2021-10-10 | From 2021-10-01 to 2021-10-10, including 10-01 and 10-10, set close on arrival to closed status | 1. Booking from 2021-09-30 to check in on 2021-10-02 and check out, no restriction, bookable;2. Booking from 2021-10-01 to check in on 2021-10-02 and check out, not bookable;3. Booking from 2021-10-10 to check in on 2021-10-11 and check out, not bookable;4. Booking from 2021-10-11 to check in on 2021-10-12 and check out, no restriction, bookable; |
cta | Close on Arrival | Set to open from 2021-10-01 to 2021-10-10 | From 2021-10-01 to 2021-10-10, including 10-01 and 10-10, set close on arrival to open status | 1. Booking from 2021-09-30 to check in on 2021-10-02 and check out, no restriction, bookable;2. Booking from 2021-10-01 to check in on 2021-10-02 and check out, bookable;3. Booking from 2021-10-10 to check in on 2021-10-11 and check out, bookable;4. Booking from 2021-10-11 to check in on 2021-10-12 and check out, no restriction, bookable; |
ctd | Close on Departure | Set to close from 2021-10-01 to 2021-10-10 | From 2021-10-01 to 2021-10-10, including 10-01 and 10-10, set close on departure to closed status | 1. Booking from 2021-09-29 to check in on 2021-09-30 and check out, no restriction, bookable;2. Booking from 2021-09-29 to check in on 2021-10-01 and check out, check, not bookable;3. Booking from 2021-09-29 to check in on 2021-10-10 and check out, check, not bookable;4. Booking from 2021-09-29 to check in on 2021-10-11 and check out, no restriction, bookable; |
ctd | Close on Departure | Set to open from 2021-10-01 to 2021-10-10 | From 2021-10-01 to 2021-10-10, including 10-01 and 10-10, set close on departure to open status | 1. Booking from 2021-09-29 to check in on 2021-09-30 and check out, no restriction, bookable;2. Booking from 2021-09-29 to check in on 2021-10-01 and check out, check, bookable;3. Booking from 2021-09-29 to check in on 2021-10-10 and check out, check, bookable;4. Booking from 2021-09-29 to check in on 2021-10-11 and check out, no restriction, bookable; |
fplos | Full Pattern Length of Stay Restriction Full Pattern LOS Last day indicates 7+ (not implemented) | Set to 0000000 from 2021-10-01 to 2021-10-10 | From 2021-10-01 to 2021-10-10, including 10-01 and 10-10, set to 0000000 | 1. Booking from 2021-09-30 to check in on 2021-10-02 and check out, no restriction, bookable;2. Booking from 2021-10-01 to check in on 2021-10-02 and check out, stay 1 day, check, not bookable;3. Booking from 2021-10-01 to check in on 2021-10-03 and check out, stay 2 days, check, not bookable;4. Booking from 2021-10-01 to check in on 2021-10-04 and check out, stay 3 days, check, not bookable;5. Booking from 2021-10-01 to check in on 2021-10-05 and check out, stay 4 days, check, not bookable;6. Booking from 2021-10-01 to check in on 2021-10-06 and check out, stay 5 days, check, not bookable;7. Booking from 2021-10-01 to check in on 2021-10-07 and check out, stay 6 days, check, not bookable;8. Booking from 2021-10-01 to check in on 2021-10-08 and check out, stay 7 days, check, not bookable;9. Booking from 2021-10-11 to check in on 2021-10-12 and check out, no restriction, bookable; |
fplos | Full Pattern Length of Stay Restriction Full Pattern LOS Last day indicates 7+ (not implemented) | Set to 1111111 from 2021-10-01 to 2021-10-10 | From 2021-10-01 to 2021-10-10, including 10-01 and 10-10, set to 1111111 | 1. Booking from 2021-09-30 to check in on 2021-10-02 and check out, no restriction, bookable;2. Booking from 2021-10-01 to check in on 2021-10-02 and check out, stay 1 day, check, bookable;3. Booking from 2021-10-01 to check in on 2021-10-03 and check out, stay 2 days, check, bookable;4. Booking from 2021-10-01 to check in on 2021-10-04 and check out, stay 3 days, check, bookable;5. Booking from 2021-10-01 to check in on 2021-10-05 and check out, stay 4 days, check, bookable;6. Booking from 2021-10-01 to check in on 2021-10-06 and check out, stay 5 days, check, bookable;7. Booking from 2021-10-01 to check in on 2021-10-07 and check out, stay 6 days, check, bookable;8. Booking from 2021-10-01 to check in on 2021-10-08 and check out, stay 7 days, check, bookable;9. Booking from 2021-10-01 to check in on 2021-10-09 and check out, stay 8 days, check, bookable;10. Booking from 2021-10-11 to check in on 2021-10-12 and check out, no restriction, bookable; |
