{ "uuid": "c86a028a-e1d6-46f6-a4ab-461ef8040f1e", "lastMigration": 29, "name": "hetras Hotel API Version 0", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "2c112393-c474-4ea3-8e1f-6fdff2ec043d", "documentation": "Get a list of all the hotels of a chain your application has access to.", "method": "get", "endpoint": "api/hotel/v0/hotels", "responses": [ { "uuid": "293f120e-6f8d-48f2-b3b8-1606b6e26aac", "body": "[\n {\n \"city\": \"\",\n \"code\": \"\",\n \"country\": \"\",\n \"created\": \"{{faker 'date.recent' 365}}\",\n \"current_business_day\": \"{{faker 'date.recent' 365}}\",\n \"desc\": \"\",\n \"email\": \"\",\n \"fax\": \"\",\n \"hotel_id\": {{faker 'number.int' max=99999}},\n \"latitude\": {{faker 'number.float'}},\n \"longitude\": {{faker 'number.float'}},\n \"name\": \"\",\n \"phone\": \"\",\n \"postal_code\": \"\",\n \"state\": \"\",\n \"street\": \"\",\n \"updated\": \"{{faker 'date.recent' 365}}\",\n \"url\": \"\",\n \"utc_offset\": \"\"\n }\n]", "latency": 0, "statusCode": 200, "label": "A list of hotels.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "b210c45b-7574-4665-8329-066f28b615e9", "body": "", "latency": 0, "statusCode": 204, "label": "You donĀ“t have access to any hotels.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "8904abb6-6bb0-4e8e-a7fd-af0dce76e8eb", "body": "", "latency": 0, "statusCode": 401, "label": "You provided wrong credentials, or you reached your API limit.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "92d7a8fd-7dd5-4338-a494-7e36633d39af", "body": "", "latency": 0, "statusCode": 403, "label": "The application does not have access to the requested resource.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "ea27be91-7fa4-4d89-b405-6d82c58196f0", "body": "", "latency": 0, "statusCode": 404, "label": "Not Found. The server has not found anything matching the Request-URI.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "adf389fb-e35c-40e8-bc0f-4291ccabd8b0", "body": "", "latency": 0, "statusCode": 500, "label": "We caught an unexpected error on our side. Please report with providing the Hetras-Tracking-Id from the response headers and we will check the logfiles.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "61189311-318f-4891-927e-059b980aeffb", "body": "", "latency": 0, "statusCode": 503, "label": "The server is currently unavailable. Please try later.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "97f3c778-6d95-4ac2-93e9-e374e9195858", "documentation": "Get the details of the hotel with the speccified hotel id.", "method": "get", "endpoint": "api/hotel/v0/hotels/:hotelId", "responses": [ { "uuid": "63dc5bfc-272b-4544-afef-d39b20c61252", "body": "{\n \"city\": \"\",\n \"code\": \"\",\n \"country\": \"\",\n \"created\": \"{{faker 'date.recent' 365}}\",\n \"current_business_day\": \"{{faker 'date.recent' 365}}\",\n \"desc\": \"\",\n \"email\": \"\",\n \"fax\": \"\",\n \"hotel_id\": {{faker 'number.int' max=99999}},\n \"latitude\": {{faker 'number.float'}},\n \"longitude\": {{faker 'number.float'}},\n \"name\": \"\",\n \"phone\": \"\",\n \"postal_code\": \"\",\n \"state\": \"\",\n \"street\": \"\",\n \"updated\": \"{{faker 'date.recent' 365}}\",\n \"url\": \"\",\n \"utc_offset\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "The details about the hotel.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "bc884252-4096-454f-b9f3-72e66b04c216", "body": "", "latency": 0, "statusCode": 401, "label": "You provided wrong credentials, or you reached your API limit.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "8f755dde-b665-4a3d-880b-f5f206e0c03d", "body": "", "latency": 0, "statusCode": 403, "label": "The application does not have access to the requested resource.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "61d03086-2e5b-46b2-9e5f-11c12f0a12e1", "body": "", "latency": 0, "statusCode": 404, "label": "Not Found. The server has not found anything matching the Request-URI.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "38d7bbb0-b04d-44f3-a954-ebd00da7d7a4", "body": "", "latency": 0, "statusCode": 500, "label": "We caught an unexpected error on our side. Please report with providing the Hetras-Tracking-Id from the response headers and we will check the logfiles.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "3f30bc76-c775-42f0-b456-3f6c65dc8fe1", "body": "", "latency": 0, "statusCode": 503, "label": "The server is currently unavailable. Please try later.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "4cb6ae2a-f8fc-4beb-bd34-7d4b005a7594", "documentation": "Get a list of codes for the specified hotel either filtered by type or code.", "method": "get", "endpoint": "api/hotel/v0/hotels/:hotelId/codes", "responses": [ { "uuid": "f492b917-b7a0-4375-bc67-d16f88f6364f", "body": "{\n \"codes\": [\n {\n \"_links\": {},\n \"code\": \"\",\n \"default\": {{faker 'datatype.boolean'}},\n \"id\": \"\",\n \"name\": \"\",\n \"type\": \"{{oneOf (array 'GuestRequest' 'RequestDietary' 'VIPStatus' 'ReasonForRateChange' 'Regrets' 'MarketSegments' 'SourceOfBusiness' 'LoyaltyProgram' 'CancellationReason' 'AccountType' 'AccountRank' 'VIPLevel' 'Title' 'ContactFunction' 'Territory' 'CorrespondenceType' 'ExternalProgramType' 'RevenueBucket' 'AdditionalRevenueBucket' 'AdditionalStatisticsBuckets' 'MealPeriod' 'BillingCycle' 'ReminderCycle' 'MajorMarketSegments' 'DocumentType' 'ActivityType' 'ReservationLabels')}}\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "A list of codes for a requested hotel matching the filter criteria.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "06e0827b-244c-4089-95d2-7641ed4f7d3e", "body": "", "latency": 0, "statusCode": 204, "label": "There are no codes found for the given filtering criteria.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "b9a9aa4c-2f84-490a-a703-ede867af014f", "body": "", "latency": 0, "statusCode": 401, "label": "You provided wrong credentials, or you reached your API limit.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "3f9a6988-29aa-4939-b934-5f336ffd778b", "body": "", "latency": 0, "statusCode": 403, "label": "The application does not have access to the requested resource.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "326184df-9bd4-4e27-bc0e-dfebb6e97791", "body": "", "latency": 0, "statusCode": 404, "label": "Not Found. The server has not found anything matching the Request-URI.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "e3ccb14c-1e68-413d-ac21-49017fb572da", "body": "", "latency": 0, "statusCode": 422, "label": "The request failed to validate.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "c33b13e6-b477-47fc-b720-2d1be36f999e", "body": "", "latency": 0, "statusCode": 500, "label": "We caught an unexpected error on our side. Please report with providing the Hetras-Tracking-Id from the response headers and we will check the logfiles.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "66df0440-c906-4853-9fe8-7883726fb344", "body": "", "latency": 0, "statusCode": 503, "label": "The server is currently unavailable. Please try later.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "da7f7b90-6ae7-4090-bba6-724862a5266f", "documentation": "Get all the details for a specific code available for the hotel.", "method": "get", "endpoint": "api/hotel/v0/hotels/:hotelId/codes/:id", "responses": [ { "uuid": "f7a7813e-dabd-4b3e-8d3f-ade3cfa37f66", "body": "{\n \"_links\": {},\n \"code\": \"\",\n \"comment\": \"\",\n \"default\": {{faker 'datatype.boolean'}},\n \"id\": \"\",\n \"name\": \"\",\n \"parent\": {\n \"_links\": {},\n \"code\": \"\",\n \"default\": {{faker 'datatype.boolean'}},\n \"id\": \"\",\n \"name\": \"\",\n \"type\": \"{{oneOf (array 'GuestRequest' 'RequestDietary' 'VIPStatus' 'ReasonForRateChange' 'Regrets' 'MarketSegments' 'SourceOfBusiness' 'LoyaltyProgram' 'CancellationReason' 'AccountType' 'AccountRank' 'VIPLevel' 'Title' 'ContactFunction' 'Territory' 'CorrespondenceType' 'ExternalProgramType' 'RevenueBucket' 'AdditionalRevenueBucket' 'AdditionalStatisticsBuckets' 'MealPeriod' 'BillingCycle' 'ReminderCycle' 'MajorMarketSegments' 'DocumentType' 'ActivityType' 'ReservationLabels')}}\"\n },\n \"type\": \"{{oneOf (array 'GuestRequest' 'RequestDietary' 'VIPStatus' 'ReasonForRateChange' 'Regrets' 'MarketSegments' 'SourceOfBusiness' 'LoyaltyProgram' 'CancellationReason' 'AccountType' 'AccountRank' 'VIPLevel' 'Title' 'ContactFunction' 'Territory' 'CorrespondenceType' 'ExternalProgramType' 'RevenueBucket' 'AdditionalRevenueBucket' 'AdditionalStatisticsBuckets' 'MealPeriod' 'BillingCycle' 'ReminderCycle' 'MajorMarketSegments' 'DocumentType' 'ActivityType' 'ReservationLabels')}}\"\n}", "latency": 0, "statusCode": 200, "label": "Details for the given code and hotel.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "b41d8248-05f3-4bab-b496-a975394b1484", "body": "", "latency": 0, "statusCode": 401, "label": "You provided wrong credentials, or you reached your API limit.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "431088e1-a418-49e1-b66c-1aa51f8000df", "body": "", "latency": 0, "statusCode": 403, "label": "The application does not have access to the requested resource.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "54e7ee11-ab63-4da3-9147-8dae939c1c6e", "body": "", "latency": 0, "statusCode": 404, "label": "Not Found. The server has not found anything matching the Request-URI or the requested rateplan could not be found.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "016a7403-c275-4791-8cc2-991265f04273", "body": "", "latency": 0, "statusCode": 422, "label": "The request failed to validate.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "143e3448-3303-44bd-8d2c-89ecb411b818", "body": "", "latency": 0, "statusCode": 500, "label": "We caught an unexpected error on our side. Please report with providing the Hetras-Tracking-Id from the response headers and we will check the logfiles.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "787ff0d7-fb89-4400-91a3-16c672cb836b", "body": "", "latency": 0, "statusCode": 503, "label": "The server is currently unavailable. Please try later.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "b3a803ca-54b1-4fb7-9adc-17d741d5dc2b", "documentation": "Get a list of rateplans for the specified hotel id matching the filter criteria.", "method": "get", "endpoint": "api/hotel/v0/hotels/:hotelId/rateplans", "responses": [ { "uuid": "ac8f2ae5-72cd-413f-9414-1a6beea8519f", "body": "{\n \"_count\": {{faker 'number.int' max=99999}},\n \"_links\": {},\n \"rateplans\": [\n {\n \"_links\": {},\n \"access_control\": [\n {\n \"channel_codes\": [\n \"\"\n ],\n \"channel_group\": \"\"\n }\n ],\n \"active\": {{faker 'datatype.boolean'}},\n \"active_periods\": [\n {\n \"from\": \"{{faker 'date.recent' 365}}\",\n \"to\": \"{{faker 'date.recent' 365}}\"\n }\n ],\n \"base_rateplan\": \"\",\n \"booking_periods\": [\n {\n \"from\": \"{{faker 'date.recent' 365}}\",\n \"to\": \"{{faker 'date.recent' 365}}\"\n }\n ],\n \"code\": \"\",\n \"commissionable\": {{faker 'datatype.boolean'}},\n \"created\": \"{{faker 'date.recent' 365}}\",\n \"day_use\": {{faker 'datatype.boolean'}},\n \"derived_rateplans\": [\n \"\"\n ],\n \"description\": \"\",\n \"group\": \"\",\n \"included_services\": [\n \"\"\n ],\n \"is_yieldable\": {{faker 'datatype.boolean'}},\n \"market_code\": \"\",\n \"name\": \"\",\n \"room_types\": [\n {\n \"code\": \"\",\n \"description\": \"\",\n \"name\": \"\"\n }\n ],\n \"suspended\": {{faker 'datatype.boolean'}},\n \"updated\": \"{{faker 'date.recent' 365}}\",\n \"visibility\": \"{{oneOf (array 'Public' 'Negotiated')}}\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "A list of rateplans for a requested hotel matching the filter criteria.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "4d23c565-7d6c-4fe3-b907-f47c1f798c76", "body": "", "latency": 0, "statusCode": 204, "label": "There are no rateplans found for the given filtering and pagination criteria.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "cffebff5-64d0-45af-bdc9-6e95a02f222b", "body": "", "latency": 0, "statusCode": 401, "label": "You provided wrong credentials, or you reached your API limit.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "3f87a176-f821-4007-b9a0-a9c848fb84e3", "body": "", "latency": 0, "statusCode": 403, "label": "The application does not have access to the requested resource.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "aece59f1-c243-4adf-be0a-3fa4fcb77053", "body": "", "latency": 0, "statusCode": 404, "label": "Not Found. The server has not found anything matching the Request-URI.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "3db6449a-7205-4510-b61d-8f977822522c", "body": "", "latency": 0, "statusCode": 422, "label": "The request failed to validate.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "0c3a3f7e-83c2-48b3-bcac-aa7aae0dc37d", "body": "", "latency": 0, "statusCode": 500, "label": "We caught an unexpected error on our side. Please report with providing the Hetras-Tracking-Id from the response headers and we will check the logfiles.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "461c283e-3ada-4b8d-b35b-fdab635e5084", "body": "", "latency": 0, "statusCode": 503, "label": "The server is currently unavailable. Please try later.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "63d2f6ec-3a6c-4ca5-bbba-a180469adcf5", "documentation": "Get the count of all rateplans in the hotel matching the given filter criteria.", "method": "get", "endpoint": "api/hotel/v0/hotels/:hotelId/rateplans/$count", "responses": [ { "uuid": "a86dfae9-ea3e-4ea1-9120-680f0694e20b", "body": "{\n \"_count\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 200, "label": "The rateplans count in the hotel matching the given filter criteria.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "7e8196c3-c436-4434-ba3e-a4857127f4ec", "body": "", "latency": 0, "statusCode": 401, "label": "You provided wrong credentials, or you reached your API limit.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "cec9fabf-7c7b-4130-9763-c39316ab5c7f", "body": "", "latency": 0, "statusCode": 403, "label": "The application does not have access to the requested resource.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "d1c83960-9cbc-449e-a57e-22b90178e868", "body": "", "latency": 0, "statusCode": 404, "label": "Not Found. The server has not found anything matching the Request-URI.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "f004040e-2d64-4669-a7dc-a60eb90d3cbc", "body": "", "latency": 0, "statusCode": 422, "label": "The request failed to validate.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "943a5097-118e-4ae3-9711-bc993ec2d314", "body": "", "latency": 0, "statusCode": 500, "label": "We caught an unexpected error on our side. Please report with providing the Hetras-Tracking-Id from the response headers and we will check the logfiles.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "e82abc63-00e7-45b6-995f-0d938dbcffcc", "body": "", "latency": 0, "statusCode": 503, "label": "The server is currently unavailable. Please try later.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "5b3d3e6d-c2ea-4cf6-bea1-001dad1a22ad", "documentation": "Update a list of base rateplans for a given period and a given base price for single occupancy.", "method": "put", "endpoint": "api/hotel/v0/hotels/:hotelId/rateplans/batch/$rates", "responses": [ { "uuid": "86347646-67d7-4dd7-9b52-d7e2bb4dfcd6", "body": "{}", "latency": 0, "statusCode": 200, "label": "The update was successful", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "4f4a26dc-7062-43a3-bd1a-d018debf73a3", "body": "", "latency": 0, "statusCode": 400, "label": "Bad request. Request body erroneous.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "8b5e005c-e729-46f1-8ab4-6cbb68483f1e", "body": "", "latency": 0, "statusCode": 401, "label": "You provided wrong credentials, or you reached your API limit.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "d0f884ed-d1d3-43fe-981b-f1d799b82a0f", "body": "", "latency": 0, "statusCode": 403, "label": "The application does not have access to the requested resource.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "51152231-6f98-4e3a-977c-a4452a305bb3", "body": "", "latency": 0, "statusCode": 404, "label": "Not Found. The server has not found anything matching the Request-URI.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "b782021c-0d19-4bc1-9d9d-b5cafce22b54", "body": "", "latency": 0, "statusCode": 422, "label": "The request failed to validate.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "1d14ac66-bd71-4f51-bd5a-fa3c4ceba496", "body": "", "latency": 0, "statusCode": 500, "label": "We caught an unexpected error on our side. Please report with providing the Hetras-Tracking-Id from the response headers and we will check the logfiles.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "78f24a2e-a547-4b92-b7ae-82fcbf4ea995", "body": "", "latency": 0, "statusCode": 503, "label": "The server is currently unavailable. Please try later.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "65cb0596-7e6a-40cf-a615-d63f90375daf", "documentation": "Get all the details for a specific rateplan in the hotel.", "method": "get", "endpoint": "api/hotel/v0/hotels/:hotelId/rateplans/:rateplanCode", "responses": [ { "uuid": "4a4ad360-3b2e-4b47-8bdd-e917356de1ad", "body": "{\n \"_links\": {},\n \"access_control\": [\n {\n \"channel_codes\": [\n \"\"\n ],\n \"channel_group\": \"\"\n }\n ],\n \"active\": {{faker 'datatype.boolean'}},\n \"active_periods\": [\n {\n \"from\": \"{{faker 'date.recent' 365}}\",\n \"to\": \"{{faker 'date.recent' 365}}\"\n }\n ],\n \"booking_periods\": [\n {\n \"from\": \"{{faker 'date.recent' 365}}\",\n \"to\": \"{{faker 'date.recent' 365}}\"\n }\n ],\n \"code\": \"\",\n \"commissionable\": {{faker 'datatype.boolean'}},\n \"created\": \"{{faker 'date.recent' 365}}\",\n \"day_use\": {{faker 'datatype.boolean'}},\n \"derivation\": {\n \"adjustment\": \"{{oneOf (array 'Amount' 'Percentage')}}\",\n \"base_rateplan\": {\n \"_links\": {},\n \"code\": \"\",\n \"name\": \"\"\n }\n },\n \"derived_rateplans\": [\n {\n \"_links\": {},\n \"code\": \"\",\n \"name\": \"\"\n }\n ],\n \"description\": \"\",\n \"folio_name\": \"\",\n \"group\": {\n \"code\": \"\",\n \"name\": \"\"\n },\n \"included_services\": [\n \"\"\n ],\n \"is_yieldable\": {{faker 'datatype.boolean'}},\n \"market_code\": \"\",\n \"name\": \"\",\n \"noshow_policy\": \"\",\n \"restrictions\": {\n \"leadtime_to_book\": {{faker 'number.int' max=99999}},\n \"max_advance_booking\": {{faker 'number.int' max=99999}}\n },\n \"room_types\": [\n {\n \"_links\": {},\n \"code\": \"\",\n \"description\": \"\",\n \"name\": \"\"\n }\n ],\n \"suspended\": {{faker 'datatype.boolean'}},\n \"taxes_included\": {{faker 'datatype.boolean'}},\n \"updated\": \"{{faker 'date.recent' 365}}\",\n \"visibility\": \"{{oneOf (array 'Public' 'Negotiated')}}\"\n}", "latency": 0, "statusCode": 200, "label": "Rateplan details for the given rateplan and hotel.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "7575c416-6eef-4638-83e2-0964f4d49f01", "body": "", "latency": 0, "statusCode": 401, "label": "You provided wrong credentials, or you reached your API limit.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "eb299ea3-cdcb-45fd-ab4c-9be09a2a4ca1", "body": "", "latency": 0, "statusCode": 403, "label": "The application does not have access to the requested resource.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "a736aa7f-138f-4b06-98f9-a212b9db0621", "body": "", "latency": 0, "statusCode": 404, "label": "Not Found. The server has not found anything matching the Request-URI or the requested rateplan could not be found.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "292b0e99-6631-4760-9ca5-0ccb8d35b089", "body": "", "latency": 0, "statusCode": 422, "label": "The request failed to validate.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "b6d03cc4-5dc6-42f1-a6f0-a5928bb18bb7", "body": "", "latency": 0, "statusCode": 500, "label": "We caught an unexpected error on our side. Please report with providing the Hetras-Tracking-Id from the response headers and we will check the logfiles.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "e06e7b4c-6e79-4698-970c-8a76fb107b6a", "body": "", "latency": 0, "statusCode": 503, "label": "The server is currently unavailable. Please try later.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "f4807a8f-aa03-44cd-be2e-ce2c7fc31e83", "documentation": "Get the setup of the daily rates for a specific rateplan and a defined timeperiod.", "method": "get", "endpoint": "api/hotel/v0/hotels/:hotelId/rateplans/:rateplanCode/rates", "responses": [ { "uuid": "3cecc63b-5175-4988-932c-5eab4743bcc6", "body": "{\n \"_count\": {{faker 'number.int' max=99999}},\n \"_links\": {},\n \"rates\": [\n {\n \"_links\": {},\n \"base_price\": {{faker 'number.float'}},\n \"business_day\": \"{{faker 'date.recent' 365}}\",\n \"cancellation_policy\": {\n \"description\": \"\",\n \"name\": \"\"\n },\n \"derivation\": {\n \"adjustment\": \"{{oneOf (array 'Amount' 'Percentage')}}\",\n \"value\": {{faker 'number.float'}}\n },\n \"minimum_guarantee_type\": \"{{oneOf (array 'PM4Hold' 'PM6Hold' 'GuaranteeToCreditCard' 'GuaranteeToGuestAccount' 'GuaranteeByTravelAgent' 'GuaranteeByCompany' 'Deposit' 'Voucher' 'Prepayment' 'NonGuaranteed' 'Tentative' 'Waitlist')}}\",\n \"per_person_surcharge\": {{faker 'number.float'}},\n \"room_type_supplements\": [\n {\n \"_links\": {},\n \"code\": \"\",\n \"default\": {{faker 'datatype.boolean'}},\n \"supplements\": [\n {\n \"adjustment\": \"{{oneOf (array 'Amount' 'Percentage')}}\",\n \"adults\": {{faker 'number.int' max=99999}},\n \"supplement\": {{faker 'number.float'}}\n }\n ]\n }\n ]\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "List of daily rates within the specified time preiod.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "a821ef16-f89f-4502-ac6a-b7ee30070545", "body": "", "latency": 0, "statusCode": 204, "label": "The rateplan does not have any active date or is not loaded within the defined time period.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "edc478b2-2c56-4ef5-984e-e2f0eeb42b8e", "body": "", "latency": 0, "statusCode": 401, "label": "You provided wrong credentials, or you reached your API limit.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "a0a7b48a-2a6e-4d2d-83cb-f8b98fcdfcbb", "body": "", "latency": 0, "statusCode": 403, "label": "The application does not have access to the requested resource.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "3703187e-c813-4cf0-914a-88228cbd8656", "body": "", "latency": 0, "statusCode": 404, "label": "Not Found. The server has not found anything matching the Request-URI or the requested rateplan could not be found.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "01934450-8bd5-4196-9401-7b220c4bdd94", "body": "", "latency": 0, "statusCode": 422, "label": "The request failed to validate.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "19f6faf6-1c1f-4000-bcbc-d612c29de719", "body": "", "latency": 0, "statusCode": 500, "label": "We caught an unexpected error on our side. Please report with providing the Hetras-Tracking-Id from the response headers and we will check the logfiles.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "aff61f61-75fc-4418-9d91-3a48bc83a704", "body": "", "latency": 0, "statusCode": 503, "label": "The server is currently unavailable. Please try later.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "c29c10c7-29dd-4749-89b2-e9aeef963fe9", "documentation": "Partially update a rate of the specified rateplan for the defined time period.", "method": "patch", "endpoint": "api/hotel/v0/hotels/:hotelId/rateplans/:rateplanCode/rates", "responses": [ { "uuid": "94e8cd8f-7166-45a6-afb5-b33d70a172b4", "body": "{}", "latency": 0, "statusCode": 200, "label": "The update was successful", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "66868728-b293-46a5-882d-7e21fb22c22b", "body": "", "latency": 0, "statusCode": 400, "label": "Bad request. Request body erroneous.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "8f1920b6-87d8-43b6-a9ed-2eaebc5a84cf", "body": "", "latency": 0, "statusCode": 401, "label": "You provided wrong credentials, or you reached your API limit.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "1937763e-47cd-467b-9526-49d1e0ae92c1", "body": "", "latency": 0, "statusCode": 403, "label": "The application does not have access to the requested resource.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "f906d5bc-787e-4a03-acc3-5f3a913d711a", "body": "", "latency": 0, "statusCode": 404, "label": "Not Found. The server has not found anything matching the Request-URI.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "55336c2b-521e-495e-aed6-f039a11e8675", "body": "", "latency": 0, "statusCode": 422, "label": "The request failed to validate.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "384861e2-2224-447a-b4bb-afd1d7e9a8d6", "body": "", "latency": 0, "statusCode": 500, "label": "We caught an unexpected error on our side. Please report with providing the Hetras-Tracking-Id from the response headers and we will check the logfiles.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "c2a1574b-a546-460d-aec8-437301b097da", "body": "", "latency": 0, "statusCode": 503, "label": "The server is currently unavailable. Please try later.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "7883d904-12f8-4083-a6c7-de4b864632b8", "documentation": "Get the count of all active and loaded daily rates for the defined rateplan in a specified time period.", "method": "get", "endpoint": "api/hotel/v0/hotels/:hotelId/rateplans/:rateplanCode/rates/$count", "responses": [ { "uuid": "52a5c581-cd8e-4207-ad45-1faa01f442ca", "body": "{\n \"_count\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 200, "label": "The count of daily rates for the specified time period.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "0f087882-4830-4fe0-b314-d6860e855410", "body": "", "latency": 0, "statusCode": 401, "label": "You provided wrong credentials, or you reached your API limit.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "92871c8a-8707-496d-90f6-fbbfbfb91f4b", "body": "", "latency": 0, "statusCode": 403, "label": "The application does not have access to the requested resource.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "4c516e34-9ee3-4eb1-b59c-a91ff01a3ac3", "body": "", "latency": 0, "statusCode": 404, "label": "Not Found. The server has not found anything matching the Request-URI or the requested room could not be found.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "e2ccd795-6db0-46f8-9e37-b65eabc2d80e", "body": "", "latency": 0, "statusCode": 422, "label": "The request failed to validate.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "911690ec-a996-49d4-bea0-6e7f4a670ee8", "body": "", "latency": 0, "statusCode": 500, "label": "We caught an unexpected error on our side. Please report with providing the Hetras-Tracking-Id from the response headers and we will check the logfiles.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "296cbb20-d9d2-4858-954c-d4518b743aac", "body": "", "latency": 0, "statusCode": 503, "label": "The server is currently unavailable. Please try later.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "63cb80e0-8073-43ab-ab85-651af304e5eb", "documentation": "Get the setup of a daily rate for a specific business day and rateplan.", "method": "get", "endpoint": "api/hotel/v0/hotels/:hotelId/rateplans/:rateplanCode/rates/:businessDay", "responses": [ { "uuid": "7a9fe558-ea1b-4f25-a851-aaaaf4f11a8d", "body": "{\n \"_links\": {},\n \"base_price\": {{faker 'number.float'}},\n \"business_day\": \"{{faker 'date.recent' 365}}\",\n \"cancellation_policy\": {\n \"description\": \"\",\n \"name\": \"\"\n },\n \"derivation\": {\n \"adjustment\": \"{{oneOf (array 'Amount' 'Percentage')}}\",\n \"value\": {{faker 'number.float'}}\n },\n \"minimum_guarantee_type\": \"{{oneOf (array 'PM4Hold' 'PM6Hold' 'GuaranteeToCreditCard' 'GuaranteeToGuestAccount' 'GuaranteeByTravelAgent' 'GuaranteeByCompany' 'Deposit' 'Voucher' 'Prepayment' 'NonGuaranteed' 'Tentative' 'Waitlist')}}\",\n \"per_person_surcharge\": {{faker 'number.float'}},\n \"room_type_supplements\": [\n {\n \"_links\": {},\n \"code\": \"\",\n \"default\": {{faker 'datatype.boolean'}},\n \"supplements\": [\n {\n \"adjustment\": \"{{oneOf (array 'Amount' 'Percentage')}}\",\n \"adults\": {{faker 'number.int' max=99999}},\n \"supplement\": {{faker 'number.float'}}\n }\n ]\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Daily rate with room type supplements for the specified rateplan and business day.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "7ff4c786-1877-4121-bcd5-e15dd4f5d066", "body": "", "latency": 0, "statusCode": 401, "label": "You provided wrong credentials, or you reached your API limit.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "845c44f9-3f8c-42a0-ac0e-c15e511c5b28", "body": "", "latency": 0, "statusCode": 403, "label": "The application does not have access to the requested resource.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "52d3f152-5c29-4d24-9744-c28334f1a887", "body": "", "latency": 0, "statusCode": 404, "label": "Not Found. The server has not found anything matching the Request-URI or the requested\r\n rateplan could not be found or the rate is inactive on this business day.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "4ad407ba-7fc7-41d6-bfe1-78d70e8d0256", "body": "", "latency": 0, "statusCode": 422, "label": "The request failed to validate.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "1d68c122-8203-4ef7-9174-ea523f2f085b", "body": "", "latency": 0, "statusCode": 500, "label": "We caught an unexpected error on our side. Please report with providing the Hetras-Tracking-Id from the response headers and we will check the logfiles.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "a6a9e49a-2d42-4205-946e-c204a770871c", "body": "", "latency": 0, "statusCode": 503, "label": "The server is currently unavailable. Please try later.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "285608b9-63f6-45e4-bc11-9da1829b040f", "documentation": "Partially update a rate of the specified rateplan for a defined business day.", "method": "patch", "endpoint": "api/hotel/v0/hotels/:hotelId/rateplans/:rateplanCode/rates/:businessDay", "responses": [ { "uuid": "8472c8b7-687a-41d7-88da-f21561fdfd3e", "body": "{}", "latency": 0, "statusCode": 200, "label": "The update was successful", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "53ee4d3c-1f19-43ae-9171-c6d5ac7d6503", "body": "", "latency": 0, "statusCode": 400, "label": "Bad request. Request body erroneous.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "70a4fb27-9c74-4368-98de-b0d613b951f6", "body": "", "latency": 0, "statusCode": 401, "label": "You provided wrong credentials, or you reached your API limit.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "53bc2f6e-4b4a-43d8-baef-9bd08ce8e2eb", "body": "", "latency": 0, "statusCode": 403, "label": "The application does not have access to the requested resource.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "35f0e248-b300-4f61-9b45-c7fcb26da228", "body": "", "latency": 0, "statusCode": 404, "label": "Not Found. The server has not found anything matching the Request-URI.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "28933a4f-81de-42a8-aa84-9d8fdadad48e", "body": "", "latency": 0, "statusCode": 422, "label": "The request failed to validate.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "77bfaceb-36fc-45e7-9bfe-d46a0f4ebecb", "body": "", "latency": 0, "statusCode": 500, "label": "We caught an unexpected error on our side. Please report with providing the Hetras-Tracking-Id from the response headers and we will check the logfiles.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "1dc0b8db-ce4e-4e91-b2af-f1d9b49898dd", "body": "", "latency": 0, "statusCode": 503, "label": "The server is currently unavailable. Please try later.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "8f7505cd-2a16-473d-847f-276d11dfbb9a", "documentation": "Get a list with the details of all room types for for the specified hotel id.", "method": "get", "endpoint": "api/hotel/v0/hotels/:hotelId/room_types", "responses": [ { "uuid": "da53a3be-20b6-4553-b3d6-61a28100999f", "body": "[\n {\n \"amenities\": [\n {\n \"code\": \"\",\n \"name\": \"\"\n }\n ],\n \"bedding_type\": \"{{oneOf (array 'NotDefined' 'Double' 'Futon' 'King' 'MurphyBed' 'Queen' 'SofaBed' 'TatamiMats' 'Twin' 'Single')}}\",\n \"code\": \"\",\n \"created\": \"{{faker 'date.recent' 365}}\",\n \"default\": {{faker 'datatype.boolean'}},\n \"description\": \"\",\n \"expected_occupancy\": {{faker 'number.int' max=99999}},\n \"facilities\": [\n {\n \"code\": \"\",\n \"name\": \"\"\n }\n ],\n \"max_persons\": {{faker 'number.int' max=99999}},\n \"min_persons\": {{faker 'number.int' max=99999}},\n \"name\": \"\",\n \"updated\": \"{{faker 'date.recent' 365}}\",\n \"views\": [\n {\n \"code\": \"\",\n \"name\": \"\"\n }\n ]\n }\n]", "latency": 0, "statusCode": 200, "label": "A list of room types for the given hotel.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "cc09a803-40af-4a78-9e1c-1484d813f07e", "body": "", "latency": 0, "statusCode": 401, "label": "You provided wrong credentials, or you reached your API limit.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "2dd00aca-b8b7-46e8-a6a6-933b45962c2c", "body": "", "latency": 0, "statusCode": 403, "label": "The application does not have access to the requested resource.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "cd5893ff-34ba-4ec1-b6d9-d2e8fdc8411a", "body": "", "latency": 0, "statusCode": 404, "label": "Not Found. The server has not found anything matching the Request-URI or the requested room could not be found.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "0e7c940d-2507-4cb6-903d-e587c2ecb722", "body": "", "latency": 0, "statusCode": 500, "label": "We caught an unexpected error on our side. Please report with providing the Hetras-Tracking-Id from the response headers and we will check the logfiles.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "ca2ae609-53f7-42a8-aae3-3ec53848fa92", "body": "", "latency": 0, "statusCode": 503, "label": "The server is currently unavailable. Please try later.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "c78b347c-88ca-4eb9-b6e4-e9438ff8ca29", "documentation": "Get all the details for a specific room type in the hotel.", "method": "get", "endpoint": "api/hotel/v0/hotels/:hotelId/room_types/:code", "responses": [ { "uuid": "62d4627e-4ee5-4a7e-8ae7-4bb33a9c15c7", "body": "{\n \"amenities\": [\n {\n \"code\": \"\",\n \"name\": \"\"\n }\n ],\n \"bedding_type\": \"{{oneOf (array 'NotDefined' 'Double' 'Futon' 'King' 'MurphyBed' 'Queen' 'SofaBed' 'TatamiMats' 'Twin' 'Single')}}\",\n \"code\": \"\",\n \"created\": \"{{faker 'date.recent' 365}}\",\n \"default\": {{faker 'datatype.boolean'}},\n \"description\": \"\",\n \"expected_occupancy\": {{faker 'number.int' max=99999}},\n \"facilities\": [\n {\n \"code\": \"\",\n \"name\": \"\"\n }\n ],\n \"max_persons\": {{faker 'number.int' max=99999}},\n \"min_persons\": {{faker 'number.int' max=99999}},\n \"name\": \"\",\n \"updated\": \"{{faker 'date.recent' 365}}\",\n \"views\": [\n {\n \"code\": \"\",\n \"name\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Room type details for the given room and hotel.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "ad41d7fd-655a-4191-99db-b4aed5ef2b7f", "body": "", "latency": 0, "statusCode": 401, "label": "You provided wrong credentials, or you reached your API limit.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "7de2f53e-09e3-4e68-ba46-fffef09aa5b8", "body": "", "latency": 0, "statusCode": 403, "label": "The application does not have access to the requested resource.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "5c8a51d0-ffd0-4ffa-b677-d53d9900e698", "body": "", "latency": 0, "statusCode": 404, "label": "Not Found. The server has not found anything matching the Request-URI or the requested room could not be found.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "e28fd2bb-7d5d-4bbe-9978-8cf965ec3ce1", "body": "", "latency": 0, "statusCode": 500, "label": "We caught an unexpected error on our side. Please report with providing the Hetras-Tracking-Id from the response headers and we will check the logfiles.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "a340b43d-72ea-40cf-852b-db6fabaaa628", "body": "", "latency": 0, "statusCode": 503, "label": "The server is currently unavailable. Please try later.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "4ebff2d2-968b-49e3-85b5-6704f5c5f4a1", "documentation": "Get a list of rooms using the provided filtering and pagination criteria.", "method": "get", "endpoint": "api/hotel/v0/hotels/:hotelId/rooms", "responses": [ { "uuid": "45698fdb-fd06-4005-9c57-99f8cd96f070", "body": "{\n \"_count\": {{faker 'number.int' max=99999}},\n \"_links\": {},\n \"rooms\": [\n {\n \"_links\": {},\n \"created\": \"{{faker 'date.recent' 365}}\",\n \"description\": \"\",\n \"name\": \"\",\n \"number\": \"\",\n \"room_type\": {\n \"_links\": {},\n \"code\": \"\",\n \"description\": \"\",\n \"name\": \"\"\n },\n \"status\": {\n \"condition\": \"{{oneOf (array 'CleanNotInspected' 'Clean' 'Dirty')}}\",\n \"frontdesk_occupancy\": \"{{oneOf (array 'Occupied' 'Vacant')}}\",\n \"housekeeping_occupancy\": \"{{oneOf (array 'Occupied' 'Vacant')}}\",\n \"maintenance\": {\n \"from\": \"\",\n \"reason\": \"\",\n \"to\": \"\",\n \"value\": \"{{oneOf (array 'NotSet' 'None' 'OutOfInventory' 'OutOfOrder' 'OutOfService')}}\"\n }\n },\n \"updated\": \"{{faker 'date.recent' 365}}\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "A list of rooms for the hotel based on the set filter criteria.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "06269263-e367-47eb-8c90-48a9ec43b83b", "body": "", "latency": 0, "statusCode": 204, "label": "There are no rooms found for the given filtering and pagination criteria.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "736ffa39-17d3-48f6-9a2f-83f0aa91e34a", "body": "", "latency": 0, "statusCode": 401, "label": "You provided wrong credentials, or you reached your API limit.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "947ddd7a-7434-48d3-8d15-1011e981c230", "body": "", "latency": 0, "statusCode": 403, "label": "The application does not have access to the requested resource.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "5f92f01b-6558-4218-8f57-debeea172d3f", "body": "", "latency": 0, "statusCode": 404, "label": "Not Found. The server has not found anything matching the Request-URI or the requested room could not be found.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "be5334c6-4788-4b6a-bcfa-9e8257f8adbe", "body": "", "latency": 0, "statusCode": 422, "label": "The request failed to validate.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "fe0ee33d-3e7e-4cf9-a5ef-20e53d1a7216", "body": "", "latency": 0, "statusCode": 500, "label": "We caught an unexpected error on our side. Please report with providing the Hetras-Tracking-Id from the response headers and we will check the logfiles.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "2a205c0f-394e-40ee-ae8b-27bf6d361ef4", "body": "", "latency": 0, "statusCode": 503, "label": "The server is currently unavailable. Please try later.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "d037fe2b-1241-4422-89d9-1794f852c9b8", "documentation": "Get the count of all rooms in the hotel matching the given filter criteria.", "method": "get", "endpoint": "api/hotel/v0/hotels/:hotelId/rooms/$count", "responses": [ { "uuid": "f8ddd5a6-86e7-4fce-a620-c0b93a3cb1af", "body": "{\n \"_count\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 200, "label": "The room count in the hotel matching the given filter criteria.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "be623783-4acb-4889-830b-90e0459bb853", "body": "", "latency": 0, "statusCode": 401, "label": "You provided wrong credentials, or you reached your API limit.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "a2256a87-7561-4e84-be76-ff214d3fb596", "body": "", "latency": 0, "statusCode": 403, "label": "The application does not have access to the requested resource.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "a731c1bc-ee25-4c8d-9e71-462433b0d181", "body": "", "latency": 0, "statusCode": 404, "label": "Not Found. The server has not found anything matching the Request-URI or the requested room could not be found.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "ed8c5625-7374-4ae6-a699-c95e2a1d77d9", "body": "", "latency": 0, "statusCode": 422, "label": "The request failed to validate.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "f0bc1e79-f292-45ae-a10a-41f8223cd0ee", "body": "", "latency": 0, "statusCode": 500, "label": "We caught an unexpected error on our side. Please report with providing the Hetras-Tracking-Id from the response headers and we will check the logfiles.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "e3da5883-283e-46a5-91e0-d145f7280b64", "body": "", "latency": 0, "statusCode": 503, "label": "The server is currently unavailable. Please try later.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "6ee85772-5648-4bcc-97a3-c9a4a60376ae", "documentation": "Request available rooms using a given criteria.", "method": "get", "endpoint": "api/hotel/v0/hotels/:hotelId/rooms/available", "responses": [ { "uuid": "ac92282f-8376-40ff-80d7-d4cb87e2204f", "body": "{\n \"_count\": {{faker 'number.int' max=99999}},\n \"_links\": {},\n \"rooms\": [\n {\n \"_links\": {},\n \"created\": \"{{faker 'date.recent' 365}}\",\n \"description\": \"\",\n \"name\": \"\",\n \"number\": \"\",\n \"room_type\": {\n \"_links\": {},\n \"code\": \"\",\n \"description\": \"\",\n \"name\": \"\"\n },\n \"status\": {\n \"condition\": \"{{oneOf (array 'CleanNotInspected' 'Clean' 'Dirty')}}\",\n \"frontdesk_occupancy\": \"{{oneOf (array 'Occupied' 'Vacant')}}\",\n \"housekeeping_occupancy\": \"{{oneOf (array 'Occupied' 'Vacant')}}\",\n \"maintenance\": {\n \"from\": \"\",\n \"reason\": \"\",\n \"to\": \"\",\n \"value\": \"{{oneOf (array 'NotSet' 'None' 'OutOfInventory' 'OutOfOrder' 'OutOfService')}}\"\n }\n },\n \"updated\": \"{{faker 'date.recent' 365}}\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "A list of available rooms in the specified time period.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "eafe72c4-bd73-4715-ade4-363b31cc2793", "body": "", "latency": 0, "statusCode": 204, "label": "There are no available rooms found for the given criteria.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "38a589de-620e-4aa1-a0aa-6bd1927d3ef7", "body": "", "latency": 0, "statusCode": 401, "label": "You provided wrong credentials, or you reached your API limit.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "644b8c2a-39cd-458a-a7f1-a8f5e7875c2d", "body": "", "latency": 0, "statusCode": 403, "label": "The application does not have access to the requested resource.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "0e54a563-7e02-4da1-b2c2-96bce311a28c", "body": "", "latency": 0, "statusCode": 404, "label": "Not Found. The server has not found anything matching the Request-URI or the requested room could not be found.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "e35aee2d-22e4-4831-8cde-5649a8b55df4", "body": "", "latency": 0, "statusCode": 422, "label": "The request failed to validate.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "7afd2e66-1adf-41b6-b035-75fb5c06f5de", "body": "", "latency": 0, "statusCode": 500, "label": "We caught an unexpected error on our side. Please report with providing the Hetras-Tracking-Id from the response headers and we will check the logfiles.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "4b53a689-39fa-4d13-bfe8-dc50c7444ac3", "body": "", "latency": 0, "statusCode": 503, "label": "The server is currently unavailable. Please try later.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "eb3f304e-3bb8-4584-89e4-e918d38a8659", "documentation": "Get all the details for a specific room in the hotel.", "method": "get", "endpoint": "api/hotel/v0/hotels/:hotelId/rooms/:roomNumber", "responses": [ { "uuid": "fd710dbb-c9d8-4573-998e-54f474687b6b", "body": "{\n \"amenities\": [\n {\n \"code\": \"\",\n \"name\": \"\"\n }\n ],\n \"beddings\": [\n {\n \"count\": {{faker 'number.int' max=99999}},\n \"type\": \"{{oneOf (array 'NotDefined' 'Double' 'Futon' 'King' 'MurphyBed' 'Queen' 'SofaBed' 'TatamiMats' 'Twin' 'Single')}}\"\n }\n ],\n \"created\": \"{{faker 'date.recent' 365}}\",\n \"description\": \"\",\n \"expected_occupancy\": {{faker 'number.int' max=99999}},\n \"extra_bed_allowed\": {{faker 'datatype.boolean'}},\n \"floor\": {{faker 'number.int' max=99999}},\n \"locations\": [\n {\n \"code\": \"\",\n \"name\": \"\"\n }\n ],\n \"max_persons\": {{faker 'number.int' max=99999}},\n \"min_persons\": {{faker 'number.int' max=99999}},\n \"name\": \"\",\n \"number\": \"\",\n \"reservations\": [\n {\n \"_links\": {},\n \"arrival_date\": \"{{faker 'date.recent' 365}}\",\n \"confirmation_id\": \"\",\n \"departure_date\": \"{{faker 'date.recent' 365}}\",\n \"reservation_number\": {{faker 'number.int' max=99999}},\n \"reservation_status\": \"{{oneOf (array 'Tentative' 'Waitlisted' 'OnRequest' 'NonGuaranteed' 'Guaranteed' 'InHouse' 'CheckedOut' 'NoShow' 'Denied' 'Cancelled' 'Released' 'Walked' 'Expired' 'WalkIn' 'Registered')}}\"\n }\n ],\n \"room_type\": {\n \"_links\": {},\n \"code\": \"\",\n \"description\": \"\",\n \"name\": \"\"\n },\n \"status\": {\n \"condition\": \"{{oneOf (array 'CleanNotInspected' 'Clean' 'Dirty')}}\",\n \"frontdesk_occupancy\": \"{{oneOf (array 'Occupied' 'Vacant')}}\",\n \"housekeeping_occupancy\": \"{{oneOf (array 'Occupied' 'Vacant')}}\",\n \"maintenance\": {\n \"from\": \"\",\n \"reason\": \"\",\n \"to\": \"\",\n \"value\": \"{{oneOf (array 'NotSet' 'None' 'OutOfInventory' 'OutOfOrder' 'OutOfService')}}\"\n }\n },\n \"updated\": \"{{faker 'date.recent' 365}}\",\n \"views\": [\n {\n \"code\": \"\",\n \"name\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Room details for the given room and hotel.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "67a16228-84d1-414f-a54e-09d8bc27264c", "body": "", "latency": 0, "statusCode": 401, "label": "You provided wrong credentials, or you reached your API limit.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "cd769c9c-b1dc-4bd7-8633-5de1701fe98d", "body": "", "latency": 0, "statusCode": 403, "label": "The application does not have access to the requested resource.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "b9a0c3d1-6b32-49e3-aa4b-72ff5740f4e0", "body": "", "latency": 0, "statusCode": 404, "label": "Not Found. The server has not found anything matching the Request-URI or the requested room could not be found.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "6d83234f-00e5-47f2-86c6-b7ad7ba44418", "body": "", "latency": 0, "statusCode": 500, "label": "We caught an unexpected error on our side. Please report with providing the Hetras-Tracking-Id from the response headers and we will check the logfiles.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "8a538c7d-c2ac-48ad-a5c4-a92c494211b6", "body": "", "latency": 0, "statusCode": 503, "label": "The server is currently unavailable. Please try later.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "a3369d95-a9b3-40b2-a079-065217041706", "documentation": "Partially updates a room.", "method": "patch", "endpoint": "api/hotel/v0/hotels/:hotelId/rooms/:roomNumber", "responses": [ { "uuid": "85b53412-b43d-462c-84ea-a2ab72128077", "body": "{}", "latency": 0, "statusCode": 200, "label": "The update was successful", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "c5e44ecc-9aff-48eb-a540-9effb24a1f1c", "body": "", "latency": 0, "statusCode": 400, "label": "Bad request. Request body erroneous.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "cd41bcd5-8943-4a7f-b1e3-6096103ee12a", "body": "", "latency": 0, "statusCode": 401, "label": "You provided wrong credentials, or you reached your API limit.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "28c7948b-38b6-49d7-bac7-d3141e2b0010", "body": "", "latency": 0, "statusCode": 403, "label": "The application does not have access to the requested resource.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "465c462a-4689-4b01-9197-6febd8a9c4d6", "body": "", "latency": 0, "statusCode": 404, "label": "Not Found. The server has not found anything matching the Request-URI.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "c3eecfd2-033a-4b4c-b2bc-bd560a1c2549", "body": "", "latency": 0, "statusCode": 422, "label": "The request failed to validate.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "33a88c0c-3383-4b99-b6a7-4a55826e1873", "body": "", "latency": 0, "statusCode": 500, "label": "We caught an unexpected error on our side. Please report with providing the Hetras-Tracking-Id from the response headers and we will check the logfiles.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "4139423b-b549-42a8-8c61-0c6d0c3895bf", "body": "", "latency": 0, "statusCode": 503, "label": "The server is currently unavailable. Please try later.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "b0e4bccc-d866-4a5d-bdf6-072edd44f65f", "documentation": "Saves Yieldable Rate Prices for existing Yieldable Rateplan.", "method": "put", "endpoint": "api/hotel/v0/hotels/:hotelId/yieldable_rateplans/:rateplanCode/$rates", "responses": [ { "uuid": "1f54263b-5906-4f5d-a026-dbbedfaa2cd9", "body": "{}", "latency": 0, "statusCode": 200, "label": "Saving the Yieldable rateplan prices was successful. You will get back the confirmation.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "0b27fc3c-a362-4e64-af59-27e1e3795d91", "body": "", "latency": 0, "statusCode": 400, "label": "Bad request. Request body erroneous.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "3c29f6c5-3530-46af-87eb-9afecb3476fc", "body": "", "latency": 0, "statusCode": 401, "label": "You provided wrong credentials, or you reached your API limit.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "fa73eb07-587f-493e-8bbe-cf4e08933ccf", "body": "", "latency": 0, "statusCode": 403, "label": "The application does not have access to the requested resource.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "d916dc7b-e9e3-48e9-b1ec-b6e1388c45e5", "body": "", "latency": 0, "statusCode": 404, "label": "Not Found. The server has not found anything matching the Request-URI.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "770ed57c-9e49-48dd-9ba6-86f632091b3d", "body": "", "latency": 0, "statusCode": 422, "label": "The request failed to validate.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "fc61234e-979e-42c4-8076-389bbbe63265", "body": "", "latency": 0, "statusCode": 500, "label": "We caught an unexpected error on our side. Please report with providing the Hetras-Tracking-Id from the response headers and we will check the logfiles.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "9963024c-871a-47f0-820e-3d1b3e9bd246", "body": "", "latency": 0, "statusCode": 503, "label": "The server is currently unavailable. Please try later.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" } ], "proxyMode": false, "proxyHost": "", "proxyRemovePrefix": false, "tlsOptions": { "enabled": false, "type": "CERT", "pfxPath": "", "certPath": "", "keyPath": "", "caPath": "", "passphrase": "" }, "cors": true, "headers": [], "proxyReqHeaders": [{ "key": "", "value": "" }], "proxyResHeaders": [{ "key": "", "value": "" }], "data": [], "folders": [], "rootChildren": [ { "type": "route", "uuid": "2c112393-c474-4ea3-8e1f-6fdff2ec043d" }, { "type": "route", "uuid": "97f3c778-6d95-4ac2-93e9-e374e9195858" }, { "type": "route", "uuid": "4cb6ae2a-f8fc-4beb-bd34-7d4b005a7594" }, { "type": "route", "uuid": "da7f7b90-6ae7-4090-bba6-724862a5266f" }, { "type": "route", "uuid": "b3a803ca-54b1-4fb7-9adc-17d741d5dc2b" }, { "type": "route", "uuid": "63d2f6ec-3a6c-4ca5-bbba-a180469adcf5" }, { "type": "route", "uuid": "5b3d3e6d-c2ea-4cf6-bea1-001dad1a22ad" }, { "type": "route", "uuid": "65cb0596-7e6a-40cf-a615-d63f90375daf" }, { "type": "route", "uuid": "f4807a8f-aa03-44cd-be2e-ce2c7fc31e83" }, { "type": "route", "uuid": "c29c10c7-29dd-4749-89b2-e9aeef963fe9" }, { "type": "route", "uuid": "7883d904-12f8-4083-a6c7-de4b864632b8" }, { "type": "route", "uuid": "63cb80e0-8073-43ab-ab85-651af304e5eb" }, { "type": "route", "uuid": "285608b9-63f6-45e4-bc11-9da1829b040f" }, { "type": "route", "uuid": "8f7505cd-2a16-473d-847f-276d11dfbb9a" }, { "type": "route", "uuid": "c78b347c-88ca-4eb9-b6e4-e9438ff8ca29" }, { "type": "route", "uuid": "4ebff2d2-968b-49e3-85b5-6704f5c5f4a1" }, { "type": "route", "uuid": "d037fe2b-1241-4422-89d9-1794f852c9b8" }, { "type": "route", "uuid": "6ee85772-5648-4bcc-97a3-c9a4a60376ae" }, { "type": "route", "uuid": "eb3f304e-3bb8-4584-89e4-e918d38a8659" }, { "type": "route", "uuid": "a3369d95-a9b3-40b2-a079-065217041706" }, { "type": "route", "uuid": "b0e4bccc-d866-4a5d-bdf6-072edd44f65f" } ] }