Skip to content

Commit 6a819d9

Browse files
[skip ci] Updates
1 parent 5d70fbf commit 6a819d9

File tree

3 files changed

+988
-32
lines changed

3 files changed

+988
-32
lines changed

api-explorer/v4-0/HotelService.swagger2.json

Lines changed: 44 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,23 @@
11
{
22
"swagger": "2.0",
3+
"x-sap-shortText": "Hotel workflow endpoints.",
34
"tags": [
45
{
56
"description": "Hotel workflow endpoints",
6-
"name": "service"
7+
"name": "Service"
8+
}
9+
],
10+
"x-servers": [
11+
{
12+
"url": "https://www.concursolutions.com/api/v4.0",
13+
"description": "Concur API EndPoint"
714
}
815
],
916
"basePath": "/",
1017
"host": "hs-mock.service.cnqr.tech",
1118
"info": {
12-
"contact": {
13-
"name": "SAP Concur Developer Center",
14-
"url": "https://developer.concur.com/api-explorer/v4-0/HotelService.swagger2.json"
15-
},
16-
"description": "## Important: Please refer to [Endpoints](https://developer.concur.com/api-reference/direct-connects/hotel-service-4/v4.endpoints.html) document for detailed documentation on all endpoints for this API.\nHotelService API provides a method for Custom Hotel Source vendors to provide hotel inventory, rates and booking related functionality to users of Concur OBT (Online Booking Tool).",
17-
"title": "HotelService API",
19+
"description": "## Important: Please refer to [Endpoints](https://developer.concur.com/api-reference/direct-connects/hotel-service-4/v4.endpoints.html) document for detailed documentation on all endpoints for this API.\nHotel Service API provides a method for Custom Hotel Source vendors to provide hotel inventory, rates and booking related functionality to users of Concur OBT (Online Booking Tool).",
20+
"title": "Hotel Service API",
1821
"version": "4.0"
1922
},
2023
"paths": {
@@ -30,7 +33,8 @@
3033
"in": "header",
3134
"name": "Accept-Language",
3235
"required": false,
33-
"type": "string"
36+
"type": "string",
37+
"description": "Advertises which languages the client is able to understand"
3438
},
3539
{
3640
"description": "This unique code can be used during troubleshooting as it identifies the API call in the log files.",
@@ -77,7 +81,7 @@
7781
},
7882
"summary": "Retrieve descriptive details about specified hotels.",
7983
"tags": [
80-
"service"
84+
"Service"
8185
]
8286
}
8387
},
@@ -93,7 +97,8 @@
9397
"in": "header",
9498
"name": "Accept-Language",
9599
"required": false,
96-
"type": "string"
100+
"type": "string",
101+
"description": "Advertises which languages the client is able to understand"
97102
},
98103
{
99104
"description": "This unique code can be used during troubleshooting as it identifies the API call in the log files.",
@@ -140,7 +145,7 @@
140145
},
141146
"summary": "Retrieve hotel rate details",
142147
"tags": [
143-
"service"
148+
"Service"
144149
]
145150
}
146151
},
@@ -156,7 +161,8 @@
156161
"in": "header",
157162
"name": "Accept-Language",
158163
"required": false,
159-
"type": "string"
164+
"type": "string",
165+
"description": "Advertises which languages the client is able to understand"
160166
},
161167
{
162168
"description": "This unique code can be used during troubleshooting as it identifies the API call in the log files.",
@@ -203,7 +209,7 @@
203209
},
204210
"summary": "Retrieve rates for specific hotel properties",
205211
"tags": [
206-
"service"
212+
"Service"
207213
]
208214
}
209215
},
@@ -219,7 +225,8 @@
219225
"in": "header",
220226
"name": "Accept-Language",
221227
"required": false,
222-
"type": "string"
228+
"type": "string",
229+
"description": "Advertises which languages the client is able to understand"
223230
},
224231
{
225232
"description": "This unique code can be used during troubleshooting as it identifies the API call in the log files.",
@@ -266,7 +273,7 @@
266273
},
267274
"summary": "Reserve the given hotel rate",
268275
"tags": [
269-
"service"
276+
"Service"
270277
]
271278
}
272279
},
@@ -275,14 +282,15 @@
275282
"consumes": [
276283
"application/json"
277284
],
278-
"description": "Cancel specified reservation",
285+
"description": "Cancel specified reservation according to parameters",
279286
"operationId": "cancel",
280287
"parameters": [
281288
{
282289
"in": "header",
283290
"name": "Accept-Language",
284291
"required": false,
285-
"type": "string"
292+
"type": "string",
293+
"description": "Advertises which languages the client is able to understand"
286294
},
287295
{
288296
"description": "This unique code can be used during troubleshooting as it identifies the API call in the log files.",
@@ -332,7 +340,7 @@
332340
},
333341
"summary": "Cancel specified reservation",
334342
"tags": [
335-
"service"
343+
"Service"
336344
]
337345
}
338346
},
@@ -348,7 +356,8 @@
348356
"in": "header",
349357
"name": "Accept-Language",
350358
"required": false,
351-
"type": "string"
359+
"type": "string",
360+
"description": "Advertises which languages the client is able to understand"
352361
},
353362
{
354363
"description": "This unique code can be used during troubleshooting as it identifies the API call in the log files.",
@@ -401,7 +410,7 @@
401410
},
402411
"summary": "Modify specific reservation",
403412
"tags": [
404-
"service"
413+
"Service"
405414
]
406415
}
407416
},
@@ -417,7 +426,8 @@
417426
"in": "header",
418427
"name": "Accept-Language",
419428
"required": false,
420-
"type": "string"
429+
"type": "string",
430+
"description": "Advertises which languages the client is able to understand"
421431
},
422432
{
423433
"description": "This unique code can be used during troubleshooting as it identifies the API call in the log files.",
@@ -467,7 +477,7 @@
467477
},
468478
"summary": "Returns detailed information about a hotel reservation.",
469479
"tags": [
470-
"service"
480+
"Service"
471481
]
472482
}
473483
},
@@ -476,20 +486,22 @@
476486
"consumes": [
477487
"application/json"
478488
],
479-
"description": "Perform the initial search for hotels.",
489+
"description": "Perform the initial search for hotels according to params",
480490
"operationId": "search",
481491
"parameters": [
482492
{
483493
"in": "header",
484494
"name": "Accept-Language",
485495
"required": false,
486-
"type": "string"
496+
"type": "string",
497+
"description": "Advertises which languages the client is able to understand"
487498
},
488499
{
489500
"in": "header",
490501
"name": "concur-correlationid",
491502
"required": true,
492-
"type": "string"
503+
"type": "string",
504+
"description": "Correlation ID to track the record across the logs"
493505
},
494506
{
495507
"description": "Hotel search criteria",
@@ -529,7 +541,7 @@
529541
},
530542
"summary": "Perform the initial search for hotels.",
531543
"tags": [
532-
"service"
544+
"Service"
533545
]
534546
}
535547
}
@@ -2170,7 +2182,7 @@
21702182
"SABRE",
21712183
"AMADEUS",
21722184
"TRAVELPORT"
2173-
],
2185+
]
21742186
},
21752187
"pcc": {
21762188
"description": "Pseudo City Code or Office ID (OID) for the GDS account to be used for this booking (active or passive segment).",
@@ -2679,7 +2691,9 @@
26792691
},
26802692
"categories": {
26812693
"type": "array",
2682-
"$ref": "#/definitions/SafetyScoreCategory"
2694+
"items": {
2695+
"$ref": "#/definitions/SafetyScoreCategory"
2696+
}
26832697
}
26842698
},
26852699
"required": [
@@ -2692,15 +2706,15 @@
26922706
"description": "Safety score category classification of the hotel",
26932707
"properties": {
26942708
"type": {
2695-
"type": "enum",
2709+
"type": "string",
26962710
"enum": [ "NIGHTTIME_SAFETY", "PHYSICAL_SAFETY", "BASIC_FREEDOMS", "WOMENS_SAFETY", "THEFT", "HEALTH_AND_MEDICAL", "LGBTQ_PLUS_SAFETY"]
26972711
},
26982712
"score": {
26992713
"type": "number"
27002714
}
27012715
},
27022716
"required": [
2703-
"category",
2717+
"type",
27042718
"score"
27052719
],
27062720
"type": "object"

0 commit comments

Comments
 (0)