Skip to content

Commit 41459ee

Browse files
Merge pull request #1490 from gabriel-schiferdecke/revert-1412-docs/HOTEL-20922
Revert "docs: [HOTEL-20922] add reshopInfo field to rate details criteria"
2 parents 349146e + 88c63c5 commit 41459ee

File tree

3 files changed

+0
-215
lines changed

3 files changed

+0
-215
lines changed

src/api-explorer/v4-0/HotelService.swagger2-new.json renamed to src/api-explorer/v4-0/HotelService.swagger2.json

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1847,9 +1847,6 @@
18471847
},
18481848
"searchSessionToken": {
18491849
"$ref": "#/definitions/SearchSessionToken"
1850-
},
1851-
"reshopInfo": {
1852-
"$ref": "#/definitions/ReshopInfo"
18531850
}
18541851
},
18551852
"required": [
@@ -2721,20 +2718,6 @@
27212718
"score"
27222719
],
27232720
"type": "object"
2724-
},
2725-
"ReshopInfo": {
2726-
"description": "Contains information required for reshopping a hotel booking.",
2727-
"properties": {
2728-
"gdsRecordLocator": {
2729-
"$ref": "#/definitions/GDSRecordLocator"
2730-
},
2731-
"confirmationCodes": {
2732-
"items": {
2733-
"$ref": "#/definitions/ConfirmationCode"
2734-
},
2735-
"type": "array"
2736-
}
2737-
}
27382721
}
27392722
},
27402723
"x-components": {

src/api-reference/direct-connects/hotel-service-4/v4.endpoints-new.md renamed to src/api-reference/direct-connects/hotel-service-4/v4.endpoints.md

Lines changed: 0 additions & 195 deletions
Original file line numberDiff line numberDiff line change
@@ -538,201 +538,6 @@ POST /hotels/ratedetails
538538
}
539539
```
540540

541-
## Rate Details during modify/reshop flow <a id="opIdratedetails"></a>
542-
543-
Retrieve hotel rate details for rates of a property. This endpoint is used and required when details including `guarantee`, `cancePenalties` and `nightlyRates` breakdown are missing from `/hotels/rates` call or `rateDetailsCallRequired` flag is set to true for a given rate.
544-
545-
### URI
546-
547-
```shell
548-
POST /hotels/ratedetails
549-
```
550-
551-
### Parameters
552-
553-
|Name|Type|Format|Description|
554-
|---|---|---|---|
555-
`Accept-Language`|`string`|-|-|
556-
`concur-correlationid`|`string`|-|**Required** This unique code can be used during troubleshooting as it identifies the API call in the log files.|
557-
`body`|[`RateDetailsCriteria`](./v4.schemas.html#schemaratedetailscriteria)|-|**Required** Hotel rates criteria.|
558-
559-
### Examples
560-
561-
#### Request
562-
563-
```json
564-
{
565-
"requestorInfo": {
566-
"posRequestorId": "abc1234",
567-
"travelerUuid": "123e4567-e89b-12d3-a456-426614174000",
568-
"loginId": "[email protected]",
569-
"bookingForSelf": true
570-
},
571-
"hotelPropertyRef": {
572-
"chainCode": "HH",
573-
"propertyCode": "HH498949"
574-
},
575-
"ratePlanIds": [
576-
"44SM3FAsfvgcZs9ehGlNOQ"
577-
],
578-
"checkin": "2021-10-20",
579-
"checkout": "2021-10-23",
580-
"rateCategories": [
581-
{
582-
"otaCode": 1,
583-
"value": "AAA"
584-
}
585-
],
586-
"numGuests": 1,
587-
"guestCountryCode": "CA",
588-
"searchSessionToken": "b41168ba-7ee1-4b68-9934-47f5c55337d6",
589-
"reshopInfo": {
590-
"gdsRecordLocator": {
591-
"gdsName": "SABRE",
592-
"pcc": "ABC123",
593-
"recordLocator": "ABC123"
594-
},
595-
"confirmationCodes": [
596-
{
597-
"codeType": "SUPPLIER_CONFIRMATION",
598-
"code": "3704188022P5683"
599-
},
600-
{
601-
"codeType": "PIN",
602-
"code": "3704188022P5683"
603-
}
604-
]
605-
}
606-
}
607-
```
608-
609-
### Response
610-
611-
```json
612-
{
613-
"checkin": "2021-10-20",
614-
"checkout": "2021-10-23",
615-
"roomRates": [
616-
{
617-
"rateDescription": [
618-
"Promotional Rate"
619-
],
620-
"rateCategory": {
621-
"otaCode": 1,
622-
"value": "AAA"
623-
},
624-
"rateChangesOverStay": true,
625-
"roomId": "kVNU66KLxuggtu2H",
626-
"ratePlanId": "44SM3FAsfvgcZs9ehGlNOQ",
627-
"guarantee": {
628-
"guaranteeType": "DEPOSIT_REQUIRED",
629-
"acceptedPayments": [
630-
"VISA"
631-
],
632-
"cvvRequired": true,
633-
"amountPercent": {
634-
"taxInclusive": true,
635-
"feesInclusive": true,
636-
"numberOfNights": 5,
637-
"basisType": "FULL_STAY",
638-
"applyAs": "FIRST_NIGHT_DEPOSIT",
639-
"percent": 10.05,
640-
"amount": {
641-
"amount": 190.95,
642-
"currencyCode": "USD"
643-
}
644-
}
645-
},
646-
"prepayRequired": true,
647-
"refundable": true,
648-
"totalPrice": {
649-
"totalBeforeTax": 170.95,
650-
"taxes": 10,
651-
"fees": 10,
652-
"taxesBreakdown": [
653-
{
654-
"amount": 5,
655-
"fttCode": 1,
656-
"inclusive": true
657-
},
658-
{
659-
"amount": 5,
660-
"fttCode": 2,
661-
"inclusive": true
662-
}
663-
],
664-
"feesBreakdown": [
665-
{
666-
"amount": 5,
667-
"fttCode": 5,
668-
"inclusive": true
669-
},
670-
{
671-
"amount": 5,
672-
"fttCode": 6,
673-
"inclusive": true
674-
}
675-
],
676-
"totalAfterTax": 190.95,
677-
"currencyCode": "USD",
678-
"isTotalBeforeTaxDisplayEligible": true
679-
},
680-
"nightlyPrices": [
681-
{
682-
"basePrice": 89.95,
683-
"taxes": {
684-
"amount": 5.55,
685-
"taxBreakdown": [
686-
{
687-
"amount": 8.05,
688-
"fttCode": 15,
689-
"inclusive": true
690-
}
691-
]
692-
},
693-
"fees": {
694-
"amount": 10.95,
695-
"feeBreakdown": [
696-
{
697-
"amount": 8.05,
698-
"fttCode": 15,
699-
"inclusive": true
700-
}
701-
]
702-
},
703-
"totalPrice": 100.05,
704-
"startDate": "2021-12-01",
705-
"endDate": "2021-12-31",
706-
"currencyCode": "USD"
707-
}
708-
],
709-
"cancelPenalties": {
710-
"description": "Some fees are not refundable",
711-
"penalties": [
712-
{
713-
"cancelDeadline": "2017-07-21T17:32:28",
714-
"description": "Free cancellation up to 1 week before checkin",
715-
"refundableStatus": "FULLY_REFUNDABLE",
716-
"amountPercent": {
717-
"taxInclusive": true,
718-
"feesInclusive": true,
719-
"numberOfNights": 5,
720-
"basisType": "FULL_STAY",
721-
"applyAs": "FIRST_NIGHT_DEPOSIT",
722-
"percent": 10.05,
723-
"amount": {
724-
"amount": 190.95,
725-
"currencyCode": "USD"
726-
}
727-
}
728-
}
729-
]
730-
}
731-
}
732-
]
733-
}
734-
```
735-
736541
## Hotel Details <a id="opIdhoteldetails"></a>
737542

738543
Retrieve descriptive details about specified hotels.

src/api-reference/direct-connects/hotel-service-4/v4.schemas-new.markdown renamed to src/api-reference/direct-connects/hotel-service-4/v4.schemas.markdown

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ title: Direct Connect - Hotel Service v4 - Schemas
33
layout: reference
44
---
55

6-
{% include prerelease.html %}
7-
86
# Direct Connect - Hotel Service v4 - Schemas
97

108
## <a id="schemasearchcriteria"></a> SearchCriteria
@@ -63,7 +61,6 @@ Reference to location details for search.
6361
`numGuests`|`integer`|`int32`|Number of guests for accommodation.|
6462
`guestCountryCode`|`string`|`ISO ALPHA-2`|Two-character ISO code for country.|
6563
`searchSessionToken`|[`SearchSessionToken`](#schemasearchsessiontoken)|-|Session token to be generated and provided by server on initial search call that can be referenced back for future calls on the same session.|
66-
`reshopInfo`|[`ReshopInfo`](#schemareshopinfo)|-|Information related to reshopping, only available during modify (and not shopping) flow|
6764

6865
## <a id="schemahoteldetailscriteria"></a> HotelDetailsCriteria
6966

0 commit comments

Comments
 (0)