{
"swagger": "2.0",
"info": {
"title": "OPERA Cloud Block API",
"description": "APIs to cater for Business Block functionality in OPERA Cloud.
A block is a group of rooms held for guests who are attending an event, meeting, or function. You can create blocks for family reunions, business conferences, weddings, and so on. You can also set aside rooms for the event (block).
Compatible with OPERA Cloud release 26.2.0.0.
This document and all content within is available under the Universal Permissive License v 1.0 (https://oss.oracle.com/licenses/upl). Copyright (c) 2020, 2026 Oracle and/or its affiliates.
", "version": "26.2.0.0", "termsOfService": "https://www.oracle.com/legal/terms.html", "contact": { "email": "hospitality_apis_ww_grp@oracle.com" }, "license": { "name": "UPL", "url": "https://opensource.org/licenses/upl" } }, "schemes": [ "https" ], "basePath": "/blk/v1", "produces": [ "application/json" ], "paths": { "/allocation": { "post": { "summary": "Create Sub allocation", "description": "Use this API to create sub allocation.OperationId:postSubAllocation
", "operationId": "postSubAllocation", "parameters": [ { "name": "subAllocation", "in": "body", "required": true, "description": "Request object for creation of Sub Allocation. This object contains sub allocation details with unique identifiers for each sub allocation along with Master Allocation information. The standard optional Opera Context element is also included.", "schema": { "allOf": [ { "$ref": "#/definitions/subAllocation" } ] } }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "201": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" }, "Location": { "type": "string", "description": "Location of newly created resource" } }, "description": "HATEOAS links which help the consumer to navigate to resources", "schema": { "$ref": "#/definitions/status" } }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] } }, "/blockActivityLog": { "get": { "summary": "Get the Block activity log", "description": "Use this API to facilitate retrieving the block activity log.OperationId:getBlockActivityLog
The maximum allowable limit for this API is 200.
", "operationId": "getBlockActivityLog", "parameters": [ { "name": "limit", "in": "query", "required": false, "description": "Indicates maximum number of records a Web Service should return.", "type": "integer" }, { "name": "offset", "in": "query", "default": 0, "required": false, "description": "Index or initial index of the set(page) being requested. If the index goes out of the bounds of the total set count then no data will be returned.", "type": "integer" }, { "name": "hotelId", "in": "query", "required": false, "description": "Hotel code.", "type": "string" }, { "name": "module", "in": "query", "required": false, "type": "string", "description": "Activity module.", "uniqueItems": true, "enum": [ "Reservation", "Contract", "Allotment", "Outlookview", "Profile", "Accountreceivables", "GdsConvRateCodes", "RateCode", "Billing", "Activity" ] }, { "name": "moduleParamsParameterName", "in": "query", "type": "array", "collectionFormat": "multi", "description": "Name of the parameter.", "items": { "type": "string" }, "required": false }, { "name": "moduleParamsParameterValue", "in": "query", "type": "array", "collectionFormat": "multi", "description": "Value of the parameter.", "items": { "type": "string" }, "required": false }, { "name": "activityGroup", "in": "query", "required": false, "type": "string" }, { "name": "activityType", "in": "query", "required": false, "type": "string" }, { "name": "activityParamsFromDate", "in": "query", "required": false, "description": "Search from date for the user activity log.", "type": "string", "format": "date" }, { "name": "activityParamsToDate", "in": "query", "required": false, "description": "Search to date for the user activity log.", "type": "string", "format": "date" }, { "name": "activityParamsSearchText", "in": "query", "required": false, "description": "Search text for the user activity log.", "type": "string" }, { "name": "userByIDsUserId", "in": "query", "type": "array", "maxItems": 4000, "collectionFormat": "multi", "items": { "type": "integer" }, "required": false }, { "name": "userForIDsUserId", "in": "query", "type": "array", "maxItems": 4000, "collectionFormat": "multi", "items": { "type": "integer" }, "required": false }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" } }, "description": "Response object for fetching block activity log. This object contains collection of user activity log for the block, Success, Warnings and Errors related to this operation", "schema": { "$ref": "#/definitions/blockActivityLog" } }, "204": { "description": "BlockActivityLog not found." }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] } }, "/blockWash": { "put": { "summary": "Update Block Allocation Wash", "description": "This API removes block allocation to a range of dates for a set of room types.OperationId:putBlockAllocationWash
", "operationId": "putBlockAllocationWash", "parameters": [ { "name": "blockAllocationWash", "in": "body", "required": true, "description": "Request object for block wash operation.", "schema": { "allOf": [ { "$ref": "#/definitions/blockAllocationWash" } ] } }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" }, "Location": { "type": "string", "description": "Location of newly created resource" } }, "description": "Response Body.", "schema": { "$ref": "#/definitions/status" } }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] }, "get": { "summary": "Get Block Wash Information", "description": "This API retrieves block information needed to perform block wash operation.OperationId:getBlockWashInfo
", "operationId": "getBlockWashInfo", "parameters": [ { "name": "hotelId", "in": "query", "required": false, "type": "string", "description": "Used for codes in the OPERA Code tables. Possible values of this pattern are 1, 101, 101.EQP, or 101.EQP.X." }, { "name": "blockId", "in": "query", "required": false, "description": "A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.", "type": "string" }, { "name": "blockIdType", "in": "query", "required": false, "description": "A reference to the type of object defined by the UniqueID element.", "type": "string" }, { "name": "genericRoomType", "in": "query", "required": false, "description": "Indicates if the Allocation objects refer to Generic Room Types (Room Pools).", "type": "boolean" }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" } }, "description": "Block information required for performing a wash operation on a block.", "schema": { "$ref": "#/definitions/blockWashInfo" } }, "204": { "description": "BlockWashInfo not found." }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] } }, "/blocks": { "get": { "summary": "Get Blocks", "description": "Use this API to retrieve a list of blocks for requested query parameters. A wide range of query parameters is available to support various persona requirements, so it is recommended to include, at least, the hotel block date range, stay date range, and/or number of days as query parameters. You can use more query parameters to narrow your results. This API is not designed to support sync between two systems or initial upload of data. If x-hubid is used as a header, it returns matching data from multiple hotels within the same chain.OperationId:getBlocks
The maximum allowable limit for this API is 200.
", "operationId": "getBlocks", "deprecated": true, "parameters": [ { "name": "hotelId", "in": "query", "required": false, "type": "string" }, { "name": "markAsRecentlyAccessed", "in": "query", "required": false, "description": "Mark this block as recently accessed.", "type": "boolean" }, { "name": "limit", "in": "query", "required": false, "maximum": 200, "description": "Indicates maximum number of records a Web Service should return.", "type": "integer" }, { "name": "offset", "in": "query", "default": 0, "required": false, "description": "Index or initial index of the set(page) being requested. If the index goes out of the bounds of the total set count then no data will be returned.", "type": "integer" }, { "name": "multipleHotelsSearchHotelIds", "in": "query", "type": "array", "maxItems": 4000, "collectionFormat": "multi", "description": "Hotel code.", "items": { "type": "string" }, "required": false }, { "name": "superSearch", "in": "query", "required": false, "description": "Free form text field for searching block fields", "type": "string" }, { "name": "blockIdList", "in": "query", "type": "array", "collectionFormat": "multi", "description": "A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.", "items": { "type": "string" }, "required": false }, { "name": "blockIdType", "in": "query", "type": "array", "collectionFormat": "multi", "description": "A reference to the type of object defined by the UniqueID element.", "items": { "type": "string" }, "required": false }, { "name": "externalReferenceIds", "in": "query", "type": "array", "collectionFormat": "multi", "description": "A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.", "items": { "type": "string" }, "required": false }, { "name": "externalSystemCodes", "in": "query", "type": "array", "collectionFormat": "multi", "description": "Used to identify the source of the identifier (e.g., IATA, ABTA).", "items": { "type": "string" }, "required": false }, { "name": "blockCode", "in": "query", "required": false, "description": "Block code", "type": "string" }, { "name": "blockName", "in": "query", "required": false, "description": "Block Name", "type": "string" }, { "name": "blockOwner", "in": "query", "type": "array", "maxItems": 4000, "collectionFormat": "multi", "description": "Block Owner.", "items": { "type": "string" }, "required": false }, { "name": "blockStatus", "in": "query", "type": "array", "maxItems": 4000, "collectionFormat": "multi", "description": "Block Status.", "items": { "type": "string" }, "required": false }, { "name": "cateringStatus", "in": "query", "type": "array", "maxItems": 4000, "collectionFormat": "multi", "description": "Catering Status.", "items": { "type": "string" }, "required": false }, { "name": "reservationMethod", "in": "query", "type": "array", "maxItems": 50, "collectionFormat": "multi", "description": "Mode of reservation (e.g. EML, TEL, FRTDSK ).", "items": { "type": "string", "maxLength": 20 }, "required": false }, { "name": "createdByUser", "in": "query", "required": false, "description": "user who created the Block(s).", "type": "string" }, { "name": "blockStartEndDate", "in": "query", "required": false, "description": "The ending value of the date range.", "type": "string", "format": "date" }, { "name": "blockStartStartDate", "in": "query", "required": false, "description": "The starting value of the date range.", "type": "string", "format": "date" }, { "name": "blockEndEndDate", "in": "query", "required": false, "description": "The ending value of the date range.", "type": "string", "format": "date" }, { "name": "blockEndStartDate", "in": "query", "required": false, "description": "The starting value of the date range.", "type": "string", "format": "date" }, { "name": "reservationArrival", "in": "query", "required": false, "description": "Date when guests plan to arrive(first night stay date).", "type": "string", "format": "date" }, { "name": "reservationDeparture", "in": "query", "required": false, "description": "Date when guests plan to leave(last stay day date).", "type": "string", "format": "date" }, { "name": "includeShoulderDates", "in": "query", "required": false, "description": "Whether to include shoulder dates when considering stay date.", "type": "boolean" }, { "name": "stayDate", "in": "query", "required": false, "type": "string", "format": "date" }, { "name": "blockCreatedOnEndDate", "in": "query", "required": false, "description": "The ending value of the date range.", "type": "string", "format": "date" }, { "name": "blockCreatedOnStartDate", "in": "query", "required": false, "description": "The starting value of the date range.", "type": "string", "format": "date" }, { "name": "decisionEndDate", "in": "query", "required": false, "description": "The ending value of the date range.", "type": "string", "format": "date" }, { "name": "decisionStartDate", "in": "query", "required": false, "description": "The starting value of the date range.", "type": "string", "format": "date" }, { "name": "cutOffEndDate", "in": "query", "required": false, "description": "The ending value of the date range.", "type": "string", "format": "date" }, { "name": "cutOffStartDate", "in": "query", "required": false, "description": "The starting value of the date range.", "type": "string", "format": "date" }, { "name": "category", "in": "query", "type": "array", "collectionFormat": "multi", "description": "Simple type for block instructions to be used in requests for fetching blocks. Valid status values are Group, Source, TravelAgent, Contact, Company.", "uniqueItems": true, "items": { "type": "string", "enum": [ "Group", "Source", "Agent", "Contact", "Company", "Account" ] }, "required": false }, { "name": "name", "in": "query", "type": "array", "collectionFormat": "multi", "description": "Attached profile name", "items": { "type": "string" }, "required": false }, { "name": "attachedProfileId", "in": "query", "required": false, "description": "A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.", "type": "string" }, { "name": "attachedProfileIdType", "in": "query", "required": false, "description": "A reference to the type of object defined by the UniqueID element.", "type": "string" }, { "name": "leads", "in": "query", "required": false, "description": "Show Leads in the search result.", "type": "boolean" }, { "name": "tourSeries", "in": "query", "required": false, "description": "Show tour series in the search result.", "type": "boolean" }, { "name": "onlyPickupBlocks", "in": "query", "required": false, "description": "Fetch only blocks which are open for pickup, if true. If the value is false, fetch all block statuses.", "type": "boolean" }, { "name": "onlyOpportunities", "in": "query", "required": false, "description": "Indicates that only Opportunity blocks will be fetched.", "type": "boolean" }, { "name": "excludeMasterBlocks", "in": "query", "required": false, "description": "Indicates that all master blocks will be excluded from the results. (Master Blocks, Master Allocations, Master Tours, and Master Itineraries).", "type": "boolean" }, { "name": "ratePlanCode", "in": "query", "type": "array", "maxItems": 4000, "collectionFormat": "multi", "description": "Rate Plan Code.", "items": { "type": "string" }, "required": false }, { "name": "tourCode", "in": "query", "required": false, "description": "Tour code for the block.", "type": "string" }, { "name": "attributeName", "in": "query", "type": "array", "collectionFormat": "multi", "items": { "type": "string" }, "required": false }, { "name": "orderType", "in": "query", "type": "array", "collectionFormat": "multi", "uniqueItems": true, "items": { "type": "string", "enum": [ "Asc", "Desc" ] }, "required": false }, { "name": "returnEligibleMasterAllocations", "in": "query", "type": "boolean", "description": "Return only master allocations that are eligible to be the master for the business block to be converted to sub allocation specified in `targetSubAllocationBlockId`.", "required": false }, { "name": "targetSubAllocationBlockId", "in": "query", "type": "string", "description": "The ID of the regular business block that is being converted to sub allocation.", "required": false }, { "name": "returnEligibleMasterTours", "in": "query", "type": "boolean", "description": "Return only master tours or master itineraries that are eligible to be the master for the business block being converted to either a sub tour or a sub itinerary.", "required": false }, { "name": "fetchInstructions", "in": "query", "type": "array", "collectionFormat": "multi", "description": "Type for block instructions that can be used in requests for partial operations.", "uniqueItems": true, "items": { "type": "string", "enum": [ "AccessExclusions", "Aliases", "AlternateDates", "Attachments", "Block", "BlockNextStatuses", "BlockStatusHistory", "CatNextStatuses", "CatStatusHistory", "CentralSalesLeads", "Comments", "DateProtect", "ExternalReferences", "GenericRateGrid", "Header", "Indicators", "InventoryItems", "Owners", "Packages", "Policies", "PrimaryOwners", "PrimaryProfiles", "PrimaryRates", "Profiles", "RateGrid", "RateProgram", "Rates", "Restrictions", "SellMessages", "Statistics", "SummaryStatistics", "Traces", "WashSchedules", "IncludeSubBlocks" ] }, "required": false }, { "name": "fetchAllocatedRoomTypes", "in": "query", "required": false, "description": "Indicates whether to fetch only those room types that have rooms allocated. If this flag is true then only those room types with rooms allocated for the block are fetched. Only applicable to fetch instruction RateGrid.", "type": "boolean" }, { "name": "additionalCriteriaStartDate", "in": "query", "required": false, "description": "Start Date for the rate grid data. Only applicable to fetch instruction RateGrid.", "type": "string", "format": "date" }, { "name": "numberOfDays", "in": "query", "required": false, "description": "Number of days to fetch for the rate grid data. Only applicable to fetch instruction RateGrid.", "type": "number" }, { "name": "adults", "in": "query", "required": false, "description": "Defines the number of Adults.", "type": "integer" }, { "name": "children", "in": "query", "required": false, "description": "Defines the number of Children.", "type": "integer" }, { "name": "childAge", "in": "query", "type": "array", "collectionFormat": "multi", "description": "Age of a child in years.", "items": { "type": "integer" }, "required": false }, { "name": "bucket1Count", "in": "query", "required": false, "description": "Number of children classified under the first Age Qualifying Group(Child Bucket#1).", "type": "integer" }, { "name": "bucket2Count", "in": "query", "required": false, "description": "Number of children classified under the second Age Qualifying Group(Child Bucket#2).", "type": "integer" }, { "name": "bucket3Count", "in": "query", "required": false, "description": "Number of children classified under the third Age Qualifying Group(Child Bucket#3).", "type": "integer" }, { "name": "bucket4Count", "in": "query", "required": false, "description": "Number of children classified under the fourth Age Qualifying Group(Child Bucket#4).", "type": "integer" }, { "name": "bucket5Count", "in": "query", "required": false, "description": "Number of children classified under the fifth Age Qualifying Group(Child Bucket#5).", "type": "integer" }, { "name": "existingReservationId", "in": "query", "required": false, "description": "A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.", "type": "string" }, { "name": "existingReservationIdType", "in": "query", "required": false, "description": "A reference to the type of object defined by the UniqueID element.", "type": "string" }, { "name": "roomAllocationCriteria", "in": "query", "type": "array", "collectionFormat": "multi", "description": "Simple type for block allocation used in room rate grid.", "uniqueItems": true, "items": { "type": "string", "enum": [ "Initial", "Actual", "Rates", "Pickup", "Contract", "Available", "Pickupperc", "Changes", "Released", "Houseavailability", "SellLimit", "AvailableSellLimit", "MasterAllocInitial", "Allocated", "SubAllocResv", "CutoffDate" ] }, "required": false }, { "name": "roomType", "in": "query", "type": "array", "maxItems": 4000, "collectionFormat": "multi", "description": "The Room Types that need to be fetched for the rate room grid data. If these values are not provided, all room types for the block will be fetched.", "items": { "type": "string" }, "required": false }, { "name": "additionalCriteriaRatePlanCode", "in": "query", "required": false, "description": "Rate Plan to use for fetching rates.", "type": "string" }, { "name": "currencyCode", "in": "query", "required": false, "description": "Curency in which the grid rates should be fetched.", "type": "string" }, { "name": "accessRestriction", "in": "query", "type": "array", "collectionFormat": "multi", "description": "Simple type for block access exclusion/restriction types.", "uniqueItems": true, "items": { "type": "string", "enum": [ "Availability", "Create", "Modify", "Cancel" ] }, "required": false }, { "name": "cateringOnly", "in": "query", "required": false, "description": "Filter blocks which are marked as Catering only. Only Catering only blocks are returned when true.", "type": "boolean" }, { "name": "marketCode", "in": "query", "type": "array", "maxItems": 40, "collectionFormat": "multi", "description": "Filter blocks based on market code, If not provided all the blocks will be returned.", "items": { "type": "string" }, "required": false }, { "name": "sourceCode", "in": "query", "type": "array", "maxItems": 40, "collectionFormat": "multi", "description": "Filter blocks based on source code, If not provided all the blocks will be returned.", "items": { "type": "string" }, "required": false }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" } }, "description": "It also contains Success,Warnings and Errors related to this operation.", "schema": { "$ref": "#/definitions/blockSummaries" } }, "204": { "description": "Blocks not found." }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] } }, "/blocks/actions/validate": { "post": { "summary": "Validate Block", "description": "Use this API to validate if block rate code has overlapping blocks and also validates and creates block details.OperationId:postBlockValidate
", "operationId": "postBlockValidate", "parameters": [ { "name": "blockValidate", "in": "body", "required": true, "description": "Request object for validating creation of blocks only. Block is not created. This object contains block details with unique identifiers for each block. The standard optional Opera Context element is also included.", "schema": { "allOf": [ { "$ref": "#/definitions/blockValidate" } ] } }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "201": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" }, "Location": { "type": "string", "description": "Location of newly created resource" } }, "description": "HATEOAS links which help the consumer to navigate to resources", "schema": { "$ref": "#/definitions/status" } }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] } }, "/blocks/dailyStatistics": { "get": { "summary": "Get Block Daily Statistics", "description": "Use this API to retrieve block daily statistics for the given date range and hotel ID.OperationId:getBlockDailyStatistics
The maximum allowable limit for this API is 31.
This API allows a time span of 90 days.
", "operationId": "getBlockDailyStatistics", "parameters": [ { "name": "genericRoomType", "in": "query", "required": false, "description": "Indicates if the Allocation objects refer to Generic Room Types (Room Pools).", "type": "boolean" }, { "name": "limit", "in": "query", "required": false, "description": "Indicates maximum number of records a Web Service should return.", "type": "integer" }, { "name": "offset", "in": "query", "default": 0, "required": false, "description": "Index or initial index of the set(page) being requested. If the index goes out of the bounds of the total set count then no data will be returned.", "type": "integer" }, { "name": "hotelId", "in": "query", "required": false, "description": "Pertain Hotel Code for search criteria.", "type": "string" }, { "name": "end", "in": "query", "required": false, "description": "The ending value of the date range.", "type": "string", "format": "date" }, { "name": "start", "in": "query", "required": false, "description": "The starting value of the date range.", "type": "string", "format": "date" }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" } }, "description": "Response Object of Fetch Block Daily Statistics.", "schema": { "$ref": "#/definitions/blockDailyStatistics" } }, "204": { "description": "BlockDailyStatistics not found." }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] } }, "/blocks/searches": { "post": { "summary": "Search Blocks", "description": "Use this API to retrieve a list of blocks for requested query parameters. A wide range of query parameters is available to support various persona requirements, so it is recommended to include, at least, the hotel block date range, stay date range, and/or number of days as query parameters. You can use more query parameters to narrow your results. This API is not designed to support sync between two systems or initial upload of data. If x-hubid is used as a header, it returns matching data from multiple hotels within the same chain.OperationId:searchBlocks
The maximum allowable limit for this API is 200.
", "operationId": "searchBlocks", "parameters": [ { "in": "body", "name": "searchBlocksRequest", "description": "Search Blocks Request", "required": false, "schema": { "$ref": "#/definitions/searchBlocksRequest" } }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" } }, "description": "It also contains Success,Warnings and Errors related to this operation.", "schema": { "$ref": "#/definitions/blockSummaries" } }, "204": { "description": "Blocks not found." }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] } }, "/blocks/statistics": { "get": { "summary": "Get Block statistics", "description": "This API retrieves block statistics.OperationId:getBlockStats
This API allows a time span of 90 days.
", "operationId": "getBlockStats", "parameters": [ { "name": "hotelId", "in": "query", "required": false, "description": "Property context of the request.", "type": "string" }, { "name": "reportCode", "in": "query", "type": "array", "collectionFormat": "multi", "description": "Supported Housekeeping report codes.", "uniqueItems": true, "items": { "type": "string", "enum": [ "HouseSummary", "HouseSummaryMonthToDate", "HouseSummaryYearToDate", "ReservationActivity", "ReservationActivityDaily", "ReservationActivityMonthToDate", "ReservationActivityYearToDate", "ComplimentaryOrHouseUse", "DailyProjection", "RoomStatus", "LastHourStatus", "Turndown", "InHouse", "CheckIns", "CheckOuts", "AvailableRooms", "RoomMaintenance", "ReservationStatistics", "VIPGuests", "AdvanceCheckIn", "BlockArrivals", "ReservationsCancellationsToday", "AIRoomAssignment", "CompRouting" ] }, "required": false }, { "name": "reportEndDate", "in": "query", "type": "array", "collectionFormat": "multi", "description": "End date of the report.", "items": { "type": "string", "format": "date" }, "required": false }, { "name": "reportStartDate", "in": "query", "type": "array", "collectionFormat": "multi", "description": "Start date of the report.", "items": { "type": "string", "format": "date" }, "required": false }, { "name": "statisticalCode", "in": "query", "type": "array", "collectionFormat": "multi", "description": "Supported housekeeping statistical codes.", "uniqueItems": true, "items": { "type": "string", "enum": [ "ApprovedCompPostings", "StagedCompPostings", "DeclinedCompPostings", "CompRoutingInstructionsRequests", "TotalPhysicalRooms", "TotalRoomsToSell", "TotalOutOfOrder", "TotalOutOfService", "TotalRevenue", "PercentRoomsOccupied", "StayoverRooms", "StayoverPersons", "StayoverVIP", "DeparturesExpectedRooms", "DeparturesExpectedPersons", "DeparturesExpectedVIP", "DeparturesActualRooms", "DeparturesActualPersons", "DeparturesActualVIP", "DeparturesInLastHour", "ArrivalsInLastHour", "ArrivalsTotal", "ArrivalsExpectedRooms", "ArrivalsExpectedPersons", "ArrivalsExpectedVIP", "ArrivalsExpectedRoomsMadeToday", "ArrivalsExpectedPersonsMadeToday", "ArrivalsExpectedVIPMadeToday", "ArrivalsActualRooms", "ArrivalsActualPersons", "ArrivalsActualVIP", "ExtendedStaysRooms", "ExtendedStaysPersons", "ExtendedStaysVIP", "DeparturesTotal", "EarlyDeparturesRooms", "EarlyDeparturesPersons", "EarlyDeparturesVIP", "DayUseRooms", "DayUsePersons", "DayUseVIP", "WalkInRooms", "WalkInPersons", "WalkInVIP", "CanceledOnArrivalRooms", "CanceledOnArrivalPersons", "CanceledOnArrivalVIP", "ComplimentaryArrivalRooms", "ComplimentaryArrivalPersons", "ComplimentaryArrivalVIP", "ComplimentaryStayoverRooms", "ComplimentaryStayoverPersons", "ComplimentaryStayoverVIP", "ComplimentaryDepartureRooms", "ComplimentaryDeparturePersons", "ComplimentaryDepartureVIP", "HouseUseArrivalVIP", "HouseUseStayoverRooms", "HouseUseStayoverPersons", "HouseUseStayoverVIP", "HouseUseDepartureRooms", "HouseUseDeparturePersons", "HouseUseDepartureVIP", "MinAvailableTonightRooms", "MaxOccupiedTonightRooms", "MaxOccupiedTonightPersons", "MaxOccupiedTonightVIP", "MaxPercentageOccupiedTonightRooms", "BlocksNotPickedUp", "IndividualRooms", "IndividualPersons", "IndividualVIP", "GroupAndBlockRooms", "GroupAndBlockPersons", "GroupAndBlockVIP", "RoomRevenue", "AverageRoomRevenue", "InspectedRooms", "InspectedVacant", "InspectedAssigned", "InspectedOccupied", "CleanedRooms", "CleanVacant", "CleanAssigned", "CleanOccupied", "DirtyVacant", "DirtyAssigned", "DirtyOccupied", "PickupVacant", "PickupAssigned", "PickupOccupied", "OutOfOrderVacant", "OutOfOrderAssigned", "OutOfOrderOccupied", "OutOfServiceVacant", "OutOfServiceAssigned", "OutOfServiceOccupied", "QueueRooms", "TurndownRequired", "TurndownNotRequired", "TurndownCompletedRequired", "AdultsInHouse", "ChildrenInHouse", "AdultsExpectedCheckedOut", "ChildrenExpectedCheckedOut", "AdultsDeparted", "ChildrenDeparted", "InHouseRooms", "InHouse", "MaxOccupancyPercentage", "Stayover", "TotalRoomsReserved", "RevPar", "SkipRooms", "SleepRooms", "HouseUseArrivalRooms", "HouseUseArrivalPersons", "AverageCheckInTime", "CurrentAveWaitTime", "CheckedInsTotal", "ExpectedCheckInsTotal", "CheckedOutsTotal", "ExpectedCheckOutsTotal", "ScheduledCheckOutsTotal", "RoomMaintenanceResolvedTotal", "RoomMaintenanceUnResolvedTotal", "PreRegisteredTotal", "VIPPreRegisteredTotal", "OpenFolioTotal", "TurndownTotal", "VIPTurndownTotal", "VIPGuestsArriving", "VIPGuestsDeparting", "VIPGuestsTotal", "IndividualAdvanceCheckedInCurrent", "BlockAdvanceCheckedInCurrent", "IndividualAdvanceCheckedInInhouse", "BlockAdvanceCheckedInInhouse", "IndividualAdvanceCheckedInTotal", "BlockAdvanceCheckedInTotal", "InHouseBlocksTotal", "CancellationsTotal", "NewReservationsTotal", "ArrivalResvs", "ArrivalVIPResvs", "ArrivalMemberResvs", "ArrivalUnallocResvs", "ArrivalManualAssgnResvs", "ArrivalAIAssgnResvs", "ArrivalAIUpgResvs", "ArrivalAIAssgnVIPResvs", "ArrivalAIAssgnMemberResvs", "ArrivalAIAssgnOverridden" ] }, "required": false }, { "name": "reportParametersParameterName", "in": "query", "type": "array", "collectionFormat": "multi", "description": "Name of the parameter.", "items": { "type": "string" }, "required": false }, { "name": "reportParametersParameterValue", "in": "query", "type": "array", "collectionFormat": "multi", "description": "Value of the parameter.", "items": { "type": "string" }, "required": false }, { "name": "blockOwnersCode", "in": "query", "type": "array", "collectionFormat": "multi", "description": "Supported Housekeeping report codes.", "uniqueItems": true, "items": { "type": "string", "enum": [ "HouseSummary", "HouseSummaryMonthToDate", "HouseSummaryYearToDate", "ReservationActivity", "ReservationActivityDaily", "ReservationActivityMonthToDate", "ReservationActivityYearToDate", "ComplimentaryOrHouseUse", "DailyProjection", "RoomStatus", "LastHourStatus", "Turndown", "InHouse", "CheckIns", "CheckOuts", "AvailableRooms", "RoomMaintenance", "ReservationStatistics", "VIPGuests", "AdvanceCheckIn", "BlockArrivals", "ReservationsCancellationsToday", "AIRoomAssignment", "CompRouting" ] }, "required": false }, { "name": "onlyOpportunities", "in": "query", "required": false, "description": "Indicates that only Opportunity blocks will be fetched.", "type": "boolean" }, { "name": "multipleHotelsSearchHotelIds", "in": "query", "type": "array", "maxItems": 4000, "collectionFormat": "multi", "description": "Hotel code.", "items": { "type": "string" }, "required": false }, { "name": "blockStatusCode", "in": "query", "type": "array", "collectionFormat": "multi", "description": "Supported Housekeeping report codes.", "uniqueItems": true, "items": { "type": "string", "enum": [ "HouseSummary", "HouseSummaryMonthToDate", "HouseSummaryYearToDate", "ReservationActivity", "ReservationActivityDaily", "ReservationActivityMonthToDate", "ReservationActivityYearToDate", "ComplimentaryOrHouseUse", "DailyProjection", "RoomStatus", "LastHourStatus", "Turndown", "InHouse", "CheckIns", "CheckOuts", "AvailableRooms", "RoomMaintenance", "ReservationStatistics", "VIPGuests", "AdvanceCheckIn", "BlockArrivals", "ReservationsCancellationsToday", "AIRoomAssignment", "CompRouting" ] }, "required": false }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" } }, "description": "Response element for block statistics.", "schema": { "$ref": "#/definitions/blockStats" } }, "204": { "description": "BlockStats not found." }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "BlockStats" ] } }, "/blocks/status": { "get": { "summary": "Get Next Block Status", "description": "Use this API to retrieve next set of statuses and their next statuses for the current status passed in the request.OperationId:getNextBlockStatus
", "operationId": "getNextBlockStatus", "parameters": [ { "name": "hotelId", "in": "query", "required": false, "type": "string", "description": "Used for codes in the OPERA Code tables. Possible values of this pattern are 1, 101, 101.EQP, or 101.EQP.X." }, { "name": "currentStatus", "in": "query", "required": false, "type": "string", "description": "Used for codes in the OPERA Code tables. Possible values of this pattern are 1, 101, 101.EQP, or 101.EQP.X." }, { "name": "includeCateringStatus", "in": "query", "required": false, "description": "Flag to include catering next status.", "type": "boolean" }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" } }, "description": "Response object for FetchNextBlockStatus operation.", "schema": { "$ref": "#/definitions/nextBlockStatus" } }, "204": { "description": "NextBlockStatus not found." }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] } }, "/blocks/{blockCode}/actions/validate": { "put": { "summary": "Validate Block Code", "description": "This API validates the block code for the following if applicable - Unique block code/ Start of inventory week/ Block code template.OperationId:putValidateBlockCode
", "operationId": "putValidateBlockCode", "parameters": [ { "name": "blockCode", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Block code" }, { "name": "blockCodeToValidate", "in": "body", "required": true, "description": "Request object for validating blocks in a train. Block is not created. The standard optional Opera Context element is also included.", "schema": { "allOf": [ { "$ref": "#/definitions/blockCodeToValidate" } ] } }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" }, "Location": { "type": "string", "description": "Location of newly created resource" } }, "description": "Response Body.", "schema": { "$ref": "#/definitions/status" } }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] } }, "/blocks/{blockId}/alternateDates": { "post": { "summary": "Create alternate dates for a Block", "description": "Use this API to create alternate dates for a block.OperationId:postAlternateDates
", "operationId": "postAlternateDates", "deprecated": true, "parameters": [ { "name": "blockId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Block Id" }, { "name": "blockAlternateDates", "in": "body", "required": true, "description": "Request object to create block alternate dates.", "schema": { "allOf": [ { "$ref": "#/definitions/blockAlternateDates" } ] } }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "201": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" }, "Location": { "type": "string", "description": "Location of newly created resource" } }, "description": "HATEOAS links which help the consumer to navigate to resources", "schema": { "$ref": "#/definitions/status" } }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] }, "put": { "summary": "Change alternate dates for a Block", "description": "Use this API to change alternate dates for a block.OperationId:putAlternateDates
", "operationId": "putAlternateDates", "deprecated": true, "parameters": [ { "name": "blockId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Block Id" }, { "name": "blockAlternateDates", "in": "body", "required": true, "description": "Request object to change block alternate dates.", "schema": { "allOf": [ { "$ref": "#/definitions/blockAlternateDates" } ] } }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" }, "Location": { "type": "string", "description": "Location of newly created resource" } }, "description": "Response Body.", "schema": { "$ref": "#/definitions/status" } }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] }, "delete": { "summary": "Delete alternate dates for a Block", "description": "Use this API to delete alternate dates for a block.OperationId:deleteAlternateDates
", "operationId": "deleteAlternateDates", "deprecated": true, "parameters": [ { "name": "blockId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Block Id" }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" }, "Location": { "type": "string", "description": "Location of newly created resource" } }, "description": "HATEOAS links which help the consumer to navigate to resources", "schema": { "$ref": "#/definitions/status" } }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] } }, "/blocks/{blockId}/attachments": { "get": { "summary": "Get Block Attachments", "description": "Use this API to retrieve block attachments.OperationId:getBlockAttachments
", "operationId": "getBlockAttachments", "parameters": [ { "name": "blockId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Block Id" }, { "name": "hotelId", "in": "query", "required": false, "description": "Hotel Code.", "type": "string" }, { "name": "attachedFileName", "in": "query", "required": false, "type": "string", "minLength": 1, "maxLength": 2000, "description": "File name used to filter final list of attachments. For example, Document.txt." }, { "name": "description", "in": "query", "required": false, "type": "string", "minLength": 1, "maxLength": 100, "description": "Description used to filter final list of attachments. For example, Offical guest ID. (This parameter does not require wildcard characters like * or % )." }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" } }, "description": "Return object to the request for information regarding block attachments.", "schema": { "$ref": "#/definitions/blockAttachments" } }, "204": { "description": "BlockAttachments not found." }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] } }, "/blocks/{blockId}/attachments/{attachId}": { "delete": { "summary": "Delete Block Attachment", "description": "Use this API remove block attachments.OperationId:deleteBlockAttachment
", "operationId": "deleteBlockAttachment", "parameters": [ { "name": "attachId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Attachment Id" }, { "name": "blockId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Block Id" }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" }, "Location": { "type": "string", "description": "Location of newly created resource" } }, "description": "HATEOAS links which help the consumer to navigate to resources", "schema": { "$ref": "#/definitions/status" } }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] } }, "/blocks/{blockId}/blockAccessExclusion": { "put": { "summary": "Set Block Exclusion information", "description": "Us this API to create/change block access exclusion information.OperationId:putBlockAccessExclusion
", "operationId": "putBlockAccessExclusion", "parameters": [ { "name": "blockId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Block Id" }, { "name": "blockAccessExclusion", "in": "body", "required": true, "description": "Request object for creating access exclusion permissions for a block.", "schema": { "allOf": [ { "$ref": "#/definitions/blockAccessExclusion" } ] } }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" }, "Location": { "type": "string", "description": "Location of newly created resource" } }, "description": "Response Body.", "schema": { "$ref": "#/definitions/status" } }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] }, "delete": { "summary": "Delete Block access exclusion", "description": "Use this API to delete block access exclusionOperationId:deleteBlockAccessExclusion
", "operationId": "deleteBlockAccessExclusion", "parameters": [ { "name": "blockId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Block Id" }, { "name": "allowCancelReservation", "in": "query", "required": false, "description": "Allow to cancel a reservation under this access exclusion.", "type": "boolean" }, { "name": "allowCreateReservation", "in": "query", "required": false, "description": "Allow to create a reservation under this access exclusion.", "type": "boolean" }, { "name": "allowModifyReservation", "in": "query", "required": false, "description": "Allow to modify a reservation under this access exclusion.", "type": "boolean" }, { "name": "excludeFromAvailability", "in": "query", "required": false, "description": "Exclude a specific rate from availability", "type": "boolean" }, { "name": "inactive", "in": "query", "required": false, "description": "The rate access exclusion is inactive", "type": "boolean" }, { "name": "sourceType", "in": "query", "required": false, "description": "The type of source (CRO or Hotel code) for which the rate access exclusion is set.", "type": "string" }, { "name": "sourceValue", "in": "query", "required": false, "description": "CRO or Hotel code value.", "type": "string" }, { "name": "hotelId", "in": "query", "required": false, "type": "string", "description": "Used for codes in the OPERA Code tables. Possible values of this pattern are 1, 101, 101.EQP, or 101.EQP.X." }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" }, "Location": { "type": "string", "description": "Location of newly created resource" } }, "description": "HATEOAS links which help the consumer to navigate to resources", "schema": { "$ref": "#/definitions/status" } }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] } }, "/blocks/{blockId}/blockCutOff": { "put": { "summary": "Block Cut Off", "description": "This API cuts off block allocation effective current date.OperationId:putBlockCutoff
", "operationId": "putBlockCutoff", "parameters": [ { "name": "blockId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Block Id" }, { "name": "blockStatus", "in": "body", "required": true, "description": "Request object for cutoffBlock operation.", "schema": { "allOf": [ { "$ref": "#/definitions/blockStatus" } ] } }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" }, "Location": { "type": "string", "description": "Location of newly created resource" } }, "description": "Response Body.", "schema": { "$ref": "#/definitions/status" } }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] } }, "/blocks/{blockId}/owners": { "get": { "summary": "Get Block owners", "description": "Use this API to retrieve block owners.OperationId:getBlockOwners
", "operationId": "getBlockOwners", "parameters": [ { "name": "blockId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Block Id" }, { "name": "hotelId", "in": "query", "required": false, "description": "Hotel code of the business block.", "type": "string" }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" } }, "description": "Response object that returns all sales manager owners associated with a business block.", "schema": { "$ref": "#/definitions/blockOwners" } }, "204": { "description": "BlockOwners not found." }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] }, "post": { "summary": "Assign a Block owner", "description": "Use this API to assign block owners.OperationId:postBlockOwners
", "operationId": "postBlockOwners", "deprecated": true, "parameters": [ { "name": "blockId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Block Id" }, { "name": "blockOwnersToAssign", "in": "body", "required": true, "description": "Request object to assign block owners.", "schema": { "allOf": [ { "$ref": "#/definitions/blockOwnersToAssign" } ] } }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "201": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" }, "Location": { "type": "string", "description": "Location of newly created resource" } }, "description": "HATEOAS links which help the consumer to navigate to resources", "schema": { "$ref": "#/definitions/status" } }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] }, "delete": { "summary": "Delete a Block owner", "description": "Use this API to delete a block owner.OperationId:deleteBlockOwners
", "operationId": "deleteBlockOwners", "deprecated": true, "parameters": [ { "name": "blockId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Block Id" }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" }, "Location": { "type": "string", "description": "Location of newly created resource" } }, "description": "HATEOAS links which help the consumer to navigate to resources", "schema": { "$ref": "#/definitions/status" } }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] }, "put": { "summary": "Change Block owners", "description": "Use this API to change block owners.OperationId:putBlockOwners
", "operationId": "putBlockOwners", "deprecated": true, "parameters": [ { "name": "blockId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Block Id" }, { "name": "blockOwnersToChange", "in": "body", "required": true, "description": "Request object to change block owners.", "schema": { "allOf": [ { "$ref": "#/definitions/blockOwnersToChange" } ] } }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" }, "Location": { "type": "string", "description": "Location of newly created resource" } }, "description": "Response Body.", "schema": { "$ref": "#/definitions/status" } }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] } }, "/blocks/{blockId}/rates": { "put": { "summary": "Refreshes Block rates", "description": "Use this API to refreshes block rates.OperationId:putBlockRates
", "operationId": "putBlockRates", "parameters": [ { "name": "blockId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Block Id" }, { "name": "blockStatus", "in": "body", "required": true, "description": "Request object of refresh block rates operation.", "schema": { "allOf": [ { "$ref": "#/definitions/blockStatus" } ] } }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" }, "Location": { "type": "string", "description": "Location of newly created resource" } }, "description": "Response Body.", "schema": { "$ref": "#/definitions/status" } }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] } }, "/blocks/{blockId}/reservations": { "put": { "summary": "Change Block reservations", "description": "Use this API to make changes to block reservations.OperationId:putBlockReservations
", "operationId": "putBlockReservations", "parameters": [ { "name": "blockId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Block Id" }, { "name": "blockReservationsToChange", "in": "body", "required": true, "description": "The request object to implement batch changes to block reservations based upon changes made to a reference reservation.", "schema": { "allOf": [ { "$ref": "#/definitions/blockReservationsToChange" } ] } }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" }, "Location": { "type": "string", "description": "Location of newly created resource" } }, "description": "The response object that contains the reservations that were changed for a block along with the status of each change.", "schema": { "$ref": "#/definitions/changedBlockReservations" }, "examples": { "application/json": { "criteria": { "blockId": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "referenceReservation": { "preChangeSnapshot": { "hotelReservation": { "reservationIdList": [ { "id": "string", "type": "string" } ], "associatedReservations": { "parentReservation": { "id": "string", "type": "string" }, "originalMultiRoomRes": { "id": "string", "type": "string" } }, "sourceOfSale": { "sourceType": "string", "sourceCode": "string" }, "roomStay": { "roomRates": [ { "total": { "taxes": { "tax": [ { "description": "string", "type": "Inclusive", "code": "string", "amount": 0, "currencyCode": "string" } ], "amount": 0, "currencyCode": "string" }, "fees": { "fee": [ { "description": "string", "type": "Inclusive", "code": "string", "amount": 0, "currencyCode": "string" } ], "amount": 0, "currencyCode": "string" }, "description": "string", "amountBeforeTax": 0, "amountAfterTax": 0, "currencyCode": "string", "currencySymbol": "string", "decimalPlaces": 0, "code": "string", "rateOverride": true }, "totalPoints": { "awardsType": "string", "points": 0 }, "rates": { "rate": [ { "base": { "taxes": { "tax": [ { "description": "string", "type": "Inclusive", "code": "string", "amount": 0, "currencyCode": "string" } ], "amount": 0, "currencyCode": "string" }, "fees": { "fee": [ { "description": "string", "type": "Inclusive", "code": "string", "amount": 0, "currencyCode": "string" } ], "amount": 0, "currencyCode": "string" }, "description": "string", "amountBeforeTax": 0, "amountAfterTax": 0, "currencyCode": "string", "currencySymbol": "string", "decimalPlaces": 0, "code": "string", "rateOverride": true }, "additionalGuestAmounts": [ { "amount": { "taxes": { "tax": [ { "description": "string", "type": "Inclusive", "code": "string", "amount": 0, "currencyCode": "string" } ], "amount": 0, "currencyCode": "string" }, "fees": { "fee": [ { "description": "string", "type": "Inclusive", "code": "string", "amount": 0, "currencyCode": "string" } ], "amount": 0, "currencyCode": "string" }, "description": "string", "amountBeforeTax": 0, "amountAfterTax": 0, "currencyCode": "string", "currencySymbol": "string", "decimalPlaces": 0, "code": "string", "rateOverride": true }, "ageQualifyingCode": "ADULT" } ], "discount": { "discountReason": "string", "percent": 0, "amount": 0, "currencyCode": "string", "discountCode": "string" }, "shareRatePercentage": 0, "shareDistributionInstruction": "Full", "total": { "taxes": { "tax": [ { "description": "string", "type": "Inclusive", "code": "string", "amount": 0, "currencyCode": "string" } ], "amount": 0, "currencyCode": "string" }, "fees": { "fee": [ { "description": "string", "type": "Inclusive", "code": "string", "amount": 0, "currencyCode": "string" } ], "amount": 0, "currencyCode": "string" }, "description": "string", "amountBeforeTax": 0, "amountAfterTax": 0, "currencyCode": "string", "currencySymbol": "string", "decimalPlaces": 0, "code": "string", "rateOverride": true }, "requiredPoints": { "awardsType": "string", "points": 0 }, "effectiveRate": { "taxes": { "tax": [ { "description": "string", "type": "Inclusive", "code": "string", "amount": 0, "currencyCode": "string" } ], "amount": 0, "currencyCode": "string" }, "fees": { "fee": [ { "description": "string", "type": "Inclusive", "code": "string", "amount": 0, "currencyCode": "string" } ], "amount": 0, "currencyCode": "string" }, "description": "string", "amountBeforeTax": 0, "amountAfterTax": 0, "currencyCode": "string", "currencySymbol": "string", "decimalPlaces": 0, "code": "string", "rateOverride": true }, "start": "2020-07-13", "end": "2020-07-13" } ], "rateRange": [ { "base": [ { "taxes": { "tax": [ { "description": "string", "type": "Inclusive", "code": "string", "amount": 0, "currencyCode": "string" } ], "amount": 0, "currencyCode": "string" }, "fees": { "fee": [ { "description": "string", "type": "Inclusive", "code": "string", "amount": 0, "currencyCode": "string" } ], "amount": 0, "currencyCode": "string" }, "description": "string", "amountBeforeTax": 0, "amountAfterTax": 0, "currencyCode": "string", "currencySymbol": "string", "decimalPlaces": 0, "code": "string", "rateOverride": true } ], "rateChange": true } ] }, "packages": [ { "amount": { "amount": 0, "currencyCode": "string" }, "allowance": { "amount": 0, "currencyCode": "string" }, "description": [ "string" ], "startDate": "2020-07-13", "endDate": "2020-07-13", "packageCode": "string", "calculationRule": "string", "postingRhythm": "string", "quantity": 0, "includedInRate": true, "addRateSeprateLine": true, "addRateCombinedLine": true, "startTime": "string", "endTime": "string", "sellSeparate": true } ], "stayProfiles": [ { "profileIdList": [ { "id": "string", "type": "string" } ], "profile": { "customer": { "personName": [ { "givenName": "string", "surname": "string", "nameType": "Primary", "language": "string", "externalSystem": "string" } ], "anonymization": { "anonymizationStatus": "Requested", "anonymizationDate": "2020-07-13T15:08:14.562Z" }, "businessTitle": "string", "language": "string", "privateProfile": true, "blacklist": true }, "company": { "companyName": "string" }, "addresses": { "addressInfo": [ { "address": { "addressLine": [ "string" ], "cityName": "string", "postalCode": "string", "county": "string", "state": "string", "country": { "value": "string", "code": "string" }, "type": "string" }, "id": "string", "type": "string" } ], "hasMore": true, "totalResults": 0, "count": 0 }, "telephones": { "telephoneInfo": [ { "telephone": { "phoneNumber": "string" } } ], "hasMore": true, "totalResults": 0, "count": 0 }, "emails": { "emailInfo": [ { "email": { "emailAddress": "string", "type": "string" } } ], "hasMore": true, "totalResults": 0, "count": 0 }, "uRLs": { "uRLInfo": [ { "url": { "value": "string", "type": "string" } } ], "hasMore": true, "totalResults": 0, "count": 0 }, "relationships": { "relationship": [ { "relationshipProfile": { "company": { "companyName": "string" }, "profileIdList": [ { "id": "string", "type": "string" } ], "profileType": "Guest" }, "relation": "string", "targetRelation": "string" } ], "hasMore": true, "totalResults": 0, "count": 0 }, "profileType": "Guest" }, "reservationProfileType": "Company" } ], "guestCounts": { "childAges": [ { "age": 0 } ], "childBuckets": { "bucket1Count": 0, "bucket2Count": 0, "bucket3Count": 0, "bucket4Count": 0, "bucket5Count": 0 }, "adults": 0, "children": 0 }, "taxFreeGuestCounts": { "childAges": [ { "age": 0 } ], "childBuckets": { "bucket1Count": 0, "bucket2Count": 0, "bucket3Count": 0, "bucket4Count": 0, "bucket5Count": 0 }, "adults": 0, "children": 0 }, "awards": { "membershipNo": { "id": "string", "type": "string" }, "awardVouchers": { "awardVoucher": [ { "awardCode": "string", "voucherNo": "string" } ] }, "originalRoomType": "string", "upgradeRoomType": "string" }, "foreignExchange": { "type": "string", "effectiveDate": "2020-07-13" }, "reservationBlock": { "blockIdList": [ { "id": "string", "type": "string" } ], "blockName": "string", "hotelId": "string" }, "roomRateInfo": "string", "mealPlans": [ { "code": "string", "included": true, "breakfastIncluded": true, "lunchIncluded": true, "dinnerIncluded": true } ], "roomType": "string", "ratePlanCode": "string", "promotionCode": "string", "start": "2020-07-13", "end": "2020-07-13", "availability": "Available", "suppressRate": true, "marketCode": "string", "marketCodeDescription": "string", "sourceCode": "string", "sourceCodeDescription": "string", "numberOfUnits": 0, "roomId": "string", "pseudoRoom": true, "roomTypeCharged": "string", "commissionCode": "string", "commissionable": true, "houseUseOnly": true, "complimentary": true, "inventoryLender": "string", "fixedRate": true, "barRanking": 0, "rateGroup": "string", "discountAllowed": true, "bogoDiscount": true, "rateLevel": "string", "commissionPercentage": 0, "commissionAmount": 0, "credentialsRequired": true, "taxIncluded": true, "rateDescription": "string" } ], "guestCounts": { "childAges": [ { "age": 0 } ], "childBuckets": { "bucket1Count": 0, "bucket2Count": 0, "bucket3Count": 0, "bucket4Count": 0, "bucket5Count": 0 }, "adults": 0, "children": 0 }, "arrivalDate": "2020-07-13", "departureDate": "2020-07-13", "expectedTimes": { "reservationExpectedArrivalTime": "2020-07-13T15:08:14.562Z", "reservationExpectedDepartureTime": "2020-07-13T15:08:14.562Z" }, "originalTimeSpan": { "startDate": "2020-07-13", "endDate": "2020-07-13", "duration": "string" }, "guarantee": { "guaranteeCode": "string", "shortDescription": "string", "onHold": true }, "promotion": { "promotionCode": "string", "promotionName": "string", "couponCode": "string" }, "suiteWith": "string", "total": { "taxes": { "tax": [ { "description": "string", "type": "Inclusive", "code": "string", "amount": 0, "currencyCode": "string" } ], "amount": 0, "currencyCode": "string" }, "fees": { "fee": [ { "description": "string", "type": "Inclusive", "code": "string", "amount": 0, "currencyCode": "string" } ], "amount": 0, "currencyCode": "string" }, "description": "string", "amountBeforeTax": 0, "amountAfterTax": 0, "currencyCode": "string", "currencySymbol": "string", "decimalPlaces": 0, "code": "string", "rateOverride": true }, "totalPoints": { "awardsType": "string", "points": 0 }, "multiValueAttrs": [ "string" ], "upsellInfo": { "originalInfo": { "rateCode": "string", "totalAmount": { "amount": 0, "currencyCode": "string" }, "roomType": { "code": "string", "description": "string" }, "nights": 0 }, "upsellInfo": { "totalUpsellCharge": { "amount": 0, "currencyCode": "string" }, "totalUpsellMoneyAmount": { "amount": 0, "currencyCode": "string" }, "firstNightUpsellAmount": { "amount": 0, "currencyCode": "string" }, "firstNightUpsellCharge": { "amount": 0, "currencyCode": "string" }, "totalUpsellPoints": 0, "totalActualRateAmount": { "amount": 0, "currencyCode": "string" }, "roomType": { "code": "string", "description": "string" }, "roomLongDescription": "string", "ruleId": 0, "ruleCode": "string", "ruleDescription": "string", "percentageSavings": 0, "upsellDate": "2020-07-13", "upsellUser": "string" } }, "mobileNotifications": { "roomReady": "Pending", "keyReady": "Pending", "checkoutMessageReceived": true, "requiresAction": true, "errorMessage": "string" }, "roomNumberLocked": true, "printRate": true, "primaryShareType": "Primary", "remoteCheckInAllowed": true, "bookingMedium": "string", "bookingMediumDescription": "string" }, "reservationGuests": [ { "profileInfo": { "profileIdList": [ { "id": "string", "type": "string" } ], "profile": { "customer": { "personName": [ { "givenName": "string", "surname": "string", "nameType": "Primary", "language": "string", "externalSystem": "string" } ], "anonymization": { "anonymizationStatus": "Requested", "anonymizationDate": "2020-07-13T15:08:14.563Z" }, "businessTitle": "string", "language": "string", "privateProfile": true, "blacklist": true }, "company": { "companyName": "string" }, "addresses": { "addressInfo": [ { "address": { "addressLine": [ "string" ], "cityName": "string", "postalCode": "string", "county": "string", "state": "string", "country": { "value": "string", "code": "string" }, "type": "string" }, "id": "string", "type": "string" } ], "hasMore": true, "totalResults": 0, "count": 0 }, "telephones": { "telephoneInfo": [ { "telephone": { "phoneNumber": "string" } } ], "hasMore": true, "totalResults": 0, "count": 0 }, "emails": { "emailInfo": [ { "email": { "emailAddress": "string", "type": "string" } } ], "hasMore": true, "totalResults": 0, "count": 0 }, "uRLs": { "uRLInfo": [ { "url": { "value": "string", "type": "string" } } ], "hasMore": true, "totalResults": 0, "count": 0 }, "relationships": { "relationship": [ { "relationshipProfile": { "company": { "companyName": "string" }, "profileIdList": [ { "id": "string", "type": "string" } ], "profileType": "Guest" }, "relation": "string", "targetRelation": "string" } ], "hasMore": true, "totalResults": 0, "count": 0 }, "profileType": "Guest" }, "profileCashieringDetail": { "paymentMethod": { "code": "string", "description": "string" }, "eCommerceId": { "id": "string", "type": "string" }, "routingInstructions": { "transactionCodes": [ { "description": "string", "transactionGroup": "string", "transactionSubGroup": "string", "universalProductCode": "string", "routingInstructionsId": 0, "articles": [ { "description": "string", "transactionCode": "string", "price": { "amount": 0, "currencyCode": "string" }, "postIt": { "availableForPostIt": true }, "universalProductCode": "string", "hotelId": "string", "articleCode": "string", "inactive": true, "orderSequence": 0 } ], "transactionCode": "string", "hotelId": "string", "printTrxReceipt": true } ], "billingInstructions": [ { "desc": "string", "routingInstructionsId": 0, "billingCode": "string", "hotelId": "string" } ], "autoPopulateRouting": true }, "taxType": "string", "fiscalGuestType": "string", "hotelId": "string" }, "registrationCardNo": "string" }, "arrivalTransport": { "comments": "string", "type": "string", "transportCode": "string", "carrierCode": "string", "stationCode": "string", "dateTime": "2020-07-13T15:08:14.563Z", "transportationReqd": true }, "departureTransport": { "comments": "string", "type": "string", "transportCode": "string", "carrierCode": "string", "stationCode": "string", "dateTime": "2020-07-13T15:08:14.563Z", "transportationReqd": true }, "visaInfo": { "visaIssueDate": "2020-07-13", "visaExpiryDate": "2020-07-13", "visaNumber": "string" }, "reservationGuestRPH": "string", "primary": true } ], "sharedGuests": [ { "profileId": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "firstName": "string", "lastName": "string", "fullName": "string" } ], "additionalGuestInfo": { "portOfEntry": "string", "dateOfEntry": "2020-07-13", "nextDestination": "string", "preferredRoomType": "string", "lastStay": { "lastStayDate": "2020-07-13", "lastStayRoom": "string", "lastStayRate": { "amount": 0, "currencyCode": "string" }, "totalStay": 0 }, "purposeOfStay": "string", "guestClassification": "string", "guestStatus": "string" }, "reservationProfiles": { "reservationProfile": [ { "profileIdList": [ { "id": "string", "type": "string" } ], "profile": { "customer": { "personName": [ { "givenName": "string", "surname": "string", "nameType": "Primary", "language": "string", "externalSystem": "string" } ], "anonymization": { "anonymizationStatus": "Requested", "anonymizationDate": "2020-07-13T15:08:14.563Z" }, "businessTitle": "string", "language": "string", "privateProfile": true, "blacklist": true }, "company": { "companyName": "string" }, "addresses": { "addressInfo": [ { "address": { "addressLine": [ "string" ], "cityName": "string", "postalCode": "string", "county": "string", "state": "string", "country": { "value": "string", "code": "string" }, "type": "string" }, "id": "string", "type": "string" } ], "hasMore": true, "totalResults": 0, "count": 0 }, "telephones": { "telephoneInfo": [ { "telephone": { "phoneNumber": "string" } } ], "hasMore": true, "totalResults": 0, "count": 0 }, "emails": { "emailInfo": [ { "email": { "emailAddress": "string", "type": "string" } } ], "hasMore": true, "totalResults": 0, "count": 0 }, "uRLs": { "uRLInfo": [ { "url": { "value": "string", "type": "string" } } ], "hasMore": true, "totalResults": 0, "count": 0 }, "relationships": { "relationship": [ { "relationshipProfile": { "company": { "companyName": "string" }, "profileIdList": [ { "id": "string", "type": "string" } ], "profileType": "Guest" }, "relation": "string", "targetRelation": "string" } ], "hasMore": true, "totalResults": 0, "count": 0 }, "profileType": "Guest" }, "reservationProfileType": "Company" } ], "commissionPayoutTo": "TravelAgent" }, "reservationCommunication": { "telephones": { "telephoneInfo": [ { "telephone": { "phoneNumber": "string" } } ], "hasMore": true, "totalResults": 0, "count": 0 }, "emails": { "emailInfo": [ { "email": { "emailAddress": "string", "type": "string" } } ], "hasMore": true, "totalResults": 0, "count": 0 } }, "reservationAwards": [ { "awardCode": "string", "awardType": "Paper", "description": "string", "certificateNo": "string", "masterCertificiateNo": "string", "membershipNo": "string", "hotelId": "string", "hotelCategory": "string", "externalHotelCode": "string", "externalConfirmationNo": "string", "categoryValid": true, "reservationCertificateType": "Reward", "rewardCertificateType": "Regular", "status": "Available", "expirationDate": "2020-07-13", "gift": true, "upgrade": true, "package": true, "instantlyRedeemable": true, "paidUpgrade": true, "detailedCertificate": true, "nights": 0, "sourceType": "string", "points": 0, "fBAInfo": { "status": "Ordered", "monetaryValue": 0, "amount": 0, "postedAmount": 0, "reimbursedAmount": 0, "postingDateTime": "2020-07-13", "postingBusinessDate": "2020-07-13", "settlementDateTime": "2020-07-13", "settlementBusinessDate": "2020-07-13", "reimbursementDateTime": "2020-07-13", "reimbursementBusinessDate": "2020-07-13", "fbaBillGenDate": "2020-07-13", "currencyCode": "string", "currencySymbol": "string", "decimalPlaces": 0, "flexibleBenefitAward": true, "posted": true, "settled": true, "reimbursed": true, "resettleAllowed": true, "reimburseAllowed": true, "orphanCertificate": true }, "reservationId": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "profileId": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "quantity": 0, "displaySequence": 0, "createDateTime": "2020-07-13T15:08:14.564Z", "creatorId": "string", "lastModifyDateTime": "2020-07-13T15:08:14.564Z", "lastModifierId": "string", "purgeDate": "2020-07-13" } ], "trackItItems": [ { "hotelId": "string", "trackItId": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "group": "Parcel", "ticketNumber": "string", "referenceNumber": "string", "type": { "type": { "code": "string", "description": "string" }, "url": { "value": "string", "type": "string" } }, "action": { "trackItAction": { "code": "string", "description": "string" }, "status": "Open" }, "location": { "code": "string", "description": "string" }, "quantity": 0, "followUpDate": "2020-07-13", "description": "string", "assignedTo": { "hotel": { "code": "string", "description": "string" }, "appUser": "string", "lDAPUser": "string", "actAs": "string", "actAt": "string", "userDefaultLanguage": "string", "appUserId": { "id": "string", "type": "string" }, "cashierId": 0, "cashierTitle": "string", "department": "string", "departmentLocation": "string", "salesRepCode": "string", "expiryDate": "2020-07-13", "disabledUntil": "2020-07-13", "passwordChangeDate": "2020-07-13", "userInfo": { "personName": { "givenName": "string", "surname": "string", "nameType": "Primary", "language": "string", "externalSystem": "string" }, "profileId": { "id": "string", "type": "string" }, "addressInfo": { "address": { "addressLine": [ "string" ], "cityName": "string", "postalCode": "string", "county": "string", "state": "string", "country": { "value": "string", "code": "string" }, "type": "string" }, "id": "string", "type": "string" }, "emailInfo": { "email": { "emailAddress": "string", "type": "string" } }, "phoneInfo": { "telephone": { "phoneNumber": "string" } }, "department": { "code": "string", "description": "string" }, "gender": "Male", "birthDate": "2020-07-13", "birthDateMasked": "string" }, "userSessionInfo": { "businessDate": "2020-07-13", "systemDate": "2020-07-13", "terminal": "string", "runningApp": "string", "shareProfiles": true, "hotel": { "code": "string", "description": "string" }, "cro": { "code": "string", "description": "string" }, "chain": "string", "cROCountryCode": "string", "sessionDefaults": { "dbDateFormat": "string", "oracleDateFormat": "string", "oracleTimeFormat": "string", "javaDateFormat": "string", "javaTimeFormat": "string", "currencyCode": "string", "currencyFormat": "string", "defaultLanguage": "string", "baseLanguage": "string" }, "parameters": [ { "parameterName": "string", "parameterValue": "string" } ] }, "attendantInfo": { "attendantId": "string", "hotelId": "string" } }, "reservationInfo": { "reservationIdList": [ { "id": "string", "type": "string" } ], "timeSpan": { "startDate": "2020-07-13", "endDate": "2020-07-13", "duration": "string" }, "guestInfo": { "membership": { "membershipId": 0, "programCode": "string", "bonusCode": "string", "membershipTypeDesc": "string", "membershipLevelDesc": "string", "accountId": "string", "membershipLevel": "string", "playerRanking": 0 }, "namePrefix": "string", "givenName": "string", "alternateGivenName": "string", "middleName": "string", "surnamePrefix": "string", "surname": "string", "alternateSurname": "string", "nameSuffix": "string", "nameTitle": "string", "fullName": "string", "alternateFullName": "string", "phoneNumber": "string", "email": "string", "birthDate": "2020-07-13", "language": "string", "nationality": { "value": "string", "code": "string" }, "vip": { "vipCode": "string", "vipDescription": "string" }, "address": { "cityName": "string", "postalCode": "string", "state": "string", "country": { "value": "string", "code": "string" }, "streetAddress": "string", "excludeNoCity": true }, "anonymization": { "anonymizationStatus": "Requested", "anonymizationDate": "2020-07-13T15:08:14.564Z" }, "accompanyGuests": [ { "firstName": "string", "lastName": "string", "fullName": "string", "registrationCardNo": "string", "profileIdList": [ { "id": "string", "type": "string" } ] } ], "externalInfo": { "givenName": "string", "surname": "string" }, "guestLastStayInfo": { "lastStayDate": "2020-07-13", "lastStayRoom": "string", "lastStayRate": { "amount": 0, "currencyCode": "string" }, "totalStay": 0 }, "guestRestrictedCode": "string", "guestRestrictedReasonDesc": "string", "guestRestricted": true, "registrationCardNo": "string", "nameType": "Guest", "id": "string", "type": "string" }, "roomType": "string", "roomId": "string", "roomStatus": "Clean", "guarantee": { "guaranteeCode": "string", "shortDescription": "string", "onHold": true }, "reservationStatus": "Reserved", "computedReservationStatus": "Reserved" }, "trackItLogList": [ { "hotelId": "string", "trackItLogId": { "id": "string", "type": "string" }, "trackItId": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "type": "string", "description": "string", "businessDate": "2020-07-13", "logUserId": 0, "logUserName": "string", "logDate": "2020-07-13T15:08:14.565Z" } ] } ], "shares": { "reservation": [ null ], "hasMore": true, "totalResults": 0, "count": 0 }, "locators": [ { "dateSpan": { "start": "2020-07-13", "end": "2020-07-13" }, "timeSpan": { "startDateTime": "2020-07-13T15:08:14.565Z", "endDateTime": "2020-07-13T15:08:14.565Z" }, "locatorText": "string", "locatorOn": "2020-07-13T15:08:14.565Z", "locatorBy": "string", "locatorId": { "id": "string", "type": "string" } } ], "attachments": [ { "fileName": "string", "fileSize": 0, "description": "string", "global": true, "hotelId": "string", "history": { "createDateTime": "2020-07-13T15:08:14.565Z", "creatorId": "string", "lastModifyDateTime": "2020-07-13T15:08:14.565Z", "lastModifierId": "string" }, "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 } ], "webRegistrationCards": [ { "fileName": "string", "fileSize": 0, "description": "string", "global": true, "hotelId": "string", "history": { "createDateTime": "2020-07-13T15:08:14.565Z", "creatorId": "string", "lastModifyDateTime": "2020-07-13T15:08:14.565Z", "lastModifierId": "string" }, "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 } ], "serviceRequests": [ { "serviceRequestId": { "id": "string", "type": "string" }, "hotelId": "string", "code": "string", "status": "Open", "priority": "string", "department": { "code": "string", "description": "string" }, "reservationIdList": [ { "id": "string", "type": "string" } ], "profileId": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "guestName": "string", "room": "string", "openDate": "2020-07-13T15:08:14.566Z", "guaranteedBy": "string", "comment": "string", "action": "string", "guestContactMethod": "string", "completionDate": "2020-07-13T15:08:14.566Z", "closedDate": "2020-07-13T15:08:14.566Z", "closedBy": "string", "closeDescription": "string" } ], "reservationActivities": [ { "profileId": [ { "id": "string", "type": "string" } ], "personName": { "givenName": "string", "surname": "string", "nameType": "Primary", "language": "string", "externalSystem": "string" }, "address": { "addressLine": [ "string" ], "cityName": "string", "postalCode": "string", "county": "string", "state": "string", "country": { "value": "string", "code": "string" }, "type": "string" }, "activities": [ { "activityIds": [ { "id": "string", "type": "string" } ], "type": "Golf", "location": "string", "name": [ "string" ], "numberOfPersons": 0, "timeSpan": { "startDateTime": "2020-07-13T15:08:14.566Z", "endDateTime": "2020-07-13T15:08:14.566Z" }, "duration": { "startDateTime": "2020-07-13T15:08:14.566Z", "endDateTime": "2020-07-13T15:08:14.566Z" }, "description": [ "string" ], "note": [ "string" ], "groupCode": "string", "amount": { "amount": 0, "currencyCode": "string" }, "deposit": { "amount": 0, "currencyCode": "string", "collectedBy": "Vendor" }, "inactiveDate": "2020-07-13T15:08:14.566Z", "participants": { "participant": [ { "givenName": "string", "surname": "string", "nameType": "Primary", "language": "string", "externalSystem": "string" } ] }, "uRLLink": "string", "extensions": { "activitySpecific": [ "string" ] }, "status": "Reserved", "link": true } ], "hotelId": "string" } ], "scheduledActivities": [ { "profileId": [ { "id": "string", "type": "string" } ], "personName": { "givenName": "string", "surname": "string", "nameType": "Primary", "language": "string", "externalSystem": "string" }, "address": { "addressLine": [ "string" ], "cityName": "string", "postalCode": "string", "county": "string", "state": "string", "country": { "value": "string", "code": "string" }, "type": "string" }, "activities": [ { "activityIds": [ { "id": "string", "type": "string" } ], "type": "Golf", "location": "string", "name": [ "string" ], "numberOfPersons": 0, "timeSpan": { "startDateTime": "2020-07-13T15:08:14.566Z", "endDateTime": "2020-07-13T15:08:14.566Z" }, "duration": { "startDateTime": "2020-07-13T15:08:14.566Z", "endDateTime": "2020-07-13T15:08:14.566Z" }, "description": [ "string" ], "note": [ "string" ], "groupCode": "string", "amount": { "amount": 0, "currencyCode": "string" }, "deposit": { "amount": 0, "currencyCode": "string", "collectedBy": "Vendor" }, "inactiveDate": "2020-07-13T15:08:14.566Z", "participants": { "participant": [ { "givenName": "string", "surname": "string", "nameType": "Primary", "language": "string", "externalSystem": "string" } ] }, "uRLLink": "string", "extensions": { "activitySpecific": [ "string" ] }, "status": "Reserved", "link": true } ], "hotelId": "string" } ], "prepaidCards": [ { "hotelId": "string", "reservationId": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "name": "string", "firstName": "string", "profileId": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "cardNo": "string", "cardNumberMasked": "string", "amount": { "amount": 0, "currencyCode": "string" }, "pinCode": "string", "interfaceId": { "id": "string", "type": "string" }, "cardDetails": { "initialLoadDate": "2020-07-13", "activateDate": "2020-07-13", "initialCreditTotal": { "amount": 0, "currencyCode": "string" }, "creditTotal": { "amount": 0, "currencyCode": "string" }, "debitTotal": { "amount": 0, "currencyCode": "string" }, "reservedTotal": { "amount": 0, "currencyCode": "string" }, "balanceTotal": { "amount": 0, "currencyCode": "string" }, "validUntilDate": "2020-07-13", "expiredDate": "2020-07-13", "transactions": [ { "transactionType": "Activate", "transactionDate": "2020-07-13", "transactionNo": 0, "amount": { "amount": 0, "currencyCode": "string" }, "createDateTime": "2020-07-13T15:08:14.566Z", "creatorId": "string", "lastModifyDateTime": "2020-07-13T15:08:14.566Z", "lastModifierId": "string", "purgeDate": "2020-07-13" } ] }, "createDateTime": "2020-07-13T15:08:14.566Z", "creatorId": "string", "lastModifyDateTime": "2020-07-13T15:08:14.566Z", "lastModifierId": "string", "purgeDate": "2020-07-13", "giftCard": true } ], "profileAwards": [ { "awardCode": "string", "awardType": "Paper", "description": "string", "certificateNo": "string", "masterCertificiateNo": "string", "membershipNo": "string", "hotelId": "string", "hotelCategory": "string", "externalHotelCode": "string", "externalConfirmationNo": "string", "categoryValid": true, "reservationCertificateType": "Reward", "rewardCertificateType": "Regular", "status": "Available", "expirationDate": "2020-07-13", "gift": true, "upgrade": true, "package": true, "instantlyRedeemable": true, "paidUpgrade": true, "detailedCertificate": true, "nights": 0, "sourceType": "string", "points": 0, "fBAInfo": { "status": "Ordered", "monetaryValue": 0, "amount": 0, "postedAmount": 0, "reimbursedAmount": 0, "postingDateTime": "2020-07-13", "postingBusinessDate": "2020-07-13", "settlementDateTime": "2020-07-13", "settlementBusinessDate": "2020-07-13", "reimbursementDateTime": "2020-07-13", "reimbursementBusinessDate": "2020-07-13", "fbaBillGenDate": "2020-07-13", "currencyCode": "string", "currencySymbol": "string", "decimalPlaces": 0, "flexibleBenefitAward": true, "posted": true, "settled": true, "reimbursed": true, "resettleAllowed": true, "reimburseAllowed": true, "orphanCertificate": true }, "reservationId": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "profileId": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "quantity": 0, "displaySequence": 0, "createDateTime": "2020-07-13T15:08:14.567Z", "creatorId": "string", "lastModifyDateTime": "2020-07-13T15:08:14.567Z", "lastModifierId": "string", "purgeDate": "2020-07-13" } ], "reservationPackages": [ { "packageHeaderType": { "primaryDetails": { "description": "string" } }, "scheduleList": [ { "consumptionDate": "2020-07-13", "unitPrice": 0, "computedResvPrice": 0, "unitAllowance": 0, "reservationDate": "2020-07-13", "originalUnitPrice": 0, "originalUnitAllowance": 0 } ], "newTimeSpan": { "startDate": "2020-07-13", "endDate": "2020-07-13", "duration": "string" }, "consumptionDetails": { "defaultQuantity": 0 }, "packageCode": "string", "ratePlanCode": "string", "startDate": "2020-07-13", "endDate": "2020-07-13", "packageGroup": "string", "source": "Reservation", "awardCode": "string", "points": 0 } ], "inventoryItems": { "item": [ { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0, "item": { "description": "string", "code": "string", "name": "string", "sellSeparate": true, "requiredForBooking": true }, "quantity": 0, "timeSpan": { "start": "2020-07-13", "end": "2020-07-13" }, "source": { "ratePlanCode": "string", "packageCode": "string", "blockId": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "welcomeOffer": true } } ], "itemClassCode": "string" }, "comments": [ { "comment": { "text": { "value": "string", "language": "string" }, "image": "string", "url": "string", "commentTitle": "string", "type": "string", "internal": true, "hotelId": "string" } } ], "guestComments": [ { "comment": { "text": { "value": "string", "language": "string" }, "image": "string", "url": "string", "commentTitle": "string", "type": "string", "internal": true, "hotelId": "string" } } ], "guestMemberships": [ { "comment": { "text": { "value": "string", "language": "string" }, "image": "string", "url": "string" }, "newMembershipNumber": "string", "nameOnCard": "string", "programDescription": "string", "membershipLevel": "string", "membershipLevelDescription": "string", "membershipClass": "string", "earningPreference": "Points", "inactive": true, "benefits": [ { "code": "string", "message": "string", "inactive": true } ], "tierAdministration": "Disabled", "downgrade": "Grace", "reIssueNewCard": "Pending", "excludeFromBatch": true, "upgradeDescription": "string", "downgradeDescription": "string", "rating": "string", "membershipEnrollmentCode": "string", "memberStatus": "string", "currentPoints": 0, "pointsLabel": "string", "enrollmentSource": "string", "enrollmentResort": "string", "preferredCard": true, "membershipId": "string", "membershipType": "string", "primaryMembershipYn": "string", "primaryMembership": true, "membershipIdNo": 0, "playerRanking": 0, "centralSetup": true, "signupDate": "2020-07-13", "effectiveDate": "2020-07-13", "expireDate": "2020-07-13", "expireDateExclusiveIndicator": true, "orderSequence": 0, "createDateTime": "2020-07-13T15:08:14.567Z", "creatorId": "string", "lastModifyDateTime": "2020-07-13T15:08:14.567Z", "lastModifierId": "string", "purgeDate": "2020-07-13" } ], "preferenceCollection": [ { "preference": [ { "preferenceValue": "string", "description": "string", "global": true, "source": "string", "hotels": [ "string" ], "preferenceCode": "string", "excludedPreferencesCount": 0 } ], "preferenceType": "string", "preferenceTypeDescription": "string", "sequence": "string", "maxQuantity": 0, "availableQuantity": 0, "maxResortUsedQuantity": 0, "reservationPreference": true, "createDateTime": "2020-07-13T15:08:14.567Z", "creatorId": "string", "lastModifyDateTime": "2020-07-13T15:08:14.567Z", "lastModifierId": "string", "purgeDate": "2020-07-13" } ], "reservationMemberships": [ { "comment": { "text": { "value": "string", "language": "string" }, "image": "string", "url": "string" }, "newMembershipNumber": "string", "nameOnCard": "string", "programDescription": "string", "membershipLevel": "string", "membershipLevelDescription": "string", "membershipClass": "string", "earningPreference": "Points", "inactive": true, "benefits": [ { "code": "string", "message": "string", "inactive": true } ], "tierAdministration": "Disabled", "downgrade": "Grace", "reIssueNewCard": "Pending", "excludeFromBatch": true, "upgradeDescription": "string", "downgradeDescription": "string", "rating": "string", "membershipEnrollmentCode": "string", "memberStatus": "string", "currentPoints": 0, "pointsLabel": "string", "enrollmentSource": "string", "enrollmentResort": "string", "preferredCard": true, "membershipId": "string", "membershipType": "string", "primaryMembershipYn": "string", "primaryMembership": true, "membershipIdNo": 0, "playerRanking": 0, "centralSetup": true, "signupDate": "2020-07-13", "effectiveDate": "2020-07-13", "expireDate": "2020-07-13", "expireDateExclusiveIndicator": true, "orderSequence": 0, "createDateTime": "2020-07-13T15:08:14.568Z", "creatorId": "string", "lastModifyDateTime": "2020-07-13T15:08:14.568Z", "lastModifierId": "string", "purgeDate": "2020-07-13", "linkMembership": true, "primary": true } ], "reservationPaymentMethods": [ { "paymentCard": { "cardId": { "id": "string", "type": "string" }, "currentAuthorizedAmount": { "amount": 0, "currencyCode": "string" }, "approvalAmountNeeded": { "amount": 0, "currencyCode": "string" }, "cardType": "Ab", "userDefinedCardType": "string", "cardNumber": "string", "cardNumberMasked": "string", "cardNumberLast4Digits": "string", "expirationDate": "2020-07-13", "expirationDateMasked": "string", "expirationDateExpired": true, "cardHolderName": "string", "attachCreditCardToProfile": true, "processing": "Eft", "swiped": true, "cardOrToken": "CardNumber" }, "balance": { "amount": 0, "currencyCode": "string" }, "authorizationRule": { "code": 0, "amount": { "amount": 0, "currencyCode": "string" }, "percent": 0 }, "emailFolioInfo": { "email": { "emailAddress": "string", "type": "string" }, "emailFolio": true, "id": "string", "type": "string" }, "paymentMethod": "string", "description": "string", "folioView": 0 } ], "routingInstructions": [ { "folio": { "guestInfo": { "profileIdList": [ { "id": "string", "type": "string" } ] }, "payeeInfo": { "payeeId": { "id": "string", "type": "string" }, "payeeName": "string", "payeeAddress": { "address": { "addressLine": [ "string" ], "cityName": "string", "postalCode": "string", "county": "string", "state": "string", "country": { "value": "string", "code": "string" }, "type": "string" }, "id": "string", "type": "string" }, "payeeAddressCount": 0, "payeeReferenceCurrency": "string", "payeeAccountInfo": { "accountName": "string", "accountId": { "id": "string", "type": "string" }, "accountNo": "string", "status": { "restriction": "string", "description": "string", "restricted": true } }, "payeeTaxNumber": "string" }, "aRNumber": "string", "instructions": [ { "duration": { "timeSpan": { "startDate": "2020-07-13", "endDate": "2020-07-13", "duration": "string" }, "sunday": true, "monday": true, "tuesday": true, "wednesday": true, "thursday": true, "friday": true, "saturday": true, "daily": true }, "transactionCodes": [ { "description": "string", "transactionGroup": "string", "transactionSubGroup": "string", "universalProductCode": "string", "routingInstructionsId": 0, "articles": [ { "description": "string", "transactionCode": "string", "price": { "amount": 0, "currencyCode": "string" }, "postIt": { "availableForPostIt": true }, "universalProductCode": "string", "hotelId": "string", "articleCode": "string", "inactive": true, "orderSequence": 0 } ], "transactionCode": "string", "hotelId": "string", "printTrxReceipt": true } ], "billingInstructions": [ { "desc": "string", "routingInstructionsId": 0, "billingCode": "string", "hotelId": "string" } ], "creditLimit": 0, "percentageLimit": 0, "covers": 0, "limitUsed": 0, "routingLinkId": { "id": "string", "type": "string" } } ], "folioWindowNo": 0, "paymentMethod": "string" }, "room": { "roomId": "string", "guestNameId": { "id": "string", "type": "string" }, "guestDisplayName": "string", "reservationNameId": { "id": "string", "type": "string" }, "instructions": [ { "duration": { "timeSpan": { "startDate": "2020-07-13", "endDate": "2020-07-13", "duration": "string" }, "sunday": true, "monday": true, "tuesday": true, "wednesday": true, "thursday": true, "friday": true, "saturday": true, "daily": true }, "transactionCodes": [ { "description": "string", "transactionGroup": "string", "transactionSubGroup": "string", "universalProductCode": "string", "routingInstructionsId": 0, "articles": [ { "description": "string", "transactionCode": "string", "price": { "amount": 0, "currencyCode": "string" }, "postIt": { "availableForPostIt": true }, "universalProductCode": "string", "hotelId": "string", "articleCode": "string", "inactive": true, "orderSequence": 0 } ], "transactionCode": "string", "hotelId": "string", "printTrxReceipt": true } ], "billingInstructions": [ { "desc": "string", "routingInstructionsId": 0, "billingCode": "string", "hotelId": "string" } ], "creditLimit": 0, "percentageLimit": 0, "covers": 0, "limitUsed": 0, "routingLinkId": { "id": "string", "type": "string" } } ] }, "comp": { "compRequestInfo": { "requestedBy": { "userId": 0, "userName": "string" }, "comments": "string", "declinedBy": { "userId": 0, "userName": "string" }, "status": "Request" }, "payeeInfo": { "payeeId": { "id": "string", "type": "string" }, "payeeName": "string", "payeeAddress": { "address": { "addressLine": [ "string" ], "cityName": "string", "postalCode": "string", "county": "string", "state": "string", "country": { "value": "string", "code": "string" }, "type": "string" }, "id": "string", "type": "string" }, "payeeAddressCount": 0, "payeeReferenceCurrency": "string", "payeeAccountInfo": { "accountName": "string", "accountId": { "id": "string", "type": "string" }, "accountNo": "string", "status": { "restriction": "string", "description": "string", "restricted": true } }, "payeeTaxNumber": "string" }, "instructions": [ { "duration": { "timeSpan": { "startDate": "2020-07-13", "endDate": "2020-07-13", "duration": "string" }, "sunday": true, "monday": true, "tuesday": true, "wednesday": true, "thursday": true, "friday": true, "saturday": true, "daily": true }, "transactionCodes": [ { "description": "string", "transactionGroup": "string", "transactionSubGroup": "string", "universalProductCode": "string", "routingInstructionsId": 0, "articles": [ { "description": "string", "transactionCode": "string", "price": { "amount": 0, "currencyCode": "string" }, "postIt": { "availableForPostIt": true }, "universalProductCode": "string", "hotelId": "string", "articleCode": "string", "inactive": true, "orderSequence": 0 } ], "transactionCode": "string", "hotelId": "string", "printTrxReceipt": true } ], "billingInstructions": [ { "desc": "string", "routingInstructionsId": 0, "billingCode": "string", "hotelId": "string" } ], "creditLimit": 0, "percentageLimit": 0, "covers": 0, "limitUsed": 0, "routingLinkId": { "id": "string", "type": "string" } } ], "folioWindowNo": 0 }, "request": { "compRequestInfo": { "requestedBy": { "userId": 0, "userName": "string" }, "comments": "string", "declinedBy": { "userId": 0, "userName": "string" }, "status": "Request" }, "instructions": [ { "duration": { "timeSpan": { "startDate": "2020-07-13", "endDate": "2020-07-13", "duration": "string" }, "sunday": true, "monday": true, "tuesday": true, "wednesday": true, "thursday": true, "friday": true, "saturday": true, "daily": true }, "transactionCodes": [ { "description": "string", "transactionGroup": "string", "transactionSubGroup": "string", "universalProductCode": "string", "routingInstructionsId": 0, "articles": [ { "description": "string", "transactionCode": "string", "price": { "amount": 0, "currencyCode": "string" }, "postIt": { "availableForPostIt": true }, "universalProductCode": "string", "hotelId": "string", "articleCode": "string", "inactive": true, "orderSequence": 0 } ], "transactionCode": "string", "hotelId": "string", "printTrxReceipt": true } ], "billingInstructions": [ { "desc": "string", "routingInstructionsId": 0, "billingCode": "string", "hotelId": "string" } ], "creditLimit": 0, "percentageLimit": 0, "covers": 0, "limitUsed": 0, "routingLinkId": { "id": "string", "type": "string" } } ] } } ], "reservationPolicies": { "cancellationPolicies": [ { "revenueType": "Rooms", "policy": { "deadline": { "absoluteDeadline": "2020-07-13T15:08:14.568Z" }, "amountPercent": { "basisType": "FlatAmount", "nights": 0, "percent": 0, "amount": 0, "currencyCode": "string" }, "policyCode": "string", "effective": true }, "percentageDue": 0, "comments": "string", "policyId": { "id": "string", "type": "string" } } ], "depositPolicies": [ { "revenueType": "Rooms", "policy": { "amountPercent": { "basisType": "FlatAmount", "nights": 0, "percent": 0, "amount": 0, "currencyCode": "string" }, "deadline": { "absoluteDeadline": "2020-07-13T15:08:14.568Z" }, "description": "string", "policyCode": "string" }, "comments": "string", "amountPaid": { "amount": 0, "currencyCode": "string" }, "amountDue": { "amount": 0, "currencyCode": "string" }, "policyId": { "id": "string", "type": "string" } } ] }, "cashiering": { "revenuesAndBalances": { "totalFixedCharge": { "amount": 0, "currencyCode": "string" }, "totalPayment": { "amount": 0, "currencyCode": "string" }, "roomRevenue": { "amount": 0, "currencyCode": "string" }, "foodAndBevRevenue": { "amount": 0, "currencyCode": "string" }, "otherRevenue": { "amount": 0, "currencyCode": "string" }, "nonRevenue": { "amount": 0, "currencyCode": "string" }, "totalRevenue": { "amount": 0, "currencyCode": "string" }, "balance": { "amount": 0, "currencyCode": "string" } }, "billingPrivileges": { "postingRestriction": true, "preStayCharging": true, "postStayCharging": true, "folioCloseDate": "2020-07-13", "scheduledCheckout": true, "scheduledCheckoutTime": "2020-07-13", "directBillAuthorized": true, "videoCheckout": true, "allowAutoCheckin": true, "autoSettlement": true, "autoSettlementType": "string", "autoSettlementFreq": 0, "creditLimitAutoPay": true }, "taxType": { "hotelId": "string", "code": "string", "description": "string", "collectingAgentTax": true, "printAutoAdjust": true, "reportExemptDays": 0, "reportTaxPercentage": 0, "minimumLengthOfStay": 0, "taxExemptNo": "string" }, "bedTaxReporting": { "taxRegistrationNo": 0, "visaNumber": "string", "visaIssueDate": "2020-07-13", "visaExpiryDate": "2020-07-13", "taxableDays": 0 }, "folioTexts": { "folioText": [ { "text": "string", "row": 0 } ] }, "periodicFolio": { "lastSettlementDate": "2020-07-13", "lastFolioDate": "2020-07-13", "frequency": 0 }, "compAccounting": { "compType": "string", "authorizer": "string" }, "reservationPreConfiguredRoutingInstruction": { "authorizerInfo": { "authorizerId": { "id": "string", "type": "string" }, "authorizerUserName": "string", "authorizerName": "string", "authorizerRateCode": "string", "inheritAuthorizerRateCode": true }, "ratePlanCode": "string", "profileType": "Company", "promotionCode": "string" }, "financiallyResponsible": true, "proratedBilling": true, "lastRoomAndTaxPostedDate": "2020-07-13", "reverseCheckInAllowed": true, "reverseAdvanceCheckInAllowed": true, "transactionsPosted": true }, "housekeeping": { "instructions": "string", "facilityTaskInfo": { "task": { "description": "string", "instructions": "string", "facilityDepartureTask": true, "linenChange": true, "hotelId": "string", "code": "string", "sequence": 0 }, "supplies": [ { "description": "string", "quantity": 0, "code": "string" } ], "date": "2020-07-13" }, "linenChange": true, "turndownRequested": true, "serviceTime": "2020-07-13", "expectedServiceTime": "string", "roomStatus": "Clean" }, "linkedReservation": { "reservationInfo": [ { "reservationIdList": [ { "id": "string", "type": "string" } ], "timeSpan": { "startDate": "2020-07-13", "endDate": "2020-07-13", "duration": "string" }, "givenName": "string", "surname": "string", "title": "string", "roomType": "string", "room": "string", "ratePlanCode": "string", "rate": { "amount": 0, "currencyCode": "string" }, "guarantee": { "guaranteeCode": "string", "shortDescription": "string", "onHold": true }, "balance": { "amount": 0, "currencyCode": "string" }, "reservationBlock": { "blockIdList": [ { "id": "string", "type": "string" } ], "blockName": "string", "hotelId": "string" }, "displayColor": "string", "allowedActions": [ "Cancel" ], "reservationStatus": "Reserved", "hotelId": "string", "linkReservationType": "Linked", "reverseCheckInAllowed": true, "roomNumberLocked": true, "suppressRate": true } ], "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "extSystemSync": true, "userDefinedFields": { "characterUDFs": [ { "name": "string", "value": "string", "alternateName": "string" } ], "numericUDFs": [ { "name": "string", "value": 0, "alternateName": "string" } ], "dateUDFs": [ { "name": "string", "value": "2020-07-13", "alternateName": "string" } ] }, "reservationIndicators": [ { "indicatorName": "string", "count": 0 } ], "waitlist": { "reasonDescription": "string", "priorityDescription": "string", "description": "string", "reasonCode": "string", "priorityCode": "string", "telephone": "string" }, "cancellation": { "description": "string", "code": "string", "cancellationNo": { "id": "string", "type": "string" }, "date": "2020-07-13" }, "catering": { "eventId": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "revenueType": "string" }, "statisticalClassification": { "roomType": "string", "rateTier": 0 }, "alerts": [ { "code": "string", "global": true, "area": "CheckIn", "description": "string", "screenNotification": true, "printerNotification": true, "printerName": "string", "reportId": { "id": "string", "type": "string" }, "reportName": "string", "reportDescription": "string", "guestInfo": { "guestName": "string", "membership": { "comment": { "text": { "value": "string", "language": "string" }, "image": "string", "url": "string" }, "newMembershipNumber": "string", "nameOnCard": "string", "programDescription": "string", "membershipLevel": "string", "membershipLevelDescription": "string", "membershipClass": "string", "earningPreference": "Points", "inactive": true, "benefits": [ { "code": "string", "message": "string", "inactive": true } ], "tierAdministration": "Disabled", "downgrade": "Grace", "reIssueNewCard": "Pending", "excludeFromBatch": true, "upgradeDescription": "string", "downgradeDescription": "string", "rating": "string", "membershipEnrollmentCode": "string", "memberStatus": "string", "currentPoints": 0, "pointsLabel": "string", "enrollmentSource": "string", "enrollmentResort": "string", "preferredCard": true, "membershipId": "string", "membershipType": "string", "primaryMembershipYn": "string", "primaryMembership": true, "membershipIdNo": 0, "playerRanking": 0, "centralSetup": true, "signupDate": "2020-07-13", "effectiveDate": "2020-07-13", "expireDate": "2020-07-13", "expireDateExclusiveIndicator": true, "orderSequence": 0, "createDateTime": "2020-07-13T15:08:14.569Z", "creatorId": "string", "lastModifyDateTime": "2020-07-13T15:08:14.569Z", "lastModifierId": "string", "purgeDate": "2020-07-13" }, "vipStatus": { "value": "string", "code": "string" }, "lastHotelCode": "string", "lastStayDate": "2020-07-13", "totalStay": 0, "comments": "string", "preference": "string", "preference2": "string", "guestPreferredLanguage": "string", "totalBrandStay": 0, "birthDate": "2020-07-13", "birthDateMasked": "string" }, "userDefinedFields": { "characterUDFs": [ { "name": "string", "value": "string", "alternateName": "string" } ], "numericUDFs": [ { "name": "string", "value": 0, "alternateName": "string" } ], "dateUDFs": [ { "name": "string", "value": "2020-07-13", "alternateName": "string" } ] }, "welcomeOffer": { "status": "string", "type": "BonusPoints" }, "stopCheckInCheckOut": true, "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0, "createDateTime": "2020-07-13T15:08:14.569Z", "creatorId": "string", "lastModifyDateTime": "2020-07-13T15:08:14.569Z", "lastModifierId": "string", "purgeDate": "2020-07-13" } ], "traces": [ { "timeInfo": { "dateTimeSpan": { "startDateTime": "2020-07-13T15:08:14.569Z", "endDateTime": "2020-07-13T15:08:14.569Z" }, "traceOn": "2020-07-13T15:08:14.569Z", "traceTime": "string", "enteredBy": "string" }, "reservationId": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "departmentId": "string", "traceText": "string", "resolveInfo": { "resolvedOn": "2020-07-13", "resolvedBy": "string" }, "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0, "createDateTime": "2020-07-13T15:08:14.569Z", "creatorId": "string", "lastModifyDateTime": "2020-07-13T15:08:14.569Z", "lastModifierId": "string", "purgeDate": "2020-07-13" } ], "confirmationLetters": [ { "recipientInfo": { "profileId": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "formerName": { "name": "string", "fullName": "string", "namePrefix": "string", "givenName": "string", "middleName": "string", "nameSuffix": "string", "nameTitle": "string", "nameType": "Primary" }, "addressInfo": { "address": { "addressLine": [ "string" ], "cityName": "string", "postalCode": "string", "county": "string", "state": "string", "country": { "value": "string", "code": "string" }, "type": "string" }, "id": "string", "type": "string" }, "emailInfo": { "email": { "emailAddress": "string", "type": "string" } }, "faxInfo": { "telephone": { "phoneNumber": "string" } }, "telephoneInfo": { "telephone": { "phoneNumber": "string" } }, "recipientType": "Guest" }, "deliveryInfo": [ { "communicationType": "Print", "lastStatus": "Pending", "lastAttempted": "2020-07-13T15:08:14.569Z", "successfulTries": 0 } ], "confirmationStyleInfo": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0, "style": "string" }, "fromEmail": "string", "sendTextMessage": true, "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 } ], "callHistory": [ { "dateTimeSpan": { "startDateTime": "2020-07-13T15:08:14.569Z", "endDateTime": "2020-07-13T15:08:14.569Z" }, "caller": { "givenName": "string", "surname": "string", "phone": "string", "email": "string", "fax": "string", "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "reservation": { "reservationIdList": [ { "id": "string", "type": "string" } ], "hotelId": "string" }, "turnawayCode": "string", "comments": "string", "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 } ], "fixedCharges": [ { "schedule": { "start": "2020-07-13", "end": "2020-07-13", "frequency": "O", "dayToExecute": "string", "dateToExecute": "2020-07-13" }, "charge": { "transaction": { "code": "string", "description": "string" }, "quantity": 0, "chargeAmount": { "amount": 0, "currencyCode": "string" }, "percent": 0, "supplement": "string", "article": { "code": "string", "description": "string" }, "roomNights": 0 }, "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 } ], "guestMessages": [ { "message": { "messageText": "string", "messageDate": "2020-07-13T15:08:14.569Z", "typeOfMessage": "Tm", "recipient": "string", "operator": "string" }, "delivery": { "deliveryStatus": "Mr", "deliveryDate": "2020-07-13T15:08:14.569Z", "deliveredBy": "string", "printDate": "2020-07-13T15:08:14.569Z", "textMessageSentDate": "2020-07-13T15:08:14.569Z", "textMessageSentBy": "string", "textMessageSentById": 0, "textMessageRecipientNo": "string" }, "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0, "createDateTime": "2020-07-13T15:08:14.569Z", "creatorId": "string", "lastModifyDateTime": "2020-07-13T15:08:14.569Z", "lastModifierId": "string", "purgeDate": "2020-07-13" } ], "lockHandle": 0, "overrideInstructions": [ { "description": "string", "date": "2020-07-13", "type": "string", "userId": "string" } ], "queue": { "timeSpan": { "startDate": "2020-07-13", "endDate": "2020-07-13", "duration": "string", "durationInSeconds": 0 }, "guestTextInfo": { "sentTime": "2020-07-13T15:08:14.569Z", "sentBy": "string" }, "priority": 0, "averageQueueTimeToCheckIn": 0, "averageQueueTimeCurrentReservations": 0, "queueDate": "2020-07-13" }, "allowedActions": [ "Cancel" ], "eCoupons": [ { "eCouponId": { "id": "string", "type": "string" }, "code": "string", "description": "string", "autoAttached": true, "issuedQuantity": 0, "usedQuantity": 0, "reason": "string", "ratePlanCode": "string", "welcomeOffer": true } ], "transactionDiversions": { "transactionDiversions": [ [ { "vipCode": "string", "membership": { "type": "string", "level": "string" }, "targetRoom": "string", "transactionCodes": { "transactionCode": [ { "code": "string", "description": "string" } ] }, "description": "string", "level": "Property", "thresholds": { "entity": "ThresholdCount", "scope": "PerDay", "minRequired": 0, "complimentary": 0, "isEditable": true }, "type": "Vip", "hotelId": "string", "code": "string", "displaySequence": 0, "inactive": true, "notes": { "comment": { "text": { "value": "string", "language": "string" }, "image": "string", "url": "string", "commentTitle": "string", "type": "string", "internal": true, "hotelId": "string" } }, "posted": 0, "diverted": 0, "dailyDetails": [ { "posted": 0, "diverted": 0, "date": "2020-07-13" } ] } ] ], "actionType": "string" }, "advanceCheckIn": { "advanceCheckedIn": true, "expectedReturnTime": "2020-07-13T15:08:14.569Z", "eTRComments": "string" }, "tickets": [ { "ticketId": { "id": "string", "type": "string" }, "packageCode": "string", "reservationProductId": { "id": "string", "type": "string" }, "ticketNumber": { "id": "string", "type": "string" }, "description": "string", "issueDate": "2020-07-13", "price": 0, "consumptionDate": "2020-07-13", "rateCode": "string", "quantity": 0, "reference": "string", "status": "string", "statusDescription": "string" } ], "accessRestrictionMessage": "string", "eCertificates": [ { "eCertificateNo": "string", "actionType": "Create", "eCertificateType": "Promotion" } ], "customNameValueDetail": { "nameValues": [ { "name": "string", "value": "string", "formatString": "string", "dataType": "String", "origin": { "originName": "Reservation", "destination": "string", "id": "string", "type": "string" } } ] }, "customChargeExemptionDetails": [ { "customChargesExemption": { "code": "string", "description": "string" }, "customChargeQuantity": { "quantity": 0, "available": true }, "customChargeDates": [ { "date": "2020-07-13", "quantity": 0 } ], "excludedDates": [ { "date": "2020-07-13", "reason": "NotConfigured" } ] } ], "autoBorrowFromHouse": true, "overrideExternalChecks": true, "hotelId": "string", "roomStayReservation": true, "reservationStatus": "Reserved", "computedReservationStatus": "Reserved", "walkIn": true, "printRate": true, "createDateTime": "2020-07-13T15:08:14.569Z", "creatorId": "string", "lastModifyDateTime": "2020-07-13T15:08:14.569Z", "lastModifierId": "string", "purgeDate": "2020-07-13", "createBusinessDate": "2020-07-13", "reinstateDate": "2020-07-13", "party": "string", "primaryEnrollmentResort": "string", "primaryEnrollmentChain": "string", "customReference": "string", "displayColor": "string", "markAsRecentlyAccessed": true, "overrideInventoryCheck": true, "accessRestriction": "Change", "preRegistered": true, "upgradeEligible": true, "overrideBlockRestriction": true, "allowAutoCheckin": true, "hasOpenFolio": true, "allowMobileCheckout": true, "allowMobileViewFolio": true, "allowPreRegistration": true, "optedForCommunication": true, "chargeCardNumber": "string" }, "routingInstructions": [ { "folio": { "guestInfo": { "profileIdList": [ { "id": "string", "type": "string" } ] }, "payeeInfo": { "payeeId": { "id": "string", "type": "string" }, "payeeName": "string", "payeeAddress": { "address": { "addressLine": [ "string" ], "cityName": "string", "postalCode": "string", "county": "string", "state": "string", "country": { "value": "string", "code": "string" }, "type": "string" }, "id": "string", "type": "string" }, "payeeAddressCount": 0, "payeeReferenceCurrency": "string", "payeeAccountInfo": { "accountName": "string", "accountId": { "id": "string", "type": "string" }, "accountNo": "string", "status": { "restriction": "string", "description": "string", "restricted": true } }, "payeeTaxNumber": "string" }, "aRNumber": "string", "instructions": [ { "duration": { "timeSpan": { "startDate": "2020-07-13", "endDate": "2020-07-13", "duration": "string" }, "sunday": true, "monday": true, "tuesday": true, "wednesday": true, "thursday": true, "friday": true, "saturday": true, "daily": true }, "transactionCodes": [ { "description": "string", "transactionGroup": "string", "transactionSubGroup": "string", "universalProductCode": "string", "routingInstructionsId": 0, "articles": [ { "description": "string", "transactionCode": "string", "price": { "amount": 0, "currencyCode": "string" }, "postIt": { "availableForPostIt": true }, "universalProductCode": "string", "hotelId": "string", "articleCode": "string", "inactive": true, "orderSequence": 0 } ], "transactionCode": "string", "hotelId": "string", "printTrxReceipt": true } ], "billingInstructions": [ { "desc": "string", "routingInstructionsId": 0, "billingCode": "string", "hotelId": "string" } ], "creditLimit": 0, "percentageLimit": 0, "covers": 0, "limitUsed": 0, "routingLinkId": { "id": "string", "type": "string" } } ], "folioWindowNo": 0, "paymentMethod": "string" }, "room": { "roomId": "string", "guestNameId": { "id": "string", "type": "string" }, "guestDisplayName": "string", "reservationNameId": { "id": "string", "type": "string" }, "instructions": [ { "duration": { "timeSpan": { "startDate": "2020-07-13", "endDate": "2020-07-13", "duration": "string" }, "sunday": true, "monday": true, "tuesday": true, "wednesday": true, "thursday": true, "friday": true, "saturday": true, "daily": true }, "transactionCodes": [ { "description": "string", "transactionGroup": "string", "transactionSubGroup": "string", "universalProductCode": "string", "routingInstructionsId": 0, "articles": [ { "description": "string", "transactionCode": "string", "price": { "amount": 0, "currencyCode": "string" }, "postIt": { "availableForPostIt": true }, "universalProductCode": "string", "hotelId": "string", "articleCode": "string", "inactive": true, "orderSequence": 0 } ], "transactionCode": "string", "hotelId": "string", "printTrxReceipt": true } ], "billingInstructions": [ { "desc": "string", "routingInstructionsId": 0, "billingCode": "string", "hotelId": "string" } ], "creditLimit": 0, "percentageLimit": 0, "covers": 0, "limitUsed": 0, "routingLinkId": { "id": "string", "type": "string" } } ] }, "comp": { "compRequestInfo": { "requestedBy": { "userId": 0, "userName": "string" }, "comments": "string", "declinedBy": { "userId": 0, "userName": "string" }, "status": "Request" }, "payeeInfo": { "payeeId": { "id": "string", "type": "string" }, "payeeName": "string", "payeeAddress": { "address": { "addressLine": [ "string" ], "cityName": "string", "postalCode": "string", "county": "string", "state": "string", "country": { "value": "string", "code": "string" }, "type": "string" }, "id": "string", "type": "string" }, "payeeAddressCount": 0, "payeeReferenceCurrency": "string", "payeeAccountInfo": { "accountName": "string", "accountId": { "id": "string", "type": "string" }, "accountNo": "string", "status": { "restriction": "string", "description": "string", "restricted": true } }, "payeeTaxNumber": "string" }, "instructions": [ { "duration": { "timeSpan": { "startDate": "2020-07-13", "endDate": "2020-07-13", "duration": "string" }, "sunday": true, "monday": true, "tuesday": true, "wednesday": true, "thursday": true, "friday": true, "saturday": true, "daily": true }, "transactionCodes": [ { "description": "string", "transactionGroup": "string", "transactionSubGroup": "string", "universalProductCode": "string", "routingInstructionsId": 0, "articles": [ { "description": "string", "transactionCode": "string", "price": { "amount": 0, "currencyCode": "string" }, "postIt": { "availableForPostIt": true }, "universalProductCode": "string", "hotelId": "string", "articleCode": "string", "inactive": true, "orderSequence": 0 } ], "transactionCode": "string", "hotelId": "string", "printTrxReceipt": true } ], "billingInstructions": [ { "desc": "string", "routingInstructionsId": 0, "billingCode": "string", "hotelId": "string" } ], "creditLimit": 0, "percentageLimit": 0, "covers": 0, "limitUsed": 0, "routingLinkId": { "id": "string", "type": "string" } } ], "folioWindowNo": 0 }, "request": { "compRequestInfo": { "requestedBy": { "userId": 0, "userName": "string" }, "comments": "string", "declinedBy": { "userId": 0, "userName": "string" }, "status": "Request" }, "instructions": [ { "duration": { "timeSpan": { "startDate": "2020-07-13", "endDate": "2020-07-13", "duration": "string" }, "sunday": true, "monday": true, "tuesday": true, "wednesday": true, "thursday": true, "friday": true, "saturday": true, "daily": true }, "transactionCodes": [ { "description": "string", "transactionGroup": "string", "transactionSubGroup": "string", "universalProductCode": "string", "routingInstructionsId": 0, "articles": [ { "description": "string", "transactionCode": "string", "price": { "amount": 0, "currencyCode": "string" }, "postIt": { "availableForPostIt": true }, "universalProductCode": "string", "hotelId": "string", "articleCode": "string", "inactive": true, "orderSequence": 0 } ], "transactionCode": "string", "hotelId": "string", "printTrxReceipt": true } ], "billingInstructions": [ { "desc": "string", "routingInstructionsId": 0, "billingCode": "string", "hotelId": "string" } ], "creditLimit": 0, "percentageLimit": 0, "covers": 0, "limitUsed": 0, "routingLinkId": { "id": "string", "type": "string" } } ] } } ] }, "postChangeSnapshot": { "hotelReservation": { "reservationIdList": [ { "id": "string", "type": "string" } ], "associatedReservations": { "parentReservation": { "id": "string", "type": "string" }, "originalMultiRoomRes": { "id": "string", "type": "string" } }, "sourceOfSale": { "sourceType": "string", "sourceCode": "string" }, "roomStay": { "roomRates": [ { "total": { "taxes": { "tax": [ { "description": "string", "type": "Inclusive", "code": "string", "amount": 0, "currencyCode": "string" } ], "amount": 0, "currencyCode": "string" }, "fees": { "fee": [ { "description": "string", "type": "Inclusive", "code": "string", "amount": 0, "currencyCode": "string" } ], "amount": 0, "currencyCode": "string" }, "description": "string", "amountBeforeTax": 0, "amountAfterTax": 0, "currencyCode": "string", "currencySymbol": "string", "decimalPlaces": 0, "code": "string", "rateOverride": true }, "totalPoints": { "awardsType": "string", "points": 0 }, "rates": { "rate": [ { "base": { "taxes": { "tax": [ { "description": "string", "type": "Inclusive", "code": "string", "amount": 0, "currencyCode": "string" } ], "amount": 0, "currencyCode": "string" }, "fees": { "fee": [ { "description": "string", "type": "Inclusive", "code": "string", "amount": 0, "currencyCode": "string" } ], "amount": 0, "currencyCode": "string" }, "description": "string", "amountBeforeTax": 0, "amountAfterTax": 0, "currencyCode": "string", "currencySymbol": "string", "decimalPlaces": 0, "code": "string", "rateOverride": true }, "additionalGuestAmounts": [ { "amount": { "taxes": { "tax": [ { "description": "string", "type": "Inclusive", "code": "string", "amount": 0, "currencyCode": "string" } ], "amount": 0, "currencyCode": "string" }, "fees": { "fee": [ { "description": "string", "type": "Inclusive", "code": "string", "amount": 0, "currencyCode": "string" } ], "amount": 0, "currencyCode": "string" }, "description": "string", "amountBeforeTax": 0, "amountAfterTax": 0, "currencyCode": "string", "currencySymbol": "string", "decimalPlaces": 0, "code": "string", "rateOverride": true }, "ageQualifyingCode": "ADULT" } ], "discount": { "discountReason": "string", "percent": 0, "amount": 0, "currencyCode": "string", "discountCode": "string" }, "shareRatePercentage": 0, "shareDistributionInstruction": "Full", "total": { "taxes": { "tax": [ { "description": "string", "type": "Inclusive", "code": "string", "amount": 0, "currencyCode": "string" } ], "amount": 0, "currencyCode": "string" }, "fees": { "fee": [ { "description": "string", "type": "Inclusive", "code": "string", "amount": 0, "currencyCode": "string" } ], "amount": 0, "currencyCode": "string" }, "description": "string", "amountBeforeTax": 0, "amountAfterTax": 0, "currencyCode": "string", "currencySymbol": "string", "decimalPlaces": 0, "code": "string", "rateOverride": true }, "requiredPoints": { "awardsType": "string", "points": 0 }, "effectiveRate": { "taxes": { "tax": [ { "description": "string", "type": "Inclusive", "code": "string", "amount": 0, "currencyCode": "string" } ], "amount": 0, "currencyCode": "string" }, "fees": { "fee": [ { "description": "string", "type": "Inclusive", "code": "string", "amount": 0, "currencyCode": "string" } ], "amount": 0, "currencyCode": "string" }, "description": "string", "amountBeforeTax": 0, "amountAfterTax": 0, "currencyCode": "string", "currencySymbol": "string", "decimalPlaces": 0, "code": "string", "rateOverride": true }, "start": "2020-07-13", "end": "2020-07-13" } ], "rateRange": [ { "base": [ { "taxes": { "tax": [ { "description": "string", "type": "Inclusive", "code": "string", "amount": 0, "currencyCode": "string" } ], "amount": 0, "currencyCode": "string" }, "fees": { "fee": [ { "description": "string", "type": "Inclusive", "code": "string", "amount": 0, "currencyCode": "string" } ], "amount": 0, "currencyCode": "string" }, "description": "string", "amountBeforeTax": 0, "amountAfterTax": 0, "currencyCode": "string", "currencySymbol": "string", "decimalPlaces": 0, "code": "string", "rateOverride": true } ], "rateChange": true } ] }, "packages": [ { "amount": { "amount": 0, "currencyCode": "string" }, "allowance": { "amount": 0, "currencyCode": "string" }, "description": [ "string" ], "startDate": "2020-07-13", "endDate": "2020-07-13", "packageCode": "string", "calculationRule": "string", "postingRhythm": "string", "quantity": 0, "includedInRate": true, "addRateSeprateLine": true, "addRateCombinedLine": true, "startTime": "string", "endTime": "string", "sellSeparate": true } ], "stayProfiles": [ { "profileIdList": [ { "id": "string", "type": "string" } ], "profile": { "customer": { "personName": [ { "givenName": "string", "surname": "string", "nameType": "Primary", "language": "string", "externalSystem": "string" } ], "anonymization": { "anonymizationStatus": "Requested", "anonymizationDate": "2020-07-13T15:08:14.570Z" }, "businessTitle": "string", "language": "string", "privateProfile": true, "blacklist": true }, "company": { "companyName": "string" }, "addresses": { "addressInfo": [ { "address": { "addressLine": [ "string" ], "cityName": "string", "postalCode": "string", "county": "string", "state": "string", "country": { "value": "string", "code": "string" }, "type": "string" }, "id": "string", "type": "string" } ], "hasMore": true, "totalResults": 0, "count": 0 }, "telephones": { "telephoneInfo": [ { "telephone": { "phoneNumber": "string" } } ], "hasMore": true, "totalResults": 0, "count": 0 }, "emails": { "emailInfo": [ { "email": { "emailAddress": "string", "type": "string" } } ], "hasMore": true, "totalResults": 0, "count": 0 }, "uRLs": { "uRLInfo": [ { "url": { "value": "string", "type": "string" } } ], "hasMore": true, "totalResults": 0, "count": 0 }, "relationships": { "relationship": [ { "relationshipProfile": { "company": { "companyName": "string" }, "profileIdList": [ { "id": "string", "type": "string" } ], "profileType": "Guest" }, "relation": "string", "targetRelation": "string" } ], "hasMore": true, "totalResults": 0, "count": 0 }, "profileType": "Guest" }, "reservationProfileType": "Company" } ], "guestCounts": { "childAges": [ { "age": 0 } ], "childBuckets": { "bucket1Count": 0, "bucket2Count": 0, "bucket3Count": 0, "bucket4Count": 0, "bucket5Count": 0 }, "adults": 0, "children": 0 }, "taxFreeGuestCounts": { "childAges": [ { "age": 0 } ], "childBuckets": { "bucket1Count": 0, "bucket2Count": 0, "bucket3Count": 0, "bucket4Count": 0, "bucket5Count": 0 }, "adults": 0, "children": 0 }, "awards": { "membershipNo": { "id": "string", "type": "string" }, "awardVouchers": { "awardVoucher": [ { "awardCode": "string", "voucherNo": "string" } ] }, "originalRoomType": "string", "upgradeRoomType": "string" }, "foreignExchange": { "type": "string", "effectiveDate": "2020-07-13" }, "reservationBlock": { "blockIdList": [ { "id": "string", "type": "string" } ], "blockName": "string", "hotelId": "string" }, "roomRateInfo": "string", "mealPlans": [ { "code": "string", "included": true, "breakfastIncluded": true, "lunchIncluded": true, "dinnerIncluded": true } ], "roomType": "string", "ratePlanCode": "string", "promotionCode": "string", "start": "2020-07-13", "end": "2020-07-13", "availability": "Available", "suppressRate": true, "marketCode": "string", "marketCodeDescription": "string", "sourceCode": "string", "sourceCodeDescription": "string", "numberOfUnits": 0, "roomId": "string", "pseudoRoom": true, "roomTypeCharged": "string", "commissionCode": "string", "commissionable": true, "houseUseOnly": true, "complimentary": true, "inventoryLender": "string", "fixedRate": true, "barRanking": 0, "rateGroup": "string", "discountAllowed": true, "bogoDiscount": true, "rateLevel": "string", "commissionPercentage": 0, "commissionAmount": 0, "credentialsRequired": true, "taxIncluded": true, "rateDescription": "string" } ], "guestCounts": { "childAges": [ { "age": 0 } ], "childBuckets": { "bucket1Count": 0, "bucket2Count": 0, "bucket3Count": 0, "bucket4Count": 0, "bucket5Count": 0 }, "adults": 0, "children": 0 }, "arrivalDate": "2020-07-13", "departureDate": "2020-07-13", "expectedTimes": { "reservationExpectedArrivalTime": "2020-07-13T15:08:14.571Z", "reservationExpectedDepartureTime": "2020-07-13T15:08:14.571Z" }, "originalTimeSpan": { "startDate": "2020-07-13", "endDate": "2020-07-13", "duration": "string" }, "guarantee": { "guaranteeCode": "string", "shortDescription": "string", "onHold": true }, "promotion": { "promotionCode": "string", "promotionName": "string", "couponCode": "string" }, "suiteWith": "string", "total": { "taxes": { "tax": [ { "description": "string", "type": "Inclusive", "code": "string", "amount": 0, "currencyCode": "string" } ], "amount": 0, "currencyCode": "string" }, "fees": { "fee": [ { "description": "string", "type": "Inclusive", "code": "string", "amount": 0, "currencyCode": "string" } ], "amount": 0, "currencyCode": "string" }, "description": "string", "amountBeforeTax": 0, "amountAfterTax": 0, "currencyCode": "string", "currencySymbol": "string", "decimalPlaces": 0, "code": "string", "rateOverride": true }, "totalPoints": { "awardsType": "string", "points": 0 }, "multiValueAttrs": [ "string" ], "upsellInfo": { "originalInfo": { "rateCode": "string", "totalAmount": { "amount": 0, "currencyCode": "string" }, "roomType": { "code": "string", "description": "string" }, "nights": 0 }, "upsellInfo": { "totalUpsellCharge": { "amount": 0, "currencyCode": "string" }, "totalUpsellMoneyAmount": { "amount": 0, "currencyCode": "string" }, "firstNightUpsellAmount": { "amount": 0, "currencyCode": "string" }, "firstNightUpsellCharge": { "amount": 0, "currencyCode": "string" }, "totalUpsellPoints": 0, "totalActualRateAmount": { "amount": 0, "currencyCode": "string" }, "roomType": { "code": "string", "description": "string" }, "roomLongDescription": "string", "ruleId": 0, "ruleCode": "string", "ruleDescription": "string", "percentageSavings": 0, "upsellDate": "2020-07-13", "upsellUser": "string" } }, "mobileNotifications": { "roomReady": "Pending", "keyReady": "Pending", "checkoutMessageReceived": true, "requiresAction": true, "errorMessage": "string" }, "roomNumberLocked": true, "printRate": true, "primaryShareType": "Primary", "remoteCheckInAllowed": true, "bookingMedium": "string", "bookingMediumDescription": "string" }, "reservationGuests": [ { "profileInfo": { "profileIdList": [ { "id": "string", "type": "string" } ], "profile": { "customer": { "personName": [ { "givenName": "string", "surname": "string", "nameType": "Primary", "language": "string", "externalSystem": "string" } ], "anonymization": { "anonymizationStatus": "Requested", "anonymizationDate": "2020-07-13T15:08:14.571Z" }, "businessTitle": "string", "language": "string", "privateProfile": true, "blacklist": true }, "company": { "companyName": "string" }, "addresses": { "addressInfo": [ { "address": { "addressLine": [ "string" ], "cityName": "string", "postalCode": "string", "county": "string", "state": "string", "country": { "value": "string", "code": "string" }, "type": "string" }, "id": "string", "type": "string" } ], "hasMore": true, "totalResults": 0, "count": 0 }, "telephones": { "telephoneInfo": [ { "telephone": { "phoneNumber": "string" } } ], "hasMore": true, "totalResults": 0, "count": 0 }, "emails": { "emailInfo": [ { "email": { "emailAddress": "string", "type": "string" } } ], "hasMore": true, "totalResults": 0, "count": 0 }, "uRLs": { "uRLInfo": [ { "url": { "value": "string", "type": "string" } } ], "hasMore": true, "totalResults": 0, "count": 0 }, "relationships": { "relationship": [ { "relationshipProfile": { "company": { "companyName": "string" }, "profileIdList": [ { "id": "string", "type": "string" } ], "profileType": "Guest" }, "relation": "string", "targetRelation": "string" } ], "hasMore": true, "totalResults": 0, "count": 0 }, "profileType": "Guest" }, "profileCashieringDetail": { "paymentMethod": { "code": "string", "description": "string" }, "eCommerceId": { "id": "string", "type": "string" }, "routingInstructions": { "transactionCodes": [ { "description": "string", "transactionGroup": "string", "transactionSubGroup": "string", "universalProductCode": "string", "routingInstructionsId": 0, "articles": [ { "description": "string", "transactionCode": "string", "price": { "amount": 0, "currencyCode": "string" }, "postIt": { "availableForPostIt": true }, "universalProductCode": "string", "hotelId": "string", "articleCode": "string", "inactive": true, "orderSequence": 0 } ], "transactionCode": "string", "hotelId": "string", "printTrxReceipt": true } ], "billingInstructions": [ { "desc": "string", "routingInstructionsId": 0, "billingCode": "string", "hotelId": "string" } ], "autoPopulateRouting": true }, "taxType": "string", "fiscalGuestType": "string", "hotelId": "string" }, "registrationCardNo": "string" }, "arrivalTransport": { "comments": "string", "type": "string", "transportCode": "string", "carrierCode": "string", "stationCode": "string", "dateTime": "2020-07-13T15:08:14.571Z", "transportationReqd": true }, "departureTransport": { "comments": "string", "type": "string", "transportCode": "string", "carrierCode": "string", "stationCode": "string", "dateTime": "2020-07-13T15:08:14.571Z", "transportationReqd": true }, "visaInfo": { "visaIssueDate": "2020-07-13", "visaExpiryDate": "2020-07-13", "visaNumber": "string" }, "reservationGuestRPH": "string", "primary": true } ], "sharedGuests": [ { "profileId": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "firstName": "string", "lastName": "string", "fullName": "string" } ], "additionalGuestInfo": { "portOfEntry": "string", "dateOfEntry": "2020-07-13", "nextDestination": "string", "preferredRoomType": "string", "lastStay": { "lastStayDate": "2020-07-13", "lastStayRoom": "string", "lastStayRate": { "amount": 0, "currencyCode": "string" }, "totalStay": 0 }, "purposeOfStay": "string", "guestClassification": "string", "guestStatus": "string" }, "reservationProfiles": { "reservationProfile": [ { "profileIdList": [ { "id": "string", "type": "string" } ], "profile": { "customer": { "personName": [ { "givenName": "string", "surname": "string", "nameType": "Primary", "language": "string", "externalSystem": "string" } ], "anonymization": { "anonymizationStatus": "Requested", "anonymizationDate": "2020-07-13T15:08:14.571Z" }, "businessTitle": "string", "language": "string", "privateProfile": true, "blacklist": true }, "company": { "companyName": "string" }, "addresses": { "addressInfo": [ { "address": { "addressLine": [ "string" ], "cityName": "string", "postalCode": "string", "county": "string", "state": "string", "country": { "value": "string", "code": "string" }, "type": "string" }, "id": "string", "type": "string" } ], "hasMore": true, "totalResults": 0, "count": 0 }, "telephones": { "telephoneInfo": [ { "telephone": { "phoneNumber": "string" } } ], "hasMore": true, "totalResults": 0, "count": 0 }, "emails": { "emailInfo": [ { "email": { "emailAddress": "string", "type": "string" } } ], "hasMore": true, "totalResults": 0, "count": 0 }, "uRLs": { "uRLInfo": [ { "url": { "value": "string", "type": "string" } } ], "hasMore": true, "totalResults": 0, "count": 0 }, "relationships": { "relationship": [ { "relationshipProfile": { "company": { "companyName": "string" }, "profileIdList": [ { "id": "string", "type": "string" } ], "profileType": "Guest" }, "relation": "string", "targetRelation": "string" } ], "hasMore": true, "totalResults": 0, "count": 0 }, "profileType": "Guest" }, "reservationProfileType": "Company" } ], "commissionPayoutTo": "TravelAgent" }, "reservationCommunication": { "telephones": { "telephoneInfo": [ { "telephone": { "phoneNumber": "string" } } ], "hasMore": true, "totalResults": 0, "count": 0 }, "emails": { "emailInfo": [ { "email": { "emailAddress": "string", "type": "string" } } ], "hasMore": true, "totalResults": 0, "count": 0 } }, "reservationAwards": [ { "awardCode": "string", "awardType": "Paper", "description": "string", "certificateNo": "string", "masterCertificiateNo": "string", "membershipNo": "string", "hotelId": "string", "hotelCategory": "string", "externalHotelCode": "string", "externalConfirmationNo": "string", "categoryValid": true, "reservationCertificateType": "Reward", "rewardCertificateType": "Regular", "status": "Available", "expirationDate": "2020-07-13", "gift": true, "upgrade": true, "package": true, "instantlyRedeemable": true, "paidUpgrade": true, "detailedCertificate": true, "nights": 0, "sourceType": "string", "points": 0, "fBAInfo": { "status": "Ordered", "monetaryValue": 0, "amount": 0, "postedAmount": 0, "reimbursedAmount": 0, "postingDateTime": "2020-07-13", "postingBusinessDate": "2020-07-13", "settlementDateTime": "2020-07-13", "settlementBusinessDate": "2020-07-13", "reimbursementDateTime": "2020-07-13", "reimbursementBusinessDate": "2020-07-13", "fbaBillGenDate": "2020-07-13", "currencyCode": "string", "currencySymbol": "string", "decimalPlaces": 0, "flexibleBenefitAward": true, "posted": true, "settled": true, "reimbursed": true, "resettleAllowed": true, "reimburseAllowed": true, "orphanCertificate": true }, "reservationId": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "profileId": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "quantity": 0, "displaySequence": 0, "createDateTime": "2020-07-13T15:08:14.571Z", "creatorId": "string", "lastModifyDateTime": "2020-07-13T15:08:14.571Z", "lastModifierId": "string", "purgeDate": "2020-07-13" } ], "trackItItems": [ { "hotelId": "string", "trackItId": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "group": "Parcel", "ticketNumber": "string", "referenceNumber": "string", "type": { "type": { "code": "string", "description": "string" }, "url": { "value": "string", "type": "string" } }, "action": { "trackItAction": { "code": "string", "description": "string" }, "status": "Open" }, "location": { "code": "string", "description": "string" }, "quantity": 0, "followUpDate": "2020-07-13", "description": "string", "assignedTo": { "hotel": { "code": "string", "description": "string" }, "appUser": "string", "lDAPUser": "string", "actAs": "string", "actAt": "string", "userDefaultLanguage": "string", "appUserId": { "id": "string", "type": "string" }, "cashierId": 0, "cashierTitle": "string", "department": "string", "departmentLocation": "string", "salesRepCode": "string", "expiryDate": "2020-07-13", "disabledUntil": "2020-07-13", "passwordChangeDate": "2020-07-13", "userInfo": { "personName": { "givenName": "string", "surname": "string", "nameType": "Primary", "language": "string", "externalSystem": "string" }, "profileId": { "id": "string", "type": "string" }, "addressInfo": { "address": { "addressLine": [ "string" ], "cityName": "string", "postalCode": "string", "county": "string", "state": "string", "country": { "value": "string", "code": "string" }, "type": "string" }, "id": "string", "type": "string" }, "emailInfo": { "email": { "emailAddress": "string", "type": "string" } }, "phoneInfo": { "telephone": { "phoneNumber": "string" } }, "department": { "code": "string", "description": "string" }, "gender": "Male", "birthDate": "2020-07-13", "birthDateMasked": "string" }, "userSessionInfo": { "businessDate": "2020-07-13", "systemDate": "2020-07-13", "terminal": "string", "runningApp": "string", "shareProfiles": true, "hotel": { "code": "string", "description": "string" }, "cro": { "code": "string", "description": "string" }, "chain": "string", "cROCountryCode": "string", "sessionDefaults": { "dbDateFormat": "string", "oracleDateFormat": "string", "oracleTimeFormat": "string", "javaDateFormat": "string", "javaTimeFormat": "string", "currencyCode": "string", "currencyFormat": "string", "defaultLanguage": "string", "baseLanguage": "string" }, "parameters": [ { "parameterName": "string", "parameterValue": "string" } ] }, "attendantInfo": { "attendantId": "string", "hotelId": "string" } }, "reservationInfo": { "reservationIdList": [ { "id": "string", "type": "string" } ], "timeSpan": { "startDate": "2020-07-13", "endDate": "2020-07-13", "duration": "string" }, "guestInfo": { "membership": { "membershipId": 0, "programCode": "string", "bonusCode": "string", "membershipTypeDesc": "string", "membershipLevelDesc": "string", "accountId": "string", "membershipLevel": "string", "playerRanking": 0 }, "namePrefix": "string", "givenName": "string", "alternateGivenName": "string", "middleName": "string", "surnamePrefix": "string", "surname": "string", "alternateSurname": "string", "nameSuffix": "string", "nameTitle": "string", "fullName": "string", "alternateFullName": "string", "phoneNumber": "string", "email": "string", "birthDate": "2020-07-13", "language": "string", "nationality": { "value": "string", "code": "string" }, "vip": { "vipCode": "string", "vipDescription": "string" }, "address": { "cityName": "string", "postalCode": "string", "state": "string", "country": { "value": "string", "code": "string" }, "streetAddress": "string", "excludeNoCity": true }, "anonymization": { "anonymizationStatus": "Requested", "anonymizationDate": "2020-07-13T15:08:14.572Z" }, "accompanyGuests": [ { "firstName": "string", "lastName": "string", "fullName": "string", "registrationCardNo": "string", "profileIdList": [ { "id": "string", "type": "string" } ] } ], "externalInfo": { "givenName": "string", "surname": "string" }, "guestLastStayInfo": { "lastStayDate": "2020-07-13", "lastStayRoom": "string", "lastStayRate": { "amount": 0, "currencyCode": "string" }, "totalStay": 0 }, "guestRestrictedCode": "string", "guestRestrictedReasonDesc": "string", "guestRestricted": true, "registrationCardNo": "string", "nameType": "Guest", "id": "string", "type": "string" }, "roomType": "string", "roomId": "string", "roomStatus": "Clean", "guarantee": { "guaranteeCode": "string", "shortDescription": "string", "onHold": true }, "reservationStatus": "Reserved", "computedReservationStatus": "Reserved" }, "trackItLogList": [ { "hotelId": "string", "trackItLogId": { "id": "string", "type": "string" }, "trackItId": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "type": "string", "description": "string", "businessDate": "2020-07-13", "logUserId": 0, "logUserName": "string", "logDate": "2020-07-13T15:08:14.572Z" } ] } ], "shares": { "reservation": [ null ], "hasMore": true, "totalResults": 0, "count": 0 }, "locators": [ { "dateSpan": { "start": "2020-07-13", "end": "2020-07-13" }, "timeSpan": { "startDateTime": "2020-07-13T15:08:14.572Z", "endDateTime": "2020-07-13T15:08:14.572Z" }, "locatorText": "string", "locatorOn": "2020-07-13T15:08:14.572Z", "locatorBy": "string", "locatorId": { "id": "string", "type": "string" } } ], "attachments": [ { "fileName": "string", "fileSize": 0, "description": "string", "global": true, "hotelId": "string", "history": { "createDateTime": "2020-07-13T15:08:14.572Z", "creatorId": "string", "lastModifyDateTime": "2020-07-13T15:08:14.572Z", "lastModifierId": "string" }, "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 } ], "webRegistrationCards": [ { "fileName": "string", "fileSize": 0, "description": "string", "global": true, "hotelId": "string", "history": { "createDateTime": "2020-07-13T15:08:14.572Z", "creatorId": "string", "lastModifyDateTime": "2020-07-13T15:08:14.572Z", "lastModifierId": "string" }, "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 } ], "serviceRequests": [ { "serviceRequestId": { "id": "string", "type": "string" }, "hotelId": "string", "code": "string", "status": "Open", "priority": "string", "department": { "code": "string", "description": "string" }, "reservationIdList": [ { "id": "string", "type": "string" } ], "profileId": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "guestName": "string", "room": "string", "openDate": "2020-07-13T15:08:14.572Z", "guaranteedBy": "string", "comment": "string", "action": "string", "guestContactMethod": "string", "completionDate": "2020-07-13T15:08:14.572Z", "closedDate": "2020-07-13T15:08:14.572Z", "closedBy": "string", "closeDescription": "string" } ], "reservationActivities": [ { "profileId": [ { "id": "string", "type": "string" } ], "personName": { "givenName": "string", "surname": "string", "nameType": "Primary", "language": "string", "externalSystem": "string" }, "address": { "addressLine": [ "string" ], "cityName": "string", "postalCode": "string", "county": "string", "state": "string", "country": { "value": "string", "code": "string" }, "type": "string" }, "activities": [ { "activityIds": [ { "id": "string", "type": "string" } ], "type": "Golf", "location": "string", "name": [ "string" ], "numberOfPersons": 0, "timeSpan": { "startDateTime": "2020-07-13T15:08:14.572Z", "endDateTime": "2020-07-13T15:08:14.572Z" }, "duration": { "startDateTime": "2020-07-13T15:08:14.572Z", "endDateTime": "2020-07-13T15:08:14.572Z" }, "description": [ "string" ], "note": [ "string" ], "groupCode": "string", "amount": { "amount": 0, "currencyCode": "string" }, "deposit": { "amount": 0, "currencyCode": "string", "collectedBy": "Vendor" }, "inactiveDate": "2020-07-13T15:08:14.572Z", "participants": { "participant": [ { "givenName": "string", "surname": "string", "nameType": "Primary", "language": "string", "externalSystem": "string" } ] }, "uRLLink": "string", "extensions": { "activitySpecific": [ "string" ] }, "status": "Reserved", "link": true } ], "hotelId": "string" } ], "scheduledActivities": [ { "profileId": [ { "id": "string", "type": "string" } ], "personName": { "givenName": "string", "surname": "string", "nameType": "Primary", "language": "string", "externalSystem": "string" }, "address": { "addressLine": [ "string" ], "cityName": "string", "postalCode": "string", "county": "string", "state": "string", "country": { "value": "string", "code": "string" }, "type": "string" }, "activities": [ { "activityIds": [ { "id": "string", "type": "string" } ], "type": "Golf", "location": "string", "name": [ "string" ], "numberOfPersons": 0, "timeSpan": { "startDateTime": "2020-07-13T15:08:14.572Z", "endDateTime": "2020-07-13T15:08:14.572Z" }, "duration": { "startDateTime": "2020-07-13T15:08:14.572Z", "endDateTime": "2020-07-13T15:08:14.572Z" }, "description": [ "string" ], "note": [ "string" ], "groupCode": "string", "amount": { "amount": 0, "currencyCode": "string" }, "deposit": { "amount": 0, "currencyCode": "string", "collectedBy": "Vendor" }, "inactiveDate": "2020-07-13T15:08:14.572Z", "participants": { "participant": [ { "givenName": "string", "surname": "string", "nameType": "Primary", "language": "string", "externalSystem": "string" } ] }, "uRLLink": "string", "extensions": { "activitySpecific": [ "string" ] }, "status": "Reserved", "link": true } ], "hotelId": "string" } ], "prepaidCards": [ { "hotelId": "string", "reservationId": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "name": "string", "firstName": "string", "profileId": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "cardNo": "string", "cardNumberMasked": "string", "amount": { "amount": 0, "currencyCode": "string" }, "pinCode": "string", "interfaceId": { "id": "string", "type": "string" }, "cardDetails": { "initialLoadDate": "2020-07-13", "activateDate": "2020-07-13", "initialCreditTotal": { "amount": 0, "currencyCode": "string" }, "creditTotal": { "amount": 0, "currencyCode": "string" }, "debitTotal": { "amount": 0, "currencyCode": "string" }, "reservedTotal": { "amount": 0, "currencyCode": "string" }, "balanceTotal": { "amount": 0, "currencyCode": "string" }, "validUntilDate": "2020-07-13", "expiredDate": "2020-07-13", "transactions": [ { "transactionType": "Activate", "transactionDate": "2020-07-13", "transactionNo": 0, "amount": { "amount": 0, "currencyCode": "string" }, "createDateTime": "2020-07-13T15:08:14.573Z", "creatorId": "string", "lastModifyDateTime": "2020-07-13T15:08:14.573Z", "lastModifierId": "string", "purgeDate": "2020-07-13" } ] }, "createDateTime": "2020-07-13T15:08:14.573Z", "creatorId": "string", "lastModifyDateTime": "2020-07-13T15:08:14.573Z", "lastModifierId": "string", "purgeDate": "2020-07-13", "giftCard": true } ], "profileAwards": [ { "awardCode": "string", "awardType": "Paper", "description": "string", "certificateNo": "string", "masterCertificiateNo": "string", "membershipNo": "string", "hotelId": "string", "hotelCategory": "string", "externalHotelCode": "string", "externalConfirmationNo": "string", "categoryValid": true, "reservationCertificateType": "Reward", "rewardCertificateType": "Regular", "status": "Available", "expirationDate": "2020-07-13", "gift": true, "upgrade": true, "package": true, "instantlyRedeemable": true, "paidUpgrade": true, "detailedCertificate": true, "nights": 0, "sourceType": "string", "points": 0, "fBAInfo": { "status": "Ordered", "monetaryValue": 0, "amount": 0, "postedAmount": 0, "reimbursedAmount": 0, "postingDateTime": "2020-07-13", "postingBusinessDate": "2020-07-13", "settlementDateTime": "2020-07-13", "settlementBusinessDate": "2020-07-13", "reimbursementDateTime": "2020-07-13", "reimbursementBusinessDate": "2020-07-13", "fbaBillGenDate": "2020-07-13", "currencyCode": "string", "currencySymbol": "string", "decimalPlaces": 0, "flexibleBenefitAward": true, "posted": true, "settled": true, "reimbursed": true, "resettleAllowed": true, "reimburseAllowed": true, "orphanCertificate": true }, "reservationId": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "profileId": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "quantity": 0, "displaySequence": 0, "createDateTime": "2020-07-13T15:08:14.573Z", "creatorId": "string", "lastModifyDateTime": "2020-07-13T15:08:14.573Z", "lastModifierId": "string", "purgeDate": "2020-07-13" } ], "reservationPackages": [ { "packageHeaderType": { "primaryDetails": { "description": "string" } }, "scheduleList": [ { "consumptionDate": "2020-07-13", "unitPrice": 0, "computedResvPrice": 0, "unitAllowance": 0, "reservationDate": "2020-07-13", "originalUnitPrice": 0, "originalUnitAllowance": 0 } ], "newTimeSpan": { "startDate": "2020-07-13", "endDate": "2020-07-13", "duration": "string" }, "consumptionDetails": { "defaultQuantity": 0 }, "packageCode": "string", "ratePlanCode": "string", "startDate": "2020-07-13", "endDate": "2020-07-13", "packageGroup": "string", "source": "Reservation", "awardCode": "string", "points": 0 } ], "inventoryItems": { "item": [ { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0, "item": { "description": "string", "code": "string", "name": "string", "sellSeparate": true, "requiredForBooking": true }, "quantity": 0, "timeSpan": { "start": "2020-07-13", "end": "2020-07-13" }, "source": { "ratePlanCode": "string", "packageCode": "string", "blockId": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "welcomeOffer": true } } ], "itemClassCode": "string" }, "comments": [ { "comment": { "text": { "value": "string", "language": "string" }, "image": "string", "url": "string", "commentTitle": "string", "type": "string", "internal": true, "hotelId": "string" } } ], "guestComments": [ { "comment": { "text": { "value": "string", "language": "string" }, "image": "string", "url": "string", "commentTitle": "string", "type": "string", "internal": true, "hotelId": "string" } } ], "guestMemberships": [ { "comment": { "text": { "value": "string", "language": "string" }, "image": "string", "url": "string" }, "newMembershipNumber": "string", "nameOnCard": "string", "programDescription": "string", "membershipLevel": "string", "membershipLevelDescription": "string", "membershipClass": "string", "earningPreference": "Points", "inactive": true, "benefits": [ { "code": "string", "message": "string", "inactive": true } ], "tierAdministration": "Disabled", "downgrade": "Grace", "reIssueNewCard": "Pending", "excludeFromBatch": true, "upgradeDescription": "string", "downgradeDescription": "string", "rating": "string", "membershipEnrollmentCode": "string", "memberStatus": "string", "currentPoints": 0, "pointsLabel": "string", "enrollmentSource": "string", "enrollmentResort": "string", "preferredCard": true, "membershipId": "string", "membershipType": "string", "primaryMembershipYn": "string", "primaryMembership": true, "membershipIdNo": 0, "playerRanking": 0, "centralSetup": true, "signupDate": "2020-07-13", "effectiveDate": "2020-07-13", "expireDate": "2020-07-13", "expireDateExclusiveIndicator": true, "orderSequence": 0, "createDateTime": "2020-07-13T15:08:14.573Z", "creatorId": "string", "lastModifyDateTime": "2020-07-13T15:08:14.573Z", "lastModifierId": "string", "purgeDate": "2020-07-13" } ], "preferenceCollection": [ { "preference": [ { "preferenceValue": "string", "description": "string", "global": true, "source": "string", "hotels": [ "string" ], "preferenceCode": "string", "excludedPreferencesCount": 0 } ], "preferenceType": "string", "preferenceTypeDescription": "string", "sequence": "string", "maxQuantity": 0, "availableQuantity": 0, "maxResortUsedQuantity": 0, "reservationPreference": true, "createDateTime": "2020-07-13T15:08:14.573Z", "creatorId": "string", "lastModifyDateTime": "2020-07-13T15:08:14.573Z", "lastModifierId": "string", "purgeDate": "2020-07-13" } ], "reservationMemberships": [ { "comment": { "text": { "value": "string", "language": "string" }, "image": "string", "url": "string" }, "newMembershipNumber": "string", "nameOnCard": "string", "programDescription": "string", "membershipLevel": "string", "membershipLevelDescription": "string", "membershipClass": "string", "earningPreference": "Points", "inactive": true, "benefits": [ { "code": "string", "message": "string", "inactive": true } ], "tierAdministration": "Disabled", "downgrade": "Grace", "reIssueNewCard": "Pending", "excludeFromBatch": true, "upgradeDescription": "string", "downgradeDescription": "string", "rating": "string", "membershipEnrollmentCode": "string", "memberStatus": "string", "currentPoints": 0, "pointsLabel": "string", "enrollmentSource": "string", "enrollmentResort": "string", "preferredCard": true, "membershipId": "string", "membershipType": "string", "primaryMembershipYn": "string", "primaryMembership": true, "membershipIdNo": 0, "playerRanking": 0, "centralSetup": true, "signupDate": "2020-07-13", "effectiveDate": "2020-07-13", "expireDate": "2020-07-13", "expireDateExclusiveIndicator": true, "orderSequence": 0, "createDateTime": "2020-07-13T15:08:14.573Z", "creatorId": "string", "lastModifyDateTime": "2020-07-13T15:08:14.573Z", "lastModifierId": "string", "purgeDate": "2020-07-13", "linkMembership": true, "primary": true } ], "reservationPaymentMethods": [ { "paymentCard": { "cardId": { "id": "string", "type": "string" }, "currentAuthorizedAmount": { "amount": 0, "currencyCode": "string" }, "approvalAmountNeeded": { "amount": 0, "currencyCode": "string" }, "cardType": "Ab", "userDefinedCardType": "string", "cardNumber": "string", "cardNumberMasked": "string", "cardNumberLast4Digits": "string", "expirationDate": "2020-07-13", "expirationDateMasked": "string", "expirationDateExpired": true, "cardHolderName": "string", "attachCreditCardToProfile": true, "processing": "Eft", "swiped": true, "cardOrToken": "CardNumber" }, "balance": { "amount": 0, "currencyCode": "string" }, "authorizationRule": { "code": 0, "amount": { "amount": 0, "currencyCode": "string" }, "percent": 0 }, "emailFolioInfo": { "email": { "emailAddress": "string", "type": "string" }, "emailFolio": true, "id": "string", "type": "string" }, "paymentMethod": "string", "description": "string", "folioView": 0 } ], "routingInstructions": [ { "folio": { "guestInfo": { "profileIdList": [ { "id": "string", "type": "string" } ] }, "payeeInfo": { "payeeId": { "id": "string", "type": "string" }, "payeeName": "string", "payeeAddress": { "address": { "addressLine": [ "string" ], "cityName": "string", "postalCode": "string", "county": "string", "state": "string", "country": { "value": "string", "code": "string" }, "type": "string" }, "id": "string", "type": "string" }, "payeeAddressCount": 0, "payeeReferenceCurrency": "string", "payeeAccountInfo": { "accountName": "string", "accountId": { "id": "string", "type": "string" }, "accountNo": "string", "status": { "restriction": "string", "description": "string", "restricted": true } }, "payeeTaxNumber": "string" }, "aRNumber": "string", "instructions": [ { "duration": { "timeSpan": { "startDate": "2020-07-13", "endDate": "2020-07-13", "duration": "string" }, "sunday": true, "monday": true, "tuesday": true, "wednesday": true, "thursday": true, "friday": true, "saturday": true, "daily": true }, "transactionCodes": [ { "description": "string", "transactionGroup": "string", "transactionSubGroup": "string", "universalProductCode": "string", "routingInstructionsId": 0, "articles": [ { "description": "string", "transactionCode": "string", "price": { "amount": 0, "currencyCode": "string" }, "postIt": { "availableForPostIt": true }, "universalProductCode": "string", "hotelId": "string", "articleCode": "string", "inactive": true, "orderSequence": 0 } ], "transactionCode": "string", "hotelId": "string", "printTrxReceipt": true } ], "billingInstructions": [ { "desc": "string", "routingInstructionsId": 0, "billingCode": "string", "hotelId": "string" } ], "creditLimit": 0, "percentageLimit": 0, "covers": 0, "limitUsed": 0, "routingLinkId": { "id": "string", "type": "string" } } ], "folioWindowNo": 0, "paymentMethod": "string" }, "room": { "roomId": "string", "guestNameId": { "id": "string", "type": "string" }, "guestDisplayName": "string", "reservationNameId": { "id": "string", "type": "string" }, "instructions": [ { "duration": { "timeSpan": { "startDate": "2020-07-13", "endDate": "2020-07-13", "duration": "string" }, "sunday": true, "monday": true, "tuesday": true, "wednesday": true, "thursday": true, "friday": true, "saturday": true, "daily": true }, "transactionCodes": [ { "description": "string", "transactionGroup": "string", "transactionSubGroup": "string", "universalProductCode": "string", "routingInstructionsId": 0, "articles": [ { "description": "string", "transactionCode": "string", "price": { "amount": 0, "currencyCode": "string" }, "postIt": { "availableForPostIt": true }, "universalProductCode": "string", "hotelId": "string", "articleCode": "string", "inactive": true, "orderSequence": 0 } ], "transactionCode": "string", "hotelId": "string", "printTrxReceipt": true } ], "billingInstructions": [ { "desc": "string", "routingInstructionsId": 0, "billingCode": "string", "hotelId": "string" } ], "creditLimit": 0, "percentageLimit": 0, "covers": 0, "limitUsed": 0, "routingLinkId": { "id": "string", "type": "string" } } ] }, "comp": { "compRequestInfo": { "requestedBy": { "userId": 0, "userName": "string" }, "comments": "string", "declinedBy": { "userId": 0, "userName": "string" }, "status": "Request" }, "payeeInfo": { "payeeId": { "id": "string", "type": "string" }, "payeeName": "string", "payeeAddress": { "address": { "addressLine": [ "string" ], "cityName": "string", "postalCode": "string", "county": "string", "state": "string", "country": { "value": "string", "code": "string" }, "type": "string" }, "id": "string", "type": "string" }, "payeeAddressCount": 0, "payeeReferenceCurrency": "string", "payeeAccountInfo": { "accountName": "string", "accountId": { "id": "string", "type": "string" }, "accountNo": "string", "status": { "restriction": "string", "description": "string", "restricted": true } }, "payeeTaxNumber": "string" }, "instructions": [ { "duration": { "timeSpan": { "startDate": "2020-07-13", "endDate": "2020-07-13", "duration": "string" }, "sunday": true, "monday": true, "tuesday": true, "wednesday": true, "thursday": true, "friday": true, "saturday": true, "daily": true }, "transactionCodes": [ { "description": "string", "transactionGroup": "string", "transactionSubGroup": "string", "universalProductCode": "string", "routingInstructionsId": 0, "articles": [ { "description": "string", "transactionCode": "string", "price": { "amount": 0, "currencyCode": "string" }, "postIt": { "availableForPostIt": true }, "universalProductCode": "string", "hotelId": "string", "articleCode": "string", "inactive": true, "orderSequence": 0 } ], "transactionCode": "string", "hotelId": "string", "printTrxReceipt": true } ], "billingInstructions": [ { "desc": "string", "routingInstructionsId": 0, "billingCode": "string", "hotelId": "string" } ], "creditLimit": 0, "percentageLimit": 0, "covers": 0, "limitUsed": 0, "routingLinkId": { "id": "string", "type": "string" } } ], "folioWindowNo": 0 }, "request": { "compRequestInfo": { "requestedBy": { "userId": 0, "userName": "string" }, "comments": "string", "declinedBy": { "userId": 0, "userName": "string" }, "status": "Request" }, "instructions": [ { "duration": { "timeSpan": { "startDate": "2020-07-13", "endDate": "2020-07-13", "duration": "string" }, "sunday": true, "monday": true, "tuesday": true, "wednesday": true, "thursday": true, "friday": true, "saturday": true, "daily": true }, "transactionCodes": [ { "description": "string", "transactionGroup": "string", "transactionSubGroup": "string", "universalProductCode": "string", "routingInstructionsId": 0, "articles": [ { "description": "string", "transactionCode": "string", "price": { "amount": 0, "currencyCode": "string" }, "postIt": { "availableForPostIt": true }, "universalProductCode": "string", "hotelId": "string", "articleCode": "string", "inactive": true, "orderSequence": 0 } ], "transactionCode": "string", "hotelId": "string", "printTrxReceipt": true } ], "billingInstructions": [ { "desc": "string", "routingInstructionsId": 0, "billingCode": "string", "hotelId": "string" } ], "creditLimit": 0, "percentageLimit": 0, "covers": 0, "limitUsed": 0, "routingLinkId": { "id": "string", "type": "string" } } ] } } ], "reservationPolicies": { "cancellationPolicies": [ { "revenueType": "Rooms", "policy": { "deadline": { "absoluteDeadline": "2020-07-13T15:08:14.573Z" }, "amountPercent": { "basisType": "FlatAmount", "nights": 0, "percent": 0, "amount": 0, "currencyCode": "string" }, "policyCode": "string", "effective": true }, "percentageDue": 0, "comments": "string", "policyId": { "id": "string", "type": "string" } } ], "depositPolicies": [ { "revenueType": "Rooms", "policy": { "amountPercent": { "basisType": "FlatAmount", "nights": 0, "percent": 0, "amount": 0, "currencyCode": "string" }, "deadline": { "absoluteDeadline": "2020-07-13T15:08:14.574Z" }, "description": "string", "policyCode": "string" }, "comments": "string", "amountPaid": { "amount": 0, "currencyCode": "string" }, "amountDue": { "amount": 0, "currencyCode": "string" }, "policyId": { "id": "string", "type": "string" } } ] }, "cashiering": { "revenuesAndBalances": { "totalFixedCharge": { "amount": 0, "currencyCode": "string" }, "totalPayment": { "amount": 0, "currencyCode": "string" }, "roomRevenue": { "amount": 0, "currencyCode": "string" }, "foodAndBevRevenue": { "amount": 0, "currencyCode": "string" }, "otherRevenue": { "amount": 0, "currencyCode": "string" }, "nonRevenue": { "amount": 0, "currencyCode": "string" }, "totalRevenue": { "amount": 0, "currencyCode": "string" }, "balance": { "amount": 0, "currencyCode": "string" } }, "billingPrivileges": { "postingRestriction": true, "preStayCharging": true, "postStayCharging": true, "folioCloseDate": "2020-07-13", "scheduledCheckout": true, "scheduledCheckoutTime": "2020-07-13", "directBillAuthorized": true, "videoCheckout": true, "allowAutoCheckin": true, "autoSettlement": true, "autoSettlementType": "string", "autoSettlementFreq": 0, "creditLimitAutoPay": true }, "taxType": { "hotelId": "string", "code": "string", "description": "string", "collectingAgentTax": true, "printAutoAdjust": true, "reportExemptDays": 0, "reportTaxPercentage": 0, "minimumLengthOfStay": 0, "taxExemptNo": "string" }, "bedTaxReporting": { "taxRegistrationNo": 0, "visaNumber": "string", "visaIssueDate": "2020-07-13", "visaExpiryDate": "2020-07-13", "taxableDays": 0 }, "folioTexts": { "folioText": [ { "text": "string", "row": 0 } ] }, "periodicFolio": { "lastSettlementDate": "2020-07-13", "lastFolioDate": "2020-07-13", "frequency": 0 }, "compAccounting": { "compType": "string", "authorizer": "string" }, "reservationPreConfiguredRoutingInstruction": { "authorizerInfo": { "authorizerId": { "id": "string", "type": "string" }, "authorizerUserName": "string", "authorizerName": "string", "authorizerRateCode": "string", "inheritAuthorizerRateCode": true }, "ratePlanCode": "string", "profileType": "Company", "promotionCode": "string" }, "financiallyResponsible": true, "proratedBilling": true, "lastRoomAndTaxPostedDate": "2020-07-13", "reverseCheckInAllowed": true, "reverseAdvanceCheckInAllowed": true, "transactionsPosted": true }, "housekeeping": { "instructions": "string", "facilityTaskInfo": { "task": { "description": "string", "instructions": "string", "facilityDepartureTask": true, "linenChange": true, "hotelId": "string", "code": "string", "sequence": 0 }, "supplies": [ { "description": "string", "quantity": 0, "code": "string" } ], "date": "2020-07-13" }, "linenChange": true, "turndownRequested": true, "serviceTime": "2020-07-13", "expectedServiceTime": "string", "roomStatus": "Clean" }, "linkedReservation": { "reservationInfo": [ { "reservationIdList": [ { "id": "string", "type": "string" } ], "timeSpan": { "startDate": "2020-07-13", "endDate": "2020-07-13", "duration": "string" }, "givenName": "string", "surname": "string", "title": "string", "roomType": "string", "room": "string", "ratePlanCode": "string", "rate": { "amount": 0, "currencyCode": "string" }, "guarantee": { "guaranteeCode": "string", "shortDescription": "string", "onHold": true }, "balance": { "amount": 0, "currencyCode": "string" }, "reservationBlock": { "blockIdList": [ { "id": "string", "type": "string" } ], "blockName": "string", "hotelId": "string" }, "displayColor": "string", "allowedActions": [ "Cancel" ], "reservationStatus": "Reserved", "hotelId": "string", "linkReservationType": "Linked", "reverseCheckInAllowed": true, "roomNumberLocked": true, "suppressRate": true } ], "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "extSystemSync": true, "userDefinedFields": { "characterUDFs": [ { "name": "string", "value": "string", "alternateName": "string" } ], "numericUDFs": [ { "name": "string", "value": 0, "alternateName": "string" } ], "dateUDFs": [ { "name": "string", "value": "2020-07-13", "alternateName": "string" } ] }, "reservationIndicators": [ { "indicatorName": "string", "count": 0 } ], "waitlist": { "reasonDescription": "string", "priorityDescription": "string", "description": "string", "reasonCode": "string", "priorityCode": "string", "telephone": "string" }, "cancellation": { "description": "string", "code": "string", "cancellationNo": { "id": "string", "type": "string" }, "date": "2020-07-13" }, "catering": { "eventId": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "revenueType": "string" }, "statisticalClassification": { "roomType": "string", "rateTier": 0 }, "alerts": [ { "code": "string", "global": true, "area": "CheckIn", "description": "string", "screenNotification": true, "printerNotification": true, "printerName": "string", "reportId": { "id": "string", "type": "string" }, "reportName": "string", "reportDescription": "string", "guestInfo": { "guestName": "string", "membership": { "comment": { "text": { "value": "string", "language": "string" }, "image": "string", "url": "string" }, "newMembershipNumber": "string", "nameOnCard": "string", "programDescription": "string", "membershipLevel": "string", "membershipLevelDescription": "string", "membershipClass": "string", "earningPreference": "Points", "inactive": true, "benefits": [ { "code": "string", "message": "string", "inactive": true } ], "tierAdministration": "Disabled", "downgrade": "Grace", "reIssueNewCard": "Pending", "excludeFromBatch": true, "upgradeDescription": "string", "downgradeDescription": "string", "rating": "string", "membershipEnrollmentCode": "string", "memberStatus": "string", "currentPoints": 0, "pointsLabel": "string", "enrollmentSource": "string", "enrollmentResort": "string", "preferredCard": true, "membershipId": "string", "membershipType": "string", "primaryMembershipYn": "string", "primaryMembership": true, "membershipIdNo": 0, "playerRanking": 0, "centralSetup": true, "signupDate": "2020-07-13", "effectiveDate": "2020-07-13", "expireDate": "2020-07-13", "expireDateExclusiveIndicator": true, "orderSequence": 0, "createDateTime": "2020-07-13T15:08:14.575Z", "creatorId": "string", "lastModifyDateTime": "2020-07-13T15:08:14.575Z", "lastModifierId": "string", "purgeDate": "2020-07-13" }, "vipStatus": { "value": "string", "code": "string" }, "lastHotelCode": "string", "lastStayDate": "2020-07-13", "totalStay": 0, "comments": "string", "preference": "string", "preference2": "string", "guestPreferredLanguage": "string", "totalBrandStay": 0, "birthDate": "2020-07-13", "birthDateMasked": "string" }, "userDefinedFields": { "characterUDFs": [ { "name": "string", "value": "string", "alternateName": "string" } ], "numericUDFs": [ { "name": "string", "value": 0, "alternateName": "string" } ], "dateUDFs": [ { "name": "string", "value": "2020-07-13", "alternateName": "string" } ] }, "welcomeOffer": { "status": "string", "type": "BonusPoints" }, "stopCheckInCheckOut": true, "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0, "createDateTime": "2020-07-13T15:08:14.575Z", "creatorId": "string", "lastModifyDateTime": "2020-07-13T15:08:14.575Z", "lastModifierId": "string", "purgeDate": "2020-07-13" } ], "traces": [ { "timeInfo": { "dateTimeSpan": { "startDateTime": "2020-07-13T15:08:14.575Z", "endDateTime": "2020-07-13T15:08:14.575Z" }, "traceOn": "2020-07-13T15:08:14.575Z", "traceTime": "string", "enteredBy": "string" }, "reservationId": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "departmentId": "string", "traceText": "string", "resolveInfo": { "resolvedOn": "2020-07-13", "resolvedBy": "string" }, "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0, "createDateTime": "2020-07-13T15:08:14.575Z", "creatorId": "string", "lastModifyDateTime": "2020-07-13T15:08:14.575Z", "lastModifierId": "string", "purgeDate": "2020-07-13" } ], "confirmationLetters": [ { "recipientInfo": { "profileId": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "formerName": { "name": "string", "fullName": "string", "namePrefix": "string", "givenName": "string", "middleName": "string", "nameSuffix": "string", "nameTitle": "string", "nameType": "Primary" }, "addressInfo": { "address": { "addressLine": [ "string" ], "cityName": "string", "postalCode": "string", "county": "string", "state": "string", "country": { "value": "string", "code": "string" }, "type": "string" }, "id": "string", "type": "string" }, "emailInfo": { "email": { "emailAddress": "string", "type": "string" } }, "faxInfo": { "telephone": { "phoneNumber": "string" } }, "telephoneInfo": { "telephone": { "phoneNumber": "string" } }, "recipientType": "Guest" }, "deliveryInfo": [ { "communicationType": "Print", "lastStatus": "Pending", "lastAttempted": "2020-07-13T15:08:14.575Z", "successfulTries": 0 } ], "confirmationStyleInfo": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0, "style": "string" }, "fromEmail": "string", "sendTextMessage": true, "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 } ], "callHistory": [ { "dateTimeSpan": { "startDateTime": "2020-07-13T15:08:14.575Z", "endDateTime": "2020-07-13T15:08:14.575Z" }, "caller": { "givenName": "string", "surname": "string", "phone": "string", "email": "string", "fax": "string", "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "reservation": { "reservationIdList": [ { "id": "string", "type": "string" } ], "hotelId": "string" }, "turnawayCode": "string", "comments": "string", "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 } ], "fixedCharges": [ { "schedule": { "start": "2020-07-13", "end": "2020-07-13", "frequency": "O", "dayToExecute": "string", "dateToExecute": "2020-07-13" }, "charge": { "transaction": { "code": "string", "description": "string" }, "quantity": 0, "chargeAmount": { "amount": 0, "currencyCode": "string" }, "percent": 0, "supplement": "string", "article": { "code": "string", "description": "string" }, "roomNights": 0 }, "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 } ], "guestMessages": [ { "message": { "messageText": "string", "messageDate": "2020-07-13T15:08:14.575Z", "typeOfMessage": "Tm", "recipient": "string", "operator": "string" }, "delivery": { "deliveryStatus": "Mr", "deliveryDate": "2020-07-13T15:08:14.575Z", "deliveredBy": "string", "printDate": "2020-07-13T15:08:14.575Z", "textMessageSentDate": "2020-07-13T15:08:14.575Z", "textMessageSentBy": "string", "textMessageSentById": 0, "textMessageRecipientNo": "string" }, "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0, "createDateTime": "2020-07-13T15:08:14.575Z", "creatorId": "string", "lastModifyDateTime": "2020-07-13T15:08:14.575Z", "lastModifierId": "string", "purgeDate": "2020-07-13" } ], "lockHandle": 0, "overrideInstructions": [ { "description": "string", "date": "2020-07-13", "type": "string", "userId": "string" } ], "queue": { "timeSpan": { "startDate": "2020-07-13", "endDate": "2020-07-13", "duration": "string", "durationInSeconds": 0 }, "guestTextInfo": { "sentTime": "2020-07-13T15:08:14.575Z", "sentBy": "string" }, "priority": 0, "averageQueueTimeToCheckIn": 0, "averageQueueTimeCurrentReservations": 0, "queueDate": "2020-07-13" }, "allowedActions": [ "Cancel" ], "eCoupons": [ { "eCouponId": { "id": "string", "type": "string" }, "code": "string", "description": "string", "autoAttached": true, "issuedQuantity": 0, "usedQuantity": 0, "reason": "string", "ratePlanCode": "string", "welcomeOffer": true } ], "transactionDiversions": { "transactionDiversions": [ [ { "vipCode": "string", "membership": { "type": "string", "level": "string" }, "targetRoom": "string", "transactionCodes": { "transactionCode": [ { "code": "string", "description": "string" } ] }, "description": "string", "level": "Property", "thresholds": { "entity": "ThresholdCount", "scope": "PerDay", "minRequired": 0, "complimentary": 0, "isEditable": true }, "type": "Vip", "hotelId": "string", "code": "string", "displaySequence": 0, "inactive": true, "notes": { "comment": { "text": { "value": "string", "language": "string" }, "image": "string", "url": "string", "commentTitle": "string", "type": "string", "internal": true, "hotelId": "string" } }, "posted": 0, "diverted": 0, "dailyDetails": [ { "posted": 0, "diverted": 0, "date": "2020-07-13" } ] } ] ], "actionType": "string" }, "advanceCheckIn": { "advanceCheckedIn": true, "expectedReturnTime": "2020-07-13T15:08:14.575Z", "eTRComments": "string" }, "tickets": [ { "ticketId": { "id": "string", "type": "string" }, "packageCode": "string", "reservationProductId": { "id": "string", "type": "string" }, "ticketNumber": { "id": "string", "type": "string" }, "description": "string", "issueDate": "2020-07-13", "price": 0, "consumptionDate": "2020-07-13", "rateCode": "string", "quantity": 0, "reference": "string", "status": "string", "statusDescription": "string" } ], "accessRestrictionMessage": "string", "eCertificates": [ { "eCertificateNo": "string", "actionType": "Create", "eCertificateType": "Promotion" } ], "customNameValueDetail": { "nameValues": [ { "name": "string", "value": "string", "formatString": "string", "dataType": "String", "origin": { "originName": "Reservation", "destination": "string", "id": "string", "type": "string" } } ] }, "customChargeExemptionDetails": [ { "customChargesExemption": { "code": "string", "description": "string" }, "customChargeQuantity": { "quantity": 0, "available": true }, "customChargeDates": [ { "date": "2020-07-13", "quantity": 0 } ], "excludedDates": [ { "date": "2020-07-13", "reason": "NotConfigured" } ] } ], "autoBorrowFromHouse": true, "overrideExternalChecks": true, "hotelId": "string", "roomStayReservation": true, "reservationStatus": "Reserved", "computedReservationStatus": "Reserved", "walkIn": true, "printRate": true, "createDateTime": "2020-07-13T15:08:14.575Z", "creatorId": "string", "lastModifyDateTime": "2020-07-13T15:08:14.575Z", "lastModifierId": "string", "purgeDate": "2020-07-13", "createBusinessDate": "2020-07-13", "reinstateDate": "2020-07-13", "party": "string", "primaryEnrollmentResort": "string", "primaryEnrollmentChain": "string", "customReference": "string", "displayColor": "string", "markAsRecentlyAccessed": true, "overrideInventoryCheck": true, "accessRestriction": "Change", "preRegistered": true, "upgradeEligible": true, "overrideBlockRestriction": true, "allowAutoCheckin": true, "hasOpenFolio": true, "allowMobileCheckout": true, "allowMobileViewFolio": true, "allowPreRegistration": true, "optedForCommunication": true, "chargeCardNumber": "string" }, "routingInstructions": [ { "folio": { "guestInfo": { "profileIdList": [ { "id": "string", "type": "string" } ] }, "payeeInfo": { "payeeId": { "id": "string", "type": "string" }, "payeeName": "string", "payeeAddress": { "address": { "addressLine": [ "string" ], "cityName": "string", "postalCode": "string", "county": "string", "state": "string", "country": { "value": "string", "code": "string" }, "type": "string" }, "id": "string", "type": "string" }, "payeeAddressCount": 0, "payeeReferenceCurrency": "string", "payeeAccountInfo": { "accountName": "string", "accountId": { "id": "string", "type": "string" }, "accountNo": "string", "status": { "restriction": "string", "description": "string", "restricted": true } }, "payeeTaxNumber": "string" }, "aRNumber": "string", "instructions": [ { "duration": { "timeSpan": { "startDate": "2020-07-13", "endDate": "2020-07-13", "duration": "string" }, "sunday": true, "monday": true, "tuesday": true, "wednesday": true, "thursday": true, "friday": true, "saturday": true, "daily": true }, "transactionCodes": [ { "description": "string", "transactionGroup": "string", "transactionSubGroup": "string", "universalProductCode": "string", "routingInstructionsId": 0, "articles": [ { "description": "string", "transactionCode": "string", "price": { "amount": 0, "currencyCode": "string" }, "postIt": { "availableForPostIt": true }, "universalProductCode": "string", "hotelId": "string", "articleCode": "string", "inactive": true, "orderSequence": 0 } ], "transactionCode": "string", "hotelId": "string", "printTrxReceipt": true } ], "billingInstructions": [ { "desc": "string", "routingInstructionsId": 0, "billingCode": "string", "hotelId": "string" } ], "creditLimit": 0, "percentageLimit": 0, "covers": 0, "limitUsed": 0, "routingLinkId": { "id": "string", "type": "string" } } ], "folioWindowNo": 0, "paymentMethod": "string" }, "room": { "roomId": "string", "guestNameId": { "id": "string", "type": "string" }, "guestDisplayName": "string", "reservationNameId": { "id": "string", "type": "string" }, "instructions": [ { "duration": { "timeSpan": { "startDate": "2020-07-13", "endDate": "2020-07-13", "duration": "string" }, "sunday": true, "monday": true, "tuesday": true, "wednesday": true, "thursday": true, "friday": true, "saturday": true, "daily": true }, "transactionCodes": [ { "description": "string", "transactionGroup": "string", "transactionSubGroup": "string", "universalProductCode": "string", "routingInstructionsId": 0, "articles": [ { "description": "string", "transactionCode": "string", "price": { "amount": 0, "currencyCode": "string" }, "postIt": { "availableForPostIt": true }, "universalProductCode": "string", "hotelId": "string", "articleCode": "string", "inactive": true, "orderSequence": 0 } ], "transactionCode": "string", "hotelId": "string", "printTrxReceipt": true } ], "billingInstructions": [ { "desc": "string", "routingInstructionsId": 0, "billingCode": "string", "hotelId": "string" } ], "creditLimit": 0, "percentageLimit": 0, "covers": 0, "limitUsed": 0, "routingLinkId": { "id": "string", "type": "string" } } ] }, "comp": { "compRequestInfo": { "requestedBy": { "userId": 0, "userName": "string" }, "comments": "string", "declinedBy": { "userId": 0, "userName": "string" }, "status": "Request" }, "payeeInfo": { "payeeId": { "id": "string", "type": "string" }, "payeeName": "string", "payeeAddress": { "address": { "addressLine": [ "string" ], "cityName": "string", "postalCode": "string", "county": "string", "state": "string", "country": { "value": "string", "code": "string" }, "type": "string" }, "id": "string", "type": "string" }, "payeeAddressCount": 0, "payeeReferenceCurrency": "string", "payeeAccountInfo": { "accountName": "string", "accountId": { "id": "string", "type": "string" }, "accountNo": "string", "status": { "restriction": "string", "description": "string", "restricted": true } }, "payeeTaxNumber": "string" }, "instructions": [ { "duration": { "timeSpan": { "startDate": "2020-07-13", "endDate": "2020-07-13", "duration": "string" }, "sunday": true, "monday": true, "tuesday": true, "wednesday": true, "thursday": true, "friday": true, "saturday": true, "daily": true }, "transactionCodes": [ { "description": "string", "transactionGroup": "string", "transactionSubGroup": "string", "universalProductCode": "string", "routingInstructionsId": 0, "articles": [ { "description": "string", "transactionCode": "string", "price": { "amount": 0, "currencyCode": "string" }, "postIt": { "availableForPostIt": true }, "universalProductCode": "string", "hotelId": "string", "articleCode": "string", "inactive": true, "orderSequence": 0 } ], "transactionCode": "string", "hotelId": "string", "printTrxReceipt": true } ], "billingInstructions": [ { "desc": "string", "routingInstructionsId": 0, "billingCode": "string", "hotelId": "string" } ], "creditLimit": 0, "percentageLimit": 0, "covers": 0, "limitUsed": 0, "routingLinkId": { "id": "string", "type": "string" } } ], "folioWindowNo": 0 }, "request": { "compRequestInfo": { "requestedBy": { "userId": 0, "userName": "string" }, "comments": "string", "declinedBy": { "userId": 0, "userName": "string" }, "status": "Request" }, "instructions": [ { "duration": { "timeSpan": { "startDate": "2020-07-13", "endDate": "2020-07-13", "duration": "string" }, "sunday": true, "monday": true, "tuesday": true, "wednesday": true, "thursday": true, "friday": true, "saturday": true, "daily": true }, "transactionCodes": [ { "description": "string", "transactionGroup": "string", "transactionSubGroup": "string", "universalProductCode": "string", "routingInstructionsId": 0, "articles": [ { "description": "string", "transactionCode": "string", "price": { "amount": 0, "currencyCode": "string" }, "postIt": { "availableForPostIt": true }, "universalProductCode": "string", "hotelId": "string", "articleCode": "string", "inactive": true, "orderSequence": 0 } ], "transactionCode": "string", "hotelId": "string", "printTrxReceipt": true } ], "billingInstructions": [ { "desc": "string", "routingInstructionsId": 0, "billingCode": "string", "hotelId": "string" } ], "creditLimit": 0, "percentageLimit": 0, "covers": 0, "limitUsed": 0, "routingLinkId": { "id": "string", "type": "string" } } ] } } ] } }, "reservationFilter": { "reservations": [ { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0, "overrideOutOfService": true } ], "stayOn": { "start": "2020-07-13", "end": "2020-07-13" }, "applyChangesTo": "All" }, "changeBlockReservationsInstructions": [ "ApplyRateToAllRoomTypes" ], "hotelId": "string", "borrowForAll": true }, "links": [ { "href": "string", "rel": "string", "templated": false, "method": "GET", "targetSchema": "string", "operationId": "string", "title": "string" } ] } } }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] }, "get": { "summary": "Retrieves all reservations created for the Block", "description": "Use this API to retrieve all reservations created for the given block ID.OperationId:getBlockReservations
", "operationId": "getBlockReservations", "parameters": [ { "name": "blockId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Block Id" }, { "name": "hotelId", "in": "query", "required": false, "description": "Hotel Code to which the block belongs to.", "type": "string" }, { "name": "fetchInstructions", "in": "query", "type": "array", "collectionFormat": "multi", "description": "Instruction to fetch whether the room was assigned/upgraded by AI. This will also include Reservation instruction.", "uniqueItems": true, "items": { "type": "string", "enum": [ "Reservation", "Comments", "GuestComments", "Packages", "InventoryItems", "ReservationPaymentMethods", "RoutingInstructions", "Preferences", "Memberships", "Alerts", "Traces", "ConfirmationLetters", "CallHistory", "FixedCharges", "GuestMessages", "ReservationPolicies", "Indicators", "LinkedReservations", "RevenuesAndBalances", "GuestLastStay", "ECoupons", "TrackItItems", "TotalCostOfStay", "ReservationAwards", "WebRegistrationCards", "ServiceRequests", "ReservationActivities", "ScheduledActivities", "PrepaidCards", "Shares", "Attachments", "Locators", "ProfileAwards", "TransactionDiversions", "Tickets", "GuestMemberships", "ECertificates", "UpsellInfo", "RoomAssignedByAI", "CustomNameValue", "CustomChargeExemptions" ] }, "required": false }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" } }, "description": "Response type for holding block reservations as part of the response to FetchBlockReservations operation.", "schema": { "$ref": "#/definitions/blockReservations" }, "examples": { "application/json": { "reservations": { "reservations": { "reservation": [ { "reservationIdList": [ { "id": "string", "type": "string" } ], "associatedReservations": { "parentReservation": { "id": "string", "type": "string" }, "originalMultiRoomRes": { "id": "string", "type": "string" } }, "sourceOfSale": { "sourceType": "string", "sourceCode": "string" }, "roomStay": { "roomRates": [ { "total": { "taxes": { "tax": [ { "description": "string", "type": "Inclusive", "code": "string", "amount": 0, "currencyCode": "string" } ], "amount": 0, "currencyCode": "string" }, "fees": { "fee": [ { "description": "string", "type": "Inclusive", "code": "string", "amount": 0, "currencyCode": "string" } ], "amount": 0, "currencyCode": "string" }, "description": "string", "amountBeforeTax": 0, "amountAfterTax": 0, "currencyCode": "string", "currencySymbol": "string", "decimalPlaces": 0, "code": "string", "rateOverride": true }, "totalPoints": { "awardsType": "string", "points": 0 }, "rates": { "rate": [ { "base": { "taxes": { "tax": [ { "description": "string", "type": "Inclusive", "code": "string", "amount": 0, "currencyCode": "string" } ], "amount": 0, "currencyCode": "string" }, "fees": { "fee": [ { "description": "string", "type": "Inclusive", "code": "string", "amount": 0, "currencyCode": "string" } ], "amount": 0, "currencyCode": "string" }, "description": "string", "amountBeforeTax": 0, "amountAfterTax": 0, "currencyCode": "string", "currencySymbol": "string", "decimalPlaces": 0, "code": "string", "rateOverride": true }, "additionalGuestAmounts": [ { "amount": { "taxes": { "tax": [ { "description": "string", "type": "Inclusive", "code": "string", "amount": 0, "currencyCode": "string" } ], "amount": 0, "currencyCode": "string" }, "fees": { "fee": [ { "description": "string", "type": "Inclusive", "code": "string", "amount": 0, "currencyCode": "string" } ], "amount": 0, "currencyCode": "string" }, "description": "string", "amountBeforeTax": 0, "amountAfterTax": 0, "currencyCode": "string", "currencySymbol": "string", "decimalPlaces": 0, "code": "string", "rateOverride": true }, "ageQualifyingCode": "ADULT" } ], "discount": { "discountReason": "string", "percent": 0, "amount": 0, "currencyCode": "string", "discountCode": "string" }, "shareRatePercentage": 0, "shareDistributionInstruction": "Full", "total": { "taxes": { "tax": [ { "description": "string", "type": "Inclusive", "code": "string", "amount": 0, "currencyCode": "string" } ], "amount": 0, "currencyCode": "string" }, "fees": { "fee": [ { "description": "string", "type": "Inclusive", "code": "string", "amount": 0, "currencyCode": "string" } ], "amount": 0, "currencyCode": "string" }, "description": "string", "amountBeforeTax": 0, "amountAfterTax": 0, "currencyCode": "string", "currencySymbol": "string", "decimalPlaces": 0, "code": "string", "rateOverride": true }, "requiredPoints": { "awardsType": "string", "points": 0 }, "effectiveRate": { "taxes": { "tax": [ { "description": "string", "type": "Inclusive", "code": "string", "amount": 0, "currencyCode": "string" } ], "amount": 0, "currencyCode": "string" }, "fees": { "fee": [ { "description": "string", "type": "Inclusive", "code": "string", "amount": 0, "currencyCode": "string" } ], "amount": 0, "currencyCode": "string" }, "description": "string", "amountBeforeTax": 0, "amountAfterTax": 0, "currencyCode": "string", "currencySymbol": "string", "decimalPlaces": 0, "code": "string", "rateOverride": true }, "start": "2020-07-13", "end": "2020-07-13" } ], "rateRange": [ { "base": [ { "taxes": { "tax": [ { "description": "string", "type": "Inclusive", "code": "string", "amount": 0, "currencyCode": "string" } ], "amount": 0, "currencyCode": "string" }, "fees": { "fee": [ { "description": "string", "type": "Inclusive", "code": "string", "amount": 0, "currencyCode": "string" } ], "amount": 0, "currencyCode": "string" }, "description": "string", "amountBeforeTax": 0, "amountAfterTax": 0, "currencyCode": "string", "currencySymbol": "string", "decimalPlaces": 0, "code": "string", "rateOverride": true } ], "rateChange": true } ] }, "packages": [ { "amount": { "amount": 0, "currencyCode": "string" }, "allowance": { "amount": 0, "currencyCode": "string" }, "description": [ "string" ], "startDate": "2020-07-13", "endDate": "2020-07-13", "packageCode": "string", "calculationRule": "string", "postingRhythm": "string", "quantity": 0, "includedInRate": true, "addRateSeprateLine": true, "addRateCombinedLine": true, "startTime": "string", "endTime": "string", "sellSeparate": true } ], "stayProfiles": [ { "profileIdList": [ { "id": "string", "type": "string" } ], "profile": { "customer": { "personName": [ { "givenName": "string", "surname": "string", "nameType": "Primary", "language": "string", "externalSystem": "string" } ], "anonymization": { "anonymizationStatus": "Requested", "anonymizationDate": "2020-07-13T15:02:57.147Z" }, "businessTitle": "string", "language": "string", "privateProfile": true, "blacklist": true }, "company": { "companyName": "string" }, "addresses": { "addressInfo": [ { "address": { "addressLine": [ "string" ], "cityName": "string", "postalCode": "string", "county": "string", "state": "string", "country": { "value": "string", "code": "string" }, "type": "string" }, "id": "string", "type": "string" } ], "hasMore": true, "totalResults": 0, "count": 0 }, "telephones": { "telephoneInfo": [ { "telephone": { "phoneNumber": "string" } } ], "hasMore": true, "totalResults": 0, "count": 0 }, "emails": { "emailInfo": [ { "email": { "emailAddress": "string", "type": "string" } } ], "hasMore": true, "totalResults": 0, "count": 0 }, "uRLs": { "uRLInfo": [ { "url": { "value": "string", "type": "string" } } ], "hasMore": true, "totalResults": 0, "count": 0 }, "relationships": { "relationship": [ { "relationshipProfile": { "company": { "companyName": "string" }, "profileIdList": [ { "id": "string", "type": "string" } ], "profileType": "Guest" }, "relation": "string", "targetRelation": "string" } ], "hasMore": true, "totalResults": 0, "count": 0 }, "profileType": "Guest" }, "reservationProfileType": "Company" } ], "guestCounts": { "childAges": [ { "age": 0 } ], "childBuckets": { "bucket1Count": 0, "bucket2Count": 0, "bucket3Count": 0, "bucket4Count": 0, "bucket5Count": 0 }, "adults": 0, "children": 0 }, "taxFreeGuestCounts": { "childAges": [ { "age": 0 } ], "childBuckets": { "bucket1Count": 0, "bucket2Count": 0, "bucket3Count": 0, "bucket4Count": 0, "bucket5Count": 0 }, "adults": 0, "children": 0 }, "awards": { "membershipNo": { "id": "string", "type": "string" }, "awardVouchers": { "awardVoucher": [ { "awardCode": "string", "voucherNo": "string" } ] }, "originalRoomType": "string", "upgradeRoomType": "string" }, "foreignExchange": { "type": "string", "effectiveDate": "2020-07-13" }, "reservationBlock": { "blockIdList": [ { "id": "string", "type": "string" } ], "blockName": "string", "hotelId": "string" }, "roomRateInfo": "string", "mealPlans": [ { "code": "string", "included": true, "breakfastIncluded": true, "lunchIncluded": true, "dinnerIncluded": true } ], "roomType": "string", "ratePlanCode": "string", "promotionCode": "string", "start": "2020-07-13", "end": "2020-07-13", "availability": "Available", "suppressRate": true, "marketCode": "string", "marketCodeDescription": "string", "sourceCode": "string", "sourceCodeDescription": "string", "numberOfUnits": 0, "roomId": "string", "pseudoRoom": true, "roomTypeCharged": "string", "commissionCode": "string", "commissionable": true, "houseUseOnly": true, "complimentary": true, "inventoryLender": "string", "fixedRate": true, "barRanking": 0, "rateGroup": "string", "discountAllowed": true, "bogoDiscount": true, "rateLevel": "string", "commissionPercentage": 0, "commissionAmount": 0, "credentialsRequired": true, "taxIncluded": true, "rateDescription": "string" } ], "guestCounts": { "childAges": [ { "age": 0 } ], "childBuckets": { "bucket1Count": 0, "bucket2Count": 0, "bucket3Count": 0, "bucket4Count": 0, "bucket5Count": 0 }, "adults": 0, "children": 0 }, "arrivalDate": "2020-07-13", "departureDate": "2020-07-13", "expectedTimes": { "reservationExpectedArrivalTime": "2020-07-13T15:02:57.147Z", "reservationExpectedDepartureTime": "2020-07-13T15:02:57.147Z" }, "originalTimeSpan": { "startDate": "2020-07-13", "endDate": "2020-07-13", "duration": "string" }, "guarantee": { "guaranteeCode": "string", "shortDescription": "string", "onHold": true }, "promotion": { "promotionCode": "string", "promotionName": "string", "couponCode": "string" }, "suiteWith": "string", "total": { "taxes": { "tax": [ { "description": "string", "type": "Inclusive", "code": "string", "amount": 0, "currencyCode": "string" } ], "amount": 0, "currencyCode": "string" }, "fees": { "fee": [ { "description": "string", "type": "Inclusive", "code": "string", "amount": 0, "currencyCode": "string" } ], "amount": 0, "currencyCode": "string" }, "description": "string", "amountBeforeTax": 0, "amountAfterTax": 0, "currencyCode": "string", "currencySymbol": "string", "decimalPlaces": 0, "code": "string", "rateOverride": true }, "totalPoints": { "awardsType": "string", "points": 0 }, "multiValueAttrs": [ "string" ], "upsellInfo": { "originalInfo": { "rateCode": "string", "totalAmount": { "amount": 0, "currencyCode": "string" }, "roomType": { "code": "string", "description": "string" }, "nights": 0 }, "upsellInfo": { "totalUpsellCharge": { "amount": 0, "currencyCode": "string" }, "totalUpsellMoneyAmount": { "amount": 0, "currencyCode": "string" }, "firstNightUpsellAmount": { "amount": 0, "currencyCode": "string" }, "firstNightUpsellCharge": { "amount": 0, "currencyCode": "string" }, "totalUpsellPoints": 0, "totalActualRateAmount": { "amount": 0, "currencyCode": "string" }, "roomType": { "code": "string", "description": "string" }, "roomLongDescription": "string", "ruleId": 0, "ruleCode": "string", "ruleDescription": "string", "percentageSavings": 0, "upsellDate": "2020-07-13", "upsellUser": "string" } }, "mobileNotifications": { "roomReady": "Pending", "keyReady": "Pending", "checkoutMessageReceived": true, "requiresAction": true, "errorMessage": "string" }, "roomNumberLocked": true, "printRate": true, "primaryShareType": "Primary", "remoteCheckInAllowed": true, "bookingMedium": "string", "bookingMediumDescription": "string" }, "reservationGuests": [ { "profileInfo": { "profileIdList": [ { "id": "string", "type": "string" } ], "profile": { "customer": { "personName": [ { "givenName": "string", "surname": "string", "nameType": "Primary", "language": "string", "externalSystem": "string" } ], "anonymization": { "anonymizationStatus": "Requested", "anonymizationDate": "2020-07-13T15:02:57.147Z" }, "businessTitle": "string", "language": "string", "privateProfile": true, "blacklist": true }, "company": { "companyName": "string" }, "addresses": { "addressInfo": [ { "address": { "addressLine": [ "string" ], "cityName": "string", "postalCode": "string", "county": "string", "state": "string", "country": { "value": "string", "code": "string" }, "type": "string" }, "id": "string", "type": "string" } ], "hasMore": true, "totalResults": 0, "count": 0 }, "telephones": { "telephoneInfo": [ { "telephone": { "phoneNumber": "string" } } ], "hasMore": true, "totalResults": 0, "count": 0 }, "emails": { "emailInfo": [ { "email": { "emailAddress": "string", "type": "string" } } ], "hasMore": true, "totalResults": 0, "count": 0 }, "uRLs": { "uRLInfo": [ { "url": { "value": "string", "type": "string" } } ], "hasMore": true, "totalResults": 0, "count": 0 }, "relationships": { "relationship": [ { "relationshipProfile": { "company": { "companyName": "string" }, "profileIdList": [ { "id": "string", "type": "string" } ], "profileType": "Guest" }, "relation": "string", "targetRelation": "string" } ], "hasMore": true, "totalResults": 0, "count": 0 }, "profileType": "Guest" }, "profileCashieringDetail": { "paymentMethod": { "code": "string", "description": "string" }, "eCommerceId": { "id": "string", "type": "string" }, "routingInstructions": { "transactionCodes": [ { "description": "string", "transactionGroup": "string", "transactionSubGroup": "string", "universalProductCode": "string", "routingInstructionsId": 0, "articles": [ { "description": "string", "transactionCode": "string", "price": { "amount": 0, "currencyCode": "string" }, "postIt": { "availableForPostIt": true }, "universalProductCode": "string", "hotelId": "string", "articleCode": "string", "inactive": true, "orderSequence": 0 } ], "transactionCode": "string", "hotelId": "string", "printTrxReceipt": true } ], "billingInstructions": [ { "desc": "string", "routingInstructionsId": 0, "billingCode": "string", "hotelId": "string" } ], "autoPopulateRouting": true }, "taxType": "string", "fiscalGuestType": "string", "hotelId": "string" }, "registrationCardNo": "string" }, "arrivalTransport": { "comments": "string", "type": "string", "transportCode": "string", "carrierCode": "string", "stationCode": "string", "dateTime": "2020-07-13T15:02:57.147Z", "transportationReqd": true }, "departureTransport": { "comments": "string", "type": "string", "transportCode": "string", "carrierCode": "string", "stationCode": "string", "dateTime": "2020-07-13T15:02:57.148Z", "transportationReqd": true }, "visaInfo": { "visaIssueDate": "2020-07-13", "visaExpiryDate": "2020-07-13", "visaNumber": "string" }, "reservationGuestRPH": "string", "primary": true } ], "sharedGuests": [ { "profileId": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "firstName": "string", "lastName": "string", "fullName": "string" } ], "additionalGuestInfo": { "portOfEntry": "string", "dateOfEntry": "2020-07-13", "nextDestination": "string", "preferredRoomType": "string", "lastStay": { "lastStayDate": "2020-07-13", "lastStayRoom": "string", "lastStayRate": { "amount": 0, "currencyCode": "string" }, "totalStay": 0 }, "purposeOfStay": "string", "guestClassification": "string", "guestStatus": "string" }, "reservationProfiles": { "reservationProfile": [ { "profileIdList": [ { "id": "string", "type": "string" } ], "profile": { "customer": { "personName": [ { "givenName": "string", "surname": "string", "nameType": "Primary", "language": "string", "externalSystem": "string" } ], "anonymization": { "anonymizationStatus": "Requested", "anonymizationDate": "2020-07-13T15:02:57.148Z" }, "businessTitle": "string", "language": "string", "privateProfile": true, "blacklist": true }, "company": { "companyName": "string" }, "addresses": { "addressInfo": [ { "address": { "addressLine": [ "string" ], "cityName": "string", "postalCode": "string", "county": "string", "state": "string", "country": { "value": "string", "code": "string" }, "type": "string" }, "id": "string", "type": "string" } ], "hasMore": true, "totalResults": 0, "count": 0 }, "telephones": { "telephoneInfo": [ { "telephone": { "phoneNumber": "string" } } ], "hasMore": true, "totalResults": 0, "count": 0 }, "emails": { "emailInfo": [ { "email": { "emailAddress": "string", "type": "string" } } ], "hasMore": true, "totalResults": 0, "count": 0 }, "uRLs": { "uRLInfo": [ { "url": { "value": "string", "type": "string" } } ], "hasMore": true, "totalResults": 0, "count": 0 }, "relationships": { "relationship": [ { "relationshipProfile": { "company": { "companyName": "string" }, "profileIdList": [ { "id": "string", "type": "string" } ], "profileType": "Guest" }, "relation": "string", "targetRelation": "string" } ], "hasMore": true, "totalResults": 0, "count": 0 }, "profileType": "Guest" }, "reservationProfileType": "Company" } ], "commissionPayoutTo": "TravelAgent" }, "reservationCommunication": { "telephones": { "telephoneInfo": [ { "telephone": { "phoneNumber": "string" } } ], "hasMore": true, "totalResults": 0, "count": 0 }, "emails": { "emailInfo": [ { "email": { "emailAddress": "string", "type": "string" } } ], "hasMore": true, "totalResults": 0, "count": 0 } }, "reservationAwards": [ { "awardCode": "string", "awardType": "Paper", "description": "string", "certificateNo": "string", "masterCertificiateNo": "string", "membershipNo": "string", "hotelId": "string", "hotelCategory": "string", "externalHotelCode": "string", "externalConfirmationNo": "string", "categoryValid": true, "reservationCertificateType": "Reward", "rewardCertificateType": "Regular", "status": "Available", "expirationDate": "2020-07-13", "gift": true, "upgrade": true, "package": true, "instantlyRedeemable": true, "paidUpgrade": true, "detailedCertificate": true, "nights": 0, "sourceType": "string", "points": 0, "fBAInfo": { "status": "Ordered", "monetaryValue": 0, "amount": 0, "postedAmount": 0, "reimbursedAmount": 0, "postingDateTime": "2020-07-13", "postingBusinessDate": "2020-07-13", "settlementDateTime": "2020-07-13", "settlementBusinessDate": "2020-07-13", "reimbursementDateTime": "2020-07-13", "reimbursementBusinessDate": "2020-07-13", "fbaBillGenDate": "2020-07-13", "currencyCode": "string", "currencySymbol": "string", "decimalPlaces": 0, "flexibleBenefitAward": true, "posted": true, "settled": true, "reimbursed": true, "resettleAllowed": true, "reimburseAllowed": true, "orphanCertificate": true }, "reservationId": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "profileId": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "quantity": 0, "displaySequence": 0, "createDateTime": "2020-07-13T15:02:57.148Z", "creatorId": "string", "lastModifyDateTime": "2020-07-13T15:02:57.148Z", "lastModifierId": "string", "purgeDate": "2020-07-13" } ], "trackItItems": [ { "hotelId": "string", "trackItId": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "group": "Parcel", "ticketNumber": "string", "referenceNumber": "string", "type": { "type": { "code": "string", "description": "string" }, "url": { "value": "string", "type": "string" } }, "action": { "trackItAction": { "code": "string", "description": "string" }, "status": "Open" }, "location": { "code": "string", "description": "string" }, "quantity": 0, "followUpDate": "2020-07-13", "description": "string", "assignedTo": { "hotel": { "code": "string", "description": "string" }, "appUser": "string", "lDAPUser": "string", "actAs": "string", "actAt": "string", "userDefaultLanguage": "string", "appUserId": { "id": "string", "type": "string" }, "cashierId": 0, "cashierTitle": "string", "department": "string", "departmentLocation": "string", "salesRepCode": "string", "expiryDate": "2020-07-13", "disabledUntil": "2020-07-13", "passwordChangeDate": "2020-07-13", "userInfo": { "personName": { "givenName": "string", "surname": "string", "nameType": "Primary", "language": "string", "externalSystem": "string" }, "profileId": { "id": "string", "type": "string" }, "addressInfo": { "address": { "addressLine": [ "string" ], "cityName": "string", "postalCode": "string", "county": "string", "state": "string", "country": { "value": "string", "code": "string" }, "type": "string" }, "id": "string", "type": "string" }, "emailInfo": { "email": { "emailAddress": "string", "type": "string" } }, "phoneInfo": { "telephone": { "phoneNumber": "string" } }, "department": { "code": "string", "description": "string" }, "gender": "Male", "birthDate": "2020-07-13", "birthDateMasked": "string" }, "userSessionInfo": { "businessDate": "2020-07-13", "systemDate": "2020-07-13", "terminal": "string", "runningApp": "string", "shareProfiles": true, "hotel": { "code": "string", "description": "string" }, "cro": { "code": "string", "description": "string" }, "chain": "string", "cROCountryCode": "string", "sessionDefaults": { "dbDateFormat": "string", "oracleDateFormat": "string", "oracleTimeFormat": "string", "javaDateFormat": "string", "javaTimeFormat": "string", "currencyCode": "string", "currencyFormat": "string", "defaultLanguage": "string", "baseLanguage": "string" }, "parameters": [ { "parameterName": "string", "parameterValue": "string" } ] }, "attendantInfo": { "attendantId": "string", "hotelId": "string" } }, "reservationInfo": { "reservationIdList": [ { "id": "string", "type": "string" } ], "timeSpan": { "startDate": "2020-07-13", "endDate": "2020-07-13", "duration": "string" }, "guestInfo": { "membership": { "membershipId": 0, "programCode": "string", "bonusCode": "string", "membershipTypeDesc": "string", "membershipLevelDesc": "string", "accountId": "string", "membershipLevel": "string", "playerRanking": 0 }, "namePrefix": "string", "givenName": "string", "alternateGivenName": "string", "middleName": "string", "surnamePrefix": "string", "surname": "string", "alternateSurname": "string", "nameSuffix": "string", "nameTitle": "string", "fullName": "string", "alternateFullName": "string", "phoneNumber": "string", "email": "string", "birthDate": "2020-07-13", "language": "string", "nationality": { "value": "string", "code": "string" }, "vip": { "vipCode": "string", "vipDescription": "string" }, "address": { "cityName": "string", "postalCode": "string", "state": "string", "country": { "value": "string", "code": "string" }, "streetAddress": "string", "excludeNoCity": true }, "anonymization": { "anonymizationStatus": "Requested", "anonymizationDate": "2020-07-13T15:02:57.151Z" }, "accompanyGuests": [ { "firstName": "string", "lastName": "string", "fullName": "string", "registrationCardNo": "string", "profileIdList": [ { "id": "string", "type": "string" } ] } ], "externalInfo": { "givenName": "string", "surname": "string" }, "guestLastStayInfo": { "lastStayDate": "2020-07-13", "lastStayRoom": "string", "lastStayRate": { "amount": 0, "currencyCode": "string" }, "totalStay": 0 }, "guestRestrictedCode": "string", "guestRestrictedReasonDesc": "string", "guestRestricted": true, "registrationCardNo": "string", "nameType": "Guest", "id": "string", "type": "string" }, "roomType": "string", "roomId": "string", "roomStatus": "Clean", "guarantee": { "guaranteeCode": "string", "shortDescription": "string", "onHold": true }, "reservationStatus": "Reserved", "computedReservationStatus": "Reserved" }, "trackItLogList": [ { "hotelId": "string", "trackItLogId": { "id": "string", "type": "string" }, "trackItId": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "type": "string", "description": "string", "businessDate": "2020-07-13", "logUserId": 0, "logUserName": "string", "logDate": "2020-07-13T15:02:57.151Z" } ] } ], "locators": [ { "dateSpan": { "start": "2020-07-13", "end": "2020-07-13" }, "timeSpan": { "startDateTime": "2020-07-13T15:02:57.151Z", "endDateTime": "2020-07-13T15:02:57.151Z" }, "locatorText": "string", "locatorOn": "2020-07-13T15:02:57.151Z", "locatorBy": "string", "locatorId": { "id": "string", "type": "string" } } ], "attachments": [ { "fileName": "string", "fileSize": 0, "description": "string", "global": true, "hotelId": "string", "history": { "createDateTime": "2020-07-13T15:02:57.151Z", "creatorId": "string", "lastModifyDateTime": "2020-07-13T15:02:57.151Z", "lastModifierId": "string" }, "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 } ], "webRegistrationCards": [ { "fileName": "string", "fileSize": 0, "description": "string", "global": true, "hotelId": "string", "history": { "createDateTime": "2020-07-13T15:02:57.151Z", "creatorId": "string", "lastModifyDateTime": "2020-07-13T15:02:57.151Z", "lastModifierId": "string" }, "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 } ], "serviceRequests": [ { "serviceRequestId": { "id": "string", "type": "string" }, "hotelId": "string", "code": "string", "status": "Open", "priority": "string", "department": { "code": "string", "description": "string" }, "reservationIdList": [ { "id": "string", "type": "string" } ], "profileId": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "guestName": "string", "room": "string", "openDate": "2020-07-13T15:02:57.151Z", "guaranteedBy": "string", "comment": "string", "action": "string", "guestContactMethod": "string", "completionDate": "2020-07-13T15:02:57.151Z", "closedDate": "2020-07-13T15:02:57.151Z", "closedBy": "string", "closeDescription": "string" } ], "reservationActivities": [ { "profileId": [ { "id": "string", "type": "string" } ], "personName": { "givenName": "string", "surname": "string", "nameType": "Primary", "language": "string", "externalSystem": "string" }, "address": { "addressLine": [ "string" ], "cityName": "string", "postalCode": "string", "county": "string", "state": "string", "country": { "value": "string", "code": "string" }, "type": "string" }, "activities": [ { "activityIds": [ { "id": "string", "type": "string" } ], "type": "Golf", "location": "string", "name": [ "string" ], "numberOfPersons": 0, "timeSpan": { "startDateTime": "2020-07-13T15:02:57.151Z", "endDateTime": "2020-07-13T15:02:57.151Z" }, "duration": { "startDateTime": "2020-07-13T15:02:57.151Z", "endDateTime": "2020-07-13T15:02:57.151Z" }, "description": [ "string" ], "note": [ "string" ], "groupCode": "string", "amount": { "amount": 0, "currencyCode": "string" }, "deposit": { "amount": 0, "currencyCode": "string", "collectedBy": "Vendor" }, "inactiveDate": "2020-07-13T15:02:57.151Z", "participants": { "participant": [ { "givenName": "string", "surname": "string", "nameType": "Primary", "language": "string", "externalSystem": "string" } ] }, "uRLLink": "string", "extensions": { "activitySpecific": [ "string" ] }, "status": "Reserved", "link": true } ], "hotelId": "string" } ], "scheduledActivities": [ { "profileId": [ { "id": "string", "type": "string" } ], "personName": { "givenName": "string", "surname": "string", "nameType": "Primary", "language": "string", "externalSystem": "string" }, "address": { "addressLine": [ "string" ], "cityName": "string", "postalCode": "string", "county": "string", "state": "string", "country": { "value": "string", "code": "string" }, "type": "string" }, "activities": [ { "activityIds": [ { "id": "string", "type": "string" } ], "type": "Golf", "location": "string", "name": [ "string" ], "numberOfPersons": 0, "timeSpan": { "startDateTime": "2020-07-13T15:02:57.151Z", "endDateTime": "2020-07-13T15:02:57.151Z" }, "duration": { "startDateTime": "2020-07-13T15:02:57.151Z", "endDateTime": "2020-07-13T15:02:57.151Z" }, "description": [ "string" ], "note": [ "string" ], "groupCode": "string", "amount": { "amount": 0, "currencyCode": "string" }, "deposit": { "amount": 0, "currencyCode": "string", "collectedBy": "Vendor" }, "inactiveDate": "2020-07-13T15:02:57.151Z", "participants": { "participant": [ { "givenName": "string", "surname": "string", "nameType": "Primary", "language": "string", "externalSystem": "string" } ] }, "uRLLink": "string", "extensions": { "activitySpecific": [ "string" ] }, "status": "Reserved", "link": true } ], "hotelId": "string" } ], "prepaidCards": [ { "hotelId": "string", "reservationId": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "name": "string", "firstName": "string", "profileId": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "cardNo": "string", "cardNumberMasked": "string", "amount": { "amount": 0, "currencyCode": "string" }, "pinCode": "string", "interfaceId": { "id": "string", "type": "string" }, "cardDetails": { "initialLoadDate": "2020-07-13", "activateDate": "2020-07-13", "initialCreditTotal": { "amount": 0, "currencyCode": "string" }, "creditTotal": { "amount": 0, "currencyCode": "string" }, "debitTotal": { "amount": 0, "currencyCode": "string" }, "reservedTotal": { "amount": 0, "currencyCode": "string" }, "balanceTotal": { "amount": 0, "currencyCode": "string" }, "validUntilDate": "2020-07-13", "expiredDate": "2020-07-13", "transactions": [ { "transactionType": "Activate", "transactionDate": "2020-07-13", "transactionNo": 0, "amount": { "amount": 0, "currencyCode": "string" }, "createDateTime": "2020-07-13T15:02:57.152Z", "creatorId": "string", "lastModifyDateTime": "2020-07-13T15:02:57.152Z", "lastModifierId": "string", "purgeDate": "2020-07-13" } ] }, "createDateTime": "2020-07-13T15:02:57.152Z", "creatorId": "string", "lastModifyDateTime": "2020-07-13T15:02:57.152Z", "lastModifierId": "string", "purgeDate": "2020-07-13", "giftCard": true } ], "profileAwards": [ { "awardCode": "string", "awardType": "Paper", "description": "string", "certificateNo": "string", "masterCertificiateNo": "string", "membershipNo": "string", "hotelId": "string", "hotelCategory": "string", "externalHotelCode": "string", "externalConfirmationNo": "string", "categoryValid": true, "reservationCertificateType": "Reward", "rewardCertificateType": "Regular", "status": "Available", "expirationDate": "2020-07-13", "gift": true, "upgrade": true, "package": true, "instantlyRedeemable": true, "paidUpgrade": true, "detailedCertificate": true, "nights": 0, "sourceType": "string", "points": 0, "fBAInfo": { "status": "Ordered", "monetaryValue": 0, "amount": 0, "postedAmount": 0, "reimbursedAmount": 0, "postingDateTime": "2020-07-13", "postingBusinessDate": "2020-07-13", "settlementDateTime": "2020-07-13", "settlementBusinessDate": "2020-07-13", "reimbursementDateTime": "2020-07-13", "reimbursementBusinessDate": "2020-07-13", "fbaBillGenDate": "2020-07-13", "currencyCode": "string", "currencySymbol": "string", "decimalPlaces": 0, "flexibleBenefitAward": true, "posted": true, "settled": true, "reimbursed": true, "resettleAllowed": true, "reimburseAllowed": true, "orphanCertificate": true }, "reservationId": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "profileId": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "quantity": 0, "displaySequence": 0, "createDateTime": "2020-07-13T15:02:57.152Z", "creatorId": "string", "lastModifyDateTime": "2020-07-13T15:02:57.152Z", "lastModifierId": "string", "purgeDate": "2020-07-13" } ], "reservationPackages": [ { "packageHeaderType": { "primaryDetails": { "description": "string" } }, "scheduleList": [ { "consumptionDate": "2020-07-13", "unitPrice": 0, "computedResvPrice": 0, "unitAllowance": 0, "reservationDate": "2020-07-13", "originalUnitPrice": 0, "originalUnitAllowance": 0 } ], "newTimeSpan": { "startDate": "2020-07-13", "endDate": "2020-07-13", "duration": "string" }, "consumptionDetails": { "defaultQuantity": 0 }, "packageCode": "string", "ratePlanCode": "string", "startDate": "2020-07-13", "endDate": "2020-07-13", "packageGroup": "string", "source": "Reservation", "awardCode": "string", "points": 0 } ], "inventoryItems": { "item": [ { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0, "item": { "description": "string", "code": "string", "name": "string", "sellSeparate": true, "requiredForBooking": true }, "quantity": 0, "timeSpan": { "start": "2020-07-13", "end": "2020-07-13" }, "source": { "ratePlanCode": "string", "packageCode": "string", "blockId": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "welcomeOffer": true } } ], "itemClassCode": "string" }, "comments": [ { "comment": { "text": { "value": "string", "language": "string" }, "image": "string", "url": "string", "commentTitle": "string", "type": "string", "internal": true, "hotelId": "string" } } ], "guestComments": [ { "comment": { "text": { "value": "string", "language": "string" }, "image": "string", "url": "string", "commentTitle": "string", "type": "string", "internal": true, "hotelId": "string" } } ], "guestMemberships": [ { "comment": { "text": { "value": "string", "language": "string" }, "image": "string", "url": "string" }, "newMembershipNumber": "string", "nameOnCard": "string", "programDescription": "string", "membershipLevel": "string", "membershipLevelDescription": "string", "membershipClass": "string", "earningPreference": "Points", "inactive": true, "benefits": [ { "code": "string", "message": "string", "inactive": true } ], "tierAdministration": "Disabled", "downgrade": "Grace", "reIssueNewCard": "Pending", "excludeFromBatch": true, "upgradeDescription": "string", "downgradeDescription": "string", "rating": "string", "membershipEnrollmentCode": "string", "memberStatus": "string", "currentPoints": 0, "pointsLabel": "string", "enrollmentSource": "string", "enrollmentResort": "string", "preferredCard": true, "membershipId": "string", "membershipType": "string", "primaryMembershipYn": "string", "primaryMembership": true, "membershipIdNo": 0, "playerRanking": 0, "centralSetup": true, "signupDate": "2020-07-13", "effectiveDate": "2020-07-13", "expireDate": "2020-07-13", "expireDateExclusiveIndicator": true, "orderSequence": 0, "createDateTime": "2020-07-13T15:02:57.152Z", "creatorId": "string", "lastModifyDateTime": "2020-07-13T15:02:57.152Z", "lastModifierId": "string", "purgeDate": "2020-07-13" } ], "preferenceCollection": [ { "preference": [ { "preferenceValue": "string", "description": "string", "global": true, "source": "string", "hotels": [ "string" ], "preferenceCode": "string", "excludedPreferencesCount": 0 } ], "preferenceType": "string", "preferenceTypeDescription": "string", "sequence": "string", "maxQuantity": 0, "availableQuantity": 0, "maxResortUsedQuantity": 0, "reservationPreference": true, "createDateTime": "2020-07-13T15:02:57.152Z", "creatorId": "string", "lastModifyDateTime": "2020-07-13T15:02:57.152Z", "lastModifierId": "string", "purgeDate": "2020-07-13" } ], "reservationMemberships": [ { "comment": { "text": { "value": "string", "language": "string" }, "image": "string", "url": "string" }, "newMembershipNumber": "string", "nameOnCard": "string", "programDescription": "string", "membershipLevel": "string", "membershipLevelDescription": "string", "membershipClass": "string", "earningPreference": "Points", "inactive": true, "benefits": [ { "code": "string", "message": "string", "inactive": true } ], "tierAdministration": "Disabled", "downgrade": "Grace", "reIssueNewCard": "Pending", "excludeFromBatch": true, "upgradeDescription": "string", "downgradeDescription": "string", "rating": "string", "membershipEnrollmentCode": "string", "memberStatus": "string", "currentPoints": 0, "pointsLabel": "string", "enrollmentSource": "string", "enrollmentResort": "string", "preferredCard": true, "membershipId": "string", "membershipType": "string", "primaryMembershipYn": "string", "primaryMembership": true, "membershipIdNo": 0, "playerRanking": 0, "centralSetup": true, "signupDate": "2020-07-13", "effectiveDate": "2020-07-13", "expireDate": "2020-07-13", "expireDateExclusiveIndicator": true, "orderSequence": 0, "createDateTime": "2020-07-13T15:02:57.152Z", "creatorId": "string", "lastModifyDateTime": "2020-07-13T15:02:57.152Z", "lastModifierId": "string", "purgeDate": "2020-07-13", "linkMembership": true, "primary": true } ], "reservationPaymentMethods": [ { "paymentCard": { "cardId": { "id": "string", "type": "string" }, "currentAuthorizedAmount": { "amount": 0, "currencyCode": "string" }, "approvalAmountNeeded": { "amount": 0, "currencyCode": "string" }, "cardType": "Ab", "userDefinedCardType": "string", "cardNumber": "string", "cardNumberMasked": "string", "cardNumberLast4Digits": "string", "expirationDate": "2020-07-13", "expirationDateMasked": "string", "expirationDateExpired": true, "cardHolderName": "string", "attachCreditCardToProfile": true, "processing": "Eft", "swiped": true, "cardOrToken": "CardNumber" }, "balance": { "amount": 0, "currencyCode": "string" }, "authorizationRule": { "code": 0, "amount": { "amount": 0, "currencyCode": "string" }, "percent": 0 }, "emailFolioInfo": { "email": { "emailAddress": "string", "type": "string" }, "emailFolio": true, "id": "string", "type": "string" }, "paymentMethod": "string", "description": "string", "folioView": 0 } ], "routingInstructions": [ { "folio": { "guestInfo": { "profileIdList": [ { "id": "string", "type": "string" } ] }, "payeeInfo": { "payeeId": { "id": "string", "type": "string" }, "payeeName": "string", "payeeAddress": { "address": { "addressLine": [ "string" ], "cityName": "string", "postalCode": "string", "county": "string", "state": "string", "country": { "value": "string", "code": "string" }, "type": "string" }, "id": "string", "type": "string" }, "payeeAddressCount": 0, "payeeReferenceCurrency": "string", "payeeAccountInfo": { "accountName": "string", "accountId": { "id": "string", "type": "string" }, "accountNo": "string", "status": { "restriction": "string", "description": "string", "restricted": true } }, "payeeTaxNumber": "string" }, "aRNumber": "string", "instructions": [ { "duration": { "timeSpan": { "startDate": "2020-07-13", "endDate": "2020-07-13", "duration": "string" }, "sunday": true, "monday": true, "tuesday": true, "wednesday": true, "thursday": true, "friday": true, "saturday": true, "daily": true }, "transactionCodes": [ { "description": "string", "transactionGroup": "string", "transactionSubGroup": "string", "universalProductCode": "string", "routingInstructionsId": 0, "articles": [ { "description": "string", "transactionCode": "string", "price": { "amount": 0, "currencyCode": "string" }, "postIt": { "availableForPostIt": true }, "universalProductCode": "string", "hotelId": "string", "articleCode": "string", "inactive": true, "orderSequence": 0 } ], "transactionCode": "string", "hotelId": "string", "printTrxReceipt": true } ], "billingInstructions": [ { "desc": "string", "routingInstructionsId": 0, "billingCode": "string", "hotelId": "string" } ], "creditLimit": 0, "percentageLimit": 0, "covers": 0, "limitUsed": 0, "routingLinkId": { "id": "string", "type": "string" } } ], "folioWindowNo": 0, "paymentMethod": "string" }, "room": { "roomId": "string", "guestNameId": { "id": "string", "type": "string" }, "guestDisplayName": "string", "reservationNameId": { "id": "string", "type": "string" }, "instructions": [ { "duration": { "timeSpan": { "startDate": "2020-07-13", "endDate": "2020-07-13", "duration": "string" }, "sunday": true, "monday": true, "tuesday": true, "wednesday": true, "thursday": true, "friday": true, "saturday": true, "daily": true }, "transactionCodes": [ { "description": "string", "transactionGroup": "string", "transactionSubGroup": "string", "universalProductCode": "string", "routingInstructionsId": 0, "articles": [ { "description": "string", "transactionCode": "string", "price": { "amount": 0, "currencyCode": "string" }, "postIt": { "availableForPostIt": true }, "universalProductCode": "string", "hotelId": "string", "articleCode": "string", "inactive": true, "orderSequence": 0 } ], "transactionCode": "string", "hotelId": "string", "printTrxReceipt": true } ], "billingInstructions": [ { "desc": "string", "routingInstructionsId": 0, "billingCode": "string", "hotelId": "string" } ], "creditLimit": 0, "percentageLimit": 0, "covers": 0, "limitUsed": 0, "routingLinkId": { "id": "string", "type": "string" } } ] }, "comp": { "compRequestInfo": { "requestedBy": { "userId": 0, "userName": "string" }, "comments": "string", "declinedBy": { "userId": 0, "userName": "string" }, "status": "Request" }, "payeeInfo": { "payeeId": { "id": "string", "type": "string" }, "payeeName": "string", "payeeAddress": { "address": { "addressLine": [ "string" ], "cityName": "string", "postalCode": "string", "county": "string", "state": "string", "country": { "value": "string", "code": "string" }, "type": "string" }, "id": "string", "type": "string" }, "payeeAddressCount": 0, "payeeReferenceCurrency": "string", "payeeAccountInfo": { "accountName": "string", "accountId": { "id": "string", "type": "string" }, "accountNo": "string", "status": { "restriction": "string", "description": "string", "restricted": true } }, "payeeTaxNumber": "string" }, "instructions": [ { "duration": { "timeSpan": { "startDate": "2020-07-13", "endDate": "2020-07-13", "duration": "string" }, "sunday": true, "monday": true, "tuesday": true, "wednesday": true, "thursday": true, "friday": true, "saturday": true, "daily": true }, "transactionCodes": [ { "description": "string", "transactionGroup": "string", "transactionSubGroup": "string", "universalProductCode": "string", "routingInstructionsId": 0, "articles": [ { "description": "string", "transactionCode": "string", "price": { "amount": 0, "currencyCode": "string" }, "postIt": { "availableForPostIt": true }, "universalProductCode": "string", "hotelId": "string", "articleCode": "string", "inactive": true, "orderSequence": 0 } ], "transactionCode": "string", "hotelId": "string", "printTrxReceipt": true } ], "billingInstructions": [ { "desc": "string", "routingInstructionsId": 0, "billingCode": "string", "hotelId": "string" } ], "creditLimit": 0, "percentageLimit": 0, "covers": 0, "limitUsed": 0, "routingLinkId": { "id": "string", "type": "string" } } ], "folioWindowNo": 0 }, "request": { "compRequestInfo": { "requestedBy": { "userId": 0, "userName": "string" }, "comments": "string", "declinedBy": { "userId": 0, "userName": "string" }, "status": "Request" }, "instructions": [ { "duration": { "timeSpan": { "startDate": "2020-07-13", "endDate": "2020-07-13", "duration": "string" }, "sunday": true, "monday": true, "tuesday": true, "wednesday": true, "thursday": true, "friday": true, "saturday": true, "daily": true }, "transactionCodes": [ { "description": "string", "transactionGroup": "string", "transactionSubGroup": "string", "universalProductCode": "string", "routingInstructionsId": 0, "articles": [ { "description": "string", "transactionCode": "string", "price": { "amount": 0, "currencyCode": "string" }, "postIt": { "availableForPostIt": true }, "universalProductCode": "string", "hotelId": "string", "articleCode": "string", "inactive": true, "orderSequence": 0 } ], "transactionCode": "string", "hotelId": "string", "printTrxReceipt": true } ], "billingInstructions": [ { "desc": "string", "routingInstructionsId": 0, "billingCode": "string", "hotelId": "string" } ], "creditLimit": 0, "percentageLimit": 0, "covers": 0, "limitUsed": 0, "routingLinkId": { "id": "string", "type": "string" } } ] } } ], "reservationPolicies": { "cancellationPolicies": [ { "revenueType": "Rooms", "policy": { "deadline": { "absoluteDeadline": "2020-07-13T15:02:57.153Z" }, "amountPercent": { "basisType": "FlatAmount", "nights": 0, "percent": 0, "amount": 0, "currencyCode": "string" }, "policyCode": "string", "effective": true }, "percentageDue": 0, "comments": "string", "policyId": { "id": "string", "type": "string" } } ], "depositPolicies": [ { "revenueType": "Rooms", "policy": { "amountPercent": { "basisType": "FlatAmount", "nights": 0, "percent": 0, "amount": 0, "currencyCode": "string" }, "deadline": { "absoluteDeadline": "2020-07-13T15:02:57.153Z" }, "description": "string", "policyCode": "string" }, "comments": "string", "amountPaid": { "amount": 0, "currencyCode": "string" }, "amountDue": { "amount": 0, "currencyCode": "string" }, "policyId": { "id": "string", "type": "string" } } ] }, "cashiering": { "revenuesAndBalances": { "totalFixedCharge": { "amount": 0, "currencyCode": "string" }, "totalPayment": { "amount": 0, "currencyCode": "string" }, "roomRevenue": { "amount": 0, "currencyCode": "string" }, "foodAndBevRevenue": { "amount": 0, "currencyCode": "string" }, "otherRevenue": { "amount": 0, "currencyCode": "string" }, "nonRevenue": { "amount": 0, "currencyCode": "string" }, "totalRevenue": { "amount": 0, "currencyCode": "string" }, "balance": { "amount": 0, "currencyCode": "string" } }, "billingPrivileges": { "postingRestriction": true, "preStayCharging": true, "postStayCharging": true, "folioCloseDate": "2020-07-13", "scheduledCheckout": true, "scheduledCheckoutTime": "2020-07-13", "directBillAuthorized": true, "videoCheckout": true, "allowAutoCheckin": true, "autoSettlement": true, "autoSettlementType": "string", "autoSettlementFreq": 0, "creditLimitAutoPay": true }, "taxType": { "hotelId": "string", "code": "string", "description": "string", "collectingAgentTax": true, "printAutoAdjust": true, "reportExemptDays": 0, "reportTaxPercentage": 0, "minimumLengthOfStay": 0, "taxExemptNo": "string" }, "bedTaxReporting": { "taxRegistrationNo": 0, "visaNumber": "string", "visaIssueDate": "2020-07-13", "visaExpiryDate": "2020-07-13", "taxableDays": 0 }, "folioTexts": { "folioText": [ { "text": "string", "row": 0 } ] }, "periodicFolio": { "lastSettlementDate": "2020-07-13", "lastFolioDate": "2020-07-13", "frequency": 0 }, "compAccounting": { "compType": "string", "authorizer": "string" }, "reservationPreConfiguredRoutingInstruction": { "authorizerInfo": { "authorizerId": { "id": "string", "type": "string" }, "authorizerUserName": "string", "authorizerName": "string", "authorizerRateCode": "string", "inheritAuthorizerRateCode": true }, "ratePlanCode": "string", "profileType": "Company", "promotionCode": "string" }, "financiallyResponsible": true, "proratedBilling": true, "lastRoomAndTaxPostedDate": "2020-07-13", "reverseCheckInAllowed": true, "reverseAdvanceCheckInAllowed": true, "transactionsPosted": true }, "housekeeping": { "instructions": "string", "facilityTaskInfo": { "task": { "description": "string", "instructions": "string", "facilityDepartureTask": true, "linenChange": true, "hotelId": "string", "code": "string", "sequence": 0 }, "supplies": [ { "description": "string", "quantity": 0, "code": "string" } ], "date": "2020-07-13" }, "linenChange": true, "turndownRequested": true, "serviceTime": "2020-07-13", "expectedServiceTime": "string", "roomStatus": "Clean" }, "linkedReservation": { "reservationInfo": [ { "reservationIdList": [ { "id": "string", "type": "string" } ], "timeSpan": { "startDate": "2020-07-13", "endDate": "2020-07-13", "duration": "string" }, "givenName": "string", "surname": "string", "title": "string", "roomType": "string", "room": "string", "ratePlanCode": "string", "rate": { "amount": 0, "currencyCode": "string" }, "guarantee": { "guaranteeCode": "string", "shortDescription": "string", "onHold": true }, "balance": { "amount": 0, "currencyCode": "string" }, "reservationBlock": { "blockIdList": [ { "id": "string", "type": "string" } ], "blockName": "string", "hotelId": "string" }, "displayColor": "string", "allowedActions": [ "Cancel" ], "reservationStatus": "Reserved", "hotelId": "string", "linkReservationType": "Linked", "reverseCheckInAllowed": true, "roomNumberLocked": true, "suppressRate": true } ], "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "extSystemSync": true, "userDefinedFields": { "characterUDFs": [ { "name": "string", "value": "string", "alternateName": "string" } ], "numericUDFs": [ { "name": "string", "value": 0, "alternateName": "string" } ], "dateUDFs": [ { "name": "string", "value": "2020-07-13", "alternateName": "string" } ] }, "reservationIndicators": [ { "indicatorName": "string", "count": 0 } ], "waitlist": { "reasonDescription": "string", "priorityDescription": "string", "description": "string", "reasonCode": "string", "priorityCode": "string", "telephone": "string" }, "cancellation": { "description": "string", "code": "string", "cancellationNo": { "id": "string", "type": "string" }, "date": "2020-07-13" }, "catering": { "eventId": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "revenueType": "string" }, "statisticalClassification": { "roomType": "string", "rateTier": 0 }, "alerts": [ { "code": "string", "global": true, "area": "CheckIn", "description": "string", "screenNotification": true, "printerNotification": true, "printerName": "string", "reportId": { "id": "string", "type": "string" }, "reportName": "string", "reportDescription": "string", "guestInfo": { "guestName": "string", "membership": { "comment": { "text": { "value": "string", "language": "string" }, "image": "string", "url": "string" }, "newMembershipNumber": "string", "nameOnCard": "string", "programDescription": "string", "membershipLevel": "string", "membershipLevelDescription": "string", "membershipClass": "string", "earningPreference": "Points", "inactive": true, "benefits": [ { "code": "string", "message": "string", "inactive": true } ], "tierAdministration": "Disabled", "downgrade": "Grace", "reIssueNewCard": "Pending", "excludeFromBatch": true, "upgradeDescription": "string", "downgradeDescription": "string", "rating": "string", "membershipEnrollmentCode": "string", "memberStatus": "string", "currentPoints": 0, "pointsLabel": "string", "enrollmentSource": "string", "enrollmentResort": "string", "preferredCard": true, "membershipId": "string", "membershipType": "string", "primaryMembershipYn": "string", "primaryMembership": true, "membershipIdNo": 0, "playerRanking": 0, "centralSetup": true, "signupDate": "2020-07-13", "effectiveDate": "2020-07-13", "expireDate": "2020-07-13", "expireDateExclusiveIndicator": true, "orderSequence": 0, "createDateTime": "2020-07-13T15:02:57.154Z", "creatorId": "string", "lastModifyDateTime": "2020-07-13T15:02:57.154Z", "lastModifierId": "string", "purgeDate": "2020-07-13" }, "vipStatus": { "value": "string", "code": "string" }, "lastHotelCode": "string", "lastStayDate": "2020-07-13", "totalStay": 0, "comments": "string", "preference": "string", "preference2": "string", "guestPreferredLanguage": "string", "totalBrandStay": 0, "birthDate": "2020-07-13", "birthDateMasked": "string" }, "userDefinedFields": { "characterUDFs": [ { "name": "string", "value": "string", "alternateName": "string" } ], "numericUDFs": [ { "name": "string", "value": 0, "alternateName": "string" } ], "dateUDFs": [ { "name": "string", "value": "2020-07-13", "alternateName": "string" } ] }, "welcomeOffer": { "status": "string", "type": "BonusPoints" }, "stopCheckInCheckOut": true, "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0, "createDateTime": "2020-07-13T15:02:57.154Z", "creatorId": "string", "lastModifyDateTime": "2020-07-13T15:02:57.154Z", "lastModifierId": "string", "purgeDate": "2020-07-13" } ], "traces": [ { "timeInfo": { "dateTimeSpan": { "startDateTime": "2020-07-13T15:02:57.154Z", "endDateTime": "2020-07-13T15:02:57.154Z" }, "traceOn": "2020-07-13T15:02:57.154Z", "traceTime": "string", "enteredBy": "string" }, "reservationId": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "departmentId": "string", "traceText": "string", "resolveInfo": { "resolvedOn": "2020-07-13", "resolvedBy": "string" }, "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0, "createDateTime": "2020-07-13T15:02:57.154Z", "creatorId": "string", "lastModifyDateTime": "2020-07-13T15:02:57.154Z", "lastModifierId": "string", "purgeDate": "2020-07-13" } ], "confirmationLetters": [ { "recipientInfo": { "profileId": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "formerName": { "name": "string", "fullName": "string", "namePrefix": "string", "givenName": "string", "middleName": "string", "nameSuffix": "string", "nameTitle": "string", "nameType": "Primary" }, "addressInfo": { "address": { "addressLine": [ "string" ], "cityName": "string", "postalCode": "string", "county": "string", "state": "string", "country": { "value": "string", "code": "string" }, "type": "string" }, "id": "string", "type": "string" }, "emailInfo": { "email": { "emailAddress": "string", "type": "string" } }, "faxInfo": { "telephone": { "phoneNumber": "string" } }, "telephoneInfo": { "telephone": { "phoneNumber": "string" } }, "recipientType": "Guest" }, "deliveryInfo": [ { "communicationType": "Print", "lastStatus": "Pending", "lastAttempted": "2020-07-13T15:02:57.154Z", "successfulTries": 0 } ], "confirmationStyleInfo": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0, "style": "string" }, "fromEmail": "string", "sendTextMessage": true, "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 } ], "callHistory": [ { "dateTimeSpan": { "startDateTime": "2020-07-13T15:02:57.154Z", "endDateTime": "2020-07-13T15:02:57.154Z" }, "caller": { "givenName": "string", "surname": "string", "phone": "string", "email": "string", "fax": "string", "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "reservation": { "reservationIdList": [ { "id": "string", "type": "string" } ], "hotelId": "string" }, "turnawayCode": "string", "comments": "string", "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 } ], "fixedCharges": [ { "schedule": { "start": "2020-07-13", "end": "2020-07-13", "frequency": "O", "dayToExecute": "string", "dateToExecute": "2020-07-13" }, "charge": { "transaction": { "code": "string", "description": "string" }, "quantity": 0, "chargeAmount": { "amount": 0, "currencyCode": "string" }, "percent": 0, "supplement": "string", "article": { "code": "string", "description": "string" }, "roomNights": 0 }, "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 } ], "guestMessages": [ { "message": { "messageText": "string", "messageDate": "2020-07-13T15:02:57.154Z", "typeOfMessage": "Tm", "recipient": "string", "operator": "string" }, "delivery": { "deliveryStatus": "Mr", "deliveryDate": "2020-07-13T15:02:57.154Z", "deliveredBy": "string", "printDate": "2020-07-13T15:02:57.154Z", "textMessageSentDate": "2020-07-13T15:02:57.154Z", "textMessageSentBy": "string", "textMessageSentById": 0, "textMessageRecipientNo": "string" }, "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0, "createDateTime": "2020-07-13T15:02:57.154Z", "creatorId": "string", "lastModifyDateTime": "2020-07-13T15:02:57.154Z", "lastModifierId": "string", "purgeDate": "2020-07-13" } ], "lockHandle": 0, "overrideInstructions": [ { "description": "string", "date": "2020-07-13", "type": "string", "userId": "string" } ], "queue": { "timeSpan": { "startDate": "2020-07-13", "endDate": "2020-07-13", "duration": "string", "durationInSeconds": 0 }, "guestTextInfo": { "sentTime": "2020-07-13T15:02:57.154Z", "sentBy": "string" }, "priority": 0, "averageQueueTimeToCheckIn": 0, "averageQueueTimeCurrentReservations": 0, "queueDate": "2020-07-13" }, "allowedActions": [ "Cancel" ], "eCoupons": [ { "eCouponId": { "id": "string", "type": "string" }, "code": "string", "description": "string", "autoAttached": true, "issuedQuantity": 0, "usedQuantity": 0, "reason": "string", "ratePlanCode": "string", "welcomeOffer": true } ], "transactionDiversions": { "transactionDiversions": [ [ { "vipCode": "string", "membership": { "type": "string", "level": "string" }, "targetRoom": "string", "transactionCodes": { "transactionCode": [ { "code": "string", "description": "string" } ] }, "description": "string", "level": "Property", "thresholds": { "entity": "ThresholdCount", "scope": "PerDay", "minRequired": 0, "complimentary": 0, "isEditable": true }, "type": "Vip", "hotelId": "string", "code": "string", "displaySequence": 0, "inactive": true, "notes": { "comment": { "text": { "value": "string", "language": "string" }, "image": "string", "url": "string", "commentTitle": "string", "type": "string", "internal": true, "hotelId": "string" } }, "posted": 0, "diverted": 0, "dailyDetails": [ { "posted": 0, "diverted": 0, "date": "2020-07-13" } ] } ] ], "actionType": "string" }, "advanceCheckIn": { "advanceCheckedIn": true, "expectedReturnTime": "2020-07-13T15:02:57.154Z", "eTRComments": "string" }, "tickets": [ { "ticketId": { "id": "string", "type": "string" }, "packageCode": "string", "reservationProductId": { "id": "string", "type": "string" }, "ticketNumber": { "id": "string", "type": "string" }, "description": "string", "issueDate": "2020-07-13", "price": 0, "consumptionDate": "2020-07-13", "rateCode": "string", "quantity": 0, "reference": "string", "status": "string", "statusDescription": "string" } ], "accessRestrictionMessage": "string", "eCertificates": [ { "eCertificateNo": "string", "actionType": "Create", "eCertificateType": "Promotion" } ], "customNameValueDetail": { "nameValues": [ { "name": "string", "value": "string", "formatString": "string", "dataType": "String", "origin": { "originName": "Reservation", "destination": "string", "id": "string", "type": "string" } } ] }, "customChargeExemptionDetails": [ { "customChargesExemption": { "code": "string", "description": "string" }, "customChargeQuantity": { "quantity": 0, "available": true }, "customChargeDates": [ { "date": "2020-07-13", "quantity": 0 } ], "excludedDates": [ { "date": "2020-07-13", "reason": "NotConfigured" } ] } ], "autoBorrowFromHouse": true, "overrideExternalChecks": true, "hotelId": "string", "roomStayReservation": true, "reservationStatus": "Reserved", "computedReservationStatus": "Reserved", "walkIn": true, "printRate": true, "createDateTime": "2020-07-13T15:02:57.154Z", "creatorId": "string", "lastModifyDateTime": "2020-07-13T15:02:57.154Z", "lastModifierId": "string", "purgeDate": "2020-07-13", "createBusinessDate": "2020-07-13", "reinstateDate": "2020-07-13", "party": "string", "primaryEnrollmentResort": "string", "primaryEnrollmentChain": "string", "customReference": "string", "displayColor": "string", "markAsRecentlyAccessed": true, "overrideInventoryCheck": true, "accessRestriction": "Change", "preRegistered": true, "upgradeEligible": true, "overrideBlockRestriction": true, "allowAutoCheckin": true, "hasOpenFolio": true, "allowMobileCheckout": true, "allowMobileViewFolio": true, "allowPreRegistration": true, "optedForCommunication": true, "chargeCardNumber": "string" } ], "hasMore": true, "totalResults": 0, "count": 0 }, "shares": [ { "reservation": [ { "reservationId": { "id": "string", "type": "string" }, "typeOfRateAmount": "Full", "primaryShare": true, "timeSpan": { "startDate": "2020-07-13", "endDate": "2020-07-13", "duration": "string" } } ], "effectiveRates": [ { "onePersonRate": 0, "twoPersonRate": 0, "threePersonRate": 0, "fourPersonRate": 0, "fivePersonRate": 0, "extraPersonRate": 0, "extraChildRate": 0, "oneChildRate": 0, "twoChildrenRate": 0, "threeChildrenRate": 0, "fourChildrenRate": 0, "rateByAgeBuckets": [ { "rateAmount": 0, "minimumAge": 0, "maximumAge": 0 } ], "minimumChildrenForFreeStay": 0, "pointsRequired": 0, "overrideFloorAmount": true, "hotelId": "string", "ratePlanCode": "string", "roomType": "string", "numberOfRooms": 0, "amountBeforeTax": 0, "start": "2020-07-13", "end": "2020-07-13" } ], "timeSpan": { "startDate": "2020-07-13", "endDate": "2020-07-13", "duration": "string" } } ] }, "links": [ { "href": "string", "rel": "string", "templated": false, "method": "GET", "targetSchema": "string", "operationId": "string", "title": "string" } ] } } }, "204": { "description": "BlockReservations not found." }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] } }, "/blocks/{blockId}/restrictions": { "get": { "summary": "Get Block restrictions ", "description": "This API retrieves block restrictions.OperationId:getBlockRestrictions
This API allows a time span of 90 days.
", "operationId": "getBlockRestrictions", "parameters": [ { "name": "blockId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Block Id" }, { "name": "hotelId", "in": "query", "required": false, "description": "Hotel Code to which the block belongs to.", "type": "string" }, { "name": "startDate", "in": "query", "required": false, "type": "string", "format": "date" }, { "name": "endDate", "in": "query", "required": false, "type": "string", "format": "date" }, { "name": "duration", "in": "query", "required": false, "type": "string" }, { "name": "roomType", "in": "query", "type": "array", "maxItems": 4000, "collectionFormat": "multi", "description": "Room Type for the restriction.", "items": { "type": "string" }, "required": false }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" } }, "description": "Response for FetchBlockRestrictions operation.", "schema": { "$ref": "#/definitions/blockRestrictions" } }, "204": { "description": "BlockRestrictions not found." }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] }, "post": { "summary": "Create Block Restriction", "description": "Use this API to create block restrictions.OperationId:postBlockRestriction
", "operationId": "postBlockRestriction", "parameters": [ { "name": "blockId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Block Id" }, { "name": "blockRestriction", "in": "body", "required": true, "description": "Request for CreateBlockRestriction operation.", "schema": { "allOf": [ { "$ref": "#/definitions/blockRestriction" } ] } }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "201": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" }, "Location": { "type": "string", "description": "Location of newly created resource" } }, "description": "HATEOAS links which help the consumer to navigate to resources", "schema": { "$ref": "#/definitions/status" } }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] }, "delete": { "summary": "Delete Block Restriction", "description": "Use this API to delete block restrictions.OperationId:deleteBlockRestriction
This API allows a time span of 90 days.
", "operationId": "deleteBlockRestriction", "parameters": [ { "name": "blockId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Block Id" }, { "name": "hotelId", "in": "query", "required": true, "description": "Hotel to which the block belongs to.", "type": "string" }, { "name": "startDate", "in": "query", "required": true, "type": "string", "format": "date" }, { "name": "endDate", "in": "query", "required": true, "type": "string", "format": "date" }, { "name": "code", "in": "query", "required": true, "type": "string", "uniqueItems": true, "enum": [ "Closed", "ClosedForArrival", "ClosedForDeparture", "MinimumStayThrough", "MaximumStayThrough", "MinimumLengthOfStay", "MaximumLengthOfStay", "LOSNotAvailable", "MinimumAdvanceBooking", "MaximumAdvanceBooking", "Open", "OpenForArrival", "OpenForDeparture" ] }, { "name": "roomTypes", "in": "query", "type": "array", "maxItems": 100, "collectionFormat": "multi", "description": "Room Type for the restriction.", "items": { "type": "string" }, "required": false }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" }, "Location": { "type": "string", "description": "Location of newly created resource" } }, "description": "HATEOAS links which help the consumer to navigate to resources", "schema": { "$ref": "#/definitions/status" } }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] }, "put": { "summary": "Clear-All Block Restrictions ", "description": "This API clears all block restrictions for a given date.OperationId:putClearAllRestrictions
", "operationId": "putClearAllRestrictions", "parameters": [ { "name": "blockId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Block Id" }, { "name": "allRestrictions", "in": "body", "required": true, "description": "Request object for clearing all restrictions based on date.", "schema": { "allOf": [ { "$ref": "#/definitions/allRestrictions" } ] } }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" }, "Location": { "type": "string", "description": "Location of newly created resource" } }, "description": "Response Body.", "schema": { "$ref": "#/definitions/status" } }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] } }, "/blocks/{blockId}/revenueActivityLog": { "get": { "summary": "Fetch Block Revenue Changes", "description": "This API will fetch revenue changes for a specific block recorded in the revenue change log for a specified date range. Please note that the revenue changes are delta changes only and single records do not represent a total summary of the block revenue per date.OperationId:getBlockRevenueChanges
The maximum allowable limit for this API is 200.
This API allows a time span of 30 days.
", "operationId": "getBlockRevenueChanges", "parameters": [ { "name": "blockId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Block Id" }, { "name": "limit", "in": "query", "required": false, "description": "Indicates maximum number of records a Web Service should return.", "type": "integer" }, { "name": "offset", "in": "query", "default": 0, "required": false, "description": "Index or initial index of the set(page) being requested. If the index goes out of the bounds of the total set count then no data will be returned.", "type": "integer" }, { "name": "hotelId", "in": "query", "required": false, "description": "Hotel code for this block.", "type": "string" }, { "name": "status", "in": "query", "type": "array", "maxItems": 4000, "collectionFormat": "multi", "description": "Status of this block.", "items": { "type": "string" }, "required": false }, { "name": "changeEndDate", "in": "query", "required": false, "description": "The ending value of the date range.", "type": "string", "format": "date" }, { "name": "changeStartDate", "in": "query", "required": false, "description": "The starting value of the date range.", "type": "string", "format": "date" }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" } }, "description": "Response Object of details fetched of reveneue log changes of selected block", "schema": { "$ref": "#/definitions/blockRevenueChanges" } }, "204": { "description": "BlockRevenueChanges not found." }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] } }, "/blocks/{blockId}/roomTypeOrder": { "put": { "summary": "Set room type order for a Block", "description": "Use this API to set room type order for a block.OperationId:putRoomTypeOrder
", "operationId": "putRoomTypeOrder", "parameters": [ { "name": "blockId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Block Id" }, { "name": "roomTypeOrder", "in": "body", "required": true, "description": "Request object for SetRoomTypeOrder operation.", "schema": { "allOf": [ { "$ref": "#/definitions/roomTypeOrder" } ] } }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" }, "Location": { "type": "string", "description": "Location of newly created resource" } }, "description": "Response Body.", "schema": { "$ref": "#/definitions/status" } }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] } }, "/blocks/{blockId}/roomTypes": { "get": { "summary": "Get Bock Room Types", "description": "Use this API to retrieve room types for a block based on search criteriaOperationId:getBlockRoomTypes
This API allows a time span of 30 days.
", "operationId": "getBlockRoomTypes", "parameters": [ { "name": "blockId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Block Id" }, { "name": "hotelId", "in": "query", "required": false, "type": "string", "description": "Used for codes in the OPERA Code tables. Possible values of this pattern are 1, 101, 101.EQP, or 101.EQP.X." }, { "name": "fetchAllocatedRoomTypes", "in": "query", "required": false, "description": "Indicates whether to fetch only allocated room types for the block.", "type": "boolean" }, { "name": "startDate", "in": "query", "required": false, "description": "The start date of the range to be used to fetch allocated room types.", "type": "string", "format": "date" }, { "name": "endDate", "in": "query", "required": false, "description": "The end date of the range to be used to fetch allocated room types.", "type": "string", "format": "date" }, { "name": "fetchGenericRoomTypes", "in": "query", "required": false, "description": "Indicates to fetch Generic Room Types (Room Pools).", "type": "boolean" }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" } }, "description": "Response Object for FetchBlockRoomTypes operation.", "schema": { "$ref": "#/definitions/blockRoomTypes" } }, "204": { "description": "BlockRoomTypes not found." }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] } }, "/blocks/{blockId}/roomingList": { "post": { "summary": "Create Block Rooming List Reservations", "description": "Use this API to create a Reservation Rooming List.OperationId:postRoomingList
", "operationId": "postRoomingList", "parameters": [ { "name": "blockId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Block Id" }, { "name": "roomingList", "in": "body", "required": true, "description": "Request object for creating rooming list reservations. The standard optional Opera Context element is also included.", "schema": { "allOf": [ { "$ref": "#/definitions/roomingList" } ] } }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "201": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" }, "Location": { "type": "string", "description": "Location of newly created resource" } }, "description": "Response object for creation of block rooming list. This object contains the details with unique identifiers for the created block reservations. Also Success,Warnings and Errors related to this operation.", "schema": { "$ref": "#/definitions/roomingListDetails" } }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] } }, "/blocks/{blockId}/roomsStatus": { "get": { "summary": "Get room status for a Block", "description": "This API facilitates retrieving room status for the block.OperationId:getBlockRoomsStatus
", "operationId": "getBlockRoomsStatus", "parameters": [ { "name": "blockId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Block Id" }, { "name": "hotelId", "in": "query", "required": false, "type": "string", "description": "Used for codes in the OPERA Code tables. Possible values of this pattern are 1, 101, 101.EQP, or 101.EQP.X." }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" } }, "description": "It also contains Success,Warnings and Errors related to this operation.", "schema": { "$ref": "#/definitions/blockRoomsStatus" } }, "204": { "description": "BlockRoomsStatus not found." }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] } }, "/blocks/{blockId}/statistics": { "get": { "summary": "Get Block Statistics", "description": "Use this API to API retrieve detailed block statisticsOperationId:getBlockStatistics
", "operationId": "getBlockStatistics", "parameters": [ { "name": "blockId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Block Id" }, { "name": "hotelId", "in": "query", "required": false, "description": "Hotel Code of the business block.", "type": "string" }, { "name": "startDate", "in": "query", "required": false, "description": "Start date for the statistics data.", "type": "string", "format": "date" }, { "name": "numberOfDays", "in": "query", "required": false, "description": "Number of days to fetch for statistics data.", "type": "integer" }, { "name": "statisticsInstructions", "in": "query", "type": "array", "collectionFormat": "multi", "description": "Type of statistic for which its statistics information by date and room type will be populated.", "uniqueItems": true, "items": { "type": "string", "enum": [ "Contract", "Initial", "Actual", "Pickup", "Available", "Change", "Rates", "Totalavailable", "Tentativereservations", "Pickuppersons", "Roomrevenue", "Totalrevenue", "Avgroomrate" ] }, "required": false }, { "name": "roomTypeHotelId", "in": "query", "type": "array", "collectionFormat": "multi", "items": { "type": "string" }, "required": false }, { "name": "invBlockCode", "in": "query", "type": "array", "collectionFormat": "multi", "description": "Block code.", "items": { "type": "string" }, "required": false }, { "name": "promotionCode", "in": "query", "type": "array", "collectionFormat": "multi", "description": "Represents the promotional code.", "items": { "type": "string" }, "required": false }, { "name": "roomCategory", "in": "query", "type": "array", "collectionFormat": "multi", "items": { "type": "string" }, "required": false }, { "name": "roomClass", "in": "query", "type": "array", "collectionFormat": "multi", "items": { "type": "string" }, "required": false }, { "name": "roomQualifierCode", "in": "query", "type": "array", "collectionFormat": "multi", "description": "Represents the room qualifier code like Deluxe,Economy,Suite etc.", "items": { "type": "string" }, "required": false }, { "name": "roomQualifierMatchIndicator", "in": "query", "type": "array", "collectionFormat": "multi", "description": "Represents the match indicator of room qualifier code returned in the response with the requested room qualifier code.", "items": { "type": "string" }, "required": false }, { "name": "roomType", "in": "query", "type": "array", "collectionFormat": "multi", "items": { "type": "string" }, "required": false }, { "name": "roomViewCode", "in": "query", "type": "array", "collectionFormat": "multi", "description": "Represents the room view code like City view, River view, Ocean view etc.", "items": { "type": "string" }, "required": false }, { "name": "roomFeatureCode", "in": "query", "type": "array", "collectionFormat": "multi", "description": "A code representing a room feature.", "items": { "type": "string" }, "required": false }, { "name": "defaultOccupancy", "in": "query", "required": false, "description": "Default occupancy of property room type.", "type": "integer" }, { "name": "maximumOccupancy", "in": "query", "required": false, "description": "Max occupancy of property room type.", "type": "integer" }, { "name": "noOfPhysicalRooms", "in": "query", "required": false, "description": "Number of physical rooms of property room type.", "type": "integer" }, { "name": "bookingChannelCode", "in": "query", "type": "array", "collectionFormat": "multi", "items": { "type": "string" }, "required": false }, { "name": "bookingChannelMappingCode", "in": "query", "type": "array", "collectionFormat": "multi", "items": { "type": "string" }, "required": false }, { "name": "bookingChannelMappingName", "in": "query", "type": "array", "collectionFormat": "multi", "items": { "type": "string" }, "required": false }, { "name": "bedTypeCode", "in": "query", "type": "array", "maxItems": 4000, "collectionFormat": "multi", "description": "Bed type code associated with room.", "items": { "type": "string" }, "required": false }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" } }, "description": "The response object that returns Block Statistics information.", "schema": { "$ref": "#/definitions/blockStatistics" } }, "204": { "description": "BlockStatistics not found." }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] } }, "/blocks/{blockId}/statusActivityLog": { "get": { "summary": "Get Block Status Activity Log", "description": "Use this API to retrieve block status change log based on the HotelCode and Block ID.OperationId:getBlockStatusChanges
The maximum allowable limit for this API is 200.
This API allows a time span of 30 days.
", "operationId": "getBlockStatusChanges", "parameters": [ { "name": "blockId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Block Id" }, { "name": "limit", "in": "query", "required": false, "description": "Indicates maximum number of records a Web Service should return.", "type": "integer" }, { "name": "offset", "in": "query", "default": 0, "required": false, "description": "Index or initial index of the set(page) being requested. If the index goes out of the bounds of the total set count then no data will be returned.", "type": "integer" }, { "name": "hotelId", "in": "query", "required": false, "description": "Hotel Code for this block .", "type": "string" }, { "name": "changeEndDate", "in": "query", "required": false, "description": "The ending value of the date range.", "type": "string", "format": "date" }, { "name": "changeStartDate", "in": "query", "required": false, "description": "The starting value of the date range.", "type": "string", "format": "date" }, { "name": "currentStatus", "in": "query", "type": "array", "maxItems": 4000, "collectionFormat": "multi", "description": "Current Status of the block .", "items": { "type": "string" }, "required": false }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" } }, "description": "Response object to fetch Status Logs for blocks.", "schema": { "$ref": "#/definitions/blockStatusChanges" } }, "204": { "description": "BlockStatusChanges not found." }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] } }, "/blocks/{blockId}/tourSeries": { "post": { "summary": "Create a Block tour series", "description": "Use this API to create a block tour series.OperationId:postTourSeries
", "operationId": "postTourSeries", "parameters": [ { "name": "blockId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Block Id" }, { "name": "tourSeries", "in": "body", "required": true, "description": "Request for creating a tour series based on an existing block.", "schema": { "allOf": [ { "$ref": "#/definitions/tourSeries" } ] } }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "201": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" }, "Location": { "type": "string", "description": "Location of newly created resource" } }, "description": "Response object for creation of block tour seies. This object contains warnings associated with tour series creation.", "schema": { "$ref": "#/definitions/status" } }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] } }, "/blocks/{blockId}/tourSeries/validate": { "put": { "summary": "Validate Block tour series", "description": "Use this API to validate block tour series.OperationId:putTourSeriesValidate
", "operationId": "putTourSeriesValidate", "parameters": [ { "name": "blockId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Block Id" }, { "name": "tourSeries", "in": "body", "required": true, "description": "Tour Series.", "schema": { "allOf": [ { "$ref": "#/definitions/tourSeries" } ] } }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" }, "Location": { "type": "string", "description": "Location of newly created resource" } }, "description": "It contains warnings associated with block tour series", "schema": { "$ref": "#/definitions/validateToursRS" } }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] } }, "/blocks/{blockId}/washSchedules": { "get": { "summary": "Get Block Wash Schedule", "description": "Use this API to retrieve the information regarding block wash schedule based on the parameter HotelCode and Block ID.OperationId:getBlockWashSchedules
", "operationId": "getBlockWashSchedules", "parameters": [ { "name": "blockId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Block Id" }, { "name": "hotelId", "in": "query", "required": false, "type": "string", "description": "Used for codes in the OPERA Code tables. Possible values of this pattern are 1, 101, 101.EQP, or 101.EQP.X." }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" } }, "description": "Response object to fetch all the Block Wash Schedules. Each Block Wash Schedule will contain all the information like Wash Date, Room Type, Occupancy detail, Sell limit and Wash by percent value if exists.", "schema": { "$ref": "#/definitions/blockWashSchedules" } }, "204": { "description": "BlockWashSchedules not found." }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] }, "post": { "summary": "Create Block Wash Schedules", "description": "This API creates new block wash schedules based on Wash Date, Room Type, Occupancy detail, Sell limit and Wash by percent value.OperationId:postBlockWashSchedules
", "operationId": "postBlockWashSchedules", "parameters": [ { "name": "blockId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Block Id" }, { "name": "blockWashSchedulesInfo", "in": "body", "required": true, "description": "Request object to create multiple new Block Wash Schedules under the selected block.", "schema": { "allOf": [ { "$ref": "#/definitions/blockWashSchedulesInfo" } ] } }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "201": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" }, "Location": { "type": "string", "description": "Location of newly created resource" } }, "description": "HATEOAS links which help the consumer to navigate to resources", "schema": { "$ref": "#/definitions/status" } }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] }, "put": { "summary": "Change Block Wash Schedules", "description": "This API changes block wash schedules Wash Date, Room Type, Occupancy detail, Sell limit and Wash by percent value.OperationId:putBlockWashSchedules
", "operationId": "putBlockWashSchedules", "parameters": [ { "name": "blockId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Block Id" }, { "name": "blockWashSchedulesInfo", "in": "body", "required": true, "description": "Request object to change multiple Block Wash Schedules under the selected block.", "schema": { "allOf": [ { "$ref": "#/definitions/blockWashSchedulesInfo" } ] } }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" }, "Location": { "type": "string", "description": "Location of newly created resource" } }, "description": "Response Body.", "schema": { "$ref": "#/definitions/status" } }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] }, "delete": { "summary": "Remove Block Wash Schedules", "description": "Use this API to remove block wash schedules based on the HotelCode, Block ID and Wash Date.OperationId:deleteBlockWashSchedules
", "operationId": "deleteBlockWashSchedules", "deprecated": true, "parameters": [ { "name": "blockId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Block Id" }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" }, "Location": { "type": "string", "description": "Location of newly created resource" } }, "description": "HATEOAS links which help the consumer to navigate to resources", "schema": { "$ref": "#/definitions/status" } }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] } }, "/blocks/{sourceBlockId}/copy": { "post": { "summary": "Copy a Block", "description": "Use this API to copy the a block. The block copied (Source block) will serve as a template for the new one.OperationId:postCopyBlock
", "operationId": "postCopyBlock", "parameters": [ { "name": "sourceBlockId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Source Block Id" }, { "name": "blockCopy", "in": "body", "required": true, "description": "Request for creating a copy of an existing block.", "schema": { "allOf": [ { "$ref": "#/definitions/blockCopy" } ] } }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "201": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" }, "Location": { "type": "string", "description": "Location of newly created resource" } }, "description": "HATEOAS links which help the consumer to navigate to resources", "schema": { "$ref": "#/definitions/status" } }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] } }, "/caterings/{eventId}/cateringStatus": { "put": { "summary": "Change Catering Status", "description": "Use this API to update catering status.OperationId:putCateringStatus
", "operationId": "putCateringStatus", "parameters": [ { "name": "eventId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Event Id" }, { "name": "cateringStatusToChange", "in": "body", "required": true, "description": "Request object for changing the catering status of the business block.", "schema": { "allOf": [ { "$ref": "#/definitions/cateringStatusToChange" } ] } }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" }, "Location": { "type": "string", "description": "Location of newly created resource" } }, "description": "Response object for the request to change catering status. Response contains information on the block whose status was successfully changed.", "schema": { "$ref": "#/definitions/changedCateringStatus" }, "examples": { "application/json": { "block": { "blockIdList": [ { "id": "string", "type": "string", "idContext": "string" } ], "blockDetails": { "blockCode": "string", "blockName": "string", "blockAliases": [ "string" ], "timeSpan": { "startDate": "2020-08-26", "endDate": "2020-08-26", "duration": "string" }, "originalTimeSpan": { "startDate": "2020-08-26", "endDate": "2020-08-26", "duration": "string" }, "shoulderDates": { "startDate": "2020-08-26", "endDate": "2020-08-26", "duration": "string" }, "shoulderRatePlanCode": { "shoulderStart": [ { "description": "string", "currencyCode": "string", "ratePlanCode": "string", "primary": true, "marketCode": "string", "sourceCode": "string", "negotiated": true } ], "shoulderEnd": [ { "description": "string", "currencyCode": "string", "ratePlanCode": "string", "primary": true, "marketCode": "string", "sourceCode": "string", "negotiated": true } ] }, "blockStatus": { "bookingStatus": { "status": { "code": "string", "description": "string" } }, "parentBookingStatus": "string", "deductInventory": true, "catDeductInventory": true, "allowPickup": true, "returnToInventory": true }, "blockNextStatusList": [ { "bookingStatus": { "status": { "code": "string", "description": "string" } }, "parentBookingStatus": "string", "deductInventory": true, "catDeductInventory": true, "allowPickup": true, "returnToInventory": true } ], "blockStatusChangeHistory": [ { "sequence": 0, "bookingStatus": { "code": "string", "description": "string" }, "modifyDateTime": "2020-08-26", "modifierId": "string" } ], "reservationType": { "reservationType": "string", "chainCode": "string", "description": "string" }, "marketCode": { "marketCode": "string", "marketGroup": "string", "description": "string" }, "sourceOfSale": { "sourceCode": { "sourceCode": "string", "sourceGroup": "string", "description": "string" } }, "reservationMethod": { "code": "string", "description": "string" }, "bookingType": { "code": "string", "description": "string" }, "status": "string", "blockType": "string", "paymentMethod": { "code": "string", "description": "string" }, "commissionPercent": 0, "conversionCode": "string", "conversionCodeDescription": "string", "rateProtectionDetails": { "criteria": "All", "protectedDates": [ "2020-08-26" ] }, "nonCompeteDetails": { "industry": "string", "industryDescription": "string", "criteria": "All", "protectedDates": [ "2020-08-26" ] }, "rankingCode": "string", "rankingCodeDescription": "string", "currencyCode": "string", "cancellationDetails": { "cancellationNumber": { "id": "string", "type": "string", "idContext": "string" }, "cancellationCode": { "code": "string", "description": "string" }, "cancellationDate": "2020-08-26", "cancellationInfo": "string", "destination": "string", "lostToProperty": "string" }, "tourCode": "string", "rateOverrideReason": { "code": "string", "description": "string" }, "blockClassification": "MasterBlock", "synchronized": true, "primaryOwners": { "blockOwner": { "userName": "string", "ownerCode": "string", "profileId": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "name": { "givenName": "string", "surname": "string", "nameType": "Primary", "language": "string", "externalSystem": "string" }, "email": { "email": { "emailAddress": "string" } }, "phone": { "telephone": { "phoneNumber": "string" } }, "primary": true, "ownership": "Block" }, "roomsOwner": { "userName": "string", "ownerCode": "string", "profileId": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "name": { "givenName": "string", "surname": "string", "nameType": "Primary", "language": "string", "externalSystem": "string" }, "email": { "email": { "emailAddress": "string" } }, "phone": { "telephone": { "phoneNumber": "string" } }, "primary": true, "ownership": "Block" }, "cateringOwner": { "userName": "string", "ownerCode": "string", "profileId": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "name": { "givenName": "string", "surname": "string", "nameType": "Primary", "language": "string", "externalSystem": "string" }, "email": { "email": { "emailAddress": "string" } }, "phone": { "telephone": { "phoneNumber": "string" } }, "primary": true, "ownership": "Block" }, "blockOwnerCount": 0, "roomsOwnerCount": 0, "cateringOwnerCount": 0 }, "primaryProfiles": { "account": { "profileIdList": [ { "id": "string", "type": "string", "idContext": "string" } ], "profile": { "customer": { "personName": [ { "givenName": "string", "surname": "string", "nameType": "Primary", "language": "string", "externalSystem": "string" } ], "anonymization": { "anonymizationStatus": "Requested", "anonymizationDate": "2020-08-26T13:22:34.797Z" }, "businessTitle": "string", "language": "string", "privateProfile": true, "blacklist": true }, "company": { "companyName": "string" }, "addresses": { "addressInfo": [ { "address": { "addressLine": [ "string" ], "cityName": "string", "postalCode": "string", "county": "string", "state": "string", "country": { "value": "string", "code": "string" }, "type": "string" }, "id": "string", "type": "string", "idContext": "string" } ], "hasMore": true, "totalResults": 0, "count": 0 }, "telephones": { "telephoneInfo": [ { "telephone": { "phoneNumber": "string" } } ], "hasMore": true, "totalResults": 0, "count": 0 }, "emails": { "emailInfo": [ { "email": { "emailAddress": "string" } } ], "hasMore": true, "totalResults": 0, "count": 0 }, "uRLs": { "uRLInfo": [ { "url": { "value": "string" } } ], "hasMore": true, "totalResults": 0, "count": 0 }, "profileDeliveryMethods": { "profileDeliveryMethod": [ { "deliveryId": { "id": "string", "type": "string", "idContext": "string" }, "deliveryType": "string", "deliveryValue": "string", "hotelId": "string", "deliveryModule": "EfolioExport", "orderSequence": 0 } ], "hasMore": true, "totalResults": 0, "count": 0 }, "relationships": { "relationship": [ { "relationshipProfile": { "company": { "companyName": "string" }, "profileIdList": [ { "id": "string", "type": "string", "idContext": "string" } ], "profileType": "Guest" }, "relation": "string", "targetRelation": "string" } ], "hasMore": true, "totalResults": 0, "count": 0 }, "profileType": "Guest" }, "primary": true, "blockProfileType": "Company", "defaultPrint": true }, "contact": { "profileIdList": [ { "id": "string", "type": "string", "idContext": "string" } ], "profile": { "customer": { "personName": [ { "givenName": "string", "surname": "string", "nameType": "Primary", "language": "string", "externalSystem": "string" } ], "anonymization": { "anonymizationStatus": "Requested", "anonymizationDate": "2020-08-26T13:22:34.797Z" }, "businessTitle": "string", "language": "string", "privateProfile": true, "blacklist": true }, "company": { "companyName": "string" }, "addresses": { "addressInfo": [ { "address": { "addressLine": [ "string" ], "cityName": "string", "postalCode": "string", "county": "string", "state": "string", "country": { "value": "string", "code": "string" }, "type": "string" }, "id": "string", "type": "string", "idContext": "string" } ], "hasMore": true, "totalResults": 0, "count": 0 }, "telephones": { "telephoneInfo": [ { "telephone": { "phoneNumber": "string" } } ], "hasMore": true, "totalResults": 0, "count": 0 }, "emails": { "emailInfo": [ { "email": { "emailAddress": "string" } } ], "hasMore": true, "totalResults": 0, "count": 0 }, "uRLs": { "uRLInfo": [ { "url": { "value": "string" } } ], "hasMore": true, "totalResults": 0, "count": 0 }, "profileDeliveryMethods": { "profileDeliveryMethod": [ { "deliveryId": { "id": "string", "type": "string", "idContext": "string" }, "deliveryType": "string", "deliveryValue": "string", "hotelId": "string", "deliveryModule": "EfolioExport", "orderSequence": 0 } ], "hasMore": true, "totalResults": 0, "count": 0 }, "relationships": { "relationship": [ { "relationshipProfile": { "company": { "companyName": "string" }, "profileIdList": [ { "id": "string", "type": "string", "idContext": "string" } ], "profileType": "Guest" }, "relation": "string", "targetRelation": "string" } ], "hasMore": true, "totalResults": 0, "count": 0 }, "profileType": "Guest" }, "primary": true, "blockProfileType": "Company", "defaultPrint": true }, "image": { "language": "string", "imageSet": "string", "sequenceId": 0, "imageStyle": "Full", "imageType": "string", "hotelId": "string", "chainCode": "string", "imageURL": "string", "description": "string", "imageOrder": 0, "website": "string" } }, "primaryRatePlanCodes": { "blockRatePlanCode": { "description": "string", "currencyCode": "string", "ratePlanCode": "string", "primary": true, "marketCode": "string", "sourceCode": "string", "negotiated": true }, "shoulderStartRatePlanCode": { "description": "string", "currencyCode": "string", "ratePlanCode": "string", "primary": true, "marketCode": "string", "sourceCode": "string", "negotiated": true }, "shoulderEndRatePlanCode": { "description": "string", "currencyCode": "string", "ratePlanCode": "string", "primary": true, "marketCode": "string", "sourceCode": "string", "negotiated": true }, "blockRatePlanCodeCount": 0, "shoulderStartRatePlanCodeCount": 0, "shoulderEndRatePlanCodeCount": 0 }, "cateringOnlyBlock": true, "flexibleDates": true, "externalLocked": true, "autoloadContractGrid": true, "allowRateOverride": true, "manualCutOff": true, "wholesaleBlock": true, "controlBlockLocally": true, "businessDateArrivalsExist": true }, "blockOwners": { "owner": [ { "userName": "string", "ownerCode": "string", "profileId": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "name": { "givenName": "string", "surname": "string", "nameType": "Primary", "language": "string", "externalSystem": "string" }, "email": { "email": { "emailAddress": "string" } }, "phone": { "telephone": { "phoneNumber": "string" } }, "primary": true, "ownership": "Block" } ], "lockBlockOwners": true, "lockRoomsOwners": true, "lockCateringOwners": true }, "masterBlockInfo": { "blockIdList": [ { "id": "string", "type": "string", "idContext": "string" } ], "hotelId": "string", "blockType": "MasterBlock", "timeSpan": { "startDate": "2020-08-26", "endDate": "2020-08-26", "duration": "string" }, "blockName": "string", "blockStatus": { "status": { "code": "string", "description": "string" } }, "cateringStatus": { "status": { "code": "string", "description": "string" } }, "roomNights": 0, "roomNightsPickedup": 0, "subBlockInfo": [ { "blockIdList": [ { "id": "string", "type": "string", "idContext": "string" } ], "hotelId": "string", "blockType": "MasterBlock", "timeSpan": { "startDate": "2020-08-26", "endDate": "2020-08-26", "duration": "string" }, "blockName": "string", "blockStatus": { "status": { "code": "string", "description": "string" } }, "cateringStatus": { "status": { "code": "string", "description": "string" } }, "roomNights": 0, "roomNightsPickedup": 0 } ], "masterSubHotels": [ [ "string" ] ] }, "reservationPolicies": [ { "cancellationPolicies": [ { "revenueType": "Rooms", "policy": { "deadline": { "absoluteDeadline": "2020-08-26T13:22:34.799Z" }, "amountPercent": { "basisType": "FlatAmount", "nights": 0, "percent": 0, "amount": 0, "currencyCode": "string" }, "policyCode": "string", "effective": true }, "percentageDue": 0, "comments": "string", "policyId": { "id": "string", "type": "string", "idContext": "string" } } ], "depositPolicies": [ { "revenueType": "Rooms", "policy": { "amountPercent": { "basisType": "FlatAmount", "nights": 0, "percent": 0, "amount": 0, "currencyCode": "string" }, "deadline": { "absoluteDeadline": "2020-08-26T13:22:34.799Z" }, "description": "string", "policyCode": "string" }, "comments": "string", "amountPaid": { "amount": 0, "currencyCode": "string" }, "amountDue": { "amount": 0, "currencyCode": "string" }, "policyId": { "id": "string", "type": "string", "idContext": "string" } } ], "reservationIdList": [ { "id": "string", "type": "string", "idContext": "string" } ], "name": "string" } ], "reservationDetails": { "ratePlanCode": [ { "description": "string", "currencyCode": "string", "ratePlanCode": "string", "primary": true, "marketCode": "string", "sourceCode": "string", "negotiated": true } ], "arrivalTime": "2020-08-26T13:22:34.799Z", "departureTime": "2020-08-26T13:22:34.799Z", "traceCode": { "code": "string", "description": "string" }, "breakfast": { "breakfastIncluded": true, "price": { "amount": 0, "currencyCode": "string" }, "description": "string" }, "porterage": { "porterageIncluded": true, "price": { "amount": 0, "currencyCode": "string" } }, "cutOffDate": "2020-08-26", "cutOffDays": 0, "updateGridOnCutoffChange": true, "followupDate": "2020-08-26", "decisionDate": "2020-08-26", "roomingListDueDate": "2020-08-26", "suppressRate": true, "printRate": true, "rateGuarantee": true, "inventoryControl": "NonElastic", "personsPerRoom": 0, "activePostingMasterReservations": true, "housing": true, "guaranteeRequired": true, "transactionCode": "string" }, "catering": { "cateringStatus": { "bookingStatus": { "status": { "code": "string", "description": "string" } }, "parentBookingStatus": "string", "deductInventory": true, "catDeductInventory": true, "allowPickup": true, "returnToInventory": true }, "cateringInternalStatus": "string", "cateringNextStatusList": [ { "bookingStatus": { "status": { "code": "string", "description": "string" } }, "parentBookingStatus": "string", "deductInventory": true, "catDeductInventory": true, "allowPickup": true, "returnToInventory": true } ], "cateringStatusChangeHistory": [ { "sequence": 0, "bookingStatus": { "code": "string", "description": "string" }, "modifyDateTime": "2020-08-26", "modifierId": "string" } ], "cateringOwner": "string", "eventAttendees": { "noOfAttendees": 0, "attendeesGuaranteed": true }, "boardInfo": "string", "onSiteName": "string", "functionInfo": "string", "trackChanges": true, "cateringRevenue": { "serviceCharge": { "amount": 0, "currencyCode": "string" }, "taxAmount": { "amount": 0, "currencyCode": "string" } }, "followUpDate": "2020-08-26", "decisionDate": "2020-08-26", "resourceDiscountPercentage": 0, "hasPackageEvents": true, "applyBoardInfoToAllEvents": true, "overrideEventsProcessingWarnings": true, "applyEventsGuaranteeToAllEvents": true, "applyEventAttendeesChangesToEvents": "All", "resourceDiscountType": "AllDiscountableResources" }, "blockProfiles": { "blockProfile": [ { "profileIdList": [ { "id": "string", "type": "string", "idContext": "string" } ], "profile": { "customer": { "personName": [ { "givenName": "string", "surname": "string", "nameType": "Primary", "language": "string", "externalSystem": "string" } ], "anonymization": { "anonymizationStatus": "Requested", "anonymizationDate": "2020-08-26T13:22:34.799Z" }, "businessTitle": "string", "language": "string", "privateProfile": true, "blacklist": true }, "company": { "companyName": "string" }, "addresses": { "addressInfo": [ { "address": { "addressLine": [ "string" ], "cityName": "string", "postalCode": "string", "county": "string", "state": "string", "country": { "value": "string", "code": "string" }, "type": "string" }, "id": "string", "type": "string", "idContext": "string" } ], "hasMore": true, "totalResults": 0, "count": 0 }, "telephones": { "telephoneInfo": [ { "telephone": { "phoneNumber": "string" } } ], "hasMore": true, "totalResults": 0, "count": 0 }, "emails": { "emailInfo": [ { "email": { "emailAddress": "string" } } ], "hasMore": true, "totalResults": 0, "count": 0 }, "uRLs": { "uRLInfo": [ { "url": { "value": "string" } } ], "hasMore": true, "totalResults": 0, "count": 0 }, "profileDeliveryMethods": { "profileDeliveryMethod": [ { "deliveryId": { "id": "string", "type": "string", "idContext": "string" }, "deliveryType": "string", "deliveryValue": "string", "hotelId": "string", "deliveryModule": "EfolioExport", "orderSequence": 0 } ], "hasMore": true, "totalResults": 0, "count": 0 }, "relationships": { "relationship": [ { "relationshipProfile": { "company": { "companyName": "string" }, "profileIdList": [ { "id": "string", "type": "string", "idContext": "string" } ], "profileType": "Guest" }, "relation": "string", "targetRelation": "string" } ], "hasMore": true, "totalResults": 0, "count": 0 }, "profileType": "Guest" }, "primary": true, "blockProfileType": "Company", "defaultPrint": true } ], "fullOverlay": true }, "blockPackages": [ { "packageHeaderType": { "primaryDetails": { "description": "string" }, "transactionDetails": { "allowance": true, "currency": "string", "postingType": "string", "calculationRule": "string" }, "postingAttributes": { "addToRate": true, "printSeparateLine": true, "sellSeparate": true, "postNextDay": true, "forecastNextDay": true, "calculatedPrice": 0 } }, "consumptionDetails": { "defaultQuantity": 0 }, "packageCode": "string", "ratePlanCode": "string", "startDate": "2020-08-26", "endDate": "2020-08-26" } ], "inventoryItems": [ { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0, "item": { "description": "string", "availabilityPeriod": { "startTime": "string", "endTime": "string" }, "timeSpan": { "startDate": "2020-08-26", "endDate": "2020-08-26", "duration": "string" }, "code": "string", "name": "string", "sellSeparate": true, "requiredForBooking": true }, "quantity": 0, "timeSpan": { "start": "2020-08-26", "end": "2020-08-26" } } ], "blockStatistics": { "allocatedRoomStatistics": { "roomCount": 0, "roomRevenue": 0, "averageRate": 0 }, "actualRoomStatistics": { "roomCount": 0, "roomRevenue": 0, "averageRate": 0 }, "cateringRevenueOnBooks": 0, "actualCateringRevenue": 0 }, "comments": { "commentInfo": [ { "comment": { "text": { "value": "string", "language": "string" }, "image": "string", "url": "string", "commentTitle": "string", "type": "string", "internal": true }, "id": "string", "type": "string", "idContext": "string" } ], "count": 0 }, "roomAllocations": { "roomAllocationType": [ { "roomAllocationInfo": [ { "roomGridDetails": [ { "inventory": { "onePerson": 0, "twoPerson": 0, "threePerson": 0, "fourPerson": 0, "sellLimit": 0, "cutoffDate": "2020-08-26" }, "rate": { "onePerson": 0, "twoPerson": 0, "threePerson": 0, "fourPerson": 0, "extraPerson": 0 }, "roomType": "string" } ], "roomGridInvSummary": [ { "onePerson": 0, "twoPerson": 0, "threePerson": 0, "fourPerson": 0, "sellLimit": 0, "cutoffDate": "2020-08-26" } ], "availableRoomGridInvSummary": [ { "onePerson": 0, "twoPerson": 0, "threePerson": 0, "fourPerson": 0, "sellLimit": 0, "cutoffDate": "2020-08-26" } ], "stayDate": "2020-08-26", "extendedStay": true } ], "allocation": "Initial" } ], "masterInfo": { "roomTypes": [ { "longDescription": "string", "webName": "string", "webPage": "string", "roomFeatures": [ { "code": "string", "description": "string", "quantity": 0 } ], "roomTypeAttributes": { "defaultOccupancy": 0, "maximumOccupancy": 0, "noOfPhysicalRooms": 0 }, "bookingChannelMappings": [ { "bookingChannelCode": "string", "code": "string", "name": "string", "description": "string" } ], "bedTypeCodes": [ "string" ], "roomType": "string", "description": "string", "available": true } ], "genericRoomTypes": [ { "longDescription": "string", "webName": "string", "webPage": "string", "roomFeatures": [ { "code": "string", "description": "string", "quantity": 0 } ], "roomTypeAttributes": { "defaultOccupancy": 0, "maximumOccupancy": 0, "noOfPhysicalRooms": 0 }, "bookingChannelMappings": [ { "bookingChannelCode": "string", "code": "string", "name": "string", "description": "string" } ], "bedTypeCodes": [ "string" ], "roomType": "string", "description": "string", "available": true } ] }, "count": 0, "startDate": "2020-08-26", "numberOfDays": 0 }, "userDefinedFields": { "characterUDFs": [ { "name": "string", "value": "string", "alternateName": "string" } ], "numericUDFs": [ { "name": "string", "value": 0, "alternateName": "string" } ], "dateUDFs": [ { "name": "string", "value": "2020-08-26", "alternateName": "string" } ] }, "blockIndicators": [ { "indicatorName": "string", "count": 0 } ], "traces": [ { "timeInfo": { "traceOn": "2020-08-26T13:22:34.802Z", "traceTime": "string", "enteredBy": "string" }, "departmentId": "string", "traceText": "string", "resolveInfo": { "resolvedOn": "2020-08-26", "resolvedBy": "string" }, "type": "string", "instance": "string", "idContext": "string", "id": "string", "createDateTime": "2020-08-26T13:22:34.802Z", "creatorId": "string", "lastModifyDateTime": "2020-08-26T13:22:34.802Z", "lastModifierId": "string" } ], "statistics": [ { "roomsSold": 0, "revenueSummary": { "roomRevenue": 0, "foodAndBeverageRevenue": 0, "otherRevenue": 0, "cateringRevenue": 0, "cateringOtherRevenue": 0, "totalRevenue": 0 }, "avgRoomRate": 0, "statisticType": "Potential" } ], "blockSecurity": { "securedFromDIdisplayYn": true, "allDescriptionDDSecured": true, "ratesSecuredfromGNR": true, "ratesSecuredfromAllDisplays": true, "housingInformationSecured": true }, "ratePrograms": [ { "roomPool": "string", "rates": [ { "rateCode": "string", "rateMarketCode": { "code": "string", "description": "string" }, "rateAmounts": { "onePerson": 0, "twoPerson": 0, "threePerson": 0, "fourPerson": 0, "extraPerson": 0 }, "roomTypes": [ "string" ], "startDate": "2020-08-26", "endDate": "2020-08-26", "commissionable": true, "mobileCheckout": true, "primary": true, "sequence": 0 } ] } ], "externalAttributes": { "housingProtected": true, "eventType": "Convention", "gIId": "string", "rollEndDate": true }, "genericRoomAllocations": { "roomAllocationType": [ { "roomAllocationInfo": [ { "roomGridDetails": [ { "inventory": { "onePerson": 0, "twoPerson": 0, "threePerson": 0, "fourPerson": 0, "sellLimit": 0, "cutoffDate": "2020-08-26" }, "rate": { "onePerson": 0, "twoPerson": 0, "threePerson": 0, "fourPerson": 0, "extraPerson": 0 }, "roomType": "string" } ], "roomGridInvSummary": [ { "onePerson": 0, "twoPerson": 0, "threePerson": 0, "fourPerson": 0, "sellLimit": 0, "cutoffDate": "2020-08-26" } ], "availableRoomGridInvSummary": [ { "onePerson": 0, "twoPerson": 0, "threePerson": 0, "fourPerson": 0, "sellLimit": 0, "cutoffDate": "2020-08-26" } ], "stayDate": "2020-08-26", "extendedStay": true } ], "allocation": "Initial" } ], "masterInfo": { "roomTypes": [ { "longDescription": "string", "webName": "string", "webPage": "string", "roomFeatures": [ { "code": "string", "description": "string", "quantity": 0 } ], "roomTypeAttributes": { "defaultOccupancy": 0, "maximumOccupancy": 0, "noOfPhysicalRooms": 0 }, "bookingChannelMappings": [ { "bookingChannelCode": "string", "code": "string", "name": "string", "description": "string" } ], "bedTypeCodes": [ "string" ], "roomType": "string", "description": "string", "available": true } ], "genericRoomTypes": [ { "longDescription": "string", "webName": "string", "webPage": "string", "roomFeatures": [ { "code": "string", "description": "string", "quantity": 0 } ], "roomTypeAttributes": { "defaultOccupancy": 0, "maximumOccupancy": 0, "noOfPhysicalRooms": 0 }, "bookingChannelMappings": [ { "bookingChannelCode": "string", "code": "string", "name": "string", "description": "string" } ], "bedTypeCodes": [ "string" ], "roomType": "string", "description": "string", "available": true } ] }, "count": 0, "startDate": "2020-08-26", "numberOfDays": 0 }, "alternateDates": [ { "alternateBeginDate": "2020-08-26", "blockRates": { "onePerson": 0, "twoPerson": 0, "threePerson": 0, "fourPerson": 0, "extraPerson": 0 }, "roomCategory": "string", "priority": 0 } ], "sellMessages": { "sellMessageConfig": [ { "message": "string", "timespan": { "startDate": "2020-08-26", "endDate": "2020-08-26", "duration": "string" }, "chainCode": "string", "roomType": "string", "ratePlanCode": "string", "languageCode": "string", "stickyFlag": true, "sellSequence": 0, "usedInModule": [ "Blocks" ], "type": "string", "id": "string" } ], "count": 0 }, "attachments": [ { "fileName": "string", "fileSize": 0, "description": "string", "global": true, "history": { "createDateTime": "2020-08-26T13:22:34.803Z", "creatorId": "string", "lastModifyDateTime": "2020-08-26T13:22:34.803Z", "lastModifierId": "string" }, "type": "string", "idContext": "string", "id": "string" } ], "washSchedules": [ { "washDate": "2020-08-26", "roomTypes": [ "string" ], "washByRooms": { "onePerson": 0, "twoPerson": 0, "threePerson": 0, "fourPerson": 0, "sellLimit": 0, "cutoffDate": "2020-08-26" }, "washByPercent": 0 } ], "restrictions": { "blockRestriction": [ { "restrictionDate": { "timeSpan": { "startDate": "2020-08-26", "endDate": "2020-08-26", "duration": "string" }, "sunday": true, "monday": true, "tuesday": true, "wednesday": true, "thursday": true, "friday": true, "saturday": true }, "roomType": "string", "blockRestrictionStatus": { "code": "Closed", "unit": 0 }, "actualTimeSpan": { "startDate": "2020-08-26", "endDate": "2020-08-26", "duration": "string" } } ] }, "accessExclusions": { "blockAccessExclusion": [ { "sourceType": "string", "sourceValue": "string", "allowModifyReservation": true, "allowCancelReservation": true, "allowCreateReservation": true, "inactive": true, "excludeFromAvailability": true } ], "accessExclusionMessage": { "exclusionMessage": "string" } }, "markAsRecentlyAccessed": true }, "cancellationDetails": { "cancellationNumber": { "id": "string", "type": "string", "idContext": "string" }, "cancellationCode": { "code": "string", "description": "string" }, "cancellationDate": "2020-08-26", "cancellationInfo": "string", "destination": "string", "lostToProperty": "string" }, "cateringNextStatusList": [ { "bookingStatus": { "status": { "code": "string", "description": "string" } }, "parentBookingStatus": "string", "deductInventory": true, "catDeductInventory": true, "allowPickup": true, "returnToInventory": true } ], "cateringStatusChangeHistory": [ { "sequence": 0, "bookingStatus": { "code": "string", "description": "string" }, "modifyDateTime": "2020-08-26", "modifierId": "string" } ], "cateringEventsProcessedInfo": [ { "hotelId": "string", "blockId": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "eventName": "string", "eventType": "string", "eventDate": "2020-08-26", "room": { "code": "string", "description": "string" }, "status": "string", "reason": "string", "processingInfoType": "string", "processingInfoCode": "string" } ], "links": [ { "href": "string", "rel": "string", "templated": false, "method": "GET", "targetSchema": "string", "operationId": "string", "title": "string" } ] } } }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] } }, "/centralSalesHotels": { "get": { "summary": "Get Central Sales Hotels", "description": "Use this API to return central sales hotel configuration information based on central lead, search criteria such as country, marketing region etc.OperationId:getCentralSalesHotels
", "operationId": "getCentralSalesHotels", "parameters": [ { "name": "countryCode", "description": "Code for a country or a nationality (e.g. SW, USA, IN). This is configured chain wise and can be retrieved via /lov/{version}/listOfValues/Countries", "in": "query", "required": false, "type": "string", "minLength": 0, "maxLength": 10 }, { "name": "marketingRegionCode", "description": "Marketing Region Code where the given cities are located. This is configured chain wise and can be retrieved via /lov/{version}/listOfValues/MarketingRegions", "in": "query", "required": false, "type": "string", "minLength": 0, "maxLength": 40 }, { "name": "marketingCity", "description": "Marketing City where the properties are located. This is configured chain wise and can be retrieved via /lov/{version}/listOfValues/MarketingCityTemplates", "in": "query", "required": false, "type": "string", "minLength": 0, "maxLength": 40 }, { "name": "propertyTypeCode", "in": "query", "required": false, "type": "array", "maxItems": 4000, "description": "Property Type to filter the search result. This is configured chain wise and can be retrieved via /lov/{version}/listOfValues/HotelTypes", "collectionFormat": "multi", "items": { "type": "string" } }, { "name": "amenityCode", "in": "query", "required": false, "type": "array", "maxItems": 4000, "description": "Amenity Code to filter the search result. This is configured at template level and can be retrieved via /lov/{version}/listOfValues/TemplateAmenityCodes", "collectionFormat": "multi", "items": { "type": "string" } }, { "name": "attractionCode", "in": "query", "required": false, "type": "array", "maxItems": 4000, "description": "Attraction Code to filter the search result. This is configured at template level and can be retrieved via /lov/{version}/listOfValues/TemplateAmenityCodes", "collectionFormat": "multi", "items": { "type": "string" } }, { "name": "centralLeadHasCatering", "in": "query", "required": false, "type": "boolean", "description": "Indicates whether central lead has catering or not" }, { "name": "includeOnlyCentralResorts", "in": "query", "required": false, "type": "boolean", "description": "Indicates whether to include only central resorts." }, { "name": "limit", "in": "query", "required": false, "description": "Indicates maximum number of records a Web Service should return.", "type": "integer" }, { "name": "offset", "in": "query", "default": 0, "required": false, "description": "Index or initial index of the set(page) being requested. If the index goes out of the bounds of the total set count then no data will be returned.", "type": "integer" }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" } }, "description": "Response object for fetching lists of Property summary information.", "schema": { "$ref": "#/definitions/hotelConfigDetails" } }, "204": { "description": "Hotels not found." }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] } }, "/contractDefaults": { "put": { "summary": "Set Contract Defaults", "description": "Use this API to set the contract defaults.OperationId:putContractDefaults
", "operationId": "putContractDefaults", "deprecated": true, "parameters": [ { "name": "blockStatus", "in": "body", "required": true, "description": "Request object for copying from Original or Current Grid to Contract Grid.", "schema": { "allOf": [ { "$ref": "#/definitions/blockStatus" } ] } }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" }, "Location": { "type": "string", "description": "Location of newly created resource" } }, "description": "Response Body.", "schema": { "$ref": "#/definitions/status" } }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] } }, "/defaultBlockCode": { "get": { "summary": "Get default Block Code", "description": "Use this API to retrieve a default block code based on template.OperationId:getDefaultBlockCode
", "operationId": "getDefaultBlockCode", "parameters": [ { "name": "hotelId", "in": "query", "required": false, "type": "string", "description": "Used for codes in the OPERA Code tables. Possible values of this pattern are 1, 101, 101.EQP, or 101.EQP.X." }, { "name": "blockName", "in": "query", "required": false, "type": "string", "description": "Used for Character Strings, length 0 to 2000." }, { "name": "startDate", "in": "query", "required": false, "description": "Start Date of the business block.", "type": "string", "format": "date" }, { "name": "blockCodeTemplate", "in": "query", "required": false, "type": "string", "description": "Used for Character Strings, length 0 to 2000." }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" } }, "description": "Response object that returns a default block code based on template.", "schema": { "$ref": "#/definitions/defaultBlockCodeDetails" } }, "204": { "description": "DefaultBlockCode not found." }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] }, "post": { "summary": "Create default Block Code for Multiple blocks", "description": "Use this API to create the default block code for multiple blocks based on the pattern for the Block Code Template OPERA Control.OperationId:postDefaultBlockCode
", "operationId": "postDefaultBlockCode", "parameters": [ { "name": "blockDetails", "in": "body", "required": true, "description": "Request object for generating default block code for multiple blocks.", "schema": { "allOf": [ { "$ref": "#/definitions/blockBasicInfos" } ] } }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "201": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" }, "Location": { "description": "Location of newly created resource", "type": "string" } }, "description": "Response object for generating default block code", "schema": { "$ref": "#/definitions/blockBasicInfos" } }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] } }, "/hotels/{hotelId}/block": { "post": { "summary": "Create a Block", "description": "Use this API to create a new block catered to block related functionality in OPERA Cloud. You must first use the ListOfValues APIs to find block attributes, such as Block Status, Room Types, and so on. Knowing this list of values helps ensure a successful postBlock.OperationId:postBlock
", "operationId": "postBlock", "parameters": [ { "name": "hotelId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Hotel Id" }, { "name": "block", "in": "body", "required": true, "description": "Request object for creation of blocks. This object contains block details with unique identifiers for each block. The standard optional Opera Context element is also included.", "schema": { "allOf": [ { "$ref": "#/definitions/block" } ] } }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "201": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" }, "Location": { "type": "string", "description": "Location of newly created resource" } }, "description": "HATEOAS links which help the consumer to navigate to resources", "schema": { "$ref": "#/definitions/status" } }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] } }, "/hotels/{hotelId}/blockDailyRevenue": { "get": { "summary": "Get Block Revenue for a given date.", "description": "You can use this API to retrieve block revenue for a given date.OperationId:getBlockDailyRevenue
", "operationId": "getBlockDailyRevenue", "parameters": [ { "name": "hotelId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 20, "description": "Unique OPERA Hotel code" }, { "name": "statisticsDate", "in": "query", "required": false, "description": "Date for which statistics is required.", "type": "string", "format": "date" }, { "name": "blockStatus", "in": "query", "type": "array", "maxItems": 40, "description": "Status Code for the business Blocks and Events.", "collectionFormat": "multi", "items": { "type": "string" }, "required": false }, { "name": "ownerCode", "in": "query", "type": "array", "maxItems": 40, "description": "Owner Code", "collectionFormat": "multi", "items": { "type": "string" }, "required": false }, { "name": "blockDailyRevenueCategory", "in": "query", "enum": [ "RevenueType", "RevenueGroup" ], "required": false, "type": "string", "description": "A collection of supported list of revenue category for Block Daily Revenue.", "uniqueItems": true }, { "name": "revenueType", "in": "query", "type": "array", "maxItems": 40, "description": "List of Selected Revenue Types", "collectionFormat": "multi", "items": { "type": "string" }, "required": false }, { "name": "revenueGroup", "in": "query", "type": "array", "maxItems": 40, "description": "List of Selected Revenue Groups", "collectionFormat": "multi", "items": { "type": "string" }, "required": false }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" } }, "description": "Response object after fetching block daily revenue.", "schema": { "$ref": "#/definitions/blockDailyRevenueStatistics" } }, "204": { "description": "blockDailyRevenue not found." }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] } }, "/hotels/{hotelId}/blocks/changesByDateTime": { "get": { "summary": "Get modified blocks from a specific time period in OPERA.", "description": "A user can search for blocks that have been created, updated and/or deleted within maximum 3 day date range. If in the time period searched a block was created and deleted, the query won't return this information. If a block is created and updated, the create information is returned. If a block is updated only, it returns the update. If a block is updated and delete, it returns the delete.The maximum allowable limit for this API is 1000.
This API allows a time span of 3 days.
", "operationId": "blockChangesByDateTime", "parameters": [ { "name": "hotelId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 20, "description": "Hotel Id", "x-example": "MYHOTEL" }, { "name": "startLastModifiedDate", "in": "query", "required": true, "description": "From Change Date / Time when block was modified.", "type": "string", "format": "date-time" }, { "name": "endLastModifiedDate", "in": "query", "required": false, "description": "To Change Date / Time when block was modified.", "type": "string", "format": "date-time" }, { "name": "blockStatus", "in": "query", "collectionFormat": "multi", "uniqueItems": true, "required": false, "type": "array", "description": "Status of the block that was modified.", "items": { "type": "string", "enum": [ "INQUIRY", "NONDEDUCT", "DEDUCT", "ACTUAL", "CANCEL" ] } }, { "name": "openForPickup", "in": "query", "required": false, "description": "Indicates if modified blocks are open for pickup or not.", "type": "boolean" }, { "name": "cateringOnly", "in": "query", "required": false, "description": "Indicates if modified blocks are only for catering.", "type": "boolean" }, { "name": "includeEventChanges", "in": "query", "required": false, "description": "Indicates if event changes for block are to be included.", "type": "boolean", "default": "false" }, { "name": "limit", "in": "query", "required": false, "description": "Indicates maximum number of records a Web Service should return.", "type": "integer" }, { "name": "offset", "in": "query", "default": 0, "required": false, "description": "Index or initial index of the set(page) being requested. If the index goes out of the bounds of the total set count then no data will be returned.", "type": "integer" }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" } }, "description": "Response object for block changes by date time", "schema": { "$ref": "#/definitions/blockChangesByDateTimeSummary" } }, "204": { "description": "Blocks not found." }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] } }, "/hotels/{hotelId}/blocks/{blockId}": { "get": { "summary": "Get a Block By ID", "description": "Use this API to retrieve a specific block. You will need to know the blockID in the request; if you don't know it, please go ahead and use getBlocks API first. The response will include detailed information about the block.OperationId:getBlock
", "operationId": "getBlock", "parameters": [ { "name": "blockId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Unique OPERA Block ID which is used to find a Block from OPERA. This ID is a primary identification of a Block in OPERA." }, { "name": "hotelId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Hotel Id" }, { "name": "markAsRecentlyAccessed", "in": "query", "required": false, "description": "Mark this block as recently accessed.", "type": "boolean" }, { "name": "fetchInstructions", "in": "query", "type": "array", "collectionFormat": "multi", "description": "Type for block instructions that can be used in requests for partial operations.", "uniqueItems": true, "items": { "type": "string", "enum": [ "AccessExclusions", "Aliases", "AlternateDates", "Attachments", "Block", "BlockNextStatuses", "BlockStatusHistory", "CatNextStatuses", "CatStatusHistory", "CentralSalesLeads", "Comments", "DateProtect", "ExternalReferences", "GenericRateGrid", "Header", "Indicators", "InventoryItems", "Owners", "Packages", "Policies", "PrimaryOwners", "PrimaryProfiles", "PrimaryRates", "Profiles", "RateGrid", "RateProgram", "Rates", "Restrictions", "SellMessages", "Statistics", "SummaryStatistics", "Traces", "WashSchedules" ] }, "required": false }, { "name": "fetchAllocatedRoomTypes", "in": "query", "required": false, "description": "Indicates whether to fetch only those room types that have rooms or rates allocated. If this flag is true then only those room types with rooms or rates allocated for the block are fetched. Only applicable to fetch instruction RateGrid.", "type": "boolean" }, { "name": "startDate", "in": "query", "required": false, "description": "Start Date for the rate grid data. Only applicable to fetch instruction RateGrid.", "type": "string", "format": "date" }, { "name": "numberOfDays", "in": "query", "required": false, "description": "Number of days to fetch for the rate grid data. Only applicable to fetch instruction RateGrid. If this query parameter is not provided, the API defaults to returning data for 7 days.", "type": "number" }, { "name": "roomAllocationCriteria", "in": "query", "type": "array", "collectionFormat": "multi", "description": "Simple type for block allocation used in room rate grid.", "uniqueItems": true, "items": { "type": "string", "enum": [ "Initial", "Actual", "Rates", "Pickup", "Contract", "Available", "Pickupperc", "Changes", "Released", "Houseavailability", "SellLimit", "AvailableSellLimit", "MasterAllocInitial", "Allocated", "SubAllocResv", "CutoffDate", "ForecastRooms", "ForecastRates" ] }, "required": false }, { "name": "roomTypes", "in": "query", "type": "array", "maxItems": 4000, "collectionFormat": "multi", "description": "The Room Types that need to be fetched for the rate room grid data. If these values are not provided, all room types for the block will be fetched.", "items": { "type": "string" }, "required": false }, { "name": "fetchRoomTypesWithInventory", "in": "query", "required": false, "description": "Indicates whether to fetch only those room types that have rooms allocated. If this flag is true then only those room types with rooms allocated for the block are fetched. Only applicable to fetch instruction RateGrid.", "default": false, "type": "boolean" }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" } }, "description": "It also contains Success,Warnings and Errors related to this operation.", "schema": { "$ref": "#/definitions/block" }, "examples": { "application/json": { "blocks": { "blockInfo": [ { "block": { "blockIdList": [ { "id": "116467", "type": "Block", "idContext": "OPERA" }, { "id": "258381", "type": "GroupId", "idContext": "OPERA" }, { "type": "ExternalReference", "idContext": "EXTREF" }, { "id": "535298", "type": "ExternalReference", "idContext": "ORS" } ], "blockDetails": { "blockCode": "ABCEVENT0516", "blockName": "ABC Business Event", "timeSpan": { "startDate": "2020-05-08", "endDate": "2020-05-24" }, "shoulderRatePlanCode": { "shoulderStart": [ { "description": "Rack Rate", "currencyCode": "USD", "ratePlanCode": "RACK", "primary": true, "marketCode": "HOTEL1", "sourceCode": "PRICE", "negotiated": false } ], "shoulderEnd": [ { "description": "Rate Description", "currencyCode": "USD", "ratePlanCode": "FIXED", "primary": true, "marketCode": "CORP", "sourceCode": "CREF", "negotiated": false } ] }, "blockStatus": { "bookingStatus": { "status": { "code": "DEF", "description": "Definite" } }, "deductInventory": true, "allowPickup": true, "returnToInventory": false }, "blockNextStatusList": [ { "bookingStatus": { "status": { "code": "ACT", "description": "Actual" } }, "parentBookingStatus": "DEF", "deductInventory": true, "allowPickup": true, "returnToInventory": false }, { "bookingStatus": { "status": { "code": "CAN", "description": "Cancel" } }, "parentBookingStatus": "DEF", "deductInventory": false, "allowPickup": false, "returnToInventory": true }, { "bookingStatus": { "status": { "code": "LOS", "description": "Lost" } }, "parentBookingStatus": "DEF", "deductInventory": false, "allowPickup": false, "returnToInventory": true } ], "blockStatusChangeHistory": [ { "sequence": "1", "bookingStatus": { "code": "DED", "description": "Inquiry" }, "modifyDateTime": "2020-01-18 16:16:39.0", "modifierId": "BEN.SMITH" }, { "sequence": "2", "bookingStatus": { "code": "DEF", "description": "Definite" }, "modifyDateTime": "2020-01-18 16:20:58.0", "modifierId": "BEN.SMITH" } ], "reservationType": { "reservationType": "GDED", "description": "Group Deduct" }, "marketCode": { "marketCode": "HOTEL1", "marketGroup": "CAT", "description": "Hotel1 Market Group 1" }, "sourceOfSale": { "sourceCode": { "sourceCode": "PRICE", "sourceGroup": "PRICE", "description": "Priceline" } }, "reservationMethod": { "code": "RML", "description": "Rooming List" }, "status": "O", "blockType": "TENTATIVE", "paymentMethod": { "code": "CA", "description": "Cash" }, "rateProtectionDetails": { "criteria": "None" }, "nonCompeteDetails": { "criteria": "None" }, "currencyCode": "USD", "blockClassification": "RegularBooking", "synchronized": false, "cateringOnlyBlock": false, "flexibleDates": false, "externalLocked": false, "autoloadContractGrid": true, "allowRateOverride": false, "manualCutOff": false, "wholesaleBlock": false, "controlBlockLocally": false, "businessDateArrivalsExist": false }, "blockOwners": { "owner": [ { "userName": "JEN@HOTEL1", "ownerCode": "JEN", "profileId": { "type": "Profile", "idContext": "OPERA", "id": "24211" }, "name": { "givenName": "Jennifer", "surname": "Clarke" }, "email": { "email": { "emailAddress": "Jennifer.Clarke@example.com" } }, "primary": true, "ownership": "Block" }, { "userName": "BEN.SMITH@SFIRST", "ownerCode": "BS", "profileId": { "type": "Profile", "idContext": "OPERA", "id": "151308" }, "name": { "givenName": "Sarah", "surname": "Johnson" }, "email": { "email": { "emailAddress": "Sarah.Johnson@example.com" } }, "primary": false, "ownership": "Block" }, { "userName": "TOM@HOTEL1", "ownerCode": "AMF", "profileId": { "type": "Profile", "idContext": "OPERA", "id": "197815" }, "name": { "givenName": "Tom", "surname": "Brown" }, "email": { "email": { "emailAddress": "tom.brown@example.com" } }, "primary": false, "ownership": "Block" }, { "userName": "BEN.SMITH@HOTEL1", "ownerCode": "BS", "profileId": { "type": "Profile", "idContext": "OPERA", "id": "151308" }, "name": { "givenName": "Sarah", "surname": "Johnson" }, "email": { "email": { "emailAddress": "sarah.johnson@example.com" } }, "primary": true, "ownership": "Rooms" } ], "lockBlockOwners": false, "lockRoomsOwners": false, "lockCateringOwners": false }, "reservationPolicies": [ { "reservationIdList": [ { "id": "208314", "type": "Reservation", "idContext": "OPERA" }, { "id": "338347", "type": "Confirmation", "idContext": "OPERA" } ], "name": "Friday demo" } ], "reservationDetails": { "ratePlanCode": [ { "description": "Promotional Rate 2", "currencyCode": "USD", "ratePlanCode": "PROMO1", "primary": false, "negotiated": false }, { "description": "Promotional Rate Description", "currencyCode": "USD", "ratePlanCode": "FIXED", "primary": false, "marketCode": "CORPC1", "sourceCode": "CREF", "negotiated": false }, { "description": "Rack Rate", "currencyCode": "USD", "ratePlanCode": "RACK", "primary": true, "marketCode": "HOTEL1", "sourceCode": "PRICE", "negotiated": false } ], "arrivalTime": "2020-05-08", "departureTime": "2020-05-24 09:00:00.0", "breakfast": { "breakfastIncluded": false, "price": { "currencyCode": "USD" } }, "porterage": { "porterageIncluded": true, "price": { "currencyCode": "USD" } }, "cutOffDays": "2", "decisionDate": "2020-05-08", "suppressRate": false, "printRate": true, "rateGuarantee": false, "inventoryControl": "Elastic", "activePostingMasterReservations": false, "housing": false, "guaranteeRequired": false }, "catering": { "cateringStatus": { "bookingStatus": { "status": { "code": "PRO", "description": "Prospect" } }, "deductInventory": false, "allowPickup": false, "returnToInventory": false }, "cateringInternalStatus": "F", "cateringNextStatusList": [ { "bookingStatus": { "status": { "code": "CAN", "description": "Cancel" } }, "parentBookingStatus": "PRO", "catDeductInventory": false, "allowPickup": false, "returnToInventory": true }, { "bookingStatus": { "status": { "code": "STP", "description": "SP Test Status" } }, "parentBookingStatus": "PRO", "catDeductInventory": true, "allowPickup": false, "returnToInventory": false }, { "bookingStatus": { "status": { "code": "LOST", "description": "Lost" } }, "parentBookingStatus": "PRO", "catDeductInventory": false, "allowPickup": false, "returnToInventory": true }, { "bookingStatus": { "status": { "code": "ALLO", "description": "Allotment (non ded)" } }, "parentBookingStatus": "PRO", "catDeductInventory": false, "allowPickup": false, "returnToInventory": false }, { "bookingStatus": { "status": { "code": "TE1", "description": "TEN" } }, "parentBookingStatus": "PRO", "catDeductInventory": false, "allowPickup": false, "returnToInventory": false }, { "bookingStatus": { "status": { "code": "OPEN", "description": "Open for pickup" } }, "parentBookingStatus": "PRO", "catDeductInventory": true, "allowPickup": false, "returnToInventory": false }, { "bookingStatus": { "status": { "code": "REF", "description": "Refused" } }, "parentBookingStatus": "PRO", "catDeductInventory": false, "allowPickup": false, "returnToInventory": true }, { "bookingStatus": { "status": { "code": "TDN", "description": "Turndown" } }, "parentBookingStatus": "PRO", "catDeductInventory": false, "allowPickup": false, "returnToInventory": true }, { "bookingStatus": { "status": { "code": "LOS", "description": "Lost" } }, "parentBookingStatus": "PRO", "catDeductInventory": false, "allowPickup": false, "returnToInventory": true } ], "cateringStatusChangeHistory": [ { "sequence": "1", "bookingStatus": { "code": "PRO", "description": "Prospect" }, "modifyDateTime": "2020-01-18 16:16:39.0", "modifierId": "BEN.SMITH" } ], "eventAttendees": { "noOfAttendees": "10", "attendeesGuaranteed": false }, "boardInfo": "post as", "onSiteName": "onsite name", "functionInfo": "Function type", "trackChanges": true, "cateringRevenue": { "serviceCharge": { "currencyCode": "USD" }, "taxAmount": { "currencyCode": "USD" } }, "decisionDate": "2020-05-08", "hasPackageEvents": false }, "blockProfiles": { "blockProfile": [ { "profileIdList": [ { "id": "209860", "type": "AgentId", "idContext": "OPERA" }, { "id": "209860", "type": "Profile", "idContext": "OPERA" } ], "profile": { "company": { "companyName": "Oracle America Inc" }, "addresses": { "addressInfo": [ { "address": { "addressLine": [ "500 Oracle Parkway" ], "cityName": "Redwood Shores", "postalCode": "94065", "county": "US", "state": "CA", "country": { "code": "US" }, "type": "Business Address" } } ] }, "profileType": "Agent" }, "primary": true, "blockProfileType": "Agent", "defaultPrint": false }, { "profileIdList": [ { "id": "209862", "type": "AgentContactId", "idContext": "OPERA" }, { "id": "209862", "type": "Profile", "idContext": "OPERA" } ], "profile": { "customer": { "personName": [ { "givenName": "Sue", "surname": "Smith" } ] }, "addresses": { "addressInfo": [ { "address": { "addressLine": [ "10 Main Street" ], "cityName": "Bright City", "county": "CA", "country": { "code": "CA" }, "type": "Home Address" } } ] }, "telephones": { "telephoneInfo": [ { "telephone": { "phoneNumber": "+1 415 555 0100" } } ] }, "emails": { "emailInfo": [ { "email": { "emailAddress": "eg@example.com" } } ] }, "relationships": { "relationship": [ { "relationshipProfile": { "company": { "companyName": "Oracle America Inc." }, "profileIdList": [ { "id": "209860", "type": "AgentId", "idContext": "OPERA" } ], "profileType": "Agent" }, "relation": "Employee", "targetRelation": "Employer" } ] }, "profileType": "Contact" }, "primary": true, "blockProfileType": "AgentContact", "defaultPrint": false }, { "profileIdList": [ { "id": "219591", "type": "SourceId", "idContext": "OPERA" }, { "id": "219591", "type": "Profile", "idContext": "OPERA" } ], "profile": { "company": { "companyName": "Sample Company" }, "addresses": { "addressInfo": [ { "address": { "addressLine": [ "25 First Street" ], "cityName": "New York", "postalCode": "10011", "county": "US", "state": "NY", "country": { "code": "US" }, "type": "Business Address" } } ] }, "telephones": { "telephoneInfo": [ { "telephone": { "phoneNumber": "+1 415 555 0100" } } ] }, "emails": { "emailInfo": [ { "email": { "emailAddress": "example@example.com" } } ] }, "profileType": "Source" }, "primary": true, "blockProfileType": "Source", "defaultPrint": false }, { "profileIdList": [ { "id": "42715", "type": "SourceId", "idContext": "OPERA" }, { "id": "42715", "type": "Profile", "idContext": "OPERA" } ], "profile": { "company": { "companyName": "Expedia" }, "telephones": { "telephoneInfo": [ { "telephone": { "phoneNumber": "+1 415 555 0000" } } ] }, "profileType": "Source" }, "primary": false, "blockProfileType": "Source", "defaultPrint": false }, { "profileIdList": [ { "id": "258381", "type": "GroupId", "idContext": "OPERA" }, { "id": "258381", "type": "Profile", "idContext": "OPERA" } ], "profile": { "company": { "companyName": "Friday Co" }, "profileType": "Group" }, "primary": true, "blockProfileType": "Group", "defaultPrint": false } ], "fullOverlay": false }, "blockPackages": [ { "packageHeaderType": { "primaryDetails": { "description": "Continental Breakfast - Include in Rate" }, "transactionDetails": { "allowance": false, "currency": "USD", "postingType": "D", "calculationRule": "P" }, "postingAttributes": { "addToRate": false, "printSeparateLine": false, "postNextDay": false, "forecastNextDay": true } }, "consumptionDetails": {}, "packageCode": "BKFT1", "ratePlanCode": "GINGIE" } ], "blockStatistics": { "allocatedRoomStatistics": { "roomCount": "91", "roomRevenue": "-9000", "averageRate": "-98.9" }, "actualRoomStatistics": { "roomCount": "20", "roomRevenue": "3543", "averageRate": "177.15" }, "cateringRevenueOnBooks": "340", "actualCateringRevenue": "0" }, "comments": {}, "userDefinedFields": { "characterUDFs": [ { "name": "UDFC01", "value": "535298" } ] }, "blockIndicators": [ { "indicatorName": "ALLOTMENT_DETAIL", "count": "26" }, { "indicatorName": "EVENTS", "count": "1" }, { "indicatorName": "RATES_PACKAGES_ITEMS", "count": "5" }, { "indicatorName": "RATES", "count": "5" }, { "indicatorName": "OWNERS", "count": "6" }, { "indicatorName": "ASSOCIATED_PROFILES", "count": "5" } ], "markAsRecentlyAccessed": false } } ] } } } }, "204": { "description": "Block not found." }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] }, "put": { "summary": "Change a Block", "description": "Use this API to update an existing group block in OPERA Cloud. This API allows update of block header information, such as description, market segment, source code, rate code, and other details, but does not include updates for room grid or events, which have their own update API calls.OperationId:putBlock
", "operationId": "putBlock", "parameters": [ { "name": "blockId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Block Id" }, { "name": "hotelId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Hotel Id" }, { "name": "blockToBeChanged", "in": "body", "required": true, "description": "Request object for change/modification of block details. This object contains modified block details with unique identifiers for each block. The standard optional Opera Context element is also included.", "schema": { "allOf": [ { "$ref": "#/definitions/blockToBeChanged" } ] } }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" }, "Location": { "type": "string", "description": "Location of newly created resource" } }, "description": "Response object for change/modification of block details. This object contains the block details with unique identifiers for each block. Also Success,Warnings and Errors related to this operation.", "schema": { "$ref": "#/definitions/blockChanged" }, "examples": { "application/json": { "blocks": { "blockInfo": [ { "block": { "blockIdList": [ { "id": "string", "type": "string", "idContext": "string" } ], "blockDetails": { "blockCode": "string", "blockName": "string", "blockAliases": [ "string" ], "timeSpan": { "startDate": "2020-08-26", "endDate": "2020-08-26", "duration": "string" }, "originalTimeSpan": { "startDate": "2020-08-26", "endDate": "2020-08-26", "duration": "string" }, "shoulderDates": { "startDate": "2020-08-26", "endDate": "2020-08-26", "duration": "string" }, "shoulderRatePlanCode": { "shoulderStart": [ { "description": "string", "currencyCode": "string", "ratePlanCode": "string", "primary": true, "marketCode": "string", "sourceCode": "string", "negotiated": true } ], "shoulderEnd": [ { "description": "string", "currencyCode": "string", "ratePlanCode": "string", "primary": true, "marketCode": "string", "sourceCode": "string", "negotiated": true } ] }, "blockStatus": { "bookingStatus": { "status": { "code": "string", "description": "string" } }, "parentBookingStatus": "string", "deductInventory": true, "catDeductInventory": true, "allowPickup": true, "returnToInventory": true }, "blockNextStatusList": [ { "bookingStatus": { "status": { "code": "string", "description": "string" } }, "parentBookingStatus": "string", "deductInventory": true, "catDeductInventory": true, "allowPickup": true, "returnToInventory": true } ], "blockStatusChangeHistory": [ { "sequence": 0, "bookingStatus": { "code": "string", "description": "string" }, "modifyDateTime": "2020-08-26", "modifierId": "string" } ], "reservationType": { "reservationType": "string", "chainCode": "string", "description": "string" }, "marketCode": { "marketCode": "string", "marketGroup": "string", "description": "string" }, "sourceOfSale": { "sourceCode": { "sourceCode": "string", "sourceGroup": "string", "description": "string" } }, "reservationMethod": { "code": "string", "description": "string" }, "bookingType": { "code": "string", "description": "string" }, "status": "string", "blockType": "string", "paymentMethod": { "code": "string", "description": "string" }, "commissionPercent": 0, "conversionCode": "string", "conversionCodeDescription": "string", "rateProtectionDetails": { "criteria": "All", "protectedDates": [ "2020-08-26" ] }, "nonCompeteDetails": { "industry": "string", "industryDescription": "string", "criteria": "All", "protectedDates": [ "2020-08-26" ] }, "rankingCode": "string", "rankingCodeDescription": "string", "currencyCode": "string", "cancellationDetails": { "cancellationNumber": { "id": "string", "type": "string", "idContext": "string" }, "cancellationCode": { "code": "string", "description": "string" }, "cancellationDate": "2020-08-26", "cancellationInfo": "string", "destination": "string", "lostToProperty": "string" }, "tourCode": "string", "rateOverrideReason": { "code": "string", "description": "string" }, "blockClassification": "MasterBlock", "synchronized": true, "primaryOwners": { "blockOwner": { "userName": "string", "ownerCode": "string", "profileId": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "name": { "givenName": "string", "surname": "string", "nameType": "Primary", "language": "string", "externalSystem": "string" }, "email": { "email": { "emailAddress": "string" } }, "phone": { "telephone": { "phoneNumber": "string" } }, "primary": true, "ownership": "Block" }, "roomsOwner": { "userName": "string", "ownerCode": "string", "profileId": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "name": { "givenName": "string", "surname": "string", "nameType": "Primary", "language": "string", "externalSystem": "string" }, "email": { "email": { "emailAddress": "string" } }, "phone": { "telephone": { "phoneNumber": "string" } }, "primary": true, "ownership": "Block" }, "cateringOwner": { "userName": "string", "ownerCode": "string", "profileId": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "name": { "givenName": "string", "surname": "string", "nameType": "Primary", "language": "string", "externalSystem": "string" }, "email": { "email": { "emailAddress": "string" } }, "phone": { "telephone": { "phoneNumber": "string" } }, "primary": true, "ownership": "Block" }, "blockOwnerCount": 0, "roomsOwnerCount": 0, "cateringOwnerCount": 0 }, "primaryProfiles": { "account": { "profileIdList": [ { "id": "string", "type": "string", "idContext": "string" } ], "profile": { "customer": { "personName": [ { "givenName": "string", "surname": "string", "nameType": "Primary", "language": "string", "externalSystem": "string" } ], "anonymization": { "anonymizationStatus": "Requested", "anonymizationDate": "2020-08-26T13:29:38.273Z" }, "businessTitle": "string", "language": "string", "privateProfile": true, "blacklist": true }, "company": { "companyName": "string" }, "addresses": { "addressInfo": [ { "address": { "addressLine": [ "string" ], "cityName": "string", "postalCode": "string", "county": "string", "state": "string", "country": { "value": "string", "code": "string" }, "type": "string" }, "id": "string", "type": "string", "idContext": "string" } ], "hasMore": true, "totalResults": 0, "count": 0 }, "telephones": { "telephoneInfo": [ { "telephone": { "phoneNumber": "string" } } ], "hasMore": true, "totalResults": 0, "count": 0 }, "emails": { "emailInfo": [ { "email": { "emailAddress": "string" } } ], "hasMore": true, "totalResults": 0, "count": 0 }, "uRLs": { "uRLInfo": [ { "url": { "value": "string" } } ], "hasMore": true, "totalResults": 0, "count": 0 }, "profileDeliveryMethods": { "profileDeliveryMethod": [ { "deliveryId": { "id": "string", "type": "string", "idContext": "string" }, "deliveryType": "string", "deliveryValue": "string", "hotelId": "string", "deliveryModule": "EfolioExport", "orderSequence": 0 } ], "hasMore": true, "totalResults": 0, "count": 0 }, "relationships": { "relationship": [ { "relationshipProfile": { "company": { "companyName": "string" }, "profileIdList": [ { "id": "string", "type": "string", "idContext": "string" } ], "profileType": "Guest" }, "relation": "string", "targetRelation": "string" } ], "hasMore": true, "totalResults": 0, "count": 0 }, "profileType": "Guest" }, "primary": true, "blockProfileType": "Company", "defaultPrint": true }, "contact": { "profileIdList": [ { "id": "string", "type": "string", "idContext": "string" } ], "profile": { "customer": { "personName": [ { "givenName": "string", "surname": "string", "nameType": "Primary", "language": "string", "externalSystem": "string" } ], "anonymization": { "anonymizationStatus": "Requested", "anonymizationDate": "2020-08-26T13:29:38.273Z" }, "businessTitle": "string", "language": "string", "privateProfile": true, "blacklist": true }, "company": { "companyName": "string" }, "addresses": { "addressInfo": [ { "address": { "addressLine": [ "string" ], "cityName": "string", "postalCode": "string", "county": "string", "state": "string", "country": { "value": "string", "code": "string" }, "type": "string" }, "id": "string", "type": "string", "idContext": "string" } ], "hasMore": true, "totalResults": 0, "count": 0 }, "telephones": { "telephoneInfo": [ { "telephone": { "phoneNumber": "string" } } ], "hasMore": true, "totalResults": 0, "count": 0 }, "emails": { "emailInfo": [ { "email": { "emailAddress": "string" } } ], "hasMore": true, "totalResults": 0, "count": 0 }, "uRLs": { "uRLInfo": [ { "url": { "value": "string" } } ], "hasMore": true, "totalResults": 0, "count": 0 }, "profileDeliveryMethods": { "profileDeliveryMethod": [ { "deliveryId": { "id": "string", "type": "string", "idContext": "string" }, "deliveryType": "string", "deliveryValue": "string", "hotelId": "string", "deliveryModule": "EfolioExport", "orderSequence": 0 } ], "hasMore": true, "totalResults": 0, "count": 0 }, "relationships": { "relationship": [ { "relationshipProfile": { "company": { "companyName": "string" }, "profileIdList": [ { "id": "string", "type": "string", "idContext": "string" } ], "profileType": "Guest" }, "relation": "string", "targetRelation": "string" } ], "hasMore": true, "totalResults": 0, "count": 0 }, "profileType": "Guest" }, "primary": true, "blockProfileType": "Company", "defaultPrint": true }, "image": { "language": "string", "imageSet": "string", "sequenceId": 0, "imageStyle": "Full", "imageType": "string", "hotelId": "string", "chainCode": "string", "imageURL": "string", "description": "string", "imageOrder": 0, "website": "string" } }, "primaryRatePlanCodes": { "blockRatePlanCode": { "description": "string", "currencyCode": "string", "ratePlanCode": "string", "primary": true, "marketCode": "string", "sourceCode": "string", "negotiated": true }, "shoulderStartRatePlanCode": { "description": "string", "currencyCode": "string", "ratePlanCode": "string", "primary": true, "marketCode": "string", "sourceCode": "string", "negotiated": true }, "shoulderEndRatePlanCode": { "description": "string", "currencyCode": "string", "ratePlanCode": "string", "primary": true, "marketCode": "string", "sourceCode": "string", "negotiated": true }, "blockRatePlanCodeCount": 0, "shoulderStartRatePlanCodeCount": 0, "shoulderEndRatePlanCodeCount": 0 }, "cateringOnlyBlock": true, "flexibleDates": true, "externalLocked": true, "autoloadContractGrid": true, "allowRateOverride": true, "manualCutOff": true, "wholesaleBlock": true, "controlBlockLocally": true, "businessDateArrivalsExist": true }, "blockOwners": { "owner": [ { "userName": "string", "ownerCode": "string", "profileId": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "name": { "givenName": "string", "surname": "string", "nameType": "Primary", "language": "string", "externalSystem": "string" }, "email": { "email": { "emailAddress": "string" } }, "phone": { "telephone": { "phoneNumber": "string" } }, "primary": true, "ownership": "Block" } ], "lockBlockOwners": true, "lockRoomsOwners": true, "lockCateringOwners": true }, "masterBlockInfo": { "blockIdList": [ { "id": "string", "type": "string", "idContext": "string" } ], "hotelId": "string", "blockType": "MasterBlock", "timeSpan": { "startDate": "2020-08-26", "endDate": "2020-08-26", "duration": "string" }, "blockName": "string", "blockStatus": { "status": { "code": "string", "description": "string" } }, "cateringStatus": { "status": { "code": "string", "description": "string" } }, "roomNights": 0, "roomNightsPickedup": 0, "subBlockInfo": [ { "blockIdList": [ { "id": "string", "type": "string", "idContext": "string" } ], "hotelId": "string", "blockType": "MasterBlock", "timeSpan": { "startDate": "2020-08-26", "endDate": "2020-08-26", "duration": "string" }, "blockName": "string", "blockStatus": { "status": { "code": "string", "description": "string" } }, "cateringStatus": { "status": { "code": "string", "description": "string" } }, "roomNights": 0, "roomNightsPickedup": 0 } ], "masterSubHotels": [ [ "string" ] ] }, "reservationPolicies": [ { "cancellationPolicies": [ { "revenueType": "Rooms", "policy": { "deadline": { "absoluteDeadline": "2020-08-26T13:29:38.274Z" }, "amountPercent": { "basisType": "FlatAmount", "nights": 0, "percent": 0, "amount": 0, "currencyCode": "string" }, "policyCode": "string", "effective": true }, "percentageDue": 0, "comments": "string", "policyId": { "id": "string", "type": "string", "idContext": "string" } } ], "depositPolicies": [ { "revenueType": "Rooms", "policy": { "amountPercent": { "basisType": "FlatAmount", "nights": 0, "percent": 0, "amount": 0, "currencyCode": "string" }, "deadline": { "absoluteDeadline": "2020-08-26T13:29:38.274Z" }, "description": "string", "policyCode": "string" }, "comments": "string", "amountPaid": { "amount": 0, "currencyCode": "string" }, "amountDue": { "amount": 0, "currencyCode": "string" }, "policyId": { "id": "string", "type": "string", "idContext": "string" } } ], "reservationIdList": [ { "id": "string", "type": "string", "idContext": "string" } ], "name": "string" } ], "reservationDetails": { "ratePlanCode": [ { "description": "string", "currencyCode": "string", "ratePlanCode": "string", "primary": true, "marketCode": "string", "sourceCode": "string", "negotiated": true } ], "arrivalTime": "2020-08-26T13:29:38.274Z", "departureTime": "2020-08-26T13:29:38.274Z", "traceCode": { "code": "string", "description": "string" }, "breakfast": { "breakfastIncluded": true, "price": { "amount": 0, "currencyCode": "string" }, "description": "string" }, "porterage": { "porterageIncluded": true, "price": { "amount": 0, "currencyCode": "string" } }, "cutOffDate": "2020-08-26", "cutOffDays": 0, "updateGridOnCutoffChange": true, "followupDate": "2020-08-26", "decisionDate": "2020-08-26", "roomingListDueDate": "2020-08-26", "suppressRate": true, "printRate": true, "rateGuarantee": true, "inventoryControl": "NonElastic", "personsPerRoom": 0, "activePostingMasterReservations": true, "housing": true, "guaranteeRequired": true, "transactionCode": "string" }, "catering": { "cateringStatus": { "bookingStatus": { "status": { "code": "string", "description": "string" } }, "parentBookingStatus": "string", "deductInventory": true, "catDeductInventory": true, "allowPickup": true, "returnToInventory": true }, "cateringInternalStatus": "string", "cateringNextStatusList": [ { "bookingStatus": { "status": { "code": "string", "description": "string" } }, "parentBookingStatus": "string", "deductInventory": true, "catDeductInventory": true, "allowPickup": true, "returnToInventory": true } ], "cateringStatusChangeHistory": [ { "sequence": 0, "bookingStatus": { "code": "string", "description": "string" }, "modifyDateTime": "2020-08-26", "modifierId": "string" } ], "cateringOwner": "string", "eventAttendees": { "noOfAttendees": 0, "attendeesGuaranteed": true }, "boardInfo": "string", "onSiteName": "string", "functionInfo": "string", "trackChanges": true, "cateringRevenue": { "serviceCharge": { "amount": 0, "currencyCode": "string" }, "taxAmount": { "amount": 0, "currencyCode": "string" } }, "followUpDate": "2020-08-26", "decisionDate": "2020-08-26", "resourceDiscountPercentage": 0, "hasPackageEvents": true, "applyBoardInfoToAllEvents": true, "overrideEventsProcessingWarnings": true, "applyEventsGuaranteeToAllEvents": true, "applyEventAttendeesChangesToEvents": "All", "resourceDiscountType": "AllDiscountableResources" }, "blockProfiles": { "blockProfile": [ { "profileIdList": [ { "id": "string", "type": "string", "idContext": "string" } ], "profile": { "customer": { "personName": [ { "givenName": "string", "surname": "string", "nameType": "Primary", "language": "string", "externalSystem": "string" } ], "anonymization": { "anonymizationStatus": "Requested", "anonymizationDate": "2020-08-26T13:29:38.275Z" }, "businessTitle": "string", "language": "string", "privateProfile": true, "blacklist": true }, "company": { "companyName": "string" }, "addresses": { "addressInfo": [ { "address": { "addressLine": [ "string" ], "cityName": "string", "postalCode": "string", "county": "string", "state": "string", "country": { "value": "string", "code": "string" }, "type": "string" }, "id": "string", "type": "string", "idContext": "string" } ], "hasMore": true, "totalResults": 0, "count": 0 }, "telephones": { "telephoneInfo": [ { "telephone": { "phoneNumber": "string" } } ], "hasMore": true, "totalResults": 0, "count": 0 }, "emails": { "emailInfo": [ { "email": { "emailAddress": "string" } } ], "hasMore": true, "totalResults": 0, "count": 0 }, "uRLs": { "uRLInfo": [ { "url": { "value": "string" } } ], "hasMore": true, "totalResults": 0, "count": 0 }, "profileDeliveryMethods": { "profileDeliveryMethod": [ { "deliveryId": { "id": "string", "type": "string", "idContext": "string" }, "deliveryType": "string", "deliveryValue": "string", "hotelId": "string", "deliveryModule": "EfolioExport", "orderSequence": 0 } ], "hasMore": true, "totalResults": 0, "count": 0 }, "relationships": { "relationship": [ { "relationshipProfile": { "company": { "companyName": "string" }, "profileIdList": [ { "id": "string", "type": "string", "idContext": "string" } ], "profileType": "Guest" }, "relation": "string", "targetRelation": "string" } ], "hasMore": true, "totalResults": 0, "count": 0 }, "profileType": "Guest" }, "primary": true, "blockProfileType": "Company", "defaultPrint": true } ], "fullOverlay": true }, "blockPackages": [ { "packageHeaderType": { "primaryDetails": { "description": "string" }, "transactionDetails": { "allowance": true, "currency": "string", "postingType": "string", "calculationRule": "string" }, "postingAttributes": { "addToRate": true, "printSeparateLine": true, "sellSeparate": true, "postNextDay": true, "forecastNextDay": true, "calculatedPrice": 0 } }, "consumptionDetails": { "defaultQuantity": 0 }, "packageCode": "string", "ratePlanCode": "string", "startDate": "2020-08-26", "endDate": "2020-08-26" } ], "inventoryItems": [ { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0, "item": { "description": "string", "availabilityPeriod": { "startTime": "string", "endTime": "string" }, "timeSpan": { "startDate": "2020-08-26", "endDate": "2020-08-26", "duration": "string" }, "code": "string", "name": "string", "sellSeparate": true, "requiredForBooking": true }, "quantity": 0, "timeSpan": { "start": "2020-08-26", "end": "2020-08-26" } } ], "blockStatistics": { "allocatedRoomStatistics": { "roomCount": 0, "roomRevenue": 0, "averageRate": 0 }, "actualRoomStatistics": { "roomCount": 0, "roomRevenue": 0, "averageRate": 0 }, "cateringRevenueOnBooks": 0, "actualCateringRevenue": 0 }, "comments": { "commentInfo": [ { "comment": { "text": { "value": "string", "language": "string" }, "image": "string", "url": "string", "commentTitle": "string", "type": "string", "internal": true }, "id": "string", "type": "string", "idContext": "string" } ], "count": 0 }, "roomAllocations": { "roomAllocationType": [ { "roomAllocationInfo": [ { "roomGridDetails": [ { "inventory": { "onePerson": 0, "twoPerson": 0, "threePerson": 0, "fourPerson": 0, "sellLimit": 0, "cutoffDate": "2020-08-26" }, "rate": { "onePerson": 0, "twoPerson": 0, "threePerson": 0, "fourPerson": 0, "extraPerson": 0 }, "roomType": "string" } ], "roomGridInvSummary": [ { "onePerson": 0, "twoPerson": 0, "threePerson": 0, "fourPerson": 0, "sellLimit": 0, "cutoffDate": "2020-08-26" } ], "availableRoomGridInvSummary": [ { "onePerson": 0, "twoPerson": 0, "threePerson": 0, "fourPerson": 0, "sellLimit": 0, "cutoffDate": "2020-08-26" } ], "stayDate": "2020-08-26", "extendedStay": true } ], "allocation": "Initial" } ], "masterInfo": { "roomTypes": [ { "longDescription": "string", "webName": "string", "webPage": "string", "roomFeatures": [ { "code": "string", "description": "string", "quantity": 0 } ], "roomTypeAttributes": { "defaultOccupancy": 0, "maximumOccupancy": 0, "noOfPhysicalRooms": 0 }, "bookingChannelMappings": [ { "bookingChannelCode": "string", "code": "string", "name": "string", "description": "string" } ], "bedTypeCodes": [ "string" ], "roomType": "string", "description": "string", "available": true } ], "genericRoomTypes": [ { "longDescription": "string", "webName": "string", "webPage": "string", "roomFeatures": [ { "code": "string", "description": "string", "quantity": 0 } ], "roomTypeAttributes": { "defaultOccupancy": 0, "maximumOccupancy": 0, "noOfPhysicalRooms": 0 }, "bookingChannelMappings": [ { "bookingChannelCode": "string", "code": "string", "name": "string", "description": "string" } ], "bedTypeCodes": [ "string" ], "roomType": "string", "description": "string", "available": true } ] }, "count": 0, "startDate": "2020-08-26", "numberOfDays": 0 }, "userDefinedFields": { "characterUDFs": [ { "name": "string", "value": "string", "alternateName": "string" } ], "numericUDFs": [ { "name": "string", "value": 0, "alternateName": "string" } ], "dateUDFs": [ { "name": "string", "value": "2020-08-26", "alternateName": "string" } ] }, "blockIndicators": [ { "indicatorName": "string", "count": 0 } ], "traces": [ { "timeInfo": { "traceOn": "2020-08-26T13:29:38.276Z", "traceTime": "string", "enteredBy": "string" }, "departmentId": "string", "traceText": "string", "resolveInfo": { "resolvedOn": "2020-08-26", "resolvedBy": "string" }, "type": "string", "instance": "string", "idContext": "string", "id": "string", "createDateTime": "2020-08-26T13:29:38.276Z", "creatorId": "string", "lastModifyDateTime": "2020-08-26T13:29:38.276Z", "lastModifierId": "string" } ], "statistics": [ { "roomsSold": 0, "revenueSummary": { "roomRevenue": 0, "foodAndBeverageRevenue": 0, "otherRevenue": 0, "cateringRevenue": 0, "cateringOtherRevenue": 0, "totalRevenue": 0 }, "avgRoomRate": 0, "statisticType": "Potential" } ], "blockSecurity": { "securedFromDIdisplayYn": true, "allDescriptionDDSecured": true, "ratesSecuredfromGNR": true, "ratesSecuredfromAllDisplays": true, "housingInformationSecured": true }, "ratePrograms": [ { "roomPool": "string", "rates": [ { "rateCode": "string", "rateMarketCode": { "code": "string", "description": "string" }, "rateAmounts": { "onePerson": 0, "twoPerson": 0, "threePerson": 0, "fourPerson": 0, "extraPerson": 0 }, "roomTypes": [ "string" ], "startDate": "2020-08-26", "endDate": "2020-08-26", "commissionable": true, "mobileCheckout": true, "primary": true, "sequence": 0 } ] } ], "externalAttributes": { "housingProtected": true, "eventType": "Convention", "gIId": "string", "rollEndDate": true }, "genericRoomAllocations": { "roomAllocationType": [ { "roomAllocationInfo": [ { "roomGridDetails": [ { "inventory": { "onePerson": 0, "twoPerson": 0, "threePerson": 0, "fourPerson": 0, "sellLimit": 0, "cutoffDate": "2020-08-26" }, "rate": { "onePerson": 0, "twoPerson": 0, "threePerson": 0, "fourPerson": 0, "extraPerson": 0 }, "roomType": "string" } ], "roomGridInvSummary": [ { "onePerson": 0, "twoPerson": 0, "threePerson": 0, "fourPerson": 0, "sellLimit": 0, "cutoffDate": "2020-08-26" } ], "availableRoomGridInvSummary": [ { "onePerson": 0, "twoPerson": 0, "threePerson": 0, "fourPerson": 0, "sellLimit": 0, "cutoffDate": "2020-08-26" } ], "stayDate": "2020-08-26", "extendedStay": true } ], "allocation": "Initial" } ], "masterInfo": { "roomTypes": [ { "longDescription": "string", "webName": "string", "webPage": "string", "roomFeatures": [ { "code": "string", "description": "string", "quantity": 0 } ], "roomTypeAttributes": { "defaultOccupancy": 0, "maximumOccupancy": 0, "noOfPhysicalRooms": 0 }, "bookingChannelMappings": [ { "bookingChannelCode": "string", "code": "string", "name": "string", "description": "string" } ], "bedTypeCodes": [ "string" ], "roomType": "string", "description": "string", "available": true } ], "genericRoomTypes": [ { "longDescription": "string", "webName": "string", "webPage": "string", "roomFeatures": [ { "code": "string", "description": "string", "quantity": 0 } ], "roomTypeAttributes": { "defaultOccupancy": 0, "maximumOccupancy": 0, "noOfPhysicalRooms": 0 }, "bookingChannelMappings": [ { "bookingChannelCode": "string", "code": "string", "name": "string", "description": "string" } ], "bedTypeCodes": [ "string" ], "roomType": "string", "description": "string", "available": true } ] }, "count": 0, "startDate": "2020-08-26", "numberOfDays": 0 }, "alternateDates": [ { "alternateBeginDate": "2020-08-26", "blockRates": { "onePerson": 0, "twoPerson": 0, "threePerson": 0, "fourPerson": 0, "extraPerson": 0 }, "roomCategory": "string", "priority": 0 } ], "sellMessages": { "sellMessageConfig": [ { "message": "string", "timespan": { "startDate": "2020-08-26", "endDate": "2020-08-26", "duration": "string" }, "chainCode": "string", "roomType": "string", "ratePlanCode": "string", "languageCode": "string", "stickyFlag": true, "sellSequence": 0, "usedInModule": [ "Blocks" ], "type": "string", "id": "string" } ], "count": 0 }, "attachments": [ { "fileName": "string", "fileSize": 0, "description": "string", "global": true, "history": { "createDateTime": "2020-08-26T13:29:38.276Z", "creatorId": "string", "lastModifyDateTime": "2020-08-26T13:29:38.276Z", "lastModifierId": "string" }, "type": "string", "idContext": "string", "id": "string" } ], "washSchedules": [ { "washDate": "2020-08-26", "roomTypes": [ "string" ], "washByRooms": { "onePerson": 0, "twoPerson": 0, "threePerson": 0, "fourPerson": 0, "sellLimit": 0, "cutoffDate": "2020-08-26" }, "washByPercent": 0 } ], "restrictions": { "blockRestriction": [ { "restrictionDate": { "timeSpan": { "startDate": "2020-08-26", "endDate": "2020-08-26", "duration": "string" }, "sunday": true, "monday": true, "tuesday": true, "wednesday": true, "thursday": true, "friday": true, "saturday": true }, "roomType": "string", "blockRestrictionStatus": { "code": "Closed", "unit": 0 }, "actualTimeSpan": { "startDate": "2020-08-26", "endDate": "2020-08-26", "duration": "string" } } ] }, "accessExclusions": { "blockAccessExclusion": [ { "sourceType": "string", "sourceValue": "string", "allowModifyReservation": true, "allowCancelReservation": true, "allowCreateReservation": true, "inactive": true, "excludeFromAvailability": true } ], "accessExclusionMessage": { "exclusionMessage": "string" } }, "markAsRecentlyAccessed": true } } ], "count": 0 }, "cateringEventsProcessedInfo": [ { "hotelId": "string", "blockId": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "eventName": "string", "eventType": "string", "eventDate": "2020-08-26", "room": { "code": "string", "description": "string" }, "status": "string", "reason": "string", "processingInfoType": "string", "processingInfoCode": "string" } ], "links": [ { "href": "string", "rel": "string", "templated": false, "method": "GET", "targetSchema": "string", "operationId": "string", "title": "string" } ] } } }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] }, "delete": { "summary": "Delete a Block", "description": "Use this API to delete block, if any reservations attached to the block, you will be unable to delete.OperationId:deleteBlock
", "operationId": "deleteBlock", "parameters": [ { "name": "blockId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Block Id" }, { "name": "hotelId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Hotel Id" }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" }, "Location": { "type": "string", "description": "Location of newly created resource" } }, "description": "HATEOAS links which help the consumer to navigate to resources", "schema": { "$ref": "#/definitions/status" } }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] } }, "/hotels/{hotelId}/blocks/{blockId}/allocation": { "put": { "summary": "Set Block Allocation ", "description": "Use this API to add block room type allocations and rates to a specified Block.OperationId:putBlockAllocation
", "operationId": "putBlockAllocation", "parameters": [ { "name": "blockId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Block Id" }, { "name": "hotelId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Hotel Id" }, { "name": "allocation", "in": "body", "required": true, "description": "A Request message that sets the room allocations as a collection of room types and dates.", "schema": { "allOf": [ { "$ref": "#/definitions/allocation" } ] } }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" }, "Location": { "type": "string", "description": "Location of newly created resource" } }, "description": "Response Body.", "schema": { "$ref": "#/definitions/status" } }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] } }, "/hotels/{hotelId}/blocks/{blockId}/allocationRange": { "put": { "summary": "Set Block Allocation Range", "description": "Use this API to set block allocation for a range of dates for a list of room types.OperationId:putBlockAllocationRange
", "operationId": "putBlockAllocationRange", "parameters": [ { "name": "blockId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Block Id" }, { "name": "hotelId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Hotel Id" }, { "name": "blockAllocationRange", "in": "body", "required": true, "description": "Request for updating block allocation for a range of dates.", "schema": { "allOf": [ { "$ref": "#/definitions/blockAllocationRange" } ] } }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" }, "Location": { "type": "string", "description": "Location of newly created resource" } }, "description": "Response Body.", "schema": { "$ref": "#/definitions/status" } }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] }, "get": { "summary": "Get Block Range Information", "description": "Request for updating block allocation for a range of dates.OperationId:getBlockRangeInfo
", "operationId": "getBlockRangeInfo", "parameters": [ { "name": "blockId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Block Id" }, { "name": "hotelId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Hotel Id" }, { "name": "genericRoomType", "in": "query", "required": false, "description": "Indicates if the Allocation objects refer to Generic Room Types (Room Pools).", "type": "boolean" }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" } }, "description": "Response type for fetch block information for range operation.", "schema": { "$ref": "#/definitions/blockRangeInfo" } }, "204": { "description": "BlockRangeInfo not found." }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] } }, "/hotels/{hotelId}/blocks/{blockId}/availability": { "get": { "summary": "Get Block AvailaBility", "description": "Use this API to search for availability on an OPERA block. You will need to know the block ID. Once you know what rooms and rates are available you can proceed to post a block reservation.OperationId:getBlockAvailability
", "operationId": "getBlockAvailability", "parameters": [ { "name": "blockId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Block Id" }, { "name": "hotelId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Hotel Id" }, { "name": "overrideRateCode", "in": "query", "required": false, "type": "boolean" }, { "name": "arrivalDate", "in": "query", "required": false, "description": "Arrival date.", "type": "string", "format": "date" }, { "name": "nights", "in": "query", "required": false, "description": "Number of nights of stay.", "type": "integer" }, { "name": "adults", "in": "query", "required": false, "description": "Number of Adults.", "type": "integer" }, { "name": "children", "in": "query", "required": false, "description": "Number of Children.", "type": "integer" }, { "name": "childAge", "in": "query", "type": "array", "collectionFormat": "multi", "description": "Age of a child in years.", "items": { "type": "integer" }, "required": false }, { "name": "bucket1Count", "in": "query", "required": false, "description": "Number of children classified under the first Age Qualifying Group (Child Bucket #1).", "type": "integer" }, { "name": "bucket2Count", "in": "query", "required": false, "description": "Number of children classified under the second Age Qualifying Group (Child Bucket #2).", "type": "integer" }, { "name": "bucket3Count", "in": "query", "required": false, "description": "Number of children classified under the third Age Qualifying Group (Child Bucket #3).", "type": "integer" }, { "name": "bucket4Count", "in": "query", "required": false, "description": "Number of children classified under the fourth Age Qualifying Group (Child Bucket #4).", "type": "integer" }, { "name": "bucket5Count", "in": "query", "required": false, "description": "Number of children classified under the fifth Age Qualifying Group (Child Bucket #5).", "type": "integer" }, { "name": "rooms", "in": "query", "required": false, "description": "Number of Rooms", "type": "integer" }, { "name": "ratePlanCode", "in": "query", "required": false, "description": "Rate Plan Code", "type": "string" }, { "name": "existingReservationId", "in": "query", "required": false, "description": "A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.", "type": "string" }, { "name": "existingReservationIdType", "in": "query", "required": false, "description": "A reference to the type of object defined by the UniqueID element.", "type": "string" }, { "name": "roomType", "in": "query", "type": "array", "maxItems": 4000, "collectionFormat": "multi", "description": "Room type.", "items": { "type": "string" }, "required": false }, { "name": "fetchAllocatedRoomType", "in": "query", "type": "array", "collectionFormat": "multi", "description": "Instruction to determine room types to fetch.", "uniqueItems": true, "items": { "type": "string", "enum": [ "Allocated", "Available", "GenericAllocated", "GenericAvailable" ] }, "required": false }, { "name": "roomTypeCount", "in": "query", "required": false, "description": "Criteria to fetch number of room type(s).", "type": "integer" }, { "name": "detailedAvailability", "in": "query", "required": false, "description": "Indicates if Detailed Availability will be returned.", "type": "boolean" }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" } }, "description": "Response for FetchBlockAvailability operation.", "schema": { "$ref": "#/definitions/blockAvailability" } }, "204": { "description": "BlockAvailability not found." }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] } }, "/hotels/{hotelId}/blocks/{blockId}/cancellations": { "post": { "summary": "Cancel the Block", "description": "Use this API to complete a cancellation of the block.OperationId:postCancelBlock
", "operationId": "postCancelBlock", "deprecated": true, "x-alternative": "/hotels/{hotelId}/blocks/{blockId}/status", "parameters": [ { "name": "blockId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Block Id" }, { "name": "hotelId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Hotel Id" }, { "name": "blockToCancel", "in": "body", "required": true, "description": "Request object for block cancelation. This object contains unique identifiers (Block unique id, Block Code and Block Start Date ) to identify the block to be Canceled and the standard optional Opera Context element.", "schema": { "allOf": [ { "$ref": "#/definitions/blockToCancel" } ] } }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "201": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" }, "Location": { "type": "string", "description": "Location of newly created resource" } }, "description": "HATEOAS links which help the consumer to navigate to resources", "schema": { "$ref": "#/definitions/status" } }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] } }, "/hotels/{hotelId}/blocks/{blockId}/cateringRevenue": { "put": { "summary": "Recalculate Catering Revenue", "description": "Use this API to recalculate catering revenue for the business block.OperationId:putCateringRevenue
", "operationId": "putCateringRevenue", "parameters": [ { "name": "hotelId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000 }, { "name": "blockId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Unique OPERA Block ID which is used to find a Block from OPERA. This ID is a primary identification of a Block in OPERA." }, { "in": "body", "name": "cateringRevenueToChange", "description": "Request object for recalculating the catering revenue for a business block.", "required": true, "schema": { "allOf": [ { "$ref": "#/definitions/cateringRevenueToChange" } ] } }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" }, "Location": { "type": "string", "description": "Location of newly created resource" } }, "description": "Response Body.", "schema": { "$ref": "#/definitions/status" } }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] } }, "/hotels/{hotelId}/blocks/{blockId}/exchangeInterfaces": { "get": { "summary": "Get exchange interfaces from business block", "description": "Customers are able to retrieve the external systems to which a block is sending business events to.", "operationId": "getBlockExchangeInterfaces", "parameters": [ { "name": "hotelId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 20, "description": "Hotel Id", "x-example": "MYHOTEL" }, { "name": "blockId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Block Id" }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" } }, "description": "Response object for block exchange.", "schema": { "$ref": "#/definitions/getBlockExchangeInterfacesResponse" } }, "204": { "description": "No external exchange systems configured for this block." }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] }, "put": { "summary": "Set exchange interfaces for business block", "description": "Use this API to set exchange interfaces configured for a particular business block.", "operationId": "setBlockExchangeInterfaces", "parameters": [ { "name": "hotelId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 20, "description": "Hotel Id", "x-example": "MYHOTEL" }, { "name": "blockId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Block Id" }, { "name": "exchangeInterfaces", "in": "body", "required": true, "description": "Request object for setting external exchange interfaces for business blocks", "schema": { "$ref": "#/definitions/setBlockExchangeInterfacesRequest" } }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" }, "Location": { "type": "string", "description": "Location of newly created resource" } }, "description": "Response Body.", "schema": { "$ref": "#/definitions/status" } }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] } }, "/hotels/{hotelId}/blocks/{blockId}/openStatus": { "put": { "summary": "Change Block status to Open", "description": "Use this API to transition booking status in allotment header to an Open for Pickup Status, which ready to receive reservation bookings.OperationId:putBlockStatusToOpen
", "operationId": "putBlockStatusToOpen", "parameters": [ { "name": "blockId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Block Id" }, { "name": "hotelId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Hotel Id" }, { "name": "blockStatus", "in": "body", "required": true, "description": "Request object to transition the block status to Open for Pickup. This object contains unique identifier ( Block unique id ) to identify the block to be transitioned and the standard optional Opera Context element.", "schema": { "allOf": [ { "$ref": "#/definitions/blockStatus" } ] } }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" }, "Location": { "type": "string", "description": "Location of newly created resource" } }, "description": "Response Body.", "schema": { "$ref": "#/definitions/status" } }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] } }, "/hotels/{hotelId}/blocks/{blockId}/postingMaster": { "post": { "summary": "Create Block posting master", "description": "Use this API to create a new posting Master reservation against a block in OPERA. The block status in OPERA needs to be 'Open for Pick up' to successfully post a BlockPostingMaster reservation.OperationId:postBlockPostingMaster
", "operationId": "postBlockPostingMaster", "parameters": [ { "name": "blockId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Block Id" }, { "name": "hotelId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Hotel Id" }, { "name": "blockPostingMaster", "in": "body", "required": true, "description": "Request object for creating a new Posting Master Reservation.", "schema": { "allOf": [ { "$ref": "#/definitions/blockPostingMaster" } ] } }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "201": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" }, "Location": { "type": "string", "description": "Location of newly created resource" } }, "description": "HATEOAS links which help the consumer to navigate to resources", "schema": { "$ref": "#/definitions/status" } }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] } }, "/hotels/{hotelId}/blocks/{blockId}/postingMaster/reservations": { "get": { "summary": "Get Posting Master Reservations for a Block", "description": "Use this API to retrieve PM (Posting Master) reservations for a block.OperationId:getBlockPMReservations
", "operationId": "getBlockPMReservations", "parameters": [ { "name": "blockId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Block Id" }, { "name": "hotelId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Hotel Id" }, { "name": "postingmaster", "in": "query", "default": true, "required": false, "description": "If true, a PM reservation will be created for the block if no PM reservations exist.", "type": "boolean" }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" } }, "description": "The response object that contains the PM reservations belonging to a block.", "schema": { "$ref": "#/definitions/blockPMReservations" }, "examples": { "application/json": { "reservations": { "reservation": [ { "hotelReservation": { "reservationIdList": [ { "id": "string", "type": "string" } ], "associatedReservations": { "parentReservation": { "id": "string", "type": "string" }, "originalMultiRoomRes": { "id": "string", "type": "string" } }, "sourceOfSale": { "sourceType": "string", "sourceCode": "string" }, "roomStay": { "roomRates": [ { "total": { "taxes": { "tax": [ { "description": "string", "type": "Inclusive", "code": "string", "amount": 0, "currencyCode": "string" } ], "amount": 0, "currencyCode": "string" }, "fees": { "fee": [ { "description": "string", "type": "Inclusive", "code": "string", "amount": 0, "currencyCode": "string" } ], "amount": 0, "currencyCode": "string" }, "description": "string", "amountBeforeTax": 0, "amountAfterTax": 0, "currencyCode": "string", "currencySymbol": "string", "decimalPlaces": 0, "code": "string", "rateOverride": true }, "totalPoints": { "awardsType": "string", "points": 0 }, "rates": { "rate": [ { "base": { "taxes": { "tax": [ { "description": "string", "type": "Inclusive", "code": "string", "amount": 0, "currencyCode": "string" } ], "amount": 0, "currencyCode": "string" }, "fees": { "fee": [ { "description": "string", "type": "Inclusive", "code": "string", "amount": 0, "currencyCode": "string" } ], "amount": 0, "currencyCode": "string" }, "description": "string", "amountBeforeTax": 0, "amountAfterTax": 0, "currencyCode": "string", "currencySymbol": "string", "decimalPlaces": 0, "code": "string", "rateOverride": true }, "additionalGuestAmounts": [ { "amount": { "taxes": { "tax": [ { "description": "string", "type": "Inclusive", "code": "string", "amount": 0, "currencyCode": "string" } ], "amount": 0, "currencyCode": "string" }, "fees": { "fee": [ { "description": "string", "type": "Inclusive", "code": "string", "amount": 0, "currencyCode": "string" } ], "amount": 0, "currencyCode": "string" }, "description": "string", "amountBeforeTax": 0, "amountAfterTax": 0, "currencyCode": "string", "currencySymbol": "string", "decimalPlaces": 0, "code": "string", "rateOverride": true }, "ageQualifyingCode": "ADULT" } ], "discount": { "discountReason": "string", "percent": 0, "amount": 0, "currencyCode": "string", "discountCode": "string" }, "shareRatePercentage": 0, "shareDistributionInstruction": "Full", "total": { "taxes": { "tax": [ { "description": "string", "type": "Inclusive", "code": "string", "amount": 0, "currencyCode": "string" } ], "amount": 0, "currencyCode": "string" }, "fees": { "fee": [ { "description": "string", "type": "Inclusive", "code": "string", "amount": 0, "currencyCode": "string" } ], "amount": 0, "currencyCode": "string" }, "description": "string", "amountBeforeTax": 0, "amountAfterTax": 0, "currencyCode": "string", "currencySymbol": "string", "decimalPlaces": 0, "code": "string", "rateOverride": true }, "requiredPoints": { "awardsType": "string", "points": 0 }, "effectiveRate": { "taxes": { "tax": [ { "description": "string", "type": "Inclusive", "code": "string", "amount": 0, "currencyCode": "string" } ], "amount": 0, "currencyCode": "string" }, "fees": { "fee": [ { "description": "string", "type": "Inclusive", "code": "string", "amount": 0, "currencyCode": "string" } ], "amount": 0, "currencyCode": "string" }, "description": "string", "amountBeforeTax": 0, "amountAfterTax": 0, "currencyCode": "string", "currencySymbol": "string", "decimalPlaces": 0, "code": "string", "rateOverride": true }, "start": "2020-07-13", "end": "2020-07-13" } ], "rateRange": [ { "base": [ { "taxes": { "tax": [ { "description": "string", "type": "Inclusive", "code": "string", "amount": 0, "currencyCode": "string" } ], "amount": 0, "currencyCode": "string" }, "fees": { "fee": [ { "description": "string", "type": "Inclusive", "code": "string", "amount": 0, "currencyCode": "string" } ], "amount": 0, "currencyCode": "string" }, "description": "string", "amountBeforeTax": 0, "amountAfterTax": 0, "currencyCode": "string", "currencySymbol": "string", "decimalPlaces": 0, "code": "string", "rateOverride": true } ], "rateChange": true } ] }, "packages": [ { "amount": { "amount": 0, "currencyCode": "string" }, "allowance": { "amount": 0, "currencyCode": "string" }, "description": [ "string" ], "startDate": "2020-07-13", "endDate": "2020-07-13", "packageCode": "string", "calculationRule": "string", "postingRhythm": "string", "quantity": 0, "includedInRate": true, "addRateSeprateLine": true, "addRateCombinedLine": true, "startTime": "string", "endTime": "string", "sellSeparate": true } ], "stayProfiles": [ { "profileIdList": [ { "id": "string", "type": "string" } ], "profile": { "customer": { "personName": [ { "givenName": "string", "surname": "string", "nameType": "Primary", "language": "string", "externalSystem": "string" } ], "anonymization": { "anonymizationStatus": "Requested", "anonymizationDate": "2020-07-13T15:18:00.396Z" }, "businessTitle": "string", "language": "string", "privateProfile": true, "blacklist": true }, "company": { "companyName": "string" }, "addresses": { "addressInfo": [ { "address": { "addressLine": [ "string" ], "cityName": "string", "postalCode": "string", "county": "string", "state": "string", "country": { "value": "string", "code": "string" }, "type": "string" }, "id": "string", "type": "string" } ], "hasMore": true, "totalResults": 0, "count": 0 }, "telephones": { "telephoneInfo": [ { "telephone": { "phoneNumber": "string" } } ], "hasMore": true, "totalResults": 0, "count": 0 }, "emails": { "emailInfo": [ { "email": { "emailAddress": "string", "type": "string" } } ], "hasMore": true, "totalResults": 0, "count": 0 }, "uRLs": { "uRLInfo": [ { "url": { "value": "string", "type": "string" } } ], "hasMore": true, "totalResults": 0, "count": 0 }, "relationships": { "relationship": [ { "relationshipProfile": { "company": { "companyName": "string" }, "profileIdList": [ { "id": "string", "type": "string" } ], "profileType": "Guest" }, "relation": "string", "targetRelation": "string" } ], "hasMore": true, "totalResults": 0, "count": 0 }, "profileType": "Guest" }, "reservationProfileType": "Company" } ], "guestCounts": { "childAges": [ { "age": 0 } ], "childBuckets": { "bucket1Count": 0, "bucket2Count": 0, "bucket3Count": 0, "bucket4Count": 0, "bucket5Count": 0 }, "adults": 0, "children": 0 }, "taxFreeGuestCounts": { "childAges": [ { "age": 0 } ], "childBuckets": { "bucket1Count": 0, "bucket2Count": 0, "bucket3Count": 0, "bucket4Count": 0, "bucket5Count": 0 }, "adults": 0, "children": 0 }, "awards": { "membershipNo": { "id": "string", "type": "string" }, "awardVouchers": { "awardVoucher": [ { "awardCode": "string", "voucherNo": "string" } ] }, "originalRoomType": "string", "upgradeRoomType": "string" }, "foreignExchange": { "type": "string", "effectiveDate": "2020-07-13" }, "reservationBlock": { "blockIdList": [ { "id": "string", "type": "string" } ], "blockName": "string", "hotelId": "string" }, "roomRateInfo": "string", "mealPlans": [ { "code": "string", "included": true, "breakfastIncluded": true, "lunchIncluded": true, "dinnerIncluded": true } ], "roomType": "string", "ratePlanCode": "string", "promotionCode": "string", "start": "2020-07-13", "end": "2020-07-13", "availability": "Available", "suppressRate": true, "marketCode": "string", "marketCodeDescription": "string", "sourceCode": "string", "sourceCodeDescription": "string", "numberOfUnits": 0, "roomId": "string", "pseudoRoom": true, "roomTypeCharged": "string", "commissionCode": "string", "commissionable": true, "houseUseOnly": true, "complimentary": true, "inventoryLender": "string", "fixedRate": true, "barRanking": 0, "rateGroup": "string", "discountAllowed": true, "bogoDiscount": true, "rateLevel": "string", "commissionPercentage": 0, "commissionAmount": 0, "credentialsRequired": true, "taxIncluded": true, "rateDescription": "string" } ], "guestCounts": { "childAges": [ { "age": 0 } ], "childBuckets": { "bucket1Count": 0, "bucket2Count": 0, "bucket3Count": 0, "bucket4Count": 0, "bucket5Count": 0 }, "adults": 0, "children": 0 }, "arrivalDate": "2020-07-13", "departureDate": "2020-07-13", "expectedTimes": { "reservationExpectedArrivalTime": "2020-07-13T15:18:00.397Z", "reservationExpectedDepartureTime": "2020-07-13T15:18:00.397Z" }, "originalTimeSpan": { "startDate": "2020-07-13", "endDate": "2020-07-13", "duration": "string" }, "guarantee": { "guaranteeCode": "string", "shortDescription": "string", "onHold": true }, "promotion": { "promotionCode": "string", "promotionName": "string", "couponCode": "string" }, "suiteWith": "string", "total": { "taxes": { "tax": [ { "description": "string", "type": "Inclusive", "code": "string", "amount": 0, "currencyCode": "string" } ], "amount": 0, "currencyCode": "string" }, "fees": { "fee": [ { "description": "string", "type": "Inclusive", "code": "string", "amount": 0, "currencyCode": "string" } ], "amount": 0, "currencyCode": "string" }, "description": "string", "amountBeforeTax": 0, "amountAfterTax": 0, "currencyCode": "string", "currencySymbol": "string", "decimalPlaces": 0, "code": "string", "rateOverride": true }, "totalPoints": { "awardsType": "string", "points": 0 }, "multiValueAttrs": [ "string" ], "upsellInfo": { "originalInfo": { "rateCode": "string", "totalAmount": { "amount": 0, "currencyCode": "string" }, "roomType": { "code": "string", "description": "string" }, "nights": 0 }, "upsellInfo": { "totalUpsellCharge": { "amount": 0, "currencyCode": "string" }, "totalUpsellMoneyAmount": { "amount": 0, "currencyCode": "string" }, "firstNightUpsellAmount": { "amount": 0, "currencyCode": "string" }, "firstNightUpsellCharge": { "amount": 0, "currencyCode": "string" }, "totalUpsellPoints": 0, "totalActualRateAmount": { "amount": 0, "currencyCode": "string" }, "roomType": { "code": "string", "description": "string" }, "roomLongDescription": "string", "ruleId": 0, "ruleCode": "string", "ruleDescription": "string", "percentageSavings": 0, "upsellDate": "2020-07-13", "upsellUser": "string" } }, "mobileNotifications": { "roomReady": "Pending", "keyReady": "Pending", "checkoutMessageReceived": true, "requiresAction": true, "errorMessage": "string" }, "roomNumberLocked": true, "printRate": true, "primaryShareType": "Primary", "remoteCheckInAllowed": true, "bookingMedium": "string", "bookingMediumDescription": "string" }, "reservationGuests": [ { "profileInfo": { "profileIdList": [ { "id": "string", "type": "string" } ], "profile": { "customer": { "personName": [ { "givenName": "string", "surname": "string", "nameType": "Primary", "language": "string", "externalSystem": "string" } ], "anonymization": { "anonymizationStatus": "Requested", "anonymizationDate": "2020-07-13T15:18:00.397Z" }, "businessTitle": "string", "language": "string", "privateProfile": true, "blacklist": true }, "company": { "companyName": "string" }, "addresses": { "addressInfo": [ { "address": { "addressLine": [ "string" ], "cityName": "string", "postalCode": "string", "county": "string", "state": "string", "country": { "value": "string", "code": "string" }, "type": "string" }, "id": "string", "type": "string" } ], "hasMore": true, "totalResults": 0, "count": 0 }, "telephones": { "telephoneInfo": [ { "telephone": { "phoneNumber": "string" } } ], "hasMore": true, "totalResults": 0, "count": 0 }, "emails": { "emailInfo": [ { "email": { "emailAddress": "string", "type": "string" } } ], "hasMore": true, "totalResults": 0, "count": 0 }, "uRLs": { "uRLInfo": [ { "url": { "value": "string", "type": "string" } } ], "hasMore": true, "totalResults": 0, "count": 0 }, "relationships": { "relationship": [ { "relationshipProfile": { "company": { "companyName": "string" }, "profileIdList": [ { "id": "string", "type": "string" } ], "profileType": "Guest" }, "relation": "string", "targetRelation": "string" } ], "hasMore": true, "totalResults": 0, "count": 0 }, "profileType": "Guest" }, "profileCashieringDetail": { "paymentMethod": { "code": "string", "description": "string" }, "eCommerceId": { "id": "string", "type": "string" }, "routingInstructions": { "transactionCodes": [ { "description": "string", "transactionGroup": "string", "transactionSubGroup": "string", "universalProductCode": "string", "routingInstructionsId": 0, "articles": [ { "description": "string", "transactionCode": "string", "price": { "amount": 0, "currencyCode": "string" }, "postIt": { "availableForPostIt": true }, "universalProductCode": "string", "hotelId": "string", "articleCode": "string", "inactive": true, "orderSequence": 0 } ], "transactionCode": "string", "hotelId": "string", "printTrxReceipt": true } ], "billingInstructions": [ { "desc": "string", "routingInstructionsId": 0, "billingCode": "string", "hotelId": "string" } ], "autoPopulateRouting": true }, "taxType": "string", "fiscalGuestType": "string", "hotelId": "string" }, "registrationCardNo": "string" }, "arrivalTransport": { "comments": "string", "type": "string", "transportCode": "string", "carrierCode": "string", "stationCode": "string", "dateTime": "2020-07-13T15:18:00.397Z", "transportationReqd": true }, "departureTransport": { "comments": "string", "type": "string", "transportCode": "string", "carrierCode": "string", "stationCode": "string", "dateTime": "2020-07-13T15:18:00.397Z", "transportationReqd": true }, "visaInfo": { "visaIssueDate": "2020-07-13", "visaExpiryDate": "2020-07-13", "visaNumber": "string" }, "reservationGuestRPH": "string", "primary": true } ], "sharedGuests": [ { "profileId": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "firstName": "string", "lastName": "string", "fullName": "string" } ], "additionalGuestInfo": { "portOfEntry": "string", "dateOfEntry": "2020-07-13", "nextDestination": "string", "preferredRoomType": "string", "lastStay": { "lastStayDate": "2020-07-13", "lastStayRoom": "string", "lastStayRate": { "amount": 0, "currencyCode": "string" }, "totalStay": 0 }, "purposeOfStay": "string", "guestClassification": "string", "guestStatus": "string" }, "reservationProfiles": { "reservationProfile": [ { "profileIdList": [ { "id": "string", "type": "string" } ], "profile": { "customer": { "personName": [ { "givenName": "string", "surname": "string", "nameType": "Primary", "language": "string", "externalSystem": "string" } ], "anonymization": { "anonymizationStatus": "Requested", "anonymizationDate": "2020-07-13T15:18:00.397Z" }, "businessTitle": "string", "language": "string", "privateProfile": true, "blacklist": true }, "company": { "companyName": "string" }, "addresses": { "addressInfo": [ { "address": { "addressLine": [ "string" ], "cityName": "string", "postalCode": "string", "county": "string", "state": "string", "country": { "value": "string", "code": "string" }, "type": "string" }, "id": "string", "type": "string" } ], "hasMore": true, "totalResults": 0, "count": 0 }, "telephones": { "telephoneInfo": [ { "telephone": { "phoneNumber": "string" } } ], "hasMore": true, "totalResults": 0, "count": 0 }, "emails": { "emailInfo": [ { "email": { "emailAddress": "string", "type": "string" } } ], "hasMore": true, "totalResults": 0, "count": 0 }, "uRLs": { "uRLInfo": [ { "url": { "value": "string", "type": "string" } } ], "hasMore": true, "totalResults": 0, "count": 0 }, "relationships": { "relationship": [ { "relationshipProfile": { "company": { "companyName": "string" }, "profileIdList": [ { "id": "string", "type": "string" } ], "profileType": "Guest" }, "relation": "string", "targetRelation": "string" } ], "hasMore": true, "totalResults": 0, "count": 0 }, "profileType": "Guest" }, "reservationProfileType": "Company" } ], "commissionPayoutTo": "TravelAgent" }, "reservationCommunication": { "telephones": { "telephoneInfo": [ { "telephone": { "phoneNumber": "string" } } ], "hasMore": true, "totalResults": 0, "count": 0 }, "emails": { "emailInfo": [ { "email": { "emailAddress": "string", "type": "string" } } ], "hasMore": true, "totalResults": 0, "count": 0 } }, "reservationAwards": [ { "awardCode": "string", "awardType": "Paper", "description": "string", "certificateNo": "string", "masterCertificiateNo": "string", "membershipNo": "string", "hotelId": "string", "hotelCategory": "string", "externalHotelCode": "string", "externalConfirmationNo": "string", "categoryValid": true, "reservationCertificateType": "Reward", "rewardCertificateType": "Regular", "status": "Available", "expirationDate": "2020-07-13", "gift": true, "upgrade": true, "package": true, "instantlyRedeemable": true, "paidUpgrade": true, "detailedCertificate": true, "nights": 0, "sourceType": "string", "points": 0, "fBAInfo": { "status": "Ordered", "monetaryValue": 0, "amount": 0, "postedAmount": 0, "reimbursedAmount": 0, "postingDateTime": "2020-07-13", "postingBusinessDate": "2020-07-13", "settlementDateTime": "2020-07-13", "settlementBusinessDate": "2020-07-13", "reimbursementDateTime": "2020-07-13", "reimbursementBusinessDate": "2020-07-13", "fbaBillGenDate": "2020-07-13", "currencyCode": "string", "currencySymbol": "string", "decimalPlaces": 0, "flexibleBenefitAward": true, "posted": true, "settled": true, "reimbursed": true, "resettleAllowed": true, "reimburseAllowed": true, "orphanCertificate": true }, "reservationId": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "profileId": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "quantity": 0, "displaySequence": 0, "createDateTime": "2020-07-13T15:18:00.397Z", "creatorId": "string", "lastModifyDateTime": "2020-07-13T15:18:00.397Z", "lastModifierId": "string", "purgeDate": "2020-07-13" } ], "trackItItems": [ { "hotelId": "string", "trackItId": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "group": "Parcel", "ticketNumber": "string", "referenceNumber": "string", "type": { "type": { "code": "string", "description": "string" }, "url": { "value": "string", "type": "string" } }, "action": { "trackItAction": { "code": "string", "description": "string" }, "status": "Open" }, "location": { "code": "string", "description": "string" }, "quantity": 0, "followUpDate": "2020-07-13", "description": "string", "assignedTo": { "hotel": { "code": "string", "description": "string" }, "appUser": "string", "lDAPUser": "string", "actAs": "string", "actAt": "string", "userDefaultLanguage": "string", "appUserId": { "id": "string", "type": "string" }, "cashierId": 0, "cashierTitle": "string", "department": "string", "departmentLocation": "string", "salesRepCode": "string", "expiryDate": "2020-07-13", "disabledUntil": "2020-07-13", "passwordChangeDate": "2020-07-13", "userInfo": { "personName": { "givenName": "string", "surname": "string", "nameType": "Primary", "language": "string", "externalSystem": "string" }, "profileId": { "id": "string", "type": "string" }, "addressInfo": { "address": { "addressLine": [ "string" ], "cityName": "string", "postalCode": "string", "county": "string", "state": "string", "country": { "value": "string", "code": "string" }, "type": "string" }, "id": "string", "type": "string" }, "emailInfo": { "email": { "emailAddress": "string", "type": "string" } }, "phoneInfo": { "telephone": { "phoneNumber": "string" } }, "department": { "code": "string", "description": "string" }, "gender": "Male", "birthDate": "2020-07-13", "birthDateMasked": "string" }, "userSessionInfo": { "businessDate": "2020-07-13", "systemDate": "2020-07-13", "terminal": "string", "runningApp": "string", "shareProfiles": true, "hotel": { "code": "string", "description": "string" }, "cro": { "code": "string", "description": "string" }, "chain": "string", "cROCountryCode": "string", "sessionDefaults": { "dbDateFormat": "string", "oracleDateFormat": "string", "oracleTimeFormat": "string", "javaDateFormat": "string", "javaTimeFormat": "string", "currencyCode": "string", "currencyFormat": "string", "defaultLanguage": "string", "baseLanguage": "string" }, "parameters": [ { "parameterName": "string", "parameterValue": "string" } ] }, "attendantInfo": { "attendantId": "string", "hotelId": "string" } }, "reservationInfo": { "reservationIdList": [ { "id": "string", "type": "string" } ], "timeSpan": { "startDate": "2020-07-13", "endDate": "2020-07-13", "duration": "string" }, "guestInfo": { "membership": { "membershipId": 0, "programCode": "string", "bonusCode": "string", "membershipTypeDesc": "string", "membershipLevelDesc": "string", "accountId": "string", "membershipLevel": "string", "playerRanking": 0 }, "namePrefix": "string", "givenName": "string", "alternateGivenName": "string", "middleName": "string", "surnamePrefix": "string", "surname": "string", "alternateSurname": "string", "nameSuffix": "string", "nameTitle": "string", "fullName": "string", "alternateFullName": "string", "phoneNumber": "string", "email": "string", "birthDate": "2020-07-13", "language": "string", "nationality": { "value": "string", "code": "string" }, "vip": { "vipCode": "string", "vipDescription": "string" }, "address": { "cityName": "string", "postalCode": "string", "state": "string", "country": { "value": "string", "code": "string" }, "streetAddress": "string", "excludeNoCity": true }, "anonymization": { "anonymizationStatus": "Requested", "anonymizationDate": "2020-07-13T15:18:00.397Z" }, "accompanyGuests": [ { "firstName": "string", "lastName": "string", "fullName": "string", "registrationCardNo": "string", "profileIdList": [ { "id": "string", "type": "string" } ] } ], "externalInfo": { "givenName": "string", "surname": "string" }, "guestLastStayInfo": { "lastStayDate": "2020-07-13", "lastStayRoom": "string", "lastStayRate": { "amount": 0, "currencyCode": "string" }, "totalStay": 0 }, "guestRestrictedCode": "string", "guestRestrictedReasonDesc": "string", "guestRestricted": true, "registrationCardNo": "string", "nameType": "Guest", "id": "string", "type": "string" }, "roomType": "string", "roomId": "string", "roomStatus": "Clean", "guarantee": { "guaranteeCode": "string", "shortDescription": "string", "onHold": true }, "reservationStatus": "Reserved", "computedReservationStatus": "Reserved" }, "trackItLogList": [ { "hotelId": "string", "trackItLogId": { "id": "string", "type": "string" }, "trackItId": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "type": "string", "description": "string", "businessDate": "2020-07-13", "logUserId": 0, "logUserName": "string", "logDate": "2020-07-13T15:18:00.397Z" } ] } ], "shares": { "reservation": [ null ], "hasMore": true, "totalResults": 0, "count": 0 }, "locators": [ { "dateSpan": { "start": "2020-07-13", "end": "2020-07-13" }, "timeSpan": { "startDateTime": "2020-07-13T15:18:00.397Z", "endDateTime": "2020-07-13T15:18:00.397Z" }, "locatorText": "string", "locatorOn": "2020-07-13T15:18:00.397Z", "locatorBy": "string", "locatorId": { "id": "string", "type": "string" } } ], "attachments": [ { "fileName": "string", "fileSize": 0, "description": "string", "global": true, "hotelId": "string", "history": { "createDateTime": "2020-07-13T15:18:00.397Z", "creatorId": "string", "lastModifyDateTime": "2020-07-13T15:18:00.397Z", "lastModifierId": "string" }, "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 } ], "webRegistrationCards": [ { "fileName": "string", "fileSize": 0, "description": "string", "global": true, "hotelId": "string", "history": { "createDateTime": "2020-07-13T15:18:00.397Z", "creatorId": "string", "lastModifyDateTime": "2020-07-13T15:18:00.397Z", "lastModifierId": "string" }, "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 } ], "serviceRequests": [ { "serviceRequestId": { "id": "string", "type": "string" }, "hotelId": "string", "code": "string", "status": "Open", "priority": "string", "department": { "code": "string", "description": "string" }, "reservationIdList": [ { "id": "string", "type": "string" } ], "profileId": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "guestName": "string", "room": "string", "openDate": "2020-07-13T15:18:00.397Z", "guaranteedBy": "string", "comment": "string", "action": "string", "guestContactMethod": "string", "completionDate": "2020-07-13T15:18:00.397Z", "closedDate": "2020-07-13T15:18:00.397Z", "closedBy": "string", "closeDescription": "string" } ], "reservationActivities": [ { "profileId": [ { "id": "string", "type": "string" } ], "personName": { "givenName": "string", "surname": "string", "nameType": "Primary", "language": "string", "externalSystem": "string" }, "address": { "addressLine": [ "string" ], "cityName": "string", "postalCode": "string", "county": "string", "state": "string", "country": { "value": "string", "code": "string" }, "type": "string" }, "activities": [ { "activityIds": [ { "id": "string", "type": "string" } ], "type": "Golf", "location": "string", "name": [ "string" ], "numberOfPersons": 0, "timeSpan": { "startDateTime": "2020-07-13T15:18:00.397Z", "endDateTime": "2020-07-13T15:18:00.397Z" }, "duration": { "startDateTime": "2020-07-13T15:18:00.397Z", "endDateTime": "2020-07-13T15:18:00.397Z" }, "description": [ "string" ], "note": [ "string" ], "groupCode": "string", "amount": { "amount": 0, "currencyCode": "string" }, "deposit": { "amount": 0, "currencyCode": "string", "collectedBy": "Vendor" }, "inactiveDate": "2020-07-13T15:18:00.397Z", "participants": { "participant": [ { "givenName": "string", "surname": "string", "nameType": "Primary", "language": "string", "externalSystem": "string" } ] }, "uRLLink": "string", "extensions": { "activitySpecific": [ "string" ] }, "status": "Reserved", "link": true } ], "hotelId": "string" } ], "scheduledActivities": [ { "profileId": [ { "id": "string", "type": "string" } ], "personName": { "givenName": "string", "surname": "string", "nameType": "Primary", "language": "string", "externalSystem": "string" }, "address": { "addressLine": [ "string" ], "cityName": "string", "postalCode": "string", "county": "string", "state": "string", "country": { "value": "string", "code": "string" }, "type": "string" }, "activities": [ { "activityIds": [ { "id": "string", "type": "string" } ], "type": "Golf", "location": "string", "name": [ "string" ], "numberOfPersons": 0, "timeSpan": { "startDateTime": "2020-07-13T15:18:00.397Z", "endDateTime": "2020-07-13T15:18:00.397Z" }, "duration": { "startDateTime": "2020-07-13T15:18:00.397Z", "endDateTime": "2020-07-13T15:18:00.397Z" }, "description": [ "string" ], "note": [ "string" ], "groupCode": "string", "amount": { "amount": 0, "currencyCode": "string" }, "deposit": { "amount": 0, "currencyCode": "string", "collectedBy": "Vendor" }, "inactiveDate": "2020-07-13T15:18:00.398Z", "participants": { "participant": [ { "givenName": "string", "surname": "string", "nameType": "Primary", "language": "string", "externalSystem": "string" } ] }, "uRLLink": "string", "extensions": { "activitySpecific": [ "string" ] }, "status": "Reserved", "link": true } ], "hotelId": "string" } ], "prepaidCards": [ { "hotelId": "string", "reservationId": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "name": "string", "firstName": "string", "profileId": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "cardNo": "string", "cardNumberMasked": "string", "amount": { "amount": 0, "currencyCode": "string" }, "pinCode": "string", "interfaceId": { "id": "string", "type": "string" }, "cardDetails": { "initialLoadDate": "2020-07-13", "activateDate": "2020-07-13", "initialCreditTotal": { "amount": 0, "currencyCode": "string" }, "creditTotal": { "amount": 0, "currencyCode": "string" }, "debitTotal": { "amount": 0, "currencyCode": "string" }, "reservedTotal": { "amount": 0, "currencyCode": "string" }, "balanceTotal": { "amount": 0, "currencyCode": "string" }, "validUntilDate": "2020-07-13", "expiredDate": "2020-07-13", "transactions": [ { "transactionType": "Activate", "transactionDate": "2020-07-13", "transactionNo": 0, "amount": { "amount": 0, "currencyCode": "string" }, "createDateTime": "2020-07-13T15:18:00.398Z", "creatorId": "string", "lastModifyDateTime": "2020-07-13T15:18:00.398Z", "lastModifierId": "string", "purgeDate": "2020-07-13" } ] }, "createDateTime": "2020-07-13T15:18:00.398Z", "creatorId": "string", "lastModifyDateTime": "2020-07-13T15:18:00.398Z", "lastModifierId": "string", "purgeDate": "2020-07-13", "giftCard": true } ], "profileAwards": [ { "awardCode": "string", "awardType": "Paper", "description": "string", "certificateNo": "string", "masterCertificiateNo": "string", "membershipNo": "string", "hotelId": "string", "hotelCategory": "string", "externalHotelCode": "string", "externalConfirmationNo": "string", "categoryValid": true, "reservationCertificateType": "Reward", "rewardCertificateType": "Regular", "status": "Available", "expirationDate": "2020-07-13", "gift": true, "upgrade": true, "package": true, "instantlyRedeemable": true, "paidUpgrade": true, "detailedCertificate": true, "nights": 0, "sourceType": "string", "points": 0, "fBAInfo": { "status": "Ordered", "monetaryValue": 0, "amount": 0, "postedAmount": 0, "reimbursedAmount": 0, "postingDateTime": "2020-07-13", "postingBusinessDate": "2020-07-13", "settlementDateTime": "2020-07-13", "settlementBusinessDate": "2020-07-13", "reimbursementDateTime": "2020-07-13", "reimbursementBusinessDate": "2020-07-13", "fbaBillGenDate": "2020-07-13", "currencyCode": "string", "currencySymbol": "string", "decimalPlaces": 0, "flexibleBenefitAward": true, "posted": true, "settled": true, "reimbursed": true, "resettleAllowed": true, "reimburseAllowed": true, "orphanCertificate": true }, "reservationId": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "profileId": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "quantity": 0, "displaySequence": 0, "createDateTime": "2020-07-13T15:18:00.398Z", "creatorId": "string", "lastModifyDateTime": "2020-07-13T15:18:00.398Z", "lastModifierId": "string", "purgeDate": "2020-07-13" } ], "reservationPackages": [ { "packageHeaderType": { "primaryDetails": { "description": "string" } }, "scheduleList": [ { "consumptionDate": "2020-07-13", "unitPrice": 0, "computedResvPrice": 0, "unitAllowance": 0, "reservationDate": "2020-07-13", "originalUnitPrice": 0, "originalUnitAllowance": 0 } ], "newTimeSpan": { "startDate": "2020-07-13", "endDate": "2020-07-13", "duration": "string" }, "consumptionDetails": { "defaultQuantity": 0 }, "packageCode": "string", "ratePlanCode": "string", "startDate": "2020-07-13", "endDate": "2020-07-13", "packageGroup": "string", "source": "Reservation", "awardCode": "string", "points": 0 } ], "inventoryItems": { "item": [ { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0, "item": { "description": "string", "code": "string", "name": "string", "sellSeparate": true, "requiredForBooking": true }, "quantity": 0, "timeSpan": { "start": "2020-07-13", "end": "2020-07-13" }, "source": { "ratePlanCode": "string", "packageCode": "string", "blockId": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "welcomeOffer": true } } ], "itemClassCode": "string" }, "comments": [ { "comment": { "text": { "value": "string", "language": "string" }, "image": "string", "url": "string", "commentTitle": "string", "type": "string", "internal": true, "hotelId": "string" } } ], "guestComments": [ { "comment": { "text": { "value": "string", "language": "string" }, "image": "string", "url": "string", "commentTitle": "string", "type": "string", "internal": true, "hotelId": "string" } } ], "guestMemberships": [ { "comment": { "text": { "value": "string", "language": "string" }, "image": "string", "url": "string" }, "newMembershipNumber": "string", "nameOnCard": "string", "programDescription": "string", "membershipLevel": "string", "membershipLevelDescription": "string", "membershipClass": "string", "earningPreference": "Points", "inactive": true, "benefits": [ { "code": "string", "message": "string", "inactive": true } ], "tierAdministration": "Disabled", "downgrade": "Grace", "reIssueNewCard": "Pending", "excludeFromBatch": true, "upgradeDescription": "string", "downgradeDescription": "string", "rating": "string", "membershipEnrollmentCode": "string", "memberStatus": "string", "currentPoints": 0, "pointsLabel": "string", "enrollmentSource": "string", "enrollmentResort": "string", "preferredCard": true, "membershipId": "string", "membershipType": "string", "primaryMembershipYn": "string", "primaryMembership": true, "membershipIdNo": 0, "playerRanking": 0, "centralSetup": true, "signupDate": "2020-07-13", "effectiveDate": "2020-07-13", "expireDate": "2020-07-13", "expireDateExclusiveIndicator": true, "orderSequence": 0, "createDateTime": "2020-07-13T15:18:00.398Z", "creatorId": "string", "lastModifyDateTime": "2020-07-13T15:18:00.398Z", "lastModifierId": "string", "purgeDate": "2020-07-13" } ], "preferenceCollection": [ { "preference": [ { "preferenceValue": "string", "description": "string", "global": true, "source": "string", "hotels": [ "string" ], "preferenceCode": "string", "excludedPreferencesCount": 0 } ], "preferenceType": "string", "preferenceTypeDescription": "string", "sequence": "string", "maxQuantity": 0, "availableQuantity": 0, "maxResortUsedQuantity": 0, "reservationPreference": true, "createDateTime": "2020-07-13T15:18:00.398Z", "creatorId": "string", "lastModifyDateTime": "2020-07-13T15:18:00.398Z", "lastModifierId": "string", "purgeDate": "2020-07-13" } ], "reservationMemberships": [ { "comment": { "text": { "value": "string", "language": "string" }, "image": "string", "url": "string" }, "newMembershipNumber": "string", "nameOnCard": "string", "programDescription": "string", "membershipLevel": "string", "membershipLevelDescription": "string", "membershipClass": "string", "earningPreference": "Points", "inactive": true, "benefits": [ { "code": "string", "message": "string", "inactive": true } ], "tierAdministration": "Disabled", "downgrade": "Grace", "reIssueNewCard": "Pending", "excludeFromBatch": true, "upgradeDescription": "string", "downgradeDescription": "string", "rating": "string", "membershipEnrollmentCode": "string", "memberStatus": "string", "currentPoints": 0, "pointsLabel": "string", "enrollmentSource": "string", "enrollmentResort": "string", "preferredCard": true, "membershipId": "string", "membershipType": "string", "primaryMembershipYn": "string", "primaryMembership": true, "membershipIdNo": 0, "playerRanking": 0, "centralSetup": true, "signupDate": "2020-07-13", "effectiveDate": "2020-07-13", "expireDate": "2020-07-13", "expireDateExclusiveIndicator": true, "orderSequence": 0, "createDateTime": "2020-07-13T15:18:00.399Z", "creatorId": "string", "lastModifyDateTime": "2020-07-13T15:18:00.399Z", "lastModifierId": "string", "purgeDate": "2020-07-13", "linkMembership": true, "primary": true } ], "reservationPaymentMethods": [ { "paymentCard": { "cardId": { "id": "string", "type": "string" }, "currentAuthorizedAmount": { "amount": 0, "currencyCode": "string" }, "approvalAmountNeeded": { "amount": 0, "currencyCode": "string" }, "cardType": "Ab", "userDefinedCardType": "string", "cardNumber": "string", "cardNumberMasked": "string", "cardNumberLast4Digits": "string", "expirationDate": "2020-07-13", "expirationDateMasked": "string", "expirationDateExpired": true, "cardHolderName": "string", "attachCreditCardToProfile": true, "processing": "Eft", "swiped": true, "cardOrToken": "CardNumber" }, "balance": { "amount": 0, "currencyCode": "string" }, "authorizationRule": { "code": 0, "amount": { "amount": 0, "currencyCode": "string" }, "percent": 0 }, "emailFolioInfo": { "email": { "emailAddress": "string", "type": "string" }, "emailFolio": true, "id": "string", "type": "string" }, "paymentMethod": "string", "description": "string", "folioView": 0 } ], "routingInstructions": [ { "folio": { "guestInfo": { "profileIdList": [ { "id": "string", "type": "string" } ] }, "payeeInfo": { "payeeId": { "id": "string", "type": "string" }, "payeeName": "string", "payeeAddress": { "address": { "addressLine": [ "string" ], "cityName": "string", "postalCode": "string", "county": "string", "state": "string", "country": { "value": "string", "code": "string" }, "type": "string" }, "id": "string", "type": "string" }, "payeeAddressCount": 0, "payeeReferenceCurrency": "string", "payeeAccountInfo": { "accountName": "string", "accountId": { "id": "string", "type": "string" }, "accountNo": "string", "status": { "restriction": "string", "description": "string", "restricted": true } }, "payeeTaxNumber": "string" }, "aRNumber": "string", "instructions": [ { "duration": { "timeSpan": { "startDate": "2020-07-13", "endDate": "2020-07-13", "duration": "string" }, "sunday": true, "monday": true, "tuesday": true, "wednesday": true, "thursday": true, "friday": true, "saturday": true, "daily": true }, "transactionCodes": [ { "description": "string", "transactionGroup": "string", "transactionSubGroup": "string", "universalProductCode": "string", "routingInstructionsId": 0, "articles": [ { "description": "string", "transactionCode": "string", "price": { "amount": 0, "currencyCode": "string" }, "postIt": { "availableForPostIt": true }, "universalProductCode": "string", "hotelId": "string", "articleCode": "string", "inactive": true, "orderSequence": 0 } ], "transactionCode": "string", "hotelId": "string", "printTrxReceipt": true } ], "billingInstructions": [ { "desc": "string", "routingInstructionsId": 0, "billingCode": "string", "hotelId": "string" } ], "creditLimit": 0, "percentageLimit": 0, "covers": 0, "limitUsed": 0, "routingLinkId": { "id": "string", "type": "string" } } ], "folioWindowNo": 0, "paymentMethod": "string" }, "room": { "roomId": "string", "guestNameId": { "id": "string", "type": "string" }, "guestDisplayName": "string", "reservationNameId": { "id": "string", "type": "string" }, "instructions": [ { "duration": { "timeSpan": { "startDate": "2020-07-13", "endDate": "2020-07-13", "duration": "string" }, "sunday": true, "monday": true, "tuesday": true, "wednesday": true, "thursday": true, "friday": true, "saturday": true, "daily": true }, "transactionCodes": [ { "description": "string", "transactionGroup": "string", "transactionSubGroup": "string", "universalProductCode": "string", "routingInstructionsId": 0, "articles": [ { "description": "string", "transactionCode": "string", "price": { "amount": 0, "currencyCode": "string" }, "postIt": { "availableForPostIt": true }, "universalProductCode": "string", "hotelId": "string", "articleCode": "string", "inactive": true, "orderSequence": 0 } ], "transactionCode": "string", "hotelId": "string", "printTrxReceipt": true } ], "billingInstructions": [ { "desc": "string", "routingInstructionsId": 0, "billingCode": "string", "hotelId": "string" } ], "creditLimit": 0, "percentageLimit": 0, "covers": 0, "limitUsed": 0, "routingLinkId": { "id": "string", "type": "string" } } ] }, "comp": { "compRequestInfo": { "requestedBy": { "userId": 0, "userName": "string" }, "comments": "string", "declinedBy": { "userId": 0, "userName": "string" }, "status": "Request" }, "payeeInfo": { "payeeId": { "id": "string", "type": "string" }, "payeeName": "string", "payeeAddress": { "address": { "addressLine": [ "string" ], "cityName": "string", "postalCode": "string", "county": "string", "state": "string", "country": { "value": "string", "code": "string" }, "type": "string" }, "id": "string", "type": "string" }, "payeeAddressCount": 0, "payeeReferenceCurrency": "string", "payeeAccountInfo": { "accountName": "string", "accountId": { "id": "string", "type": "string" }, "accountNo": "string", "status": { "restriction": "string", "description": "string", "restricted": true } }, "payeeTaxNumber": "string" }, "instructions": [ { "duration": { "timeSpan": { "startDate": "2020-07-13", "endDate": "2020-07-13", "duration": "string" }, "sunday": true, "monday": true, "tuesday": true, "wednesday": true, "thursday": true, "friday": true, "saturday": true, "daily": true }, "transactionCodes": [ { "description": "string", "transactionGroup": "string", "transactionSubGroup": "string", "universalProductCode": "string", "routingInstructionsId": 0, "articles": [ { "description": "string", "transactionCode": "string", "price": { "amount": 0, "currencyCode": "string" }, "postIt": { "availableForPostIt": true }, "universalProductCode": "string", "hotelId": "string", "articleCode": "string", "inactive": true, "orderSequence": 0 } ], "transactionCode": "string", "hotelId": "string", "printTrxReceipt": true } ], "billingInstructions": [ { "desc": "string", "routingInstructionsId": 0, "billingCode": "string", "hotelId": "string" } ], "creditLimit": 0, "percentageLimit": 0, "covers": 0, "limitUsed": 0, "routingLinkId": { "id": "string", "type": "string" } } ], "folioWindowNo": 0 }, "request": { "compRequestInfo": { "requestedBy": { "userId": 0, "userName": "string" }, "comments": "string", "declinedBy": { "userId": 0, "userName": "string" }, "status": "Request" }, "instructions": [ { "duration": { "timeSpan": { "startDate": "2020-07-13", "endDate": "2020-07-13", "duration": "string" }, "sunday": true, "monday": true, "tuesday": true, "wednesday": true, "thursday": true, "friday": true, "saturday": true, "daily": true }, "transactionCodes": [ { "description": "string", "transactionGroup": "string", "transactionSubGroup": "string", "universalProductCode": "string", "routingInstructionsId": 0, "articles": [ { "description": "string", "transactionCode": "string", "price": { "amount": 0, "currencyCode": "string" }, "postIt": { "availableForPostIt": true }, "universalProductCode": "string", "hotelId": "string", "articleCode": "string", "inactive": true, "orderSequence": 0 } ], "transactionCode": "string", "hotelId": "string", "printTrxReceipt": true } ], "billingInstructions": [ { "desc": "string", "routingInstructionsId": 0, "billingCode": "string", "hotelId": "string" } ], "creditLimit": 0, "percentageLimit": 0, "covers": 0, "limitUsed": 0, "routingLinkId": { "id": "string", "type": "string" } } ] } } ], "reservationPolicies": { "cancellationPolicies": [ { "revenueType": "Rooms", "policy": { "deadline": { "absoluteDeadline": "2020-07-13T15:18:00.399Z" }, "amountPercent": { "basisType": "FlatAmount", "nights": 0, "percent": 0, "amount": 0, "currencyCode": "string" }, "policyCode": "string", "effective": true }, "percentageDue": 0, "comments": "string", "policyId": { "id": "string", "type": "string" } } ], "depositPolicies": [ { "revenueType": "Rooms", "policy": { "amountPercent": { "basisType": "FlatAmount", "nights": 0, "percent": 0, "amount": 0, "currencyCode": "string" }, "deadline": { "absoluteDeadline": "2020-07-13T15:18:00.399Z" }, "description": "string", "policyCode": "string" }, "comments": "string", "amountPaid": { "amount": 0, "currencyCode": "string" }, "amountDue": { "amount": 0, "currencyCode": "string" }, "policyId": { "id": "string", "type": "string" } } ] }, "cashiering": { "revenuesAndBalances": { "totalFixedCharge": { "amount": 0, "currencyCode": "string" }, "totalPayment": { "amount": 0, "currencyCode": "string" }, "roomRevenue": { "amount": 0, "currencyCode": "string" }, "foodAndBevRevenue": { "amount": 0, "currencyCode": "string" }, "otherRevenue": { "amount": 0, "currencyCode": "string" }, "nonRevenue": { "amount": 0, "currencyCode": "string" }, "totalRevenue": { "amount": 0, "currencyCode": "string" }, "balance": { "amount": 0, "currencyCode": "string" } }, "billingPrivileges": { "postingRestriction": true, "preStayCharging": true, "postStayCharging": true, "folioCloseDate": "2020-07-13", "scheduledCheckout": true, "scheduledCheckoutTime": "2020-07-13", "directBillAuthorized": true, "videoCheckout": true, "allowAutoCheckin": true, "autoSettlement": true, "autoSettlementType": "string", "autoSettlementFreq": 0, "creditLimitAutoPay": true }, "taxType": { "hotelId": "string", "code": "string", "description": "string", "collectingAgentTax": true, "printAutoAdjust": true, "reportExemptDays": 0, "reportTaxPercentage": 0, "minimumLengthOfStay": 0, "taxExemptNo": "string" }, "bedTaxReporting": { "taxRegistrationNo": 0, "visaNumber": "string", "visaIssueDate": "2020-07-13", "visaExpiryDate": "2020-07-13", "taxableDays": 0 }, "folioTexts": { "folioText": [ { "text": "string", "row": 0 } ] }, "periodicFolio": { "lastSettlementDate": "2020-07-13", "lastFolioDate": "2020-07-13", "frequency": 0 }, "compAccounting": { "compType": "string", "authorizer": "string" }, "reservationPreConfiguredRoutingInstruction": { "authorizerInfo": { "authorizerId": { "id": "string", "type": "string" }, "authorizerUserName": "string", "authorizerName": "string", "authorizerRateCode": "string", "inheritAuthorizerRateCode": true }, "ratePlanCode": "string", "profileType": "Company", "promotionCode": "string" }, "financiallyResponsible": true, "proratedBilling": true, "lastRoomAndTaxPostedDate": "2020-07-13", "reverseCheckInAllowed": true, "reverseAdvanceCheckInAllowed": true, "transactionsPosted": true }, "housekeeping": { "instructions": "string", "facilityTaskInfo": { "task": { "description": "string", "instructions": "string", "facilityDepartureTask": true, "linenChange": true, "hotelId": "string", "code": "string", "sequence": 0 }, "supplies": [ { "description": "string", "quantity": 0, "code": "string" } ], "date": "2020-07-13" }, "linenChange": true, "turndownRequested": true, "serviceTime": "2020-07-13", "expectedServiceTime": "string", "roomStatus": "Clean" }, "linkedReservation": { "reservationInfo": [ { "reservationIdList": [ { "id": "string", "type": "string" } ], "timeSpan": { "startDate": "2020-07-13", "endDate": "2020-07-13", "duration": "string" }, "givenName": "string", "surname": "string", "title": "string", "roomType": "string", "room": "string", "ratePlanCode": "string", "rate": { "amount": 0, "currencyCode": "string" }, "guarantee": { "guaranteeCode": "string", "shortDescription": "string", "onHold": true }, "balance": { "amount": 0, "currencyCode": "string" }, "reservationBlock": { "blockIdList": [ { "id": "string", "type": "string" } ], "blockName": "string", "hotelId": "string" }, "displayColor": "string", "allowedActions": [ "Cancel" ], "reservationStatus": "Reserved", "hotelId": "string", "linkReservationType": "Linked", "reverseCheckInAllowed": true, "roomNumberLocked": true, "suppressRate": true } ], "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "extSystemSync": true, "userDefinedFields": { "characterUDFs": [ { "name": "string", "value": "string", "alternateName": "string" } ], "numericUDFs": [ { "name": "string", "value": 0, "alternateName": "string" } ], "dateUDFs": [ { "name": "string", "value": "2020-07-13", "alternateName": "string" } ] }, "reservationIndicators": [ { "indicatorName": "string", "count": 0 } ], "waitlist": { "reasonDescription": "string", "priorityDescription": "string", "description": "string", "reasonCode": "string", "priorityCode": "string", "telephone": "string" }, "cancellation": { "description": "string", "code": "string", "cancellationNo": { "id": "string", "type": "string" }, "date": "2020-07-13" }, "catering": { "eventId": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "revenueType": "string" }, "statisticalClassification": { "roomType": "string", "rateTier": 0 }, "alerts": [ { "code": "string", "global": true, "area": "CheckIn", "description": "string", "screenNotification": true, "printerNotification": true, "printerName": "string", "reportId": { "id": "string", "type": "string" }, "reportName": "string", "reportDescription": "string", "guestInfo": { "guestName": "string", "membership": { "comment": { "text": { "value": "string", "language": "string" }, "image": "string", "url": "string" }, "newMembershipNumber": "string", "nameOnCard": "string", "programDescription": "string", "membershipLevel": "string", "membershipLevelDescription": "string", "membershipClass": "string", "earningPreference": "Points", "inactive": true, "benefits": [ { "code": "string", "message": "string", "inactive": true } ], "tierAdministration": "Disabled", "downgrade": "Grace", "reIssueNewCard": "Pending", "excludeFromBatch": true, "upgradeDescription": "string", "downgradeDescription": "string", "rating": "string", "membershipEnrollmentCode": "string", "memberStatus": "string", "currentPoints": 0, "pointsLabel": "string", "enrollmentSource": "string", "enrollmentResort": "string", "preferredCard": true, "membershipId": "string", "membershipType": "string", "primaryMembershipYn": "string", "primaryMembership": true, "membershipIdNo": 0, "playerRanking": 0, "centralSetup": true, "signupDate": "2020-07-13", "effectiveDate": "2020-07-13", "expireDate": "2020-07-13", "expireDateExclusiveIndicator": true, "orderSequence": 0, "createDateTime": "2020-07-13T15:18:00.400Z", "creatorId": "string", "lastModifyDateTime": "2020-07-13T15:18:00.400Z", "lastModifierId": "string", "purgeDate": "2020-07-13" }, "vipStatus": { "value": "string", "code": "string" }, "lastHotelCode": "string", "lastStayDate": "2020-07-13", "totalStay": 0, "comments": "string", "preference": "string", "preference2": "string", "guestPreferredLanguage": "string", "totalBrandStay": 0, "birthDate": "2020-07-13", "birthDateMasked": "string" }, "userDefinedFields": { "characterUDFs": [ { "name": "string", "value": "string", "alternateName": "string" } ], "numericUDFs": [ { "name": "string", "value": 0, "alternateName": "string" } ], "dateUDFs": [ { "name": "string", "value": "2020-07-13", "alternateName": "string" } ] }, "welcomeOffer": { "status": "string", "type": "BonusPoints" }, "stopCheckInCheckOut": true, "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0, "createDateTime": "2020-07-13T15:18:00.400Z", "creatorId": "string", "lastModifyDateTime": "2020-07-13T15:18:00.400Z", "lastModifierId": "string", "purgeDate": "2020-07-13" } ], "traces": [ { "timeInfo": { "dateTimeSpan": { "startDateTime": "2020-07-13T15:18:00.400Z", "endDateTime": "2020-07-13T15:18:00.400Z" }, "traceOn": "2020-07-13T15:18:00.400Z", "traceTime": "string", "enteredBy": "string" }, "reservationId": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "departmentId": "string", "traceText": "string", "resolveInfo": { "resolvedOn": "2020-07-13", "resolvedBy": "string" }, "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0, "createDateTime": "2020-07-13T15:18:00.400Z", "creatorId": "string", "lastModifyDateTime": "2020-07-13T15:18:00.400Z", "lastModifierId": "string", "purgeDate": "2020-07-13" } ], "confirmationLetters": [ { "recipientInfo": { "profileId": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "formerName": { "name": "string", "fullName": "string", "namePrefix": "string", "givenName": "string", "middleName": "string", "nameSuffix": "string", "nameTitle": "string", "nameType": "Primary" }, "addressInfo": { "address": { "addressLine": [ "string" ], "cityName": "string", "postalCode": "string", "county": "string", "state": "string", "country": { "value": "string", "code": "string" }, "type": "string" }, "id": "string", "type": "string" }, "emailInfo": { "email": { "emailAddress": "string", "type": "string" } }, "faxInfo": { "telephone": { "phoneNumber": "string" } }, "telephoneInfo": { "telephone": { "phoneNumber": "string" } }, "recipientType": "Guest" }, "deliveryInfo": [ { "communicationType": "Print", "lastStatus": "Pending", "lastAttempted": "2020-07-13T15:18:00.400Z", "successfulTries": 0 } ], "confirmationStyleInfo": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0, "style": "string" }, "fromEmail": "string", "sendTextMessage": true, "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 } ], "callHistory": [ { "dateTimeSpan": { "startDateTime": "2020-07-13T15:18:00.400Z", "endDateTime": "2020-07-13T15:18:00.400Z" }, "caller": { "givenName": "string", "surname": "string", "phone": "string", "email": "string", "fax": "string", "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "reservation": { "reservationIdList": [ { "id": "string", "type": "string" } ], "hotelId": "string" }, "turnawayCode": "string", "comments": "string", "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 } ], "fixedCharges": [ { "schedule": { "start": "2020-07-13", "end": "2020-07-13", "frequency": "O", "dayToExecute": "string", "dateToExecute": "2020-07-13" }, "charge": { "transaction": { "code": "string", "description": "string" }, "quantity": 0, "chargeAmount": { "amount": 0, "currencyCode": "string" }, "percent": 0, "supplement": "string", "article": { "code": "string", "description": "string" }, "roomNights": 0 }, "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 } ], "guestMessages": [ { "message": { "messageText": "string", "messageDate": "2020-07-13T15:18:00.400Z", "typeOfMessage": "Tm", "recipient": "string", "operator": "string" }, "delivery": { "deliveryStatus": "Mr", "deliveryDate": "2020-07-13T15:18:00.400Z", "deliveredBy": "string", "printDate": "2020-07-13T15:18:00.400Z", "textMessageSentDate": "2020-07-13T15:18:00.400Z", "textMessageSentBy": "string", "textMessageSentById": 0, "textMessageRecipientNo": "string" }, "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0, "createDateTime": "2020-07-13T15:18:00.400Z", "creatorId": "string", "lastModifyDateTime": "2020-07-13T15:18:00.400Z", "lastModifierId": "string", "purgeDate": "2020-07-13" } ], "lockHandle": 0, "overrideInstructions": [ { "description": "string", "date": "2020-07-13", "type": "string", "userId": "string" } ], "queue": { "timeSpan": { "startDate": "2020-07-13", "endDate": "2020-07-13", "duration": "string", "durationInSeconds": 0 }, "guestTextInfo": { "sentTime": "2020-07-13T15:18:00.400Z", "sentBy": "string" }, "priority": 0, "averageQueueTimeToCheckIn": 0, "averageQueueTimeCurrentReservations": 0, "queueDate": "2020-07-13" }, "allowedActions": [ "Cancel" ], "eCoupons": [ { "eCouponId": { "id": "string", "type": "string" }, "code": "string", "description": "string", "autoAttached": true, "issuedQuantity": 0, "usedQuantity": 0, "reason": "string", "ratePlanCode": "string", "welcomeOffer": true } ], "transactionDiversions": { "transactionDiversions": [ [ { "vipCode": "string", "membership": { "type": "string", "level": "string" }, "targetRoom": "string", "transactionCodes": { "transactionCode": [ { "code": "string", "description": "string" } ] }, "description": "string", "level": "Property", "thresholds": { "entity": "ThresholdCount", "scope": "PerDay", "minRequired": 0, "complimentary": 0, "isEditable": true }, "type": "Vip", "hotelId": "string", "code": "string", "displaySequence": 0, "inactive": true, "notes": { "comment": { "text": { "value": "string", "language": "string" }, "image": "string", "url": "string", "commentTitle": "string", "type": "string", "internal": true, "hotelId": "string" } }, "posted": 0, "diverted": 0, "dailyDetails": [ { "posted": 0, "diverted": 0, "date": "2020-07-13" } ] } ] ], "actionType": "string" }, "advanceCheckIn": { "advanceCheckedIn": true, "expectedReturnTime": "2020-07-13T15:18:00.400Z", "eTRComments": "string" }, "tickets": [ { "ticketId": { "id": "string", "type": "string" }, "packageCode": "string", "reservationProductId": { "id": "string", "type": "string" }, "ticketNumber": { "id": "string", "type": "string" }, "description": "string", "issueDate": "2020-07-13", "price": 0, "consumptionDate": "2020-07-13", "rateCode": "string", "quantity": 0, "reference": "string", "status": "string", "statusDescription": "string" } ], "accessRestrictionMessage": "string", "eCertificates": [ { "eCertificateNo": "string", "actionType": "Create", "eCertificateType": "Promotion" } ], "customNameValueDetail": { "nameValues": [ { "name": "string", "value": "string", "formatString": "string", "dataType": "String", "origin": { "originName": "Reservation", "destination": "string", "id": "string", "type": "string" } } ] }, "customChargeExemptionDetails": [ { "customChargesExemption": { "code": "string", "description": "string" }, "customChargeQuantity": { "quantity": 0, "available": true }, "customChargeDates": [ { "date": "2020-07-13", "quantity": 0 } ], "excludedDates": [ { "date": "2020-07-13", "reason": "NotConfigured" } ] } ], "autoBorrowFromHouse": true, "overrideExternalChecks": true, "hotelId": "string", "roomStayReservation": true, "reservationStatus": "Reserved", "computedReservationStatus": "Reserved", "walkIn": true, "printRate": true, "createDateTime": "2020-07-13T15:18:00.400Z", "creatorId": "string", "lastModifyDateTime": "2020-07-13T15:18:00.400Z", "lastModifierId": "string", "purgeDate": "2020-07-13", "createBusinessDate": "2020-07-13", "reinstateDate": "2020-07-13", "party": "string", "primaryEnrollmentResort": "string", "primaryEnrollmentChain": "string", "customReference": "string", "displayColor": "string", "markAsRecentlyAccessed": true, "overrideInventoryCheck": true, "accessRestriction": "Change", "preRegistered": true, "upgradeEligible": true, "overrideBlockRestriction": true, "allowAutoCheckin": true, "hasOpenFolio": true, "allowMobileCheckout": true, "allowMobileViewFolio": true, "allowPreRegistration": true, "optedForCommunication": true, "chargeCardNumber": "string" }, "routingInstructions": [ { "folio": { "guestInfo": { "profileIdList": [ { "id": "string", "type": "string" } ] }, "payeeInfo": { "payeeId": { "id": "string", "type": "string" }, "payeeName": "string", "payeeAddress": { "address": { "addressLine": [ "string" ], "cityName": "string", "postalCode": "string", "county": "string", "state": "string", "country": { "value": "string", "code": "string" }, "type": "string" }, "id": "string", "type": "string" }, "payeeAddressCount": 0, "payeeReferenceCurrency": "string", "payeeAccountInfo": { "accountName": "string", "accountId": { "id": "string", "type": "string" }, "accountNo": "string", "status": { "restriction": "string", "description": "string", "restricted": true } }, "payeeTaxNumber": "string" }, "aRNumber": "string", "instructions": [ { "duration": { "timeSpan": { "startDate": "2020-07-13", "endDate": "2020-07-13", "duration": "string" }, "sunday": true, "monday": true, "tuesday": true, "wednesday": true, "thursday": true, "friday": true, "saturday": true, "daily": true }, "transactionCodes": [ { "description": "string", "transactionGroup": "string", "transactionSubGroup": "string", "universalProductCode": "string", "routingInstructionsId": 0, "articles": [ { "description": "string", "transactionCode": "string", "price": { "amount": 0, "currencyCode": "string" }, "postIt": { "availableForPostIt": true }, "universalProductCode": "string", "hotelId": "string", "articleCode": "string", "inactive": true, "orderSequence": 0 } ], "transactionCode": "string", "hotelId": "string", "printTrxReceipt": true } ], "billingInstructions": [ { "desc": "string", "routingInstructionsId": 0, "billingCode": "string", "hotelId": "string" } ], "creditLimit": 0, "percentageLimit": 0, "covers": 0, "limitUsed": 0, "routingLinkId": { "id": "string", "type": "string" } } ], "folioWindowNo": 0, "paymentMethod": "string" }, "room": { "roomId": "string", "guestNameId": { "id": "string", "type": "string" }, "guestDisplayName": "string", "reservationNameId": { "id": "string", "type": "string" }, "instructions": [ { "duration": { "timeSpan": { "startDate": "2020-07-13", "endDate": "2020-07-13", "duration": "string" }, "sunday": true, "monday": true, "tuesday": true, "wednesday": true, "thursday": true, "friday": true, "saturday": true, "daily": true }, "transactionCodes": [ { "description": "string", "transactionGroup": "string", "transactionSubGroup": "string", "universalProductCode": "string", "routingInstructionsId": 0, "articles": [ { "description": "string", "transactionCode": "string", "price": { "amount": 0, "currencyCode": "string" }, "postIt": { "availableForPostIt": true }, "universalProductCode": "string", "hotelId": "string", "articleCode": "string", "inactive": true, "orderSequence": 0 } ], "transactionCode": "string", "hotelId": "string", "printTrxReceipt": true } ], "billingInstructions": [ { "desc": "string", "routingInstructionsId": 0, "billingCode": "string", "hotelId": "string" } ], "creditLimit": 0, "percentageLimit": 0, "covers": 0, "limitUsed": 0, "routingLinkId": { "id": "string", "type": "string" } } ] }, "comp": { "compRequestInfo": { "requestedBy": { "userId": 0, "userName": "string" }, "comments": "string", "declinedBy": { "userId": 0, "userName": "string" }, "status": "Request" }, "payeeInfo": { "payeeId": { "id": "string", "type": "string" }, "payeeName": "string", "payeeAddress": { "address": { "addressLine": [ "string" ], "cityName": "string", "postalCode": "string", "county": "string", "state": "string", "country": { "value": "string", "code": "string" }, "type": "string" }, "id": "string", "type": "string" }, "payeeAddressCount": 0, "payeeReferenceCurrency": "string", "payeeAccountInfo": { "accountName": "string", "accountId": { "id": "string", "type": "string" }, "accountNo": "string", "status": { "restriction": "string", "description": "string", "restricted": true } }, "payeeTaxNumber": "string" }, "instructions": [ { "duration": { "timeSpan": { "startDate": "2020-07-13", "endDate": "2020-07-13", "duration": "string" }, "sunday": true, "monday": true, "tuesday": true, "wednesday": true, "thursday": true, "friday": true, "saturday": true, "daily": true }, "transactionCodes": [ { "description": "string", "transactionGroup": "string", "transactionSubGroup": "string", "universalProductCode": "string", "routingInstructionsId": 0, "articles": [ { "description": "string", "transactionCode": "string", "price": { "amount": 0, "currencyCode": "string" }, "postIt": { "availableForPostIt": true }, "universalProductCode": "string", "hotelId": "string", "articleCode": "string", "inactive": true, "orderSequence": 0 } ], "transactionCode": "string", "hotelId": "string", "printTrxReceipt": true } ], "billingInstructions": [ { "desc": "string", "routingInstructionsId": 0, "billingCode": "string", "hotelId": "string" } ], "creditLimit": 0, "percentageLimit": 0, "covers": 0, "limitUsed": 0, "routingLinkId": { "id": "string", "type": "string" } } ], "folioWindowNo": 0 }, "request": { "compRequestInfo": { "requestedBy": { "userId": 0, "userName": "string" }, "comments": "string", "declinedBy": { "userId": 0, "userName": "string" }, "status": "Request" }, "instructions": [ { "duration": { "timeSpan": { "startDate": "2020-07-13", "endDate": "2020-07-13", "duration": "string" }, "sunday": true, "monday": true, "tuesday": true, "wednesday": true, "thursday": true, "friday": true, "saturday": true, "daily": true }, "transactionCodes": [ { "description": "string", "transactionGroup": "string", "transactionSubGroup": "string", "universalProductCode": "string", "routingInstructionsId": 0, "articles": [ { "description": "string", "transactionCode": "string", "price": { "amount": 0, "currencyCode": "string" }, "postIt": { "availableForPostIt": true }, "universalProductCode": "string", "hotelId": "string", "articleCode": "string", "inactive": true, "orderSequence": 0 } ], "transactionCode": "string", "hotelId": "string", "printTrxReceipt": true } ], "billingInstructions": [ { "desc": "string", "routingInstructionsId": 0, "billingCode": "string", "hotelId": "string" } ], "creditLimit": 0, "percentageLimit": 0, "covers": 0, "limitUsed": 0, "routingLinkId": { "id": "string", "type": "string" } } ] } } ] } ], "hasMore": true, "totalResults": 0, "count": 0 }, "links": [ { "href": "string", "rel": "string", "templated": false, "method": "GET", "targetSchema": "string", "operationId": "string", "title": "string" } ] } } }, "204": { "description": "BlockPMReservations not found." }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] } }, "/hotels/{hotelId}/blocks/{blockId}/rate/override": { "put": { "summary": "Change rate override", "description": "Use this API to change rate override.OperationId:changeRateOverride
", "operationId": "changeRateOverride", "parameters": [ { "name": "blockId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Block Id" }, { "name": "hotelId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Hotel Id" }, { "name": "rateOverride", "in": "body", "required": true, "description": "Request object of change block rate override operation.", "schema": { "allOf": [ { "$ref": "#/definitions/rateOverride" } ] } }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" }, "Location": { "type": "string", "description": "Location of newly created resource" } }, "description": "Response Body.", "schema": { "$ref": "#/definitions/rateOverrideStatus" } }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] } }, "/hotels/{hotelId}/blocks/{blockId}/regularToMasterBlock/{masterBlockCode}": { "put": { "summary": "Use this API to convert a regular block to a master block", "description": "This API converts a regular block to a master block. The regular block is converted to a sub block with its room grid and events (if any on the original) and a master block is created with the same information as in the original block, except room grid and events.OperationId:putRegularToMasterBlock
", "operationId": "putRegularToMasterBlock", "parameters": [ { "name": "hotelId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Hotel Id" }, { "name": "blockId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Block Id" }, { "name": "masterBlockCode", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "The block code of the master block to be created" }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" }, "Location": { "type": "string", "description": "Location of newly created resource" } }, "description": "Response Body.", "schema": { "$ref": "#/definitions/status" } }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] } }, "/hotels/{hotelId}/blocks/{blockId}/regularToSubAllocation/{masterAllocationId}": { "put": { "summary": "Convert a regular business block to a sub allocation under a master allocation in the same property.", "description": "This API converts a regular business block into a sub allocation, associating it with a specified master allocation identified by `masterAllocationId` within the same property. Note that this conversion is only applicable to master and sub allocations.OperationId:putRegularToSubAllocation
", "operationId": "putRegularToSubAllocation", "parameters": [ { "name": "hotelId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Hotel Id" }, { "name": "blockId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Block Id" }, { "name": "masterAllocationId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Master Allocation Id" }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" }, "Location": { "type": "string", "description": "Location of newly created resource" } }, "description": "Response Body.", "schema": { "$ref": "#/definitions/status" } }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] } }, "/hotels/{hotelId}/blocks/{blockId}/regularToSubTour/tourHotels/{masterTourHotelId}/tours/{masterTourId}": { "put": { "summary": "Convert a regular block to a sub tour or sub itinerary under a master tour or master itinerary.", "description": "This API converts a regular block to a sub tour or sub itinerary by linking it to a master tour or master itinerary. For tours, the master and its subs must be in the same property. For itineraries, the master and its subs can be in different properties.OperationId:putRegularToSubTour
", "operationId": "putRegularToSubTour", "parameters": [ { "name": "hotelId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Hotel Id" }, { "name": "blockId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Block Id" }, { "name": "masterTourHotelId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Master Tour Hotel Id" }, { "name": "masterTourId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Master Tour Id" }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" }, "Location": { "type": "string", "description": "Location of newly created resource" } }, "description": "Response Body.", "schema": { "$ref": "#/definitions/status" } }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] } }, "/hotels/{hotelId}/blocks/{blockId}/roomRateGrid": { "get": { "summary": "Operation to get room rate grid for a Block and supports pagination.", "description": "Use this API to retrieve grid details for a specific block. The response will include detailed information about the block grid and response can be paginated for blocks with longer date range..OperationId:getBlockRoomRateGrid
", "operationId": "getBlockRoomRateGrid", "parameters": [ { "name": "blockId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Unique OPERA Block ID which is used to find a Block from OPERA. This ID is a primary identification of a Block in OPERA." }, { "name": "hotelId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Hotel Id" }, { "name": "fetchAllocatedRoomTypes", "in": "query", "required": false, "description": "Indicates whether to fetch only those room types that have rooms allocated. If this flag is true then only those room types with rooms allocated for the block are fetched. Only applicable to fetch instruction RateGrid.", "type": "boolean", "default": false }, { "name": "startDate", "in": "query", "required": false, "description": "Start Date for the rate grid data. Only applicable to fetch instruction RateGrid.", "type": "string", "format": "date" }, { "name": "numberOfDays", "in": "query", "required": false, "description": "Number of days to fetch for the rate grid data. Only applicable to fetch instruction RateGrid.", "type": "number" }, { "name": "roomAllocationCriteria", "in": "query", "type": "array", "collectionFormat": "multi", "description": "Simple type for block allocation used in room rate grid.", "uniqueItems": true, "items": { "type": "string", "enum": [ "Initial", "Actual", "Rates", "Pickup", "Contract", "Available", "Pickupperc", "Changes", "Released", "Houseavailability", "SellLimit", "AvailableSellLimit", "MasterAllocInitial", "Allocated", "SubAllocResv", "CutoffDate", "ForecastRooms", "ForecastRates" ] }, "required": false }, { "name": "roomTypes", "in": "query", "type": "array", "maxItems": 4000, "collectionFormat": "multi", "description": "The Room Types that need to be fetched for the rate room grid data. If these values are not provided, all room types for the block will be fetched.", "items": { "type": "string" }, "required": false }, { "name": "limit", "in": "query", "required": false, "description": "Indicates maximum number of records a Web Service should return.", "type": "integer", "default": 20 }, { "name": "offset", "in": "query", "default": 0, "required": false, "description": "Index or initial index of the set(page) being requested.", "type": "integer" }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" } }, "description": "Grid details of block.", "schema": { "$ref": "#/definitions/blockGridType" } }, "204": { "description": "Block grid details not found." }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] } }, "/hotels/{hotelId}/blocks/{blockId}/shifts": { "put": { "summary": "Shifts the Block start date", "description": "Use this API to move or shift the dates of a block in OPERA.OperationId:putBlockShift
", "operationId": "putBlockShift", "parameters": [ { "name": "blockId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Block Id" }, { "name": "hotelId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Hotel Id" }, { "name": "blockToShift", "in": "body", "required": true, "description": "Request object to shift business block starting date.", "schema": { "allOf": [ { "$ref": "#/definitions/blockToShift" } ] } }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" }, "Location": { "type": "string", "description": "Location of newly created resource" } }, "description": "Response object for shift block operation.", "schema": { "$ref": "#/definitions/shiftedBlock" } }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] } }, "/hotels/{hotelId}/blocks/{blockId}/status": { "put": { "summary": "Change the Status of a Block", "description": "Use this to change the status of a block in Opera. To know a hotels Block status codes, use the List Of Values API - BlockStatuses. Also note, you can only change the status in a particular order, for example INQ to DEF, but not DEF to INQ.OperationId:putBlockStatus
", "operationId": "putBlockStatus", "parameters": [ { "name": "blockId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Block Id" }, { "name": "hotelId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Hotel Id" }, { "name": "blockStatusToChange", "in": "body", "required": true, "description": "Request object for changing the booking status of the business block.", "schema": { "allOf": [ { "$ref": "#/definitions/blockStatusToChange" } ] } }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" }, "Location": { "type": "string", "description": "Location of newly created resource" } }, "description": "Response object for the request to change block status. Response contains information on the block whose status was successfully changed.", "schema": { "$ref": "#/definitions/changedBlockStatus" }, "examples": { "application/json": { "block": { "blockIdList": [ { "id": "string", "type": "string", "idContext": "string" } ], "blockDetails": { "blockCode": "string", "blockName": "string", "blockAliases": [ "string" ], "timeSpan": { "startDate": "2020-08-26", "endDate": "2020-08-26", "duration": "string" }, "originalTimeSpan": { "startDate": "2020-08-26", "endDate": "2020-08-26", "duration": "string" }, "shoulderDates": { "startDate": "2020-08-26", "endDate": "2020-08-26", "duration": "string" }, "shoulderRatePlanCode": { "shoulderStart": [ { "description": "string", "currencyCode": "string", "ratePlanCode": "string", "primary": true, "marketCode": "string", "sourceCode": "string", "negotiated": true } ], "shoulderEnd": [ { "description": "string", "currencyCode": "string", "ratePlanCode": "string", "primary": true, "marketCode": "string", "sourceCode": "string", "negotiated": true } ] }, "blockStatus": { "bookingStatus": { "status": { "code": "string", "description": "string" } }, "parentBookingStatus": "string", "deductInventory": true, "catDeductInventory": true, "allowPickup": true, "returnToInventory": true }, "blockNextStatusList": [ { "bookingStatus": { "status": { "code": "string", "description": "string" } }, "parentBookingStatus": "string", "deductInventory": true, "catDeductInventory": true, "allowPickup": true, "returnToInventory": true } ], "blockStatusChangeHistory": [ { "sequence": 0, "bookingStatus": { "code": "string", "description": "string" }, "modifyDateTime": "2020-08-26", "modifierId": "string" } ], "reservationType": { "reservationType": "string", "chainCode": "string", "description": "string" }, "marketCode": { "marketCode": "string", "marketGroup": "string", "description": "string" }, "sourceOfSale": { "sourceCode": { "sourceCode": "string", "sourceGroup": "string", "description": "string" } }, "reservationMethod": { "code": "string", "description": "string" }, "bookingType": { "code": "string", "description": "string" }, "status": "string", "blockType": "string", "paymentMethod": { "code": "string", "description": "string" }, "commissionPercent": 0, "conversionCode": "string", "conversionCodeDescription": "string", "rateProtectionDetails": { "criteria": "All", "protectedDates": [ "2020-08-26" ] }, "nonCompeteDetails": { "industry": "string", "industryDescription": "string", "criteria": "All", "protectedDates": [ "2020-08-26" ] }, "rankingCode": "string", "rankingCodeDescription": "string", "currencyCode": "string", "cancellationDetails": { "cancellationNumber": { "id": "string", "type": "string", "idContext": "string" }, "cancellationCode": { "code": "string", "description": "string" }, "cancellationDate": "2020-08-26", "cancellationInfo": "string", "destination": "string", "lostToProperty": "string" }, "tourCode": "string", "rateOverrideReason": { "code": "string", "description": "string" }, "blockClassification": "MasterBlock", "synchronized": true, "primaryOwners": { "blockOwner": { "userName": "string", "ownerCode": "string", "profileId": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "name": { "givenName": "string", "surname": "string", "nameType": "Primary", "language": "string", "externalSystem": "string" }, "email": { "email": { "emailAddress": "string" } }, "phone": { "telephone": { "phoneNumber": "string" } }, "primary": true, "ownership": "Block" }, "roomsOwner": { "userName": "string", "ownerCode": "string", "profileId": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "name": { "givenName": "string", "surname": "string", "nameType": "Primary", "language": "string", "externalSystem": "string" }, "email": { "email": { "emailAddress": "string" } }, "phone": { "telephone": { "phoneNumber": "string" } }, "primary": true, "ownership": "Block" }, "cateringOwner": { "userName": "string", "ownerCode": "string", "profileId": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "name": { "givenName": "string", "surname": "string", "nameType": "Primary", "language": "string", "externalSystem": "string" }, "email": { "email": { "emailAddress": "string" } }, "phone": { "telephone": { "phoneNumber": "string" } }, "primary": true, "ownership": "Block" }, "blockOwnerCount": 0, "roomsOwnerCount": 0, "cateringOwnerCount": 0 }, "primaryProfiles": { "account": { "profileIdList": [ { "id": "string", "type": "string", "idContext": "string" } ], "profile": { "customer": { "personName": [ { "givenName": "string", "surname": "string", "nameType": "Primary", "language": "string", "externalSystem": "string" } ], "anonymization": { "anonymizationStatus": "Requested", "anonymizationDate": "2020-08-26T14:38:03.881Z" }, "businessTitle": "string", "language": "string", "privateProfile": true, "blacklist": true }, "company": { "companyName": "string" }, "addresses": { "addressInfo": [ { "address": { "addressLine": [ "string" ], "cityName": "string", "postalCode": "string", "county": "string", "state": "string", "country": { "value": "string", "code": "string" }, "type": "string" }, "id": "string", "type": "string", "idContext": "string" } ], "hasMore": true, "totalResults": 0, "count": 0 }, "telephones": { "telephoneInfo": [ { "telephone": { "phoneNumber": "string" } } ], "hasMore": true, "totalResults": 0, "count": 0 }, "emails": { "emailInfo": [ { "email": { "emailAddress": "string" } } ], "hasMore": true, "totalResults": 0, "count": 0 }, "uRLs": { "uRLInfo": [ { "url": { "value": "string" } } ], "hasMore": true, "totalResults": 0, "count": 0 }, "profileDeliveryMethods": { "profileDeliveryMethod": [ { "deliveryId": { "id": "string", "type": "string", "idContext": "string" }, "deliveryType": "string", "deliveryValue": "string", "hotelId": "string", "deliveryModule": "EfolioExport", "orderSequence": 0 } ], "hasMore": true, "totalResults": 0, "count": 0 }, "relationships": { "relationship": [ { "relationshipProfile": { "company": { "companyName": "string" }, "profileIdList": [ { "id": "string", "type": "string", "idContext": "string" } ], "profileType": "Guest" }, "relation": "string", "targetRelation": "string" } ], "hasMore": true, "totalResults": 0, "count": 0 }, "profileType": "Guest" }, "primary": true, "blockProfileType": "Company", "defaultPrint": true }, "contact": { "profileIdList": [ { "id": "string", "type": "string", "idContext": "string" } ], "profile": { "customer": { "personName": [ { "givenName": "string", "surname": "string", "nameType": "Primary", "language": "string", "externalSystem": "string" } ], "anonymization": { "anonymizationStatus": "Requested", "anonymizationDate": "2020-08-26T14:38:03.881Z" }, "businessTitle": "string", "language": "string", "privateProfile": true, "blacklist": true }, "company": { "companyName": "string" }, "addresses": { "addressInfo": [ { "address": { "addressLine": [ "string" ], "cityName": "string", "postalCode": "string", "county": "string", "state": "string", "country": { "value": "string", "code": "string" }, "type": "string" }, "id": "string", "type": "string", "idContext": "string" } ], "hasMore": true, "totalResults": 0, "count": 0 }, "telephones": { "telephoneInfo": [ { "telephone": { "phoneNumber": "string" } } ], "hasMore": true, "totalResults": 0, "count": 0 }, "emails": { "emailInfo": [ { "email": { "emailAddress": "string" } } ], "hasMore": true, "totalResults": 0, "count": 0 }, "uRLs": { "uRLInfo": [ { "url": { "value": "string" } } ], "hasMore": true, "totalResults": 0, "count": 0 }, "profileDeliveryMethods": { "profileDeliveryMethod": [ { "deliveryId": { "id": "string", "type": "string", "idContext": "string" }, "deliveryType": "string", "deliveryValue": "string", "hotelId": "string", "deliveryModule": "EfolioExport", "orderSequence": 0 } ], "hasMore": true, "totalResults": 0, "count": 0 }, "relationships": { "relationship": [ { "relationshipProfile": { "company": { "companyName": "string" }, "profileIdList": [ { "id": "string", "type": "string", "idContext": "string" } ], "profileType": "Guest" }, "relation": "string", "targetRelation": "string" } ], "hasMore": true, "totalResults": 0, "count": 0 }, "profileType": "Guest" }, "primary": true, "blockProfileType": "Company", "defaultPrint": true }, "image": { "language": "string", "imageSet": "string", "sequenceId": 0, "imageStyle": "Full", "imageType": "string", "hotelId": "string", "chainCode": "string", "imageURL": "string", "description": "string", "imageOrder": 0, "website": "string" } }, "primaryRatePlanCodes": { "blockRatePlanCode": { "description": "string", "currencyCode": "string", "ratePlanCode": "string", "primary": true, "marketCode": "string", "sourceCode": "string", "negotiated": true }, "shoulderStartRatePlanCode": { "description": "string", "currencyCode": "string", "ratePlanCode": "string", "primary": true, "marketCode": "string", "sourceCode": "string", "negotiated": true }, "shoulderEndRatePlanCode": { "description": "string", "currencyCode": "string", "ratePlanCode": "string", "primary": true, "marketCode": "string", "sourceCode": "string", "negotiated": true }, "blockRatePlanCodeCount": 0, "shoulderStartRatePlanCodeCount": 0, "shoulderEndRatePlanCodeCount": 0 }, "cateringOnlyBlock": true, "flexibleDates": true, "externalLocked": true, "autoloadContractGrid": true, "allowRateOverride": true, "manualCutOff": true, "wholesaleBlock": true, "controlBlockLocally": true, "businessDateArrivalsExist": true }, "blockOwners": { "owner": [ { "userName": "string", "ownerCode": "string", "profileId": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "name": { "givenName": "string", "surname": "string", "nameType": "Primary", "language": "string", "externalSystem": "string" }, "email": { "email": { "emailAddress": "string" } }, "phone": { "telephone": { "phoneNumber": "string" } }, "primary": true, "ownership": "Block" } ], "lockBlockOwners": true, "lockRoomsOwners": true, "lockCateringOwners": true }, "masterBlockInfo": { "blockIdList": [ { "id": "string", "type": "string", "idContext": "string" } ], "hotelId": "string", "blockType": "MasterBlock", "timeSpan": { "startDate": "2020-08-26", "endDate": "2020-08-26", "duration": "string" }, "blockName": "string", "blockStatus": { "status": { "code": "string", "description": "string" } }, "cateringStatus": { "status": { "code": "string", "description": "string" } }, "roomNights": 0, "roomNightsPickedup": 0, "subBlockInfo": [ { "blockIdList": [ { "id": "string", "type": "string", "idContext": "string" } ], "hotelId": "string", "blockType": "MasterBlock", "timeSpan": { "startDate": "2020-08-26", "endDate": "2020-08-26", "duration": "string" }, "blockName": "string", "blockStatus": { "status": { "code": "string", "description": "string" } }, "cateringStatus": { "status": { "code": "string", "description": "string" } }, "roomNights": 0, "roomNightsPickedup": 0 } ], "masterSubHotels": [ [ "string" ] ] }, "reservationPolicies": [ { "cancellationPolicies": [ { "revenueType": "Rooms", "policy": { "deadline": { "absoluteDeadline": "2020-08-26T14:38:03.881Z" }, "amountPercent": { "basisType": "FlatAmount", "nights": 0, "percent": 0, "amount": 0, "currencyCode": "string" }, "policyCode": "string", "effective": true }, "percentageDue": 0, "comments": "string", "policyId": { "id": "string", "type": "string", "idContext": "string" } } ], "depositPolicies": [ { "revenueType": "Rooms", "policy": { "amountPercent": { "basisType": "FlatAmount", "nights": 0, "percent": 0, "amount": 0, "currencyCode": "string" }, "deadline": { "absoluteDeadline": "2020-08-26T14:38:03.881Z" }, "description": "string", "policyCode": "string" }, "comments": "string", "amountPaid": { "amount": 0, "currencyCode": "string" }, "amountDue": { "amount": 0, "currencyCode": "string" }, "policyId": { "id": "string", "type": "string", "idContext": "string" } } ], "reservationIdList": [ { "id": "string", "type": "string", "idContext": "string" } ], "name": "string" } ], "reservationDetails": { "ratePlanCode": [ { "description": "string", "currencyCode": "string", "ratePlanCode": "string", "primary": true, "marketCode": "string", "sourceCode": "string", "negotiated": true } ], "arrivalTime": "2020-08-26T14:38:03.882Z", "departureTime": "2020-08-26T14:38:03.882Z", "traceCode": { "code": "string", "description": "string" }, "breakfast": { "breakfastIncluded": true, "price": { "amount": 0, "currencyCode": "string" }, "description": "string" }, "porterage": { "porterageIncluded": true, "price": { "amount": 0, "currencyCode": "string" } }, "cutOffDate": "2020-08-26", "cutOffDays": 0, "updateGridOnCutoffChange": true, "followupDate": "2020-08-26", "decisionDate": "2020-08-26", "roomingListDueDate": "2020-08-26", "suppressRate": true, "printRate": true, "rateGuarantee": true, "inventoryControl": "NonElastic", "personsPerRoom": 0, "activePostingMasterReservations": true, "housing": true, "guaranteeRequired": true, "transactionCode": "string" }, "catering": { "cateringStatus": { "bookingStatus": { "status": { "code": "string", "description": "string" } }, "parentBookingStatus": "string", "deductInventory": true, "catDeductInventory": true, "allowPickup": true, "returnToInventory": true }, "cateringInternalStatus": "string", "cateringNextStatusList": [ { "bookingStatus": { "status": { "code": "string", "description": "string" } }, "parentBookingStatus": "string", "deductInventory": true, "catDeductInventory": true, "allowPickup": true, "returnToInventory": true } ], "cateringStatusChangeHistory": [ { "sequence": 0, "bookingStatus": { "code": "string", "description": "string" }, "modifyDateTime": "2020-08-26", "modifierId": "string" } ], "cateringOwner": "string", "eventAttendees": { "noOfAttendees": 0, "attendeesGuaranteed": true }, "boardInfo": "string", "onSiteName": "string", "functionInfo": "string", "trackChanges": true, "cateringRevenue": { "serviceCharge": { "amount": 0, "currencyCode": "string" }, "taxAmount": { "amount": 0, "currencyCode": "string" } }, "followUpDate": "2020-08-26", "decisionDate": "2020-08-26", "resourceDiscountPercentage": 0, "hasPackageEvents": true, "applyBoardInfoToAllEvents": true, "overrideEventsProcessingWarnings": true, "applyEventsGuaranteeToAllEvents": true, "applyEventAttendeesChangesToEvents": "All", "resourceDiscountType": "AllDiscountableResources" }, "blockProfiles": { "blockProfile": [ { "profileIdList": [ { "id": "string", "type": "string", "idContext": "string" } ], "profile": { "customer": { "personName": [ { "givenName": "string", "surname": "string", "nameType": "Primary", "language": "string", "externalSystem": "string" } ], "anonymization": { "anonymizationStatus": "Requested", "anonymizationDate": "2020-08-26T14:38:03.883Z" }, "businessTitle": "string", "language": "string", "privateProfile": true, "blacklist": true }, "company": { "companyName": "string" }, "addresses": { "addressInfo": [ { "address": { "addressLine": [ "string" ], "cityName": "string", "postalCode": "string", "county": "string", "state": "string", "country": { "value": "string", "code": "string" }, "type": "string" }, "id": "string", "type": "string", "idContext": "string" } ], "hasMore": true, "totalResults": 0, "count": 0 }, "telephones": { "telephoneInfo": [ { "telephone": { "phoneNumber": "string" } } ], "hasMore": true, "totalResults": 0, "count": 0 }, "emails": { "emailInfo": [ { "email": { "emailAddress": "string" } } ], "hasMore": true, "totalResults": 0, "count": 0 }, "uRLs": { "uRLInfo": [ { "url": { "value": "string" } } ], "hasMore": true, "totalResults": 0, "count": 0 }, "profileDeliveryMethods": { "profileDeliveryMethod": [ { "deliveryId": { "id": "string", "type": "string", "idContext": "string" }, "deliveryType": "string", "deliveryValue": "string", "hotelId": "string", "deliveryModule": "EfolioExport", "orderSequence": 0 } ], "hasMore": true, "totalResults": 0, "count": 0 }, "relationships": { "relationship": [ { "relationshipProfile": { "company": { "companyName": "string" }, "profileIdList": [ { "id": "string", "type": "string", "idContext": "string" } ], "profileType": "Guest" }, "relation": "string", "targetRelation": "string" } ], "hasMore": true, "totalResults": 0, "count": 0 }, "profileType": "Guest" }, "primary": true, "blockProfileType": "Company", "defaultPrint": true } ], "fullOverlay": true }, "blockPackages": [ { "packageHeaderType": { "primaryDetails": { "description": "string" }, "transactionDetails": { "allowance": true, "currency": "string", "postingType": "string", "calculationRule": "string" }, "postingAttributes": { "addToRate": true, "printSeparateLine": true, "sellSeparate": true, "postNextDay": true, "forecastNextDay": true, "calculatedPrice": 0 } }, "consumptionDetails": { "defaultQuantity": 0 }, "packageCode": "string", "ratePlanCode": "string", "startDate": "2020-08-26", "endDate": "2020-08-26" } ], "inventoryItems": [ { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0, "item": { "description": "string", "availabilityPeriod": { "startTime": "string", "endTime": "string" }, "timeSpan": { "startDate": "2020-08-26", "endDate": "2020-08-26", "duration": "string" }, "code": "string", "name": "string", "sellSeparate": true, "requiredForBooking": true }, "quantity": 0, "timeSpan": { "start": "2020-08-26", "end": "2020-08-26" } } ], "blockStatistics": { "allocatedRoomStatistics": { "roomCount": 0, "roomRevenue": 0, "averageRate": 0 }, "actualRoomStatistics": { "roomCount": 0, "roomRevenue": 0, "averageRate": 0 }, "cateringRevenueOnBooks": 0, "actualCateringRevenue": 0 }, "comments": { "commentInfo": [ { "comment": { "text": { "value": "string", "language": "string" }, "image": "string", "url": "string", "commentTitle": "string", "type": "string", "internal": true }, "id": "string", "type": "string", "idContext": "string" } ], "count": 0 }, "roomAllocations": { "roomAllocationType": [ { "roomAllocationInfo": [ { "roomGridDetails": [ { "inventory": { "onePerson": 0, "twoPerson": 0, "threePerson": 0, "fourPerson": 0, "sellLimit": 0, "cutoffDate": "2020-08-26" }, "rate": { "onePerson": 0, "twoPerson": 0, "threePerson": 0, "fourPerson": 0, "extraPerson": 0 }, "roomType": "string" } ], "roomGridInvSummary": [ { "onePerson": 0, "twoPerson": 0, "threePerson": 0, "fourPerson": 0, "sellLimit": 0, "cutoffDate": "2020-08-26" } ], "availableRoomGridInvSummary": [ { "onePerson": 0, "twoPerson": 0, "threePerson": 0, "fourPerson": 0, "sellLimit": 0, "cutoffDate": "2020-08-26" } ], "stayDate": "2020-08-26", "extendedStay": true } ], "allocation": "Initial" } ], "masterInfo": { "roomTypes": [ { "longDescription": "string", "webName": "string", "webPage": "string", "roomFeatures": [ { "code": "string", "description": "string", "quantity": 0 } ], "roomTypeAttributes": { "defaultOccupancy": 0, "maximumOccupancy": 0, "noOfPhysicalRooms": 0 }, "bookingChannelMappings": [ { "bookingChannelCode": "string", "code": "string", "name": "string", "description": "string" } ], "bedTypeCodes": [ "string" ], "roomType": "string", "description": "string", "available": true } ], "genericRoomTypes": [ { "longDescription": "string", "webName": "string", "webPage": "string", "roomFeatures": [ { "code": "string", "description": "string", "quantity": 0 } ], "roomTypeAttributes": { "defaultOccupancy": 0, "maximumOccupancy": 0, "noOfPhysicalRooms": 0 }, "bookingChannelMappings": [ { "bookingChannelCode": "string", "code": "string", "name": "string", "description": "string" } ], "bedTypeCodes": [ "string" ], "roomType": "string", "description": "string", "available": true } ] }, "count": 0, "startDate": "2020-08-26", "numberOfDays": 0 }, "userDefinedFields": { "characterUDFs": [ { "name": "string", "value": "string", "alternateName": "string" } ], "numericUDFs": [ { "name": "string", "value": 0, "alternateName": "string" } ], "dateUDFs": [ { "name": "string", "value": "2020-08-26", "alternateName": "string" } ] }, "blockIndicators": [ { "indicatorName": "string", "count": 0 } ], "traces": [ { "timeInfo": { "traceOn": "2020-08-26T14:38:03.883Z", "traceTime": "string", "enteredBy": "string" }, "departmentId": "string", "traceText": "string", "resolveInfo": { "resolvedOn": "2020-08-26", "resolvedBy": "string" }, "type": "string", "instance": "string", "idContext": "string", "id": "string", "createDateTime": "2020-08-26T14:38:03.883Z", "creatorId": "string", "lastModifyDateTime": "2020-08-26T14:38:03.883Z", "lastModifierId": "string" } ], "statistics": [ { "roomsSold": 0, "revenueSummary": { "roomRevenue": 0, "foodAndBeverageRevenue": 0, "otherRevenue": 0, "cateringRevenue": 0, "cateringOtherRevenue": 0, "totalRevenue": 0 }, "avgRoomRate": 0, "statisticType": "Potential" } ], "blockSecurity": { "securedFromDIdisplayYn": true, "allDescriptionDDSecured": true, "ratesSecuredfromGNR": true, "ratesSecuredfromAllDisplays": true, "housingInformationSecured": true }, "ratePrograms": [ { "roomPool": "string", "rates": [ { "rateCode": "string", "rateMarketCode": { "code": "string", "description": "string" }, "rateAmounts": { "onePerson": 0, "twoPerson": 0, "threePerson": 0, "fourPerson": 0, "extraPerson": 0 }, "roomTypes": [ "string" ], "startDate": "2020-08-26", "endDate": "2020-08-26", "commissionable": true, "mobileCheckout": true, "primary": true, "sequence": 0 } ] } ], "externalAttributes": { "housingProtected": true, "eventType": "Convention", "gIId": "string", "rollEndDate": true }, "genericRoomAllocations": { "roomAllocationType": [ { "roomAllocationInfo": [ { "roomGridDetails": [ { "inventory": { "onePerson": 0, "twoPerson": 0, "threePerson": 0, "fourPerson": 0, "sellLimit": 0, "cutoffDate": "2020-08-26" }, "rate": { "onePerson": 0, "twoPerson": 0, "threePerson": 0, "fourPerson": 0, "extraPerson": 0 }, "roomType": "string" } ], "roomGridInvSummary": [ { "onePerson": 0, "twoPerson": 0, "threePerson": 0, "fourPerson": 0, "sellLimit": 0, "cutoffDate": "2020-08-26" } ], "availableRoomGridInvSummary": [ { "onePerson": 0, "twoPerson": 0, "threePerson": 0, "fourPerson": 0, "sellLimit": 0, "cutoffDate": "2020-08-26" } ], "stayDate": "2020-08-26", "extendedStay": true } ], "allocation": "Initial" } ], "masterInfo": { "roomTypes": [ { "longDescription": "string", "webName": "string", "webPage": "string", "roomFeatures": [ { "code": "string", "description": "string", "quantity": 0 } ], "roomTypeAttributes": { "defaultOccupancy": 0, "maximumOccupancy": 0, "noOfPhysicalRooms": 0 }, "bookingChannelMappings": [ { "bookingChannelCode": "string", "code": "string", "name": "string", "description": "string" } ], "bedTypeCodes": [ "string" ], "roomType": "string", "description": "string", "available": true } ], "genericRoomTypes": [ { "longDescription": "string", "webName": "string", "webPage": "string", "roomFeatures": [ { "code": "string", "description": "string", "quantity": 0 } ], "roomTypeAttributes": { "defaultOccupancy": 0, "maximumOccupancy": 0, "noOfPhysicalRooms": 0 }, "bookingChannelMappings": [ { "bookingChannelCode": "string", "code": "string", "name": "string", "description": "string" } ], "bedTypeCodes": [ "string" ], "roomType": "string", "description": "string", "available": true } ] }, "count": 0, "startDate": "2020-08-26", "numberOfDays": 0 }, "alternateDates": [ { "alternateBeginDate": "2020-08-26", "blockRates": { "onePerson": 0, "twoPerson": 0, "threePerson": 0, "fourPerson": 0, "extraPerson": 0 }, "roomCategory": "string", "priority": 0 } ], "sellMessages": { "sellMessageConfig": [ { "message": "string", "timespan": { "startDate": "2020-08-26", "endDate": "2020-08-26", "duration": "string" }, "chainCode": "string", "roomType": "string", "ratePlanCode": "string", "languageCode": "string", "stickyFlag": true, "sellSequence": 0, "usedInModule": [ "Blocks" ], "type": "string", "id": "string" } ], "count": 0 }, "attachments": [ { "fileName": "string", "fileSize": 0, "description": "string", "global": true, "history": { "createDateTime": "2020-08-26T14:38:03.883Z", "creatorId": "string", "lastModifyDateTime": "2020-08-26T14:38:03.883Z", "lastModifierId": "string" }, "type": "string", "idContext": "string", "id": "string" } ], "washSchedules": [ { "washDate": "2020-08-26", "roomTypes": [ "string" ], "washByRooms": { "onePerson": 0, "twoPerson": 0, "threePerson": 0, "fourPerson": 0, "sellLimit": 0, "cutoffDate": "2020-08-26" }, "washByPercent": 0 } ], "restrictions": { "blockRestriction": [ { "restrictionDate": { "timeSpan": { "startDate": "2020-08-26", "endDate": "2020-08-26", "duration": "string" }, "sunday": true, "monday": true, "tuesday": true, "wednesday": true, "thursday": true, "friday": true, "saturday": true }, "roomType": "string", "blockRestrictionStatus": { "code": "Closed", "unit": 0 }, "actualTimeSpan": { "startDate": "2020-08-26", "endDate": "2020-08-26", "duration": "string" } } ] }, "accessExclusions": { "blockAccessExclusion": [ { "sourceType": "string", "sourceValue": "string", "allowModifyReservation": true, "allowCancelReservation": true, "allowCreateReservation": true, "inactive": true, "excludeFromAvailability": true } ], "accessExclusionMessage": { "exclusionMessage": "string" } }, "markAsRecentlyAccessed": true }, "cancellationDetails": { "cancellationNumber": { "id": "string", "type": "string", "idContext": "string" }, "cancellationCode": { "code": "string", "description": "string" }, "cancellationDate": "2020-08-26", "cancellationInfo": "string", "destination": "string", "lostToProperty": "string" }, "blockNextStatusList": [ { "bookingStatus": { "status": { "code": "string", "description": "string" } }, "parentBookingStatus": "string", "deductInventory": true, "catDeductInventory": true, "allowPickup": true, "returnToInventory": true } ], "blockStatusChangeHistory": [ { "sequence": 0, "bookingStatus": { "code": "string", "description": "string" }, "modifyDateTime": "2020-08-26", "modifierId": "string" } ], "anyActivePMReservations": true, "cateringEventsProcessedInfo": [ { "hotelId": "string", "blockId": { "url": "string", "type": "string", "instance": "string", "idContext": "string", "id": "string", "idExtension": 0 }, "eventName": "string", "eventType": "string", "eventDate": "2020-08-26", "room": { "code": "string", "description": "string" }, "status": "string", "reason": "string", "processingInfoType": "string", "processingInfoCode": "string" } ], "links": [ { "href": "string", "rel": "string", "templated": false, "method": "GET", "targetSchema": "string", "operationId": "string", "title": "string" } ] } } }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] } }, "/hotels/{hotelId}/blocks/{blockId}/subBlockToRegular": { "put": { "summary": "Use this API to convert a sub block to a regular block", "description": "This API converts a sub block to a regular block. If this is the only sub block for its master block, then the master block becomes a regular block as well.OperationId:putSubBlockToRegular
", "operationId": "putSubBlockToRegular", "parameters": [ { "name": "hotelId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Hotel Id" }, { "name": "blockId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Block Id" }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" }, "Location": { "type": "string", "description": "Location of newly created resource" } }, "description": "Response Body.", "schema": { "$ref": "#/definitions/status" } }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] } }, "/hotels/{hotelId}/blocks/{blockId}/subBlocks": { "post": { "summary": "Create a sub-Block", "description": "Use this when you want to create a sub block.You will need to know the OPERA Block ID, which you want this sub block to fall under.OperationId:postSubBlock
", "operationId": "postSubBlock", "parameters": [ { "name": "blockId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Block Id" }, { "name": "hotelId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Hotel Id" }, { "name": "subBlock", "in": "body", "required": true, "description": "Request object to create new sub block.", "schema": { "allOf": [ { "$ref": "#/definitions/subBlock" } ] } }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "201": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" }, "Location": { "type": "string", "description": "Location of newly created resource" } }, "description": "HATEOAS links which help the consumer to navigate to resources", "schema": { "$ref": "#/definitions/status" } }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] } }, "/hotels/{hotelId}/blocks/{blockId}/washSchedules": { "delete": { "summary": "Remove Block Wash Schedule", "description": "Use this API to remove block wash schedule based on the HotelCode, Block ID and Wash Date.OperationId:deleteBlockWashSchedule
", "operationId": "deleteBlockWashSchedule", "parameters": [ { "name": "blockId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 20, "description": "Block Id" }, { "name": "hotelId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 20, "description": "Hotel Id" }, { "name": "washDate", "in": "query", "type": "string", "format": "date", "description": "Block Wash Date" }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" }, "Location": { "type": "string", "description": "Location of newly created resource" } }, "description": "HATEOAS links which help the consumer to navigate to resources", "schema": { "$ref": "#/definitions/status" } }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] } }, "/hotels/{hotelId}/externalSystems/{externalSystemCode}/blocks/{blockExternalId}": { "get": { "summary": "Get a Block By ID", "description": "Use this API to retrieve a specific block. You will need to know the blockID in the request; if you don't know it, please go ahead and use getBlocks API first. The response will include detailed information about the block.OperationId:getBlockByExtId
", "operationId": "getBlockByExtId", "parameters": [ { "name": "blockExternalId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "External Block ID." }, { "name": "externalSystemCode", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Code to identify the external system from which the request is coming. This is the ExternalSystem ID used to exchange information between OPERA and the external system." }, { "name": "hotelId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Hotel Id" }, { "name": "markAsRecentlyAccessed", "in": "query", "required": false, "description": "Mark this block as recently accessed.", "type": "boolean" }, { "name": "fetchInstructions", "in": "query", "type": "array", "collectionFormat": "multi", "description": "Type for block instructions that can be used in requests for partial operations.", "uniqueItems": true, "items": { "type": "string", "enum": [ "AccessExclusions", "Aliases", "AlternateDates", "Attachments", "Block", "BlockNextStatuses", "BlockStatusHistory", "CatNextStatuses", "CatStatusHistory", "CentralSalesLeads", "Comments", "DateProtect", "ExternalReferences", "GenericRateGrid", "Header", "Indicators", "InventoryItems", "Owners", "Packages", "Policies", "PrimaryOwners", "PrimaryProfiles", "PrimaryRates", "Profiles", "RateGrid", "RateProgram", "Rates", "Restrictions", "SellMessages", "Statistics", "SummaryStatistics", "Traces", "WashSchedules" ] }, "required": false }, { "name": "fetchAllocatedRoomTypes", "in": "query", "required": false, "description": "Indicates whether to fetch only those room types that have rooms allocated. If this flag is true then only those room types with rooms allocated for the block are fetched. Only applicable to fetch instruction RateGrid.", "type": "boolean" }, { "name": "startDate", "in": "query", "required": false, "description": "Start Date for the rate grid data. Only applicable to fetch instruction RateGrid.", "type": "string", "format": "date" }, { "name": "numberOfDays", "in": "query", "required": false, "description": "Number of days to fetch for the rate grid data. Only applicable to fetch instruction RateGrid.", "type": "number" }, { "name": "roomAllocationCriteria", "in": "query", "type": "array", "collectionFormat": "multi", "description": "Simple type for block allocation used in room rate grid.", "uniqueItems": true, "items": { "type": "string", "enum": [ "Initial", "Actual", "Rates", "Pickup", "Contract", "Available", "Pickupperc", "Changes", "Released", "Houseavailability", "SellLimit", "AvailableSellLimit", "MasterAllocInitial", "Allocated", "SubAllocResv", "CutoffDate" ] }, "required": false }, { "name": "roomTypes", "in": "query", "type": "array", "maxItems": 4000, "collectionFormat": "multi", "description": "The Room Types that need to be fetched for the rate room grid data. If these values are not provided, all room types for the block will be fetched.", "items": { "type": "string" }, "required": false }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" } }, "description": "It also contains Success,Warnings and Errors related to this operation.", "schema": { "$ref": "#/definitions/block" } }, "204": { "description": "BlockByExtId not found." }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] }, "put": { "summary": "Change a Block", "description": "You can use this API to update an existing block. You must know the block ID for the request message. Use getBlocks if you dont already know the block ID.OperationId:putBlockByExtId
", "operationId": "putBlockByExtId", "parameters": [ { "name": "blockExternalId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "External Block Id" }, { "name": "externalSystemCode", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Code to identify the external system from which the request is coming. This is the ExternalSystem ID used to exchange information between OPERA and the external system." }, { "name": "hotelId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Hotel Id" }, { "name": "blockToBeChanged", "in": "body", "required": true, "description": "Request object for change/modification of block details. This object contains modified block details with unique identifiers for each block. The standard optional Opera Context element is also included.", "schema": { "allOf": [ { "$ref": "#/definitions/blockToBeChanged" } ] } }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" }, "Location": { "type": "string", "description": "Location of newly created resource" } }, "description": "Response object for change/modification of block details. This object contains the block details with unique identifiers for each block. Also Success,Warnings and Errors related to this operation.", "schema": { "$ref": "#/definitions/blockChanged" } }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] } }, "/hotels/{hotelId}/externalSystems/{externalSystemCode}/blocks/{blockExternalId}/allocation/roomTypes/{roomType}": { "put": { "summary": "Set Block Allocation ", "description": "Use this API to add block room type allocations and rates to a specified Block.OperationId:putBlockAllocationByExtId
", "operationId": "putBlockAllocationByExtId", "parameters": [ { "name": "roomType", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Room Type" }, { "name": "blockExternalId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "External Block Id" }, { "name": "externalSystemCode", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Code to identify the external system from which the request is coming. This is the ExternalSystem ID used to exchange information between OPERA and the external system." }, { "name": "hotelId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Hotel Id" }, { "name": "allocation", "in": "body", "required": true, "description": "A Request message that sets the room allocations as a collection of room types and dates.", "schema": { "allOf": [ { "$ref": "#/definitions/allocation" } ] } }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" }, "Location": { "type": "string", "description": "Location of newly created resource" } }, "description": "Response Body.", "schema": { "$ref": "#/definitions/status" } }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] } }, "/hotels/{hotelId}/externalSystems/{externalSystemCode}/blocks/{blockExternalId}/allocationRange": { "put": { "summary": "Set Block Allocation Range", "description": "Use this API to set block allocation for a range of dates for a list of room types.OperationId:putBlockAllocationRangeByExtId
", "operationId": "putBlockAllocationRangeByExtId", "parameters": [ { "name": "blockExternalId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "External Block Id" }, { "name": "externalSystemCode", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Code to identify the external system from which the request is coming. This is the ExternalSystem ID used to exchange information between OPERA and the external system." }, { "name": "hotelId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Hotel Id" }, { "name": "blockAllocationRange", "in": "body", "required": true, "description": "Request for updating block allocation for a range of dates.", "schema": { "allOf": [ { "$ref": "#/definitions/blockAllocationRange" } ] } }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" }, "Location": { "type": "string", "description": "Location of newly created resource" } }, "description": "Response Body.", "schema": { "$ref": "#/definitions/status" } }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] } }, "/hotels/{hotelId}/externalSystems/{externalSystemCode}/blocks/{blockExternalId}/postingMaster/reservations": { "get": { "summary": "Get Posting Master Reservations for a Block", "description": "Use this API to retrieve PM (Posting Master) reservations for a block.OperationId:getBlockPMReservationsByExtId
", "operationId": "getBlockPMReservationsByExtId", "parameters": [ { "name": "blockExternalId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "External Block Id" }, { "name": "externalSystemCode", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Code to identify the external system from which the request is coming. This is the ExternalSystem ID used to exchange information between OPERA and the external system." }, { "name": "hotelId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Hotel Id" }, { "name": "postingmaster", "in": "query", "default": true, "required": false, "description": "If true, a PM reservation will be created for the block if no PM reservations exist.", "type": "boolean" }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" } }, "description": "The response object that contains the PM reservations belonging to a block.", "schema": { "$ref": "#/definitions/blockPMReservations" } }, "204": { "description": "BlockPMReservationsByExtId not found." }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] } }, "/hotels/{hotelId}/externalSystems/{externalSystemCode}/blocks/{blockExternalId}/status": { "put": { "summary": "Change the Status of a Block", "description": "Use this to change the status of a block in Opera. To know a hotels Block status codes, use the List Of Values API - BlockStatuses. Also note, you can only change the status in a particular order, for example INQ to DEF, but not DEF to INQ.OperationId:putBlockStatusByExtId
", "operationId": "putBlockStatusByExtId", "parameters": [ { "name": "blockExternalId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "External Block Id" }, { "name": "externalSystemCode", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Code to identify the external system from which the request is coming. This is the ExternalSystem ID used to exchange information between OPERA and the external system." }, { "name": "hotelId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "HotelId" }, { "name": "blockStatusToChange", "in": "body", "required": true, "description": "Request object for changing the booking status of the business block.", "schema": { "allOf": [ { "$ref": "#/definitions/blockStatusToChange" } ] } }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" }, "Location": { "type": "string", "description": "Location of newly created resource" } }, "description": "Response object for the request to change block status. Response contains information on the block whose status was successfully changed.", "schema": { "$ref": "#/definitions/changedBlockStatus" } }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] } }, "/hotels/{hotelId}/externalSystems/{externalSystemCode}/blocks/{blockExternalId}/subBlocks": { "post": { "summary": "Create a sub-Block", "description": "Use this when you want to create a sub block.You will need to know the OPERA Block ID, which you want this sub block to fall under.OperationId:postSubBlockByExtId
", "operationId": "postSubBlockByExtId", "parameters": [ { "name": "blockExternalId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "External Block Id" }, { "name": "externalSystemCode", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Code to identify the external system from which the request is coming. This is the ExternalSystem ID used to exchange information between OPERA and the external system." }, { "name": "hotelId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "Hotel Id" }, { "name": "subBlock", "in": "body", "required": true, "description": "Request object to create new sub block.", "schema": { "allOf": [ { "$ref": "#/definitions/subBlock" } ] } }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "201": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" }, "Location": { "type": "string", "description": "Location of newly created resource" } }, "description": "HATEOAS links which help the consumer to navigate to resources", "schema": { "$ref": "#/definitions/status" } }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] } }, "/hotels/{hotelId}/leads/{leadId}/propertyLeads": { "post": { "summary": "Use this API to create Property Leads", "description": "You would use this request to create property leads for the properties provided. You will need to know the Central Lead ID, which you want the property leads to fall under.OperationId:createPropertyLeads
", "operationId": "createPropertyLeads", "parameters": [ { "in": "path", "name": "hotelId", "description": "Central Hotel Id", "required": true, "type": "string", "minLength": 1, "maxLength": 2000 }, { "in": "path", "name": "leadId", "description": "Central Lead Id", "required": true, "type": "string", "minLength": 1, "maxLength": 2000 }, { "in": "body", "name": "propertyLeads", "description": "Request object for property leads. This object contains a list of hotel codes for which property leads will be created.", "required": true, "schema": { "allOf": [ { "$ref": "#/definitions/propertyLeadsType" } ] } }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "201": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" }, "Location": { "type": "string", "description": "Location of newly created resource" } }, "description": "HATEOAS links which help the consumer to navigate to resources", "schema": { "$ref": "#/definitions/status" } }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] } }, "/hotels/{hotelId}/tracesByDateRange": { "get": { "summary": "Get Traces By Date Range", "description": "You can use this API to get traces for Reservations and Blocks.OperationId:getTracesByDateRange
This API allows a time span of 90 days.
", "operationId": "getTracesByDateRange", "parameters": [ { "name": "hotelId", "in": "path", "required": true, "type": "string", "minLength": 1, "maxLength": 2000, "description": "" }, { "name": "hotelIds", "in": "query", "type": "array", "maxItems": 4000, "collectionFormat": "multi", "description": "Hotel code.", "items": { "type": "string" }, "required": false }, { "name": "beginDate", "in": "query", "required": false, "description": "Begin date for fetching traces criteria.", "type": "string", "format": "date" }, { "name": "endDate", "in": "query", "required": false, "description": "End date for fetching traces criteria.", "type": "string", "format": "date" }, { "name": "department", "in": "query", "type": "array", "maxItems": 4000, "collectionFormat": "multi", "description": "Department for which traces are to be fetched.", "items": { "type": "string" }, "required": false }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" } }, "description": "Fetch traces response.", "schema": { "$ref": "#/definitions/tracesByDateRange" } }, "204": { "description": "TracesByDateRange not found." }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] } }, "/inventory": { "put": { "summary": "Borrow Inventory", "description": "Use this API to borrow inventory from the block or house when you encounter an insufficient number of rooms for block a reservation.OperationId:putInventory
", "operationId": "putInventory", "parameters": [ { "name": "inventoryToBorrow", "in": "body", "required": true, "description": "The standard optional Opera Context element is also included.", "schema": { "allOf": [ { "$ref": "#/definitions/inventoryToBorrow" } ] } }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" }, "Location": { "type": "string", "description": "Location of newly created resource" } }, "description": "Response Body.", "schema": { "$ref": "#/definitions/status" } }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] } }, "/inventoryReleased": { "put": { "summary": "Return Borrowed Inventory", "description": "Use this API to return the previously borrowed inventory on the block back to the original source from which it was borrowed. The original source can be a room type or house inventory, as indicated in the request.OperationId:putReleasedInventory
", "operationId": "putReleasedInventory", "parameters": [ { "name": "borrowedInventoryToReturn", "in": "body", "required": true, "description": "The standard optional Opera Context element is also included.", "schema": { "allOf": [ { "$ref": "#/definitions/borrowedInventoryToReturn" } ] } }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" }, "Location": { "type": "string", "description": "Location of newly created resource" } }, "description": "Response Body.", "schema": { "$ref": "#/definitions/status" } }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] } }, "/inventoryToBorrow": { "get": { "summary": "Get inventory to Borrow", "description": "Use this API to retrieve borrowable inventory for the requested dates when encountering an insufficient number of rooms in a block for a specific room type, or for overall inventory. This operations would usually be used when attempting to pick up a reservation against a block, and the block inventory does not have enough rooms left to support the reservation pick up.OperationId:getInventoryToBorrow
This API allows a time span of 30 days.
", "operationId": "getInventoryToBorrow", "parameters": [ { "name": "hotelId", "in": "query", "required": true, "type": "string", "description": "Used for codes in the OPERA Code tables. Possible values of this pattern are 1, 101, 101.EQP, or 101.EQP.X." }, { "name": "blockId", "in": "query", "required": true, "description": "A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.", "type": "string" }, { "name": "startDate", "in": "query", "required": true, "type": "string", "format": "date" }, { "name": "requiredRooms", "in": "query", "type": "array", "collectionFormat": "multi", "description": "The number of rooms that need to be borrowed.", "items": { "type": "integer" }, "required": true }, { "name": "blockIdContext", "in": "query", "default": "OPERA", "required": false, "description": "Used to identify the source of the identifier (e.g., IATA, ABTA).", "type": "string" }, { "name": "blockIdType", "in": "query", "default": "Block", "required": false, "description": "A reference to the type of object defined by the UniqueID element.", "type": "string" }, { "name": "existingReservationId", "in": "query", "required": false, "description": "A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.", "type": "string" }, { "name": "existingReservationIdType", "in": "query", "required": false, "description": "A reference to the type of object defined by the UniqueID element.", "type": "string" }, { "name": "roomType", "in": "query", "required": false, "type": "string", "description": "Used for codes in the OPERA Code tables. Possible values of this pattern are 1, 101, 101.EQP, or 101.EQP.X." }, { "name": "endDate", "in": "query", "required": false, "type": "string", "format": "date" }, { "name": "duration", "in": "query", "required": false, "type": "string" }, { "name": "numberOfRooms", "in": "query", "required": false, "description": "The number of rooms associated with the reservation.", "type": "integer" }, { "name": "borrowDate", "in": "query", "type": "array", "collectionFormat": "multi", "description": "The date on which rooms need to be borrowed for the block.", "items": { "type": "string", "format": "date" }, "required": false }, { "name": "overrideRateCode", "in": "query", "required": false, "description": "Flag to override the inclusion of block rate code as a criteria when deciding what room types can be allowed to borrow.", "type": "boolean" }, { "name": "overrideRestriction", "in": "query", "required": false, "description": "Flag indicating whether to override any restrictions that exist on the rate or room type.", "type": "boolean" }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" } }, "description": "Response object that returns the candidate room types on which inventory is available to borrow. The standard optional Opera Context element is also included.", "schema": { "$ref": "#/definitions/inventoryToBorrowInfo" } }, "204": { "description": "InventoryToBorrow not found." }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] } }, "/recentlyAccessedBlocks": { "get": { "summary": "Get recently accessed Blocks", "description": "This API retrieves recently accessed blocks.OperationId:getRecentlyAccessedBlocks
", "operationId": "getRecentlyAccessedBlocks", "parameters": [ { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" } }, "description": "Response object for fetching block activity log. This object contains collection of user activity log for the block, Success, Warnings and Errors related to this operation", "schema": { "$ref": "#/definitions/recentlyAccessedBlocks" } }, "204": { "description": "RecentlyAccessedBlocks not found." }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] } }, "/salesAllowances": { "get": { "summary": "Get Sales allowances", "description": "Use this API to retrieve the Sales Allowance of max amount of rooms that can be sold.OperationId:getSalesAllowances
", "operationId": "getSalesAllowances", "parameters": [ { "name": "ceilingId", "in": "query", "type": "array", "collectionFormat": "multi", "description": "ID of sales allowance.", "items": { "type": "number" }, "required": false }, { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" } }, "description": "Response returned by fetch corrected sales allowances.", "schema": { "$ref": "#/definitions/salesAllowances" } }, "204": { "description": "SalesAllowances not found." }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] } }, "/services/block/status": { "get": { "summary": "This API retrieves the Block service version", "description": "Use this API to ping and retrieve block service status.OperationId:pingBlockService
", "operationId": "pingBlockService", "parameters": [ { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" } }, "description": "Response for Ping operation.", "schema": { "$ref": "#/definitions/operaVersion" } }, "204": { "description": "pingBlockService not found." }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "Block" ] } }, "/services/blockExternal/status": { "get": { "summary": "Ping the Block service ", "description": "Use this API to facilitate ping the Block service.OperationId:pingBlockExternalServiceStatus
", "operationId": "pingBlockExternalServiceStatus", "parameters": [ { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" } }, "description": "Response for Ping operation.", "schema": { "$ref": "#/definitions/operaVersion" } }, "204": { "description": "pingBlockExternalServiceStatus not found." }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "BlockExternal" ] } }, "/services/blockStats/status": { "get": { "summary": "Retrieve/Ping Block stats service", "description": "Use this API to retrieve block stats service status.OperationId:pingBlockStatsService
", "operationId": "pingBlockStatsService", "parameters": [ { "$ref": "#/parameters/authKey" }, { "$ref": "#/parameters/externalData" }, { "$ref": "#/parameters/x-app-key" }, { "$ref": "#/parameters/x-request-id" }, { "$ref": "#/parameters/x-originating-application" }, { "$ref": "#/parameters/x-hotelid" }, { "$ref": "#/parameters/x-externalsystem" }, { "$ref": "#/parameters/Accept-Language" } ], "responses": { "200": { "headers": { "Content-Language": { "type": "string", "description": "Audience language", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*", "x-example": "en-GB" } }, "description": "Response for Ping operation.", "schema": { "$ref": "#/definitions/operaVersion" } }, "204": { "description": "pingBlockStatsService not found." }, "400": { "$ref": "#/responses/400" }, "401": { "$ref": "#/responses/401" }, "403": { "$ref": "#/responses/403" }, "404": { "$ref": "#/responses/404" }, "405": { "$ref": "#/responses/405" }, "406": { "$ref": "#/responses/406" }, "413": { "$ref": "#/responses/413" }, "414": { "$ref": "#/responses/414" }, "415": { "$ref": "#/responses/415" }, "500": { "$ref": "#/responses/500" }, "502": { "$ref": "#/responses/502" }, "503": { "$ref": "#/responses/503" } }, "consumes": [ "application/json;charset=UTF-8" ], "produces": [ "application/json;charset=UTF-8" ], "tags": [ "BlockStats" ] } } }, "parameters": { "externalData": { "name": "externalData", "type": "string", "description": "Pass this header as true, if payload needs DVM", "in": "header" }, "authKey": { "name": "authorization", "description": "Bearer token that needs to be passed which is generated post user authentication", "type": "string", "in": "header", "required": true }, "x-app-key": { "name": "x-app-key", "description": "Client or Partner's Application Key", "type": "string", "pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89aAbB][a-f0-9]{3}-[a-f0-9]{12}$", "in": "header", "required": true }, "x-request-id": { "name": "x-request-id", "type": "string", "pattern": "~*[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}", "description": "Request Id of an incoming request", "in": "header" }, "x-originating-application": { "name": "x-originating-application", "type": "string", "description": "Customer's Integration Application Id", "in": "header" }, "x-hotelid": { "name": "x-hotelid", "type": "string", "description": "Mandatory parameter to identify the hotel code where the end user is logged in", "in": "header", "required": true }, "x-externalsystem": { "name": "x-externalsystem", "type": "string", "maxLength": 40, "description": "External system code.", "in": "header", "x-example": "EXTERNALSYSTEMCODE" }, "Accept-Language": { "name": "Accept-Language", "type": "string", "description": "Language code", "in": "header" }, "x-hubid": { "name": "x-hubid", "type": "string", "description": "x-hubid is a logical grouping of multiple properties that allows api consumers to manage data from a group of properties. This x-hubid is a valid list of hub codes configured in OPERA to which the user has access. Rest APIs without hotelId in the operation path can support hub level integration using x-hubid", "in": "header" } }, "responses": { "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/exceptionDetailType" } }, "401": { "description": "Unauthorized" }, "403": { "description": "Forbidden" }, "404": { "description": "Resource not found", "schema": { "$ref": "#/definitions/exceptionDetailType" } }, "405": { "description": "Method not allowed" }, "406": { "description": "Not acceptable." }, "413": { "description": "Request Entity Too Large" }, "414": { "description": "Request URI Too Large" }, "415": { "description": "Unsupported Media Type" }, "500": { "description": "System Error", "schema": { "$ref": "#/definitions/exceptionDetailType" } }, "502": { "description": "Bad Gateway" }, "503": { "description": "Service Unavailable" } }, "definitions": { "subAllocation": { "type": "object", "description": "Request object for creation of Sub Allocation. This object contains sub allocation details with unique identifiers for each sub allocation along with Master Allocation information. The standard optional Opera Context element is also included.", "properties": { "subAllocations": { "description": "Contains the detailed information regarding the sub allocation.", "$ref": "#/definitions/subAllocationsType" }, "fetchInstructions": { "description": "The instruction to determine the block information to be returned in a successful create operation.", "type": "array", "items": { "$ref": "#/definitions/blockDetailInstructionType" } }, "links": { "$ref": "#/definitions/links" }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "subAllocationsType": { "type": "object", "description": "A collection of Sub Allocations or Unique IDs of Sub Allocation.", "properties": { "subAllocationInfo": { "description": "A collection of Sub Allocations or Unique IDs of Sub Allocations.", "type": "array", "maxItems": 4000, "items": { "type": "object", "properties": { "subAllocation": { "description": "Provides detailed information regarding a sub allocation including (Profiles, Owners, Reservations, etc.).", "$ref": "#/definitions/subAllocationType" } } } }, "hasMore": { "description": "Indicates whether all the records are included in the response or not. Absence of the attribute values should be consider as all rows fetched in the response.", "type": "boolean" }, "totalResults": { "description": "Total number of rows queried", "type": "integer" }, "count": { "description": "Total number of rows returned", "type": "integer" } } }, "subAllocationType": { "type": "object", "description": "Extended Block Type object to hold information for a Sub Allocation along with master allocation identification.", "properties": { "blockIdList": { "description": "Collection of unique block identifiers.", "$ref": "#/definitions/blockIdList" }, "externalReferences": { "description": "External Reference information for Reservation.", "$ref": "#/definitions/externalReferencesType" }, "blockDetails": { "description": "Detailed Block information for this block.", "$ref": "#/definitions/blockDetailsType" }, "blockOwners": { "description": "Criteria to assign the owners of a business block.", "$ref": "#/definitions/blockOwnersType" }, "masterBlockInfo": { "description": "Basic information of master and sub blocks structure in tree manner, this element only used while retrieving Block Type.", "$ref": "#/definitions/masterBlockInfoType" }, "reservationPolicies": { "description": "A list of reservation policies.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/reservationPoliciesType" } }, "reservationDetails": { "description": "Details of room Information for the Block.", "$ref": "#/definitions/blockReservationDetailsType" }, "catering": { "description": "Details of catering Information for the Block.", "$ref": "#/definitions/cateringType" }, "blockProfiles": { "description": "A collection of all the profiles associated to this block. Please note that during a change operation this performs a full overlay if the attribute FullOverlay is set to true. In a full overlay, all the profiles that should be associated to the block should be provided during a change operation. Any profiles not provided will be detached from this block. By default the full overlay is considered false if this tag is left blank. If values are provided for profiles, only the full overlay functionality is provided at this time.", "type": "object", "properties": { "blockProfile": { "description": "The list of profiles associated with the block.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/blockProfilesType" } }, "fullOverlay": { "description": "Indicates whether to perform a full overlay for the profiles. Currently only the Fulloverlay functionality is provided.", "type": "boolean" } } }, "blockPackages": { "description": "A Block Package represents a non-room product provided to guests. Block Pacakges may have associated inventory and charges.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/blockPackageType" } }, "inventoryItems": { "description": "A collection of inventory items attached to a block.", "$ref": "#/definitions/blockInventoryItemsType" }, "blockStatistics": { "description": "Indicates the room and revenue statistics of the block.", "$ref": "#/definitions/blockStatisticsType" }, "comments": { "description": "List of notes for the Block.", "type": "object", "properties": { "commentInfo": { "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/commentInfoType" } }, "hasMore": { "description": "Indicates whether all the records are included in the response or not. Absence of the attribute values should be consider as all rows fetched in the response.", "type": "boolean" }, "totalResults": { "description": "Total number of rows queried", "type": "integer" }, "count": { "description": "Total number of rows returned", "type": "integer" } } }, "roomAllocations": { "description": "Room Allocations for the Block.", "type": "object", "properties": { "roomAllocationType": { "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/roomAllocationTypeType" } }, "masterInfo": { "description": "Room Allocations Master Information contains all the room types in the property.", "$ref": "#/definitions/roomAllocationMasterInfoType" }, "hasMore": { "description": "Indicates whether all the records are included in the response or not. Absence of the attribute values should be consider as all rows fetched in the response.", "type": "boolean" }, "totalResults": { "description": "Total number of rows queried", "type": "integer" }, "count": { "description": "Total number of rows returned", "type": "integer" }, "startDate": { "type": "string", "format": "date", "maxLength": 8 }, "numberOfDays": { "type": "number" } } }, "userDefinedFields": { "description": "Collections of user defined fields.", "$ref": "#/definitions/userDefinedFieldsType" }, "blockIndicators": { "description": "Indicators of additional information attached to the block", "$ref": "#/definitions/indicatorsType" }, "traces": { "description": "List of block traces.", "$ref": "#/definitions/blockTracesType" }, "statistics": { "description": "Statistics summary information including Rooms Sold, Room Revenue, Food and Beverage Revenue, Average Room Rate,etc.", "type": "array", "maxItems": 3, "items": { "$ref": "#/definitions/blockStatisticsSummaryType" } }, "blockSecurity": { "description": "Block security information used for an external system. Only available if configured in OPERA Cloud.", "type": "object", "properties": { "securedFromDIdisplayYn": { "description": "Secured from DI Display.", "type": "boolean" }, "allDescriptionDDSecured": { "description": "All Description DD Secured.", "type": "boolean" }, "ratesSecuredfromGNR": { "description": "Rates Secured from GNR.", "type": "boolean" }, "ratesSecuredfromAllDisplays": { "description": "Rates Secured from All Displays.", "type": "boolean" }, "housingInformationSecured": { "description": "Housing Information Secured.", "type": "boolean" }, "daysDepositRequired": { "description": "Number of Days Deposit due to guarantee the guest booking.", "type": "number" }, "advanceCancelDays": { "description": "Number of days before the arrival date a reservation can be canceled without losing the deposit.", "type": "number" }, "returnOneDayAtTimeYn": { "description": "Return One Day at a time.", "type": "boolean" }, "commissionableYn": { "description": "Determines if Travel Agent commission will be paid on reservations booked through the HOLIDEX Plus TACP program.", "type": "boolean" } } }, "ratePrograms": { "description": "Rate Program contains rate information required for block creation, like room pool, rate amount, market code, etc. Only available if configured in OPERA Cloud.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/rateProgramType" } }, "externalAttributes": { "description": "Block attributes used for external systems. Only available if configured in OPERA Cloud.", "type": "object", "properties": { "housingProtected": { "description": "Only available if configured in OPERA Cloud.", "type": "boolean" }, "eventType": { "description": "Contract type of a block, which is used for external system. Only available if configured in OPERA Cloud.", "$ref": "#/definitions/eventTypeType" }, "gIId": { "description": "Group IATA number validated by an external system and block can't be saved unless confirmed that GIID is valid. Only available if configured in OPERA Cloud.", "type": "string" }, "rollEndDate": { "description": "When this flag is set it will be used to roll Block End Date and Block Rate Program End Date in the night audit process. Only available if configured in OPERA Cloud.", "type": "boolean" } } }, "genericRoomAllocations": { "description": "Generic Room Type Allocations for the Block.", "type": "object", "properties": { "roomAllocationType": { "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/roomAllocationTypeType" } }, "masterInfo": { "description": "Generic Room Allocations Master Information contains all the room types in the property.", "$ref": "#/definitions/roomAllocationMasterInfoType" }, "hasMore": { "description": "Indicates whether all the records are included in the response or not. Absence of the attribute values should be consider as all rows fetched in the response.", "type": "boolean" }, "totalResults": { "description": "Total number of rows queried", "type": "integer" }, "count": { "description": "Total number of rows returned", "type": "integer" }, "startDate": { "type": "string", "format": "date", "maxLength": 8 }, "numberOfDays": { "type": "number" } } }, "alternateDates": { "description": "Alternate Date information for the Block.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/blockAlternateDateType" } }, "sellMessages": { "description": "List of sell messages for the Block.", "$ref": "#/definitions/sellMessageConfigsType" }, "attachments": { "description": "List of attachments for the Block.", "$ref": "#/definitions/attachmentsType" }, "washSchedules": { "description": "List of wash schedules for the Block.", "$ref": "#/definitions/blockWashSchedulesType" }, "restrictions": { "description": "List of restrictions for the Block.", "$ref": "#/definitions/blockRestrictionsType" }, "accessExclusions": { "description": "List of access exclusions for the block.", "$ref": "#/definitions/blockAccessExclusionsType" }, "hotelId": { "type": "string", "minLength": 0, "maxLength": 20 }, "markAsRecentlyAccessed": { "description": "Mark this block as recently accessed.", "type": "boolean" }, "createDateTime": { "description": "Time stamp of the creation.", "type": "string", "format": "date-time" }, "creatorId": { "description": "ID of creator. The creator could be a software system identifier or an identifier of an employee responsible for the creation.", "type": "string", "minLength": 0, "maxLength": 200 }, "lastModifyDateTime": { "description": "Time stamp of last modification.", "type": "string", "format": "date-time" }, "lastModifierId": { "description": "Identifies the last software system or person to modify a record.", "type": "string", "minLength": 0, "maxLength": 200 }, "purgeDate": { "description": "Date an item will be purged from a database (e.g., from a live database to an archive).", "type": "string", "format": "date", "maxLength": 8 }, "masterAllocationInfo": { "description": "This type has ability to pertain basic information for master allocation, only ID and Hotel Code will be used to link sub allocation with master allocation in CreateSubAllocation operation.", "$ref": "#/definitions/masterSubBlockBaseInfoType" } } }, "blockIdList": { "type": "array", "description": "Unique Id that references an object uniquely in the system.", "maxItems": 4000, "items": { "$ref": "#/definitions/uniqueID_Type" } }, "uniqueID_Type": { "type": "object", "description": "An identifier used to uniquely reference an object in a system (e.g. an airline reservation reference, customer profile reference, booking confirmation number, or a reference to a previous availability quote).", "properties": { "id": { "description": "A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.", "type": "string", "minLength": 0, "maxLength": 80 }, "type": { "description": "A reference to the type of object defined by the UniqueID element.", "type": "string", "minLength": 0, "maxLength": 20 }, "idContext": { "description": "Used to identify the source of the identifier (e.g., IATA, ABTA).", "type": "string", "minLength": 0, "maxLength": 80 }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "warningsType": { "type": "array", "description": "Used in conjunction with the Success element to define a business error.", "maxItems": 4000, "items": { "$ref": "#/definitions/warningType" } }, "warningType": { "type": "object", "description": "Used when a message has been successfully processed to report any warnings or business errors that occurred.", "properties": { "value": { "type": "string", "description": "Property Value" }, "shortText": { "description": "An abbreviated version of the error in textual format.", "type": "string", "maxLength": 2000 }, "code": { "description": "If present, this refers to a table of coded values exchanged between applications to identify errors or warnings.", "type": "string", "minLength": 0, "maxLength": 20 }, "docURL": { "description": "If present, this URL refers to an online description of the error that occurred.", "type": "string", "maxLength": 2000 }, "status": { "description": "If present, recommended values are those enumerated in the ErrorRS, (NotProcessed Incomplete Complete Unknown) however, the data type is designated as string data, recognizing that trading partners may identify additional status conditions not included in the enumeration.", "type": "string", "maxLength": 2000 }, "tag": { "description": "If present, this attribute may identify an unknown or misspelled tag that caused an error in processing. It is recommended that the Tag attribute use XPath notation to identify the location of a tag in the event that more than one tag of the same name is present in the document. Alternatively, the tag name alone can be used to identify missing data [Type=ReqFieldMissing].", "type": "string", "maxLength": 2000 }, "recordId": { "description": "If present, this attribute allows for batch processing and the identification of the record that failed amongst a group of records. This value may contain a concatenation of a unique failed transaction ID with specific record(s) associated with that transaction.", "type": "string", "maxLength": 2000 }, "type": { "description": "The Warning element MUST contain the Type attribute that uses a recommended set of values to indicate the warning type. The validating XSD can expect to accept values that it has NOT been explicitly coded for and process them by using Type =\"Unknown\".", "type": "string", "minLength": 0, "maxLength": 20 }, "language": { "description": "Language identification.", "type": "string", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*" }, "rph": { "description": "Reference Place Holder used as an index for this warning.", "type": "string", "minLength": 1, "maxLength": 8 } } }, "externalReferencesType": { "type": "array", "description": "This type contains unique information of external reference.", "maxItems": 4000, "items": { "$ref": "#/definitions/externalReferenceType" } }, "externalReferenceType": { "type": "object", "description": "This type contains unique information of external reference.", "properties": { "id": { "description": "Unique ID of external reference.", "type": "string", "minLength": 0, "maxLength": 80 }, "idExtension": { "description": "ID extension for external reference.", "type": "integer" }, "idContext": { "description": "ID context for external reference.", "type": "string", "minLength": 0, "maxLength": 80 } } }, "blockDetailsType": { "type": "object", "description": "Information about the Block Details", "properties": { "blockCode": { "description": "Block code for the block.", "type": "string", "minLength": 0, "maxLength": 20 }, "blockName": { "description": "Name of the block.", "type": "string", "minLength": 0, "maxLength": 2000 }, "blockAliases": { "description": "Alias name(s) that can be used to search for the block.", "$ref": "#/definitions/blockAliasesType" }, "timeSpan": { "description": "The Time Span(Arrival, Departure) which covers the Block Span.", "$ref": "#/definitions/timeSpanType" }, "originalTimeSpan": { "description": "The Original Time Span(Arrival, Departure) which covers the Block Span.", "$ref": "#/definitions/timeSpanType" }, "shoulderDates": { "description": "The Shoulder Dates (Arrival, Departure) which covers the Block Shoulder Span.", "$ref": "#/definitions/timeSpanType" }, "shoulderRatePlanCode": { "description": "The shoulder rate plans which cover the block shoulder start and end dates.", "type": "object", "properties": { "shoulderStart": { "description": "The Rate Plan(s) for the days between the shoulder start date and the actual block start date.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/blockRatePlanInfoType" } }, "shoulderEnd": { "description": "The Rate Plan(s) for the days between the actual block end date and the shoulder end date.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/blockRatePlanInfoType" } } } }, "blockStatus": { "description": "Current status of the block.", "$ref": "#/definitions/bookingStatusDetailType" }, "blockNextStatusList": { "description": "List of possible next booking statuses of the business block.", "$ref": "#/definitions/blockNextStatusListType" }, "blockStatusChangeHistory": { "description": "List of booking status changes.", "$ref": "#/definitions/blockStatusChangeHistoryType" }, "reservationType": { "description": "Reservation Type info of the block.", "$ref": "#/definitions/reservationTypeInfoType" }, "marketCode": { "description": "Market code info of the block.", "$ref": "#/definitions/marketCodeInfoType" }, "sourceOfSale": { "description": "Point of Sale of block. Identifies the entity/channel who made the block reservation.", "$ref": "#/definitions/blockSourceOfSaleType" }, "reservationMethod": { "description": "Reservation Method of the block. Indicates how the individual reservations will be handled (Individual Call In, Rooming List, etc).", "$ref": "#/definitions/codeDescriptionType" }, "bookingType": { "description": "Business Block Type field on the Business Block", "$ref": "#/definitions/codeDescriptionType" }, "status": { "description": "Internal status for the block.", "type": "string", "minLength": 0, "maxLength": 20 }, "blockType": { "description": "Internal type of the block.", "type": "string", "minLength": 0, "maxLength": 20 }, "blockOrigin": { "description": "Origin information of the block PMS/ORS/SC/SFA", "type": "string", "minLength": 0, "maxLength": 20 }, "overbookAll": { "description": "Flag to determine if user wants to overbook sales allowance.", "type": "boolean" }, "paymentMethod": { "description": "Indicate which method of payment will be used for the block's charges.", "$ref": "#/definitions/codeDescriptionType" }, "commissionPercent": { "description": "Indicate what percentage of this block is eligible for commission.", "type": "number", "minimum": 0, "maximum": 100 }, "conversionCode": { "description": "Indicates the likelihood description of the block moving to the next active block status.", "type": "string", "minLength": 0, "maxLength": 20 }, "conversionCodeDescription": { "description": "Indicates the likelihood of the block moving to the next active block status.", "type": "string", "minLength": 0, "maxLength": 2000 }, "rateProtectionDetails": { "description": "Indicates the Rate Protection details for the block.", "$ref": "#/definitions/blockRateProtectionType" }, "nonCompeteDetails": { "description": "Indicates the non-competing industry details.", "$ref": "#/definitions/blockNonCompeteType" }, "rankingCode": { "description": "Indicates the ranking of the block.", "type": "string", "minLength": 0, "maxLength": 20 }, "rankingCodeDescription": { "description": "Indicates the ranking description of the block.", "type": "string", "minLength": 0, "maxLength": 2000 }, "currencyCode": { "description": "Currency Code attached to the business block.", "type": "string", "minLength": 0, "maxLength": 20 }, "cancellationDetails": { "description": "Information on the canceled block.", "$ref": "#/definitions/cancellationDetailsType" }, "hotelName": { "description": "A text field used to communicate the proper name of the hotel.", "type": "string", "minLength": 0, "maxLength": 80 }, "tourCode": { "description": "The tour code that this block belongs to, if the block is a part of a tour series.", "type": "string", "minLength": 0, "maxLength": 20 }, "hotelUse": { "description": "Indicates whether the block can be updated only by the Hotel to which it belongs.", "$ref": "#/definitions/hotelUseType" }, "rateOverrideReason": { "description": "Indicates the reason for overriding the rate amounts on a block.", "$ref": "#/definitions/codeDescriptionType" }, "blockClassification": { "description": "Indicate Block Classification.", "$ref": "#/definitions/blockClassificationType" }, "isCentralSalesLead": { "description": "Flag to determine if the given block is central lead or not.", "type": "boolean" }, "centralSalesLeadResort": { "description": "Resort name of central sales lead for this property lead.", "type": "string", "minLength": 0, "maxLength": 80 }, "centralSalesLeadId": { "description": "Central sales lead id of the central sales lead for this property lead.", "type": "string", "minLength": 0, "maxLength": 20 }, "synchronized": { "description": "Indicate if Master/Sub Blocks are Synchronized.", "type": "boolean" }, "subBlockIdList": { "description": "Sub Block code will be populated, when master block creation is in progress.", "$ref": "#/definitions/subBlockIdList" }, "primaryOwners": { "description": "Primary owners for the block.", "type": "object", "properties": { "blockOwner": { "description": "Primary Block Owner", "$ref": "#/definitions/blockOwnerType" }, "roomsOwner": { "description": "Primary Rooms Owner", "$ref": "#/definitions/blockOwnerType" }, "cateringOwner": { "description": "Primary Catering Owner", "$ref": "#/definitions/blockOwnerType" }, "blockOwnerCount": { "description": "Total number of Block Owners.", "type": "number" }, "roomsOwnerCount": { "description": "Total number of Rooms Owners.", "type": "number" }, "cateringOwnerCount": { "description": "Total number of Catering Owners.", "type": "number" } } }, "primaryProfiles": { "description": "Primary account and contact for the block.", "type": "object", "properties": { "account": { "description": "Primary Account", "$ref": "#/definitions/blockProfilesType" }, "contact": { "description": "Primary Contact", "$ref": "#/definitions/blockProfilesType" }, "image": { "description": "The primary profile image. If primary contact exists, Contact Image, otherwise primary Account Image", "$ref": "#/definitions/imageSetType" } } }, "primaryRatePlanCodes": { "description": "Primary rates for the block.", "type": "object", "properties": { "blockRatePlanCode": { "description": "Primary Block Rate", "$ref": "#/definitions/blockRatePlanInfoType" }, "shoulderStartRatePlanCode": { "description": "Primary Shoulder Start Rate", "$ref": "#/definitions/blockRatePlanInfoType" }, "shoulderEndRatePlanCode": { "description": "Primary Shoulder End Rate", "$ref": "#/definitions/blockRatePlanInfoType" }, "blockRatePlanCodeCount": { "description": "Total number of Block Rates.", "type": "number" }, "shoulderStartRatePlanCodeCount": { "description": "Total number of Shoulder Start Rates.", "type": "number" }, "shoulderEndRatePlanCodeCount": { "description": "Total number of Shoulder End Rates.", "type": "number" } } }, "cateringOnlyBlock": { "description": "Indicates if this is a catering only block.", "type": "boolean" }, "flexibleDates": { "description": "Indicates if alternate dates are allowed for the booking.", "type": "boolean" }, "externalLocked": { "description": "Indicates if the block is locked by an external system.", "type": "boolean" }, "autoloadContractGrid": { "description": "Indicates if contract grid will be auto loaded from original grid.", "type": "boolean" }, "autoloadForecastGrid": { "description": "Indicates if forecast grid will be auto loaded from original grid.", "type": "boolean" }, "allowRateOverride": { "description": "Indicates whether rates of a block can be overridden. Applicable only for blocks with a Rate Code.", "type": "boolean" }, "hasLinkedActivities": { "description": "Indicates if block has any linked activity(s).", "type": "boolean" }, "manualCutOff": { "description": "Indicates whether Block was cutoff manually.", "type": "boolean" }, "wholesaleBlock": { "description": "Indicates whether the business block should be considered as a wholesale block for revenue management block materialization forecasting", "type": "boolean" }, "controlBlockLocally": { "description": "Determines whether or not the block can be managed at the CRS level.", "type": "boolean" }, "businessDateArrivalsExist": { "description": "Indicate whether arrivals exists on current business date.", "type": "boolean" }, "quoteReferenceNumber": { "description": "Quote Reference Number is an alternate id number for the block that can be used in the SC Quote report and allows for tracking and managing revisions", "type": "string", "minLength": 0, "maxLength": 200 }, "taxType": { "description": "The Tax Type determines whether generates are applied when calculating prices and revenue. When populated, the Tax Type value will default on the Posting Master and will be used in the calculations for the Proforma Invoice report.", "type": "string", "minLength": 0, "maxLength": 20 }, "overrideBlockCodeTemplate": { "description": "Indicates whether block code template can be overridden.", "type": "boolean" } } }, "blockAliasesType": { "type": "array", "description": "List of Block Aliases.", "maxItems": 4000, "items": { "type": "string", "minLength": 0, "maxLength": 40 } }, "timeSpanType": { "type": "object", "description": "Allows for a choice in description of the amount of time spanned by this type. EndDate specifies a specific date, while Duration provides a measure of time to add to the StartDate to yield end date.", "properties": { "startDate": { "type": "string", "format": "date", "maxLength": 8 }, "endDate": { "type": "string", "format": "date", "maxLength": 8 }, "duration": { "type": "string" } } }, "blockRatePlanInfoType": { "type": "object", "description": "Rate Plan info type extension for block.", "properties": { "shortInfo": { "description": "Brief Information of the Rate Code.", "type": "string", "minLength": 0, "maxLength": 2000 }, "longInfo": { "description": "Detail Information of the Rate Code.", "type": "string", "minLength": 0, "maxLength": 2000 }, "webPage": { "description": "URL providing more information about the Rate Code.", "type": "string", "minLength": 0, "maxLength": 2000 }, "description": { "description": "Description of the Rate Code.", "type": "string", "minLength": 0, "maxLength": 2000 }, "currencyCode": { "description": "Currency Code of the rate code.", "type": "string", "minLength": 0, "maxLength": 20 }, "ratePlanLevel": { "description": "All rate codes are associated with rate plan level ( or rate category )for Channels. So if rate plans are given in the request, get all rate codes associated with the rate plan level.", "type": "string", "minLength": 0, "maxLength": 20 }, "guarantee": { "description": "Guarantee details for rate plan code.", "$ref": "#/definitions/guaranteeType" }, "cancelPenalty": { "description": "Cancellation details for rate plan code.", "$ref": "#/definitions/cancelPenaltyType" }, "mealPlans": { "description": "Meal plan codes for rate plan code.", "$ref": "#/definitions/mealPlansType" }, "ratePlanCode": { "type": "string", "minLength": 0, "maxLength": 20 }, "hotelId": { "type": "string", "minLength": 0, "maxLength": 20 }, "ratePlanCategory": { "type": "string", "minLength": 0, "maxLength": 20 }, "taxInclusive": { "description": "Indicates if tax is included in the rate code amount.", "type": "boolean" }, "serviceFeeInclusive": { "description": "Indicates if service fee is included in the rate code amount.", "type": "boolean" }, "primary": { "description": "Is it a primary rate plan?", "type": "boolean" }, "showRateAmount": { "description": "Is the rate amount to be shown?", "type": "boolean" }, "marketCode": { "description": "Market Code associated with the RatePlanCode.", "type": "string", "minLength": 0, "maxLength": 20 }, "sourceCode": { "description": "Source Code associated with the RatePlanCode.", "type": "string", "minLength": 0, "maxLength": 20 }, "negotiated": { "description": "Indicates if the rate code is a negotiated rate code", "type": "boolean" } } }, "guaranteeType": { "type": "object", "description": "Specifies Guarantee Code attributes.", "properties": { "description": { "description": "Description of the Guarantee Code.", "type": "string", "minLength": 0, "maxLength": 2000 }, "requirements": { "description": "Specifies various requirements for the guarantee code.", "$ref": "#/definitions/guaranteeRequirementsType" }, "shortDescription": { "description": "Brief description of the Guarantee Code.", "$ref": "#/definitions/translationTextType80" }, "paymentTypes": { "description": "Specifies various payment types for the guarantee code.", "$ref": "#/definitions/paymentTypesType" }, "guaranteeCode": { "description": "Code assigned to the Guarantee.", "type": "string", "minLength": 0, "maxLength": 20 }, "onHold": { "description": "If true indicates this Guarantee Code is used only to hold the inventory during reservation process.", "type": "boolean" }, "reserveInventory": { "description": "If true indicates inventory will be reserved/deducted when reservation uses this Guarantee Code.", "type": "boolean" }, "orderSequence": { "description": "Display Order sequence.", "type": "number" }, "lateArrival": { "description": "Represents the late arrival time.", "type": "string" } } }, "guaranteeRequirementsType": { "type": "object", "description": "Specifies various requirement for the guarantee code.", "properties": { "requirementCode": { "description": "Requirement Code.", "type": "string" }, "cancellation": { "description": "When true indicates cancellation on the reservation is required for this guarantee code.", "type": "boolean" }, "phoneNumber": { "description": "When true indicates phone number on the reservation is required for this guarantee code.", "type": "boolean" }, "address": { "description": "When true indicates address on the reservation is required for this guarantee code.", "type": "boolean" }, "creditCard": { "description": "When true indicates Credit Card on the reservation is required for this guarantee code.", "type": "boolean" }, "arrivalTime": { "description": "When true indicates arrival Time on the reservation is required for this guarantee code.", "type": "boolean" }, "deposit": { "description": "When true indicates deposit is required for this guarantee code.", "type": "boolean" } } }, "translationTextType80": { "type": "object", "description": "Contains Multiple translated texts and language codes.", "properties": { "defaultText": { "description": "Default text with Character length from 0 to 80.", "type": "string", "minLength": 0, "maxLength": 80 }, "translatedTexts": { "description": "List of translated text and language codes.", "$ref": "#/definitions/translationsTextType" } } }, "translationsTextType": { "type": "array", "description": "Language code for the translation.", "maxItems": 4000, "items": { "type": "object", "properties": { "value": { "type": "string", "description": "Used for Character Strings, length 0 to 2000.", "minLength": 0, "maxLength": 2000 }, "language": { "description": "Language identification.", "type": "string", "minLength": 0, "maxLength": 20 } }, "description": "Language code for the translation." } }, "paymentTypesType": { "type": "array", "description": "Payment card code like AX,VI etc.", "maxItems": 4000, "items": { "type": "string", "minLength": 0, "maxLength": 20 } }, "cancelPenaltyType": { "type": "object", "description": "The CancelPenalty class defines the cancellation policy of the hotel facility.", "properties": { "deadline": { "description": "Cancellation deadline, absolute or relative.", "$ref": "#/definitions/policyDeadlineType" }, "amountPercent": { "description": "Cancellation fee expressed as a fixed amount, or percentage of/or room nights.", "$ref": "#/definitions/policyAmountPercentType" }, "penaltyDescription": { "description": "Text description of the Penalty in a given language.", "type": "string", "minLength": 0, "maxLength": 2000 }, "offsetUnit": { "$ref": "#/definitions/offsetUnitType" }, "formattedRule": { "description": "Formatted Text Rule of the Cancellation Penalty.", "type": "string", "minLength": 0, "maxLength": 2000 }, "policyCode": { "description": "Policy Code.", "type": "string", "minLength": 0, "maxLength": 20 }, "manual": { "description": "Flag to indicate if the cancellation policy is manual.", "type": "boolean" }, "nonRefundable": { "description": "Indicates if the amount is refundable if booking is canceled.", "type": "boolean" }, "effective": { "description": "Indicator if Cancellation Penalty is currently applicable or not.", "type": "boolean" }, "estimatedAmount": { "description": "Estimated Amount for the cancellation penalty.", "type": "number" } } }, "policyDeadlineType": { "type": "object", "description": "Cancellation deadline, absolute or relative.", "properties": { "absoluteDeadline": { "description": "Defines the absolute deadline. Either this or the offset attributes may be used.", "type": "string", "format": "date-time" }, "offsetFromArrival": { "description": "The number of days before arrival that allows cancellation without penalties.", "type": "integer" }, "offsetDropTime": { "description": "Time on offset day the cancellation penalties applies.", "type": "string", "format": "date-time" }, "offsetFromBookingDate": { "description": "The number of days after booking deposit must be paid.", "type": "integer" } } }, "policyAmountPercentType": { "type": "object", "description": "Defines the percentage basis for calculating the fee amount or the amount.", "properties": { "basisType": { "description": "Provides the basis for how the amount of the guarantee is calculated.", "$ref": "#/definitions/policyBasisTypeType" }, "nights": { "description": "The number of nights of the hotel stay that are used to calculate the fee amount.", "type": "integer" }, "percent": { "description": "The percentage used to calculate the amount.", "type": "number", "minimum": 0, "maximum": 100 }, "amount": { "description": "A monetary amount.", "type": "number" }, "currencyCode": { "description": "Provides a currency code to reflect the currency in which an amount may be expressed.", "type": "string", "minLength": 3, "maxLength": 3 } } }, "policyBasisTypeType": { "type": "string", "description": "Full Amount.", "enum": [ "FlatAmount", "Percentage", "Nights", "NightPercentage", "FullAmount" ] }, "offsetUnitType": { "type": "string", "description": "Indicates deadline offset unit type.", "enum": [ "Year", "Month", "Day", "Hour" ] }, "mealPlansType": { "type": "array", "description": "Meal plan codes associated with the rate codes.", "maxItems": 4000, "items": { "$ref": "#/definitions/mealPlanCodeType" } }, "mealPlanCodeType": { "type": "object", "description": "Meal plan codes associated with the rate codes.", "properties": { "code": { "description": "Meal plan code.", "type": "string", "minLength": 0, "maxLength": 40 }, "included": { "description": "Represents if the meal plan code is included in rate code or not.", "type": "boolean" }, "breakfastIncluded": { "description": "Represents if the meal plan code is available for breakfast or not.", "type": "boolean" }, "lunchIncluded": { "description": "Represents if the meal plan code is available for lunch or not.", "type": "boolean" }, "dinnerIncluded": { "description": "Represents if the meal plan code is available for dinner or not.", "type": "boolean" } } }, "bookingStatusDetailType": { "type": "object", "description": "Booking Status details of the business block.", "properties": { "bookingStatus": { "description": "Booking Status of the business block.", "$ref": "#/definitions/bookingStatusType" }, "parentBookingStatus": { "description": "Parent status of the booking status, if one exists.", "type": "string", "minLength": 0, "maxLength": 20 }, "deductInventory": { "description": "Indicates if blocked rooms are deducted from inventory.", "type": "boolean" }, "catDeductInventory": { "description": "Indicates if catering event's spaces are deducted from inventory", "type": "boolean" }, "allowPickup": { "description": "Indicates if business blocks with this status will be allowed for pickup or not.", "type": "boolean" }, "returnToInventory": { "description": "Indicates if blocked rooms will be returned to availability or not.", "type": "boolean" }, "defaultReservationType": { "description": "Default reservation type for the booking status.", "type": "string", "minLength": 0, "maxLength": 20 }, "cancellationType": { "description": "Cancellation reason type of the booking status. Populates only when the booking status is of return to inventory type.", "$ref": "#/definitions/blockCancellationTypeType" }, "statusType": { "description": "Indicates status type Inquiry, Actual, Cancel, etc.", "$ref": "#/definitions/blockStatusTypeType" }, "catStatusType": { "description": "Indicates status type Inquiry, Actual, Cancel, etc.", "$ref": "#/definitions/blockStatusTypeType" } } }, "bookingStatusType": { "type": "object", "description": "Booking status code, description and configured color of the status. This will be used for block and event statuses.", "properties": { "status": { "description": "Status code and description.", "$ref": "#/definitions/codeDescriptionType" }, "color": { "description": "Color from status configuration.", "$ref": "#/definitions/statusColorType" }, "returnToInventory": { "description": "Flag that indicates if there are return to inventory status blocks, sub-blocks or reservations.", "type": "boolean" } } }, "codeDescriptionType": { "type": "object", "description": "This contains a generic code and description information.", "properties": { "code": { "description": "Code.", "type": "string", "minLength": 0, "maxLength": 20 }, "description": { "description": "description.", "type": "string", "minLength": 0, "maxLength": 2000 } } }, "statusColorType": { "type": "string", "description": "Status code color configuration type.", "enum": [ "White", "Red", "Blue", "Cyan", "Magenta", "Green", "Brown", "Black", "Yellow", "Gray" ] }, "blockCancellationTypeType": { "type": "string", "description": "Simple type for cancellation reasons which helps to decide type of cancellation.", "enum": [ "Lost", "Cancel", "Refused" ] }, "blockStatusTypeType": { "type": "string", "description": "Simple type for specifying the block status type.", "enum": [ "Inquiry", "Actual", "Waitlist", "Cancel", "Referral" ] }, "blockNextStatusListType": { "type": "array", "description": "Next booking status of the business block.", "maxItems": 4000, "items": { "$ref": "#/definitions/bookingStatusDetailType" } }, "blockStatusChangeHistoryType": { "type": "array", "description": "Collection of block status history.", "maxItems": 4000, "items": { "$ref": "#/definitions/bookingStatusHistoryType" } }, "bookingStatusHistoryType": { "type": "object", "properties": { "sequence": { "description": "Number indicating the sequence of status change.", "type": "integer" }, "bookingStatus": { "description": "Booking status of the business block.", "$ref": "#/definitions/codeDescriptionType" }, "modifyDateTime": { "description": "Date and time of the status change.", "type": "string", "format": "date", "maxLength": 8 }, "modifierId": { "description": "User who modified the status.", "type": "string", "minLength": 0, "maxLength": 200 } } }, "reservationTypeInfoType": { "type": "object", "properties": { "reservationType": { "type": "string", "minLength": 0, "maxLength": 20 }, "chainCode": { "type": "string", "minLength": 0, "maxLength": 20 }, "description": { "type": "string", "minLength": 0, "maxLength": 2000 } } }, "marketCodeInfoType": { "type": "object", "properties": { "marketCode": { "type": "string", "minLength": 0, "maxLength": 20 }, "hotelId": { "type": "string", "minLength": 0, "maxLength": 20 }, "marketGroup": { "type": "string", "minLength": 0, "maxLength": 20 }, "description": { "type": "string", "minLength": 0, "maxLength": 2000 } } }, "blockSourceOfSaleType": { "type": "object", "description": "Point of Sale of Block. Identifies the entity/channel who made the block reservation.", "properties": { "sourceCode": { "description": "Identifies how this block came into the property.", "$ref": "#/definitions/sourceCodeInfoType" }, "sourceType": { "description": "The of entity/channel where this business block originated.", "type": "string", "minLength": 0, "maxLength": 20 }, "sourceTypeDescription": { "description": "The of entity/channel where this business block originated.", "type": "string", "minLength": 0, "maxLength": 2000 } } }, "sourceCodeInfoType": { "type": "object", "properties": { "sourceCode": { "type": "string", "minLength": 0, "maxLength": 20 }, "hotelId": { "type": "string", "minLength": 0, "maxLength": 20 }, "sourceGroup": { "type": "string", "minLength": 0, "maxLength": 20 }, "description": { "type": "string", "minLength": 0, "maxLength": 2000 } } }, "blockRateProtectionType": { "type": "object", "description": "Block Rate Protection code information.", "properties": { "criteria": { "description": "Indicates the type of rate protection. 'All' means all dates are rate protected. 'None' specifies no rate protection. 'Selected' specifies few dates are rate protected.", "$ref": "#/definitions/rateProtectionType" }, "protectedDates": { "description": "Specifies all the Rate protected dates in the selected range.", "$ref": "#/definitions/datesType" } } }, "rateProtectionType": { "type": "string", "description": "Simple type for specifying the block protection type.", "enum": [ "All", "Selected", "None" ] }, "datesType": { "type": "array", "description": "Specifies a single date.", "maxItems": 4000, "items": { "type": "string", "format": "date", "maxLength": 8 } }, "blockNonCompeteType": { "type": "object", "description": "Block Non Compete code information.", "properties": { "industry": { "description": "Specifies the Non-Compete Industry.>", "type": "string", "minLength": 0, "maxLength": 20 }, "industryDescription": { "description": "Specifies the Non-Compete Industry description.>", "type": "string", "minLength": 0, "maxLength": 2000 }, "criteria": { "description": "Indicates the type of Non-Compete. 'All' means all dates are Non-Compete. 'None' specifies Non-Compete is disabled. 'Selected' specifies few dates are Non-Compete.", "$ref": "#/definitions/rateProtectionType" }, "protectedDates": { "description": "Specifies all the Non-Compete dates in the selected date range.", "$ref": "#/definitions/datesType" } } }, "cancellationDetailsType": { "type": "object", "description": "This type holds information regarding booking status change to Cancel/ Lost.", "properties": { "cancellationNumber": { "description": "Cancellation number of the block.", "$ref": "#/definitions/uniqueID_Type" }, "cancellationCode": { "description": "Code and description for cancellation reason.", "$ref": "#/definitions/codeDescriptionType" }, "cancellationDate": { "description": "Date on which block was canceled.", "type": "string", "format": "date", "maxLength": 8 }, "cancellationInfo": { "description": "Cancellation information provided by the customer.", "type": "string", "minLength": 0, "maxLength": 2000 }, "destination": { "description": "Alternate destination where the business is being taken.", "type": "string", "minLength": 0, "maxLength": 20 }, "lostToProperty": { "description": "Holds the name of the property or competitor brand business was lost to.", "type": "string", "minLength": 0, "maxLength": 100 } } }, "hotelUseType": { "type": "object", "properties": { "hotelUseReason": { "description": "Explains the reason why the business block can be updated only by the Hotel.", "type": "string", "minLength": 0, "maxLength": 4000 }, "accessRestrictions": { "description": "List of block access exclusion/restriction types. The field HotelUseOnly and Modify under this will behave the same. User can pass either of them. For new development use this field.", "$ref": "#/definitions/accessRestrictionsType" }, "hotelUseOnly": { "description": "Indicates whether this business block can be updated only by the Hotel to which it belongs. This is used to communicate to CRO that the business block can be only updated by the Hotel.", "type": "boolean" } } }, "accessRestrictionsType": { "type": "array", "description": "Block access exclusion/restriction type.", "maxItems": 4000, "items": { "$ref": "#/definitions/blockAccessRestrictionType" } }, "blockAccessRestrictionType": { "type": "string", "description": "Simple type for block access exclusion/restriction types.", "enum": [ "Availability", "Create", "Modify", "Cancel" ] }, "blockClassificationType": { "type": "string", "description": "Simple type for block instructions to be used in requests for fetching blocks. Valid status values are MASTER_BLOCK, MASTER_TOUR, FIT_MASTER, MASTER_ALLOCATION, MASTER_ITINERARY, LEAD_MASTER, REGULAR_BOOKING, SUB_BLOCK, SUB_TOUR, FIT_CONTRACT, SUB_ALLOCATION, SUB_ITINERARY, LEAD.", "enum": [ "MasterBlock", "MasterTour", "MasterAllocation", "MasterItinerary", "LeadMaster", "RegularBooking", "SubBlock", "SubTour", "FitContract", "SubAllocation", "SubItinerary", "Lead", "FitMaster", "Opportunity" ] }, "subBlockIdList": { "type": "array", "description": "Unique Id that references an object uniquely in the system.", "maxItems": 4000, "items": { "$ref": "#/definitions/uniqueID_Type" } }, "blockOwnerType": { "type": "object", "description": "Generic type for information about an owner.", "properties": { "hotel": { "description": "Hotel to which the owner belongs to.", "$ref": "#/definitions/codeDescriptionType" }, "userId": { "description": "Unique application user ID.", "$ref": "#/definitions/uniqueID_Type" }, "userName": { "description": "Unique application user name of the owner.", "type": "string", "minLength": 0, "maxLength": 40 }, "ownerCode": { "description": "Unique Code to identify the owner.", "type": "string", "minLength": 0, "maxLength": 20 }, "profileId": { "description": "Unique owner profile information.", "$ref": "#/definitions/profileId" }, "name": { "description": "Provides name information of the owner.", "$ref": "#/definitions/personNameType" }, "department": { "description": "Department to which the owner belongs to.", "$ref": "#/definitions/codeDescriptionType" }, "email": { "description": "Email information of the owner.", "$ref": "#/definitions/emailInfoType" }, "phone": { "description": "Information on the telephone number of the owner.", "$ref": "#/definitions/telephoneInfoType" }, "relationship": { "description": "Relationship of the owner within the profile or block.", "$ref": "#/definitions/codeDescriptionType" }, "primary": { "description": "When true, this is a primary owner.", "type": "boolean" }, "ownership": { "description": "Specifies the business block ownership type.", "$ref": "#/definitions/blockOwnershipType" } } }, "profileId": { "type": "object", "description": "An identifier used to uniquely reference an object in a system (e.g. an airline reservation reference, customer profile reference, booking confirmation number, or a reference to a previous availability quote).", "properties": { "url": { "description": "URL that identifies the location associated with the record identified by the UniqueID.", "type": "string" }, "type": { "description": "A reference to the type of object defined by the UniqueID element.", "type": "string", "minLength": 0, "maxLength": 20 }, "instance": { "description": "The identification of a record as it exists at a point in time. An instance is used in update messages where the sender must assure the server that the update sent refers to the most recent modification level of the object being updated.", "type": "string", "minLength": 0, "maxLength": 80 }, "idContext": { "description": "Used to identify the source of the identifier (e.g., IATA, ABTA).", "type": "string", "minLength": 0, "maxLength": 80 }, "id": { "description": "A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.", "type": "string", "minLength": 0, "maxLength": 80 }, "idExtension": { "description": "Additional identifying value assigned by the creating system.", "type": "integer" } } }, "personNameType": { "type": "object", "description": "This provides name information for a person.", "properties": { "namePrefix": { "description": "Salutation of honorific (e.g. Mr., Mrs., Ms., Miss, Dr.)", "type": "string", "minLength": 0, "maxLength": 40 }, "givenName": { "description": "Given name, first name or names.", "type": "string", "minLength": 0, "maxLength": 40 }, "middleName": { "description": "The middle name of the person name.", "type": "string", "minLength": 0, "maxLength": 40 }, "surname": { "description": "Family name, last name. May also be used for full name if the sending system does not have the ability to separate a full name into its parts, e.g. the surname element may be used to pass the full name.", "type": "string", "minLength": 0, "maxLength": 40 }, "nameSuffix": { "description": "Hold various name suffixes and letters (e.g. Jr., Sr., III, Ret., Esq.)", "type": "string", "minLength": 0, "maxLength": 40 }, "nameTitle": { "description": "Degree or honors (e.g., Ph.D., M.D.)", "type": "string", "minLength": 0, "maxLength": 80 }, "nameTitleSuffix": { "description": "Title Suffix. Must be populated if ADVANCED_TITLE is on.", "type": "integer" }, "envelopeGreeting": { "description": "Envelope Greeting of the profile", "type": "string" }, "salutation": { "description": "Salutation of the profile", "type": "string" }, "nameType": { "description": "Type of name of the individual, such as former, nickname, alternate or alias name.", "$ref": "#/definitions/personNameTypeType" }, "language": { "description": "Language identification.", "type": "string", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*" }, "externalSystem": { "description": "When name type is external, indicates the external system the name belongs to.", "type": "string", "minLength": 0, "maxLength": 40 } } }, "personNameTypeType": { "type": "string", "description": "Person's name in an external system.", "enum": [ "Primary", "Alternate", "Incognito", "External", "Phonetic" ] }, "emailInfoType": { "type": "object", "description": "Information on an email for the customer.", "properties": { "email": { "description": "eMail deatils for the profile.", "$ref": "#/definitions/emailType" }, "id": { "description": "A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.", "type": "string", "minLength": 0, "maxLength": 80 }, "type": { "description": "A reference to the type of object defined by the UniqueID element.", "type": "string", "minLength": 0, "maxLength": 20 }, "idContext": { "description": "Used to identify the source of the identifier (e.g., IATA, ABTA).", "type": "string", "minLength": 0, "maxLength": 80 }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "emailType": { "type": "object", "description": "Information on an email for the customer.", "properties": { "emailAddress": { "description": "Defines the e-mail address.", "type": "string", "minLength": 0, "maxLength": 2000 }, "type": { "description": "Defines the purpose of the e-mail address (e.g. personal, business, listserve).", "type": "string", "minLength": 0, "maxLength": 20 }, "typeDescription": { "description": "Describes the Type code", "type": "string", "minLength": 0, "maxLength": 2000 }, "emailFormat": { "description": "Supported Email format.", "type": "string", "enum": [ "Html", "Text" ] }, "primaryInd": { "description": "When true, indicates a primary information.", "type": "boolean" }, "orderSequence": { "description": "Display Order sequence.", "type": "number" }, "createDateTime": { "description": "Time stamp of the creation.", "type": "string", "format": "date-time" }, "creatorId": { "description": "ID of creator. The creator could be a software system identifier or an identifier of an employee responsible for the creation.", "type": "string", "minLength": 0, "maxLength": 200 }, "lastModifyDateTime": { "description": "Time stamp of last modification.", "type": "string", "format": "date-time" }, "lastModifierId": { "description": "Identifies the last software system or person to modify a record.", "type": "string", "minLength": 0, "maxLength": 200 } } }, "telephoneInfoType": { "type": "object", "description": "Information on a telephone number for the customer.", "properties": { "telephone": { "description": "Phone details for the profile.", "$ref": "#/definitions/telephoneType" }, "id": { "description": "A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.", "type": "string", "minLength": 0, "maxLength": 80 }, "type": { "description": "A reference to the type of object defined by the UniqueID element.", "type": "string", "minLength": 0, "maxLength": 20 }, "idContext": { "description": "Used to identify the source of the identifier (e.g., IATA, ABTA).", "type": "string", "minLength": 0, "maxLength": 80 }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "telephoneType": { "type": "object", "description": "Information on a telephone number for the customer.", "properties": { "phoneTechType": { "description": "Indicates type of technology associated with this telephone number, such as Voice, Data, Fax, Pager, Mobile, TTY, etc.", "type": "string", "minLength": 0, "maxLength": 20 }, "phoneUseType": { "description": "Describes the type of telephone number, in the context of its general use (e.g. Home, Business, Emergency Contact, Travel Arranger, Day, Evening).", "type": "string", "minLength": 0, "maxLength": 20 }, "phoneUseTypeDescription": { "description": "Description of the PhoneUseType code", "type": "string", "minLength": 0, "maxLength": 2000 }, "phoneNumber": { "description": "Telephone number assigned to a single location.", "type": "string", "minLength": 0, "maxLength": 40 }, "extension": { "description": "Extension to reach a specific party at the phone number.", "type": "string", "minLength": 0, "maxLength": 20 }, "primaryInd": { "description": "When true, indicates a primary information.", "type": "boolean" }, "orderSequence": { "description": "Display Order sequence.", "type": "number" }, "createDateTime": { "description": "Time stamp of the creation.", "type": "string", "format": "date-time" }, "creatorId": { "description": "ID of creator. The creator could be a software system identifier or an identifier of an employee responsible for the creation.", "type": "string", "minLength": 0, "maxLength": 200 }, "lastModifyDateTime": { "description": "Time stamp of last modification.", "type": "string", "format": "date-time" }, "lastModifierId": { "description": "Identifies the last software system or person to modify a record.", "type": "string", "minLength": 0, "maxLength": 200 } } }, "blockOwnershipType": { "type": "string", "description": "Specifies the type of the owner associated with the business block(Block/Rooms/Catering).", "enum": [ "Block", "Rooms", "Catering" ] }, "blockProfilesType": { "type": "object", "description": "A collection of Profile objects or Unique IDs of Profiles.", "properties": { "profileIdList": { "description": "Unique identifiers for the Profile for both internal and external systems. In case of Travel Agent the IATA code and in case of Company can be any form of identifier as id.", "$ref": "#/definitions/uniqueIDListType" }, "profile": { "description": "Provides detailed information regarding either a company or a customer profile.", "$ref": "#/definitions/profileType" }, "primary": { "description": "Is this profile attached to block is primary?", "type": "boolean" }, "blockProfileType": { "description": "Determines the type of the block profile.", "$ref": "#/definitions/blockProfileTypeType" }, "defaultPrint": { "description": "Indicates if profile is printable to customer reports by default.", "type": "boolean" } } }, "uniqueIDListType": { "type": "array", "description": "Unique Id that references an object uniquely in the system.", "maxItems": 4000, "items": { "$ref": "#/definitions/uniqueID_Type" } }, "profileType": { "type": "object", "description": "Type provides the detailed information about the profile and its children.", "properties": { "customer": { "description": "Detailed customer information for this profile.", "$ref": "#/definitions/customerType" }, "company": { "description": "Detailed company information for this profile.", "$ref": "#/definitions/companyType" }, "profileImage": { "description": "The profile image.", "$ref": "#/definitions/imageSetType" }, "addresses": { "description": "List of customer addresses.", "type": "object", "properties": { "addressInfo": { "description": "Collection of Detailed information on an address for the customer.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/addressInfoType" } }, "hasMore": { "description": "Indicates whether all the records are included in the response or not. Absence of the attribute values should be consider as all rows fetched in the response.", "type": "boolean" }, "totalResults": { "description": "Total number of rows queried", "type": "integer" }, "count": { "description": "Total number of rows returned", "type": "integer" } } }, "traceCode": { "description": "Trace Code associated to the profile.", "type": "string", "minLength": 0, "maxLength": 40 }, "ownerCode": { "description": "Owner Code associated to the profile.", "type": "string", "minLength": 0, "maxLength": 40 }, "telephones": { "description": "List of Telephone Number Information", "type": "object", "properties": { "telephoneInfo": { "description": "Collection of Detailed information on telephone/fax for the customer.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/telephoneInfoType" } }, "hasMore": { "description": "Indicates whether all the records are included in the response or not. Absence of the attribute values should be consider as all rows fetched in the response.", "type": "boolean" }, "totalResults": { "description": "Total number of rows queried", "type": "integer" }, "count": { "description": "Total number of rows returned", "type": "integer" } } }, "emails": { "description": "List of email address for the customer.", "type": "object", "properties": { "emailInfo": { "description": "Collection of Detailed information on an eMail address for the customer.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/emailInfoType" } }, "hasMore": { "description": "Indicates whether all the records are included in the response or not. Absence of the attribute values should be consider as all rows fetched in the response.", "type": "boolean" }, "totalResults": { "description": "Total number of rows queried", "type": "integer" }, "count": { "description": "Total number of rows returned", "type": "integer" } } }, "uRLs": { "description": "List of Information on a URL for the customer.", "type": "object", "properties": { "uRLInfo": { "description": "Collection of Detailed information on web url/address for the customer.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/uRLInfoType" } }, "hasMore": { "description": "Indicates whether all the records are included in the response or not. Absence of the attribute values should be consider as all rows fetched in the response.", "type": "boolean" }, "totalResults": { "description": "Total number of rows queried", "type": "integer" }, "count": { "description": "Total number of rows returned", "type": "integer" } } }, "comments": { "description": "List of Notes for the customer.", "type": "object", "properties": { "commentInfo": { "description": "Collection of Detailed information on comments for the customer.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/commentInfoType" } }, "hasMore": { "description": "Indicates whether all the records are included in the response or not. Absence of the attribute values should be consider as all rows fetched in the response.", "type": "boolean" }, "totalResults": { "description": "Total number of rows queried", "type": "integer" }, "count": { "description": "Total number of rows returned", "type": "integer" } } }, "profileDeliveryMethods": { "description": "List of Delivery methods configured against a Property for this Profile.", "type": "object", "properties": { "profileDeliveryMethod": { "description": "Collection of delivery methods for this Profile.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/profileDeliveryMethod" } }, "hasMore": { "description": "Indicates whether all the records are included in the response or not. Absence of the attribute values should be consider as all rows fetched in the response.", "type": "boolean" }, "totalResults": { "description": "Total number of rows queried", "type": "integer" }, "count": { "description": "Total number of rows returned", "type": "integer" } } }, "profileMemberships": { "description": "List of loyalty program(s) the profile is subscribed to.", "type": "object", "properties": { "profileMembership": { "description": "Collection of Detailed information on memberships for the customer.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/profileMembershipType" } }, "hasMore": { "description": "Indicates whether all the records are included in the response or not. Absence of the attribute values should be consider as all rows fetched in the response.", "type": "boolean" }, "totalResults": { "description": "Total number of rows queried", "type": "integer" }, "count": { "description": "Total number of rows returned", "type": "integer" } } }, "preferenceCollection": { "description": "List of customer preferences.", "type": "object", "properties": { "preferenceType": { "description": "Collection of Detailed information on preferences of the customer.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/preferenceTypeType" } }, "hasMore": { "description": "Indicates whether all the records are included in the response or not. Absence of the attribute values should be consider as all rows fetched in the response.", "type": "boolean" }, "totalResults": { "description": "Total number of rows queried", "type": "integer" }, "count": { "description": "Total number of rows returned", "type": "integer" } } }, "relationships": { "description": "Contains a collection of profiles that have a relationship with this profile.", "type": "object", "properties": { "relationship": { "description": "A collection of the profiles that have a relationship with this profile.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/relationshipInfoType" } }, "hasMore": { "description": "Indicates whether all the records are included in the response or not. Absence of the attribute values should be consider as all rows fetched in the response.", "type": "boolean" }, "totalResults": { "description": "Total number of rows queried", "type": "integer" }, "count": { "description": "Total number of rows returned", "type": "integer" } } }, "relationshipsSummary": { "description": "Contains a collection of profiles that have a relationship with this profile.", "type": "object", "properties": { "relationship": { "description": "A collection of the profiles summary that have a relationship with this profile.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/relationshipInfoSummaryType" } }, "hasMore": { "description": "Indicates whether all the records are included in the response or not. Absence of the attribute values should be consider as all rows fetched in the response.", "type": "boolean" }, "totalResults": { "description": "Total number of rows queried", "type": "integer" }, "count": { "description": "Total number of rows returned", "type": "integer" } } }, "reservationInfoList": { "description": "Collection of Detailed information on history and future reservations associated with the profile.", "$ref": "#/definitions/reservationHistoryFutureInfoType" }, "stayReservationInfoList": { "description": "Collection of Detailed information on history and future reservations associated with the profile.", "$ref": "#/definitions/reservationStayHistoryFutureInfoType" }, "lastStayInfo": { "description": "Information on last stay of the profile.", "$ref": "#/definitions/lastStayInfoType" }, "profileRestrictions": { "description": "Detailed information on restrictions associated with the profile.", "$ref": "#/definitions/profileRestrictions" }, "privacyInfo": { "description": "Contains privacy related information associated with the profile", "$ref": "#/definitions/privacyInfoType" }, "cashiering": { "description": "Contains cashiering related details for the profile", "$ref": "#/definitions/profileCashieringType" }, "commissionInfoList": { "description": "Contains commission related details for the profile.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/profileCommissionType" } }, "userDefinedFields": { "description": "Collections of user defined fields.", "$ref": "#/definitions/userDefinedFieldsType" }, "taxInfo": { "description": "Profile information about tax.", "$ref": "#/definitions/profileTaxInfoType" }, "eCertificates": { "description": "E-Certificate assosiated with the profile.", "$ref": "#/definitions/eCertificatesType" }, "roomOwnershipsList": { "description": "Room Ownership records.", "type": "object", "properties": { "roomOwnershipInfo": { "description": "Collection of Detailed information on Room Ownership records.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/roomOwnershipType" } }, "hasMore": { "description": "Indicates whether all the records are included in the response or not. Absence of the attribute values should be consider as all rows fetched in the response.", "type": "boolean" }, "totalResults": { "description": "Total number of rows queried", "type": "integer" }, "count": { "description": "Total number of rows returned", "type": "integer" } } }, "profileType": { "description": "Type of profile such as Guest, Agent, Company, Group, Source, Employee, Hotel, Vendor or Contact.", "$ref": "#/definitions/profileTypeType" }, "statusCode": { "description": "Status of the profile. Active/Inactive", "$ref": "#/definitions/profileStatusType" }, "protectedBy": { "description": "What level this profile is protected.", "type": "string", "minLength": 0, "maxLength": 40 }, "createDateTime": { "description": "Time stamp of the creation.", "type": "string", "format": "date-time" }, "creatorId": { "description": "ID of creator. The creator could be a software system identifier or an identifier of an employee responsible for the creation.", "type": "string", "minLength": 0, "maxLength": 200 }, "lastModifyDateTime": { "description": "Time stamp of last modification.", "type": "string", "format": "date-time" }, "lastModifierId": { "description": "Identifies the last software system or person to modify a record.", "type": "string", "minLength": 0, "maxLength": 200 }, "markAsRecentlyAccessed": { "description": "Mark this profile as recently accessed.", "type": "boolean" }, "hasCommission": { "description": "Populates true if the profile has commission configured false otherwise.", "type": "boolean" }, "showInactiveRoomOwners": { "description": "Flag to show inactive Room Owners.", "type": "boolean" } } }, "customerType": { "type": "object", "description": "Contains basic data on the customer's identity, location, relationships, finances, memberships, etc.", "properties": { "personName": { "description": "Detailed name information for the customer.", "type": "array", "maxItems": 5, "items": { "$ref": "#/definitions/personNameType" } }, "anonymization": { "description": "Provides information about the guest's anonymization status", "$ref": "#/definitions/anonymizationType" }, "identifications": { "description": "List of identification of the customer.", "type": "object", "properties": { "identificationInfo": { "description": "Collection of detailed information on the identification of the customer.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/identificationInfoType" } }, "hasMore": { "description": "Indicates whether all the records are included in the response or not. Absence of the attribute values should be consider as all rows fetched in the response.", "type": "boolean" }, "totalResults": { "description": "Total number of rows queried", "type": "integer" }, "count": { "description": "Total number of rows returned", "type": "integer" } } }, "profession": { "description": "Profession of a person.", "type": "string", "minLength": 0, "maxLength": 80 }, "companyInfo": { "description": "Company Information of the Profile.", "$ref": "#/definitions/companyInfoType" }, "businessTitle": { "description": "Business Title.", "type": "string", "minLength": 0, "maxLength": 80 }, "gender": { "description": "Identifies the profile gender code selected from Gender types List of values. Gender types LOV provides the values configured at gender configuration.", "type": "string", "minLength": 0, "maxLength": 20 }, "birthDate": { "description": "Indicates the date of birth as indicated in the document, in ISO 8601 prescribed format.", "type": "string", "format": "date", "maxLength": 8 }, "birthDateMasked": { "description": "Indicates the date of birth as masked.", "type": "string" }, "currencyCode": { "description": "The code specifying a monetary unit. Use ISO 4217, three alpha code.", "type": "string", "minLength": 0, "maxLength": 20 }, "currencySymbol": { "description": "The symbol for the currency, e.g, for currencyCode USD the symbol is $.", "type": "string", "minLength": 0, "maxLength": 10 }, "decimalPlaces": { "description": "Indicates the number of decimal places for a particular currency. This is equivalent to the ISO 4217 standard \"minor unit\". Typically used when the amount provided includes the minor unit of currency without a decimal point (e.g., USD 8500 needs DecimalPlaces=\"2\" to represent $85).", "type": "integer" }, "language": { "description": "Language identification.", "type": "string", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*" }, "nationality": { "description": "Nationality code identification", "type": "string", "minLength": 0, "maxLength": 20 }, "vipStatus": { "description": "VIP status of the customer.", "type": "string", "minLength": 0, "maxLength": 20 }, "vipDescription": { "description": "Description of the VIP status.", "type": "string", "minLength": 0, "maxLength": 2000 }, "privateProfile": { "description": "This element tells profile is property exclusive or not.", "type": "boolean" }, "blacklist": { "description": "This element tells if profile is blacklisted or not.", "type": "boolean" } } }, "anonymizationType": { "type": "object", "description": "Provides information about guest's anonymization status.", "properties": { "anonymizationStatus": { "description": "Status of anonymization such as Requested or Anonymized.", "$ref": "#/definitions/anonymizationStatusType" }, "anonymizationDate": { "description": "Date and Time when the guest was anonymized.", "type": "string", "format": "date-time" } } }, "anonymizationStatusType": { "type": "string", "description": "Guest has been anonymized.", "enum": [ "Requested", "Anonymized" ] }, "identificationInfoType": { "type": "object", "description": "Information on the identification of the customer.", "properties": { "identification": { "description": "Detailed information on the identification of the customer.", "$ref": "#/definitions/identificationType" }, "id": { "description": "A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.", "type": "string", "minLength": 0, "maxLength": 80 }, "type": { "description": "A reference to the type of object defined by the UniqueID element.", "type": "string", "minLength": 0, "maxLength": 20 }, "idContext": { "description": "Used to identify the source of the identifier (e.g., IATA, ABTA).", "type": "string", "minLength": 0, "maxLength": 80 }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "identificationType": { "type": "object", "description": "Identification information of the customer.", "properties": { "idType": { "description": "Identification Type. Eg Passport, Driving License etc.", "type": "string", "minLength": 0, "maxLength": 40 }, "idNumber": { "description": "Identification Number.", "type": "string", "minLength": 0, "maxLength": 80 }, "idNumberMasked": { "description": "Masked Identification Number.", "type": "string", "minLength": 0, "maxLength": 80 }, "issuedCountry": { "description": "The country where Identification was issued.", "type": "string", "minLength": 0, "maxLength": 20 }, "issuedDate": { "description": "Issued date of Identification.", "type": "string", "format": "date", "maxLength": 8 }, "issuedPlace": { "description": "The place where Identification was issued.", "type": "string", "minLength": 0, "maxLength": 80 }, "expirationDate": { "description": "Expiration date of Identification.", "type": "string", "format": "date", "maxLength": 8 }, "registeredProperty": { "description": "Property where the identification belongs to.", "type": "string", "minLength": 0, "maxLength": 20 }, "primaryInd": { "description": "When true, indicates a primary information.", "type": "boolean" }, "orderSequence": { "description": "Display Order sequence.", "type": "number" } } }, "companyInfoType": { "type": "object", "description": "Company Information of the Profile.", "properties": { "legalCompany": { "description": "Legal Company.", "type": "string", "minLength": 0, "maxLength": 20 }, "department": { "description": "Department of the Profile.", "type": "string", "minLength": 0, "maxLength": 20 }, "position": { "description": "Business Title or Position of the profile.", "type": "string", "minLength": 0, "maxLength": 40 } } }, "companyType": { "type": "object", "properties": { "companyName": { "description": "Name of the company.", "type": "string", "minLength": 0, "maxLength": 40 }, "alternateName": { "description": "Alternate Name of the Company. Mainly, it's the name of the company written in the Alternate Language.", "type": "string", "minLength": 0, "maxLength": 40 }, "currencyCode": { "description": "The code specifying a monetary unit. Use ISO 4217, three alpha code.", "type": "string", "minLength": 0, "maxLength": 20 }, "currencySymbol": { "description": "The symbol for the currency, e.g, for currencyCode USD the symbol is $.", "type": "string", "minLength": 0, "maxLength": 10 }, "decimalPlaces": { "description": "Indicates the number of decimal places for a particular currency. This is equivalent to the ISO 4217 standard \"minor unit\". Typically used when the amount provided includes the minor unit of currency without a decimal point (e.g., USD 8500 needs DecimalPlaces=\"2\" to represent $85).", "type": "integer" }, "language": { "description": "Language identification.", "type": "string", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*" }, "nationality": { "description": "Nationality code identification", "type": "string", "minLength": 0, "maxLength": 20 }, "commissionCode": { "description": "Commission code of the company.", "type": "string", "minLength": 0, "maxLength": 20 }, "vipStatus": { "description": "VIP status of the company.", "type": "string", "minLength": 0, "maxLength": 20 }, "vipDescription": { "description": "Description of the VIP status.", "type": "string", "minLength": 0, "maxLength": 2000 } } }, "imageSetType": { "type": "object", "description": "Represents on image set record.", "properties": { "language": { "description": "Language identification.", "type": "string", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*" }, "imageSet": { "description": "The image set name.", "type": "string", "minLength": 0, "maxLength": 800 }, "sequenceId": { "description": "The image set sequence ID.", "type": "integer" }, "imageStyle": { "description": "The image set enumerated style.", "$ref": "#/definitions/imageStyleType" }, "imageType": { "description": "The image set type.", "type": "string", "minLength": 0, "maxLength": 80 }, "hotelId": { "description": "The image set hotel code.", "type": "string", "minLength": 0, "maxLength": 20 }, "chainCode": { "description": "The image set chain code.", "type": "string", "minLength": 0, "maxLength": 20 }, "imageURL": { "description": "The image set URL.", "type": "string", "minLength": 0, "maxLength": 2000 }, "description": { "description": "The image set description.", "type": "string", "minLength": 0, "maxLength": 2000 }, "imageOrder": { "description": "The image set order.", "type": "integer" }, "website": { "description": "The image set website.", "type": "string", "minLength": 0, "maxLength": 2000 } } }, "imageStyleType": { "type": "string", "description": "An enumeration of image styles.", "enum": [ "Full", "Thumbnail", "Icon", "Square", "Banner", "Button", "Lowres", "Highres" ] }, "addressInfoType": { "type": "object", "description": "Provides address information.", "properties": { "address": { "description": "Address details for the profile.", "$ref": "#/definitions/addressType" }, "id": { "description": "A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.", "type": "string", "minLength": 0, "maxLength": 80 }, "type": { "description": "A reference to the type of object defined by the UniqueID element.", "type": "string", "minLength": 0, "maxLength": 20 }, "idContext": { "description": "Used to identify the source of the identifier (e.g., IATA, ABTA).", "type": "string", "minLength": 0, "maxLength": 80 }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "addressType": { "type": "object", "description": "Provides address information.", "properties": { "isValidated": { "description": "Indicator to define if the Address is validated by the Address Validation System.", "type": "boolean" }, "addressLine": { "description": "When the address is unformatted (FormattedInd=\"false\") these lines will contain free form address details. When the address is formatted and street number and street name must be sent independently, the street number will be sent using StreetNmbr, and the street name will be sent in the first AddressLine occurrence.", "type": "array", "maxItems": 4, "items": { "type": "string", "minLength": 0, "maxLength": 80 } }, "cityName": { "description": "City (e.g., Dublin), town, or postal station (i.e., a postal service territory, often used in a military address).", "type": "string", "minLength": 0, "maxLength": 40 }, "postalCode": { "description": "Post Office Code number.", "type": "string", "minLength": 0, "maxLength": 15 }, "cityExtension": { "description": "Post Office City Extension Code number. City Extension mainly used for UK addresses.", "type": "string", "minLength": 0, "maxLength": 20 }, "county": { "description": "County or District Name (e.g., Fairfax). This is read only.", "type": "string", "minLength": 0, "maxLength": 20 }, "state": { "description": "State or Province name (e.g., Texas).", "type": "string", "minLength": 0, "maxLength": 20 }, "country": { "description": "Country name (e.g., Ireland).", "$ref": "#/definitions/countryNameType" }, "language": { "description": "Language identification.", "type": "string", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*" }, "type": { "description": "Defines the type of address (e.g. home, business, other).", "type": "string", "minLength": 0, "maxLength": 20 }, "typeDescription": { "description": "Describes the type code", "type": "string" }, "primaryInd": { "description": "When true, indicates a primary information.", "type": "boolean" }, "updateReservations": { "description": "Indicates whether to update the reservations or not. If true and the address is primary, then all associated active reservations will be updated with the new primary address.", "type": "boolean" }, "createDateTime": { "description": "Time stamp of the creation.", "type": "string", "format": "date-time" }, "creatorId": { "description": "ID of creator. The creator could be a software system identifier or an identifier of an employee responsible for the creation.", "type": "string", "minLength": 0, "maxLength": 200 }, "lastModifyDateTime": { "description": "Time stamp of last modification.", "type": "string", "format": "date-time" }, "lastModifierId": { "description": "Identifies the last software system or person to modify a record.", "type": "string", "minLength": 0, "maxLength": 200 } } }, "countryNameType": { "type": "object", "description": "Code for a country or a nationality.", "properties": { "value": { "type": "string", "description": "Used for Character Strings, length 0 to 200.", "minLength": 0, "maxLength": 200 }, "code": { "description": "Code for a country or a nationality.", "type": "string", "minLength": 0, "maxLength": 20 } } }, "uRLInfoType": { "type": "object", "description": "Web site address.", "properties": { "url": { "description": "Provides URL information.", "$ref": "#/definitions/uRLType" }, "id": { "description": "A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.", "type": "string", "minLength": 0, "maxLength": 80 }, "type": { "description": "A reference to the type of object defined by the UniqueID element.", "type": "string", "minLength": 0, "maxLength": 20 }, "idContext": { "description": "Used to identify the source of the identifier (e.g., IATA, ABTA).", "type": "string", "minLength": 0, "maxLength": 80 }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "uRLType": { "type": "object", "description": "Web site address, in IETF(The Internet Engineering Task Force) specified format.", "properties": { "value": { "type": "string", "description": "Property Value" }, "type": { "description": "Defines the purpose of the URL address, such as personal, business, public, etc.", "type": "string", "minLength": 0, "maxLength": 20 }, "typeDescription": { "description": "Describes the Type code", "type": "string", "minLength": 0, "maxLength": 2000 }, "primaryInd": { "description": "When true, indicates a primary information.", "type": "boolean" }, "orderSequence": { "description": "Display Order sequence.", "type": "number" } } }, "commentInfoType": { "type": "object", "description": "Comment related to the profile/reservation.", "properties": { "comment": { "description": "Comment details for the comment. It will be empty in case of delete comment.", "$ref": "#/definitions/commentType" }, "createDateTime": { "description": "Time stamp of the creation.", "type": "string", "format": "date-time" }, "creatorId": { "description": "ID of creator. The creator could be a software system identifier or an identifier of an employee responsible for the creation.", "type": "string", "minLength": 0, "maxLength": 200 }, "lastModifyDateTime": { "description": "Time stamp of last modification.", "type": "string", "format": "date-time" }, "lastModifierId": { "description": "Identifies the last software system or person to modify a record.", "type": "string", "minLength": 0, "maxLength": 200 }, "id": { "description": "A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.", "type": "string", "minLength": 0, "maxLength": 80 }, "type": { "description": "A reference to the type of object defined by the UniqueID element.", "type": "string", "minLength": 0, "maxLength": 20 }, "idContext": { "description": "Used to identify the source of the identifier (e.g., IATA, ABTA).", "type": "string", "minLength": 0, "maxLength": 80 }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "commentType": { "type": "object", "description": "An indication of a new paragraph for a sub-section of a formatted text message.", "properties": { "text": { "description": "Formatted text content.", "$ref": "#/definitions/formattedTextTextType" }, "image": { "description": "An image for this paragraph.", "type": "string" }, "url": { "description": "A URL for this paragraph.", "type": "string" }, "commentTitle": { "description": "Specifies Comment's Title.", "type": "string", "minLength": 0, "maxLength": 4000 }, "notificationLocation": { "description": "Notification Location associated with the Note.", "type": "string", "minLength": 0, "maxLength": 20 }, "type": { "description": "Specifies type of the comment.", "type": "string", "minLength": 0, "maxLength": 20 }, "typeDescription": { "description": "Comment type Description.", "type": "string", "minLength": 0, "maxLength": 200 }, "internal": { "description": "When true, the comment may not be shown to the consumer. When false, the comment may be shown to the consumer.", "type": "boolean" }, "confidential": { "description": "When true, the comment may be confidential.", "type": "boolean" }, "overrideInternal": { "description": "When true, the note internal could be modified.", "type": "boolean" }, "protectDescription": { "description": "When true, the note title will be populated from the note type description and couldn't be modified.", "type": "boolean" }, "hotelId": { "description": "If specified comment belongs to the Hotel, otherwise it is a global comment.", "type": "string", "minLength": 0, "maxLength": 20 }, "actionType": { "description": "Specifies type of action described in the comments.", "type": "string", "minLength": 0, "maxLength": 20 }, "actionDate": { "description": "Indicates at which date an action described in the comment must be taken.", "type": "string", "format": "date", "maxLength": 8 }, "createDateTime": { "description": "Time stamp of the creation.", "type": "string", "format": "date-time" }, "creatorId": { "description": "ID of creator. The creator could be a software system identifier or an identifier of an employee responsible for the creation.", "type": "string", "minLength": 0, "maxLength": 200 }, "lastModifyDateTime": { "description": "Time stamp of last modification.", "type": "string", "format": "date-time" }, "lastModifierId": { "description": "Identifies the last software system or person to modify a record.", "type": "string", "minLength": 0, "maxLength": 200 } } }, "formattedTextTextType": { "type": "object", "description": "Provides text and indicates whether it is formatted or not.", "properties": { "value": { "type": "string", "description": "Property Value" }, "language": { "description": "Language identification.", "type": "string", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*" } } }, "profileDeliveryMethod": { "type": "object", "description": "Delivery Information type to the profile.", "properties": { "deliveryId": { "description": "Delivery ID. It will be empty in case of new delivery method.", "$ref": "#/definitions/uniqueID_Type" }, "deliveryType": { "description": "Delivery type can have a value EMAIL, ELECTRONIC etc and it depends on the parameter set in OPERA Control.", "type": "string", "minLength": 0, "maxLength": 20 }, "deliveryValue": { "description": "Delivery value holds the corresponding value of the delivery type..", "type": "string", "minLength": 0, "maxLength": 2000 }, "hotelId": { "description": "Property that has delivery methods configured.", "type": "string", "minLength": 0, "maxLength": 20 }, "deliveryModule": { "description": "Module where this delivery type will be used. Example : EFolio Export, EInvoice , Fiscal, etc..", "$ref": "#/definitions/profileDeliveryModuleType" }, "primaryInd": { "description": "When true, indicates a primary information.", "type": "boolean" }, "orderSequence": { "description": "Display Order sequence.", "type": "number" } } }, "profileDeliveryModuleType": { "type": "string", "description": "Module where this delivery type will be used. Example : EFolio Export, EInvoice , Fiscal, etc..", "enum": [ "EfolioExport" ] }, "profileMembershipType": { "type": "object", "description": "Detailed information of the memberships.", "properties": { "comment": { "description": "Additional comments regarding to the membership.", "$ref": "#/definitions/paragraphType" }, "newMembershipNumber": { "description": "Card Number of the membership.", "type": "string" }, "nameOnCard": { "description": "Name to be displayed on the membership card.", "type": "string" }, "programDescription": { "description": "Description of the membership program.", "type": "string" }, "membershipLevel": { "description": "Indicates the membership level.", "type": "string" }, "membershipLevelDescription": { "description": "Indicates the membership level description.", "type": "string", "minLength": 0, "maxLength": 200 }, "membershipClass": { "description": "Indicates the membership class.", "type": "string" }, "earningPreference": { "description": "Earning preference to the membership.", "$ref": "#/definitions/membershipEarningPreferenceType" }, "inactive": { "description": "Indicates whether membership is active or inactive.", "type": "boolean" }, "benefits": { "description": "benefits for the membership.", "$ref": "#/definitions/benefitsType" }, "tierAdministration": { "description": "Defines the degree of participation for this membership in the tier management portion of the program.", "$ref": "#/definitions/tierAdministrationType" }, "downgrade": { "description": "Defines how downgrading will be handled for this membership.", "$ref": "#/definitions/downgradeType" }, "reIssueNewCard": { "description": "The status of issuing new membership card to the member.", "$ref": "#/definitions/cardReIssueType" }, "excludeFromBatch": { "description": "True if you want to exclude the member from the Membership Fulfillment extract,the member's actions will not be included in the fulfillment extract until this value set to false.", "type": "boolean" }, "upgradeDescription": { "description": "Indicates Upgrade information which includes member's next tier level, requirements for the next upgrade.", "type": "string", "minLength": 0, "maxLength": 32000 }, "downgradeDescription": { "description": "Indicates information regarding the member's possible downgrades.", "type": "string", "minLength": 0, "maxLength": 32000 }, "rating": { "description": "Value Rating Type Description for this membership.", "type": "string" }, "membershipEnrollmentCode": { "description": "Indicates how the guest enrolled in the program.", "type": "string", "minLength": 0, "maxLength": 20 }, "memberStatus": { "description": "Indicates where the guest is in the membership enrollment process.", "type": "string", "minLength": 0, "maxLength": 20 }, "currentPoints": { "description": "Profile MemberShip Points.", "type": "number" }, "pointsLabel": { "description": "Label used to refer to points for this membership type", "type": "string", "minLength": 0, "maxLength": 20 }, "enrollmentSource": { "description": "Source from where the enrollment is done.", "type": "string", "minLength": 0, "maxLength": 20 }, "enrollmentResort": { "description": "Resort/CRO where enrollment is done.", "type": "string", "minLength": 0, "maxLength": 20 }, "preferredCard": { "description": "Preferred Card.", "type": "boolean" }, "membershipId": { "description": "Card Number of the membership.", "type": "string" }, "membershipType": { "description": "Type of membership.", "type": "string" }, "primaryMembershipYn": { "description": "Indicator if Membership is a Primary Membership.", "type": "string", "minLength": 0, "maxLength": 1 }, "primaryMembership": { "description": "Boolean indicator set to True implies membership is a Primary Membership.", "type": "boolean" }, "membershipIdNo": { "description": "Membership ID Number.", "type": "integer" }, "playerRanking": { "description": "Ranking assigned to the Player Profile by the Gaming system.", "type": "integer" }, "centralSetup": { "description": "Indicates how the award points for this membership type will be managed.", "type": "boolean" }, "signupDate": { "description": "Indicates when the member signed up for the loyalty program.", "type": "string", "format": "date", "maxLength": 8 }, "effectiveDate": { "description": "Indicates the starting date.", "type": "string", "format": "date", "maxLength": 8 }, "expireDate": { "description": "Indicates the ending date.", "type": "string", "format": "date", "maxLength": 8 }, "expireDateExclusiveIndicator": { "description": "When true, indicates that the ExpireDate is the first day after the applicable period (e.g. when expire date is Oct 15 the last date of the period is Oct 14).", "type": "boolean" }, "orderSequence": { "description": "Display Order sequence.", "type": "number" }, "createDateTime": { "description": "Time stamp of the creation.", "type": "string", "format": "date-time" }, "creatorId": { "description": "ID of creator. The creator could be a software system identifier or an identifier of an employee responsible for the creation.", "type": "string", "minLength": 0, "maxLength": 200 }, "lastModifyDateTime": { "description": "Time stamp of last modification.", "type": "string", "format": "date-time" }, "lastModifierId": { "description": "Identifies the last software system or person to modify a record.", "type": "string", "minLength": 0, "maxLength": 200 }, "purgeDate": { "description": "Date an item will be purged from a database (e.g., from a live database to an archive).", "type": "string", "format": "date", "maxLength": 8 } } }, "paragraphType": { "type": "object", "description": "An indication of a new paragraph for a sub-section of a formatted text message.", "properties": { "text": { "description": "Formatted text content.", "$ref": "#/definitions/formattedTextTextType" }, "image": { "description": "An image for this paragraph.", "type": "string" }, "url": { "description": "A URL for this paragraph.", "type": "string" } } }, "membershipEarningPreferenceType": { "type": "string", "description": "The earning preference of a membership, it depends on the type of property. eg. when the property is a airline it should be Miles, other than Points.", "enum": [ "Points", "Miles" ] }, "benefitsType": { "type": "array", "description": "Basic information about membership benefit.", "maxItems": 4000, "items": { "$ref": "#/definitions/benefitType" } }, "benefitType": { "type": "object", "description": "Basic information about membership benefit.", "properties": { "code": { "description": "Benefit code associated with a membership.", "type": "string", "minLength": 0, "maxLength": 20 }, "message": { "description": "Processing message for membership benefit.", "type": "string", "minLength": 0, "maxLength": 4000 }, "inactive": { "description": "Indicates whether membership benefit is active or inactive.", "type": "boolean" } } }, "tierAdministrationType": { "type": "string", "description": "Do not upgrade membership. The membership may be downgraded.", "enum": [ "Disabled", "NoUpgrade" ] }, "downgradeType": { "type": "string", "description": "Do not downgrade membership when the next downgrade process runs. When the downgrade process runs, the membership will be automatically set to Grace.", "enum": [ "Grace", "Never", "Period" ] }, "cardReIssueType": { "type": "string", "description": "Request to re issue a new card.", "enum": [ "Pending", "NotApplicable", "Requested" ] }, "preferenceTypeType": { "type": "object", "description": "Preference details for the profile.", "properties": { "preference": { "description": "Collection of Preferences for the profile.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/preferenceType" } }, "preferenceType": { "description": "Preference group code.", "type": "string", "minLength": 0, "maxLength": 20 }, "preferenceTypeDescription": { "description": "Preference group description.", "type": "string" }, "sequence": { "description": "Preference Sequence.", "type": "string" }, "maxQuantity": { "description": "Maximum quantity of preferences allowed per preference group.", "type": "integer" }, "availableQuantity": { "description": "Available quantity of preferences (maximum quantity - Existing preferences)per preference group.", "type": "integer" }, "maxResortUsedQuantity": { "description": "Maximum quantity of preferences used by any resort per preference group.", "type": "integer" }, "reservationPreference": { "description": "Whether this preference is reservation preference or not.", "type": "boolean" }, "createDateTime": { "description": "Time stamp of the creation.", "type": "string", "format": "date-time" }, "creatorId": { "description": "ID of creator. The creator could be a software system identifier or an identifier of an employee responsible for the creation.", "type": "string", "minLength": 0, "maxLength": 200 }, "lastModifyDateTime": { "description": "Time stamp of last modification.", "type": "string", "format": "date-time" }, "lastModifierId": { "description": "Identifies the last software system or person to modify a record.", "type": "string", "minLength": 0, "maxLength": 200 }, "purgeDate": { "description": "Date an item will be purged from a database (e.g., from a live database to an archive).", "type": "string", "format": "date", "maxLength": 8 } } }, "preferenceType": { "type": "object", "description": "Guest Preference details for the profile.", "properties": { "preferenceValue": { "description": "Preference value for display purposes.", "type": "string", "minLength": 0, "maxLength": 200 }, "description": { "description": "Preference Description for display purposes.", "type": "string", "minLength": 0, "maxLength": 2000 }, "global": { "description": "Whether this preference is property specific or not.", "type": "boolean" }, "source": { "description": "Source of the preference.", "type": "string", "minLength": 0, "maxLength": 40 }, "hotels": { "description": "If specified preference belongs to the Hotels listed, otherwise it is a global preference.", "type": "array", "maxItems": 4000, "items": { "type": "string", "minLength": 0, "maxLength": 20 } }, "preferenceCode": { "type": "string", "minLength": 0, "maxLength": 20 }, "excludedPreferencesCount": { "description": "Specifies the count of preferences excluded for the attached reservation preference.", "type": "integer" }, "copyToProfile": { "description": "Specifies whether to copy the reservation preference to the profile or not.", "type": "boolean" } } }, "relationshipInfoType": { "type": "object", "description": "Relationship Type contains information about the associations between and among individuals, companies, travel agents, groups, sources, and contact profiles.", "properties": { "relationshipProfile": { "description": "Refer to Relationship Profile type document.", "$ref": "#/definitions/relationshipProfileType" }, "id": { "description": "Relationship identifier.", "type": "string", "minLength": 0, "maxLength": 80 }, "relation": { "description": "Indicates the type of relationship the current profile(Source Profile) has with the related profile(Target Profile).", "type": "string", "minLength": 0, "maxLength": 20 }, "targetRelation": { "description": "Displays the type of relationship the Related profile(Target Profile) has with the current profile(Source Profile).", "type": "string", "minLength": 0, "maxLength": 20 } } }, "relationshipProfileType": { "type": "object", "properties": { "customer": { "description": "Detailed information of the customer", "$ref": "#/definitions/customerType" }, "company": { "description": "Detailed information of the Company.", "$ref": "#/definitions/companyType" }, "telephone": { "description": "Information on telephone details for the customer/company", "$ref": "#/definitions/telephoneInfoType" }, "address": { "description": "Information on address details for the customer/company", "$ref": "#/definitions/addressInfoType" }, "email": { "description": "Information on email address for the customer/company", "$ref": "#/definitions/emailInfoType" }, "uRLs": { "description": "Information on web url/address for the customer/company", "$ref": "#/definitions/uRLInfoType" }, "primaryOwner": { "description": "Primary Owner of the profile", "$ref": "#/definitions/ownerType" }, "profileIdList": { "description": "Original profile details for which the relationships was created", "$ref": "#/definitions/uniqueIDListType" }, "primary": { "description": "Indicates if this relationship is the primary relationship.", "type": "string", "minLength": 0, "maxLength": 20 }, "id": { "description": "Relationship identifier.", "type": "string", "minLength": 0, "maxLength": 80 }, "statusCode": { "description": "Status of the profile. Active/Inactive", "$ref": "#/definitions/profileStatusType" }, "profileType": { "description": "Type of profile such as Guest, Agent, Company, Group, Source, Employee, Hotel, Vendor or Contact.", "$ref": "#/definitions/profileTypeType" } } }, "ownerType": { "type": "object", "description": "Generic type for information about an owner.", "properties": { "hotel": { "description": "Hotel to which the owner belongs to.", "$ref": "#/definitions/codeDescriptionType" }, "userId": { "description": "Unique application user ID.", "$ref": "#/definitions/uniqueID_Type" }, "userName": { "description": "Unique application user name of the owner.", "type": "string", "minLength": 0, "maxLength": 40 }, "ownerCode": { "description": "Unique Code to identify the owner.", "type": "string", "minLength": 0, "maxLength": 20 }, "profileId": { "description": "Unique owner profile information.", "$ref": "#/definitions/profileId" }, "name": { "description": "Provides name information of the owner.", "$ref": "#/definitions/personNameType" }, "department": { "description": "Department to which the owner belongs to.", "$ref": "#/definitions/codeDescriptionType" }, "email": { "description": "Email information of the owner.", "$ref": "#/definitions/emailInfoType" }, "phone": { "description": "Information on the telephone number of the owner.", "$ref": "#/definitions/telephoneInfoType" }, "relationship": { "description": "Relationship of the owner within the profile or block.", "$ref": "#/definitions/codeDescriptionType" }, "primary": { "description": "When true, this is a primary owner.", "type": "boolean" } } }, "profileStatusType": { "type": "string", "enum": [ "Active", "Inactive" ] }, "profileTypeType": { "type": "string", "description": "The types of Profile handled by the web service.", "enum": [ "Guest", "Agent", "Company", "Group", "Source", "Employee", "Hotel", "Vendor", "Contact", "Purge", "BusinessHeader", "BillingAccount", "Activity", "Potential", "Account" ] }, "relationshipInfoSummaryType": { "type": "object", "description": "RelationshipInfoSummaryType contains information about the associations between and among individuals, companies, travel agents, groups, sources, and contact profiles.", "properties": { "relationshipProfile": { "description": "Refer to Relationship Profile Summary type document.", "$ref": "#/definitions/relationshipProfileSummaryType" }, "masterAccountDetails": { "description": "Refer to Master Profile type document.", "$ref": "#/definitions/masterAccountInfoType" }, "relationshipID": { "description": "Relationship identifier.", "type": "string", "minLength": 0, "maxLength": 80 }, "sourceRelation": { "description": "Indicates the type of relationship the current profile(Source Profile) has with the related profile(Target Profile).", "type": "string", "minLength": 0, "maxLength": 20 }, "sourceRelationDescription": { "description": "Displays the description of relationship the current profile(Source Profile) has with the related profile(Target Profile).", "type": "string", "minLength": 0, "maxLength": 200 }, "targetRelation": { "description": "Displays the type of relationship the Related profile(Target Profile) has with the current profile(Source Profile).", "type": "string", "minLength": 0, "maxLength": 20 }, "targetRelationDescription": { "description": "Displays the description of the target relation(Target Profile).", "type": "string", "minLength": 0, "maxLength": 200 } } }, "relationshipProfileSummaryType": { "type": "object", "properties": { "customerName": { "description": "Name of the customer", "type": "string", "minLength": 0, "maxLength": 40 }, "companyName": { "description": "Name of the company.", "type": "string", "minLength": 0, "maxLength": 40 }, "telephoneNumber": { "description": "Telephone number assigned to a single location", "type": "string", "minLength": 0, "maxLength": 40 }, "address": { "description": "Information on address details for the customer/company", "$ref": "#/definitions/relationshipAddressType" }, "emailAddress": { "description": "Defines the e-mail address.", "type": "string", "minLength": 0, "maxLength": 2000 }, "ownerCode": { "description": "Unique Code to identify the owner.", "type": "string", "minLength": 0, "maxLength": 20 }, "profileIdList": { "description": "Original profile details for which the relationships was created", "$ref": "#/definitions/uniqueIDListType" }, "primary": { "description": "Indicates if this relationship is the primary relationship.", "type": "boolean" }, "profileStatus": { "description": "Status of the profile. Active/Inactive", "$ref": "#/definitions/profileStatusType" }, "primaryOwnerCode": { "description": "When true, this is a primary owner.", "type": "boolean" }, "profileType": { "description": "Type of profile such as Guest, Agent, Company, Group, Source, Employee, Hotel, Vendor or Contact.", "$ref": "#/definitions/profileTypeType" } } }, "relationshipAddressType": { "type": "object", "description": "Provides address information for a Relationship.", "properties": { "addressLine": { "description": "When the address is unformatted (FormattedInd=\"false\") these lines will contain free form address details. When the address is formatted and street number and street name must be sent independently, the street number will be sent using StreetNmbr, and the street name will be sent in the first AddressLine occurrence.", "type": "array", "maxItems": 4, "items": { "type": "string", "minLength": 0, "maxLength": 80 } }, "city": { "description": "City (e.g., Dublin), town, or postal station (i.e., a postal service territory, often used in a military address).", "type": "string", "minLength": 0, "maxLength": 40 }, "postalCode": { "description": "Post Office Code number.", "type": "string", "minLength": 0, "maxLength": 15 }, "state": { "description": "State or Province name (e.g., Texas).", "type": "string", "minLength": 0, "maxLength": 20 }, "country": { "description": "Country name (e.g., Ireland).", "type": "string", "minLength": 0, "maxLength": 200 } } }, "masterAccountInfoType": { "type": "object", "properties": { "masterAccountId": { "description": "Unique ID of the Master account.", "$ref": "#/definitions/uniqueID_Type" }, "masterAccountName": { "description": "Name of the Master account.", "type": "string", "minLength": 0, "maxLength": 40 } } }, "reservationHistoryFutureInfoType": { "type": "object", "description": "Information of History and Future Reservation details attached to Profiles.", "properties": { "historyList": { "description": "Refer to History list type document.", "$ref": "#/definitions/historyListType" }, "futureList": { "description": "Refer to Future list type document.", "$ref": "#/definitions/futureListType" } } }, "historyListType": { "type": "object", "description": "A collection of reservation history details attached to Profiles.", "properties": { "reservationInfo": { "description": "Additional reservation information attached to the profile . Eg : History reservation details", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/reservationInfoType" } }, "hasMore": { "description": "Indicates whether all the records are included in the response or not. Absence of the attribute values should be consider as all rows fetched in the response.", "type": "boolean" }, "totalResults": { "description": "Total number of rows queried", "type": "integer" }, "count": { "description": "Total number of rows returned", "type": "integer" } } }, "reservationInfoType": { "type": "object", "description": "The Reservation class contains the current reservation being created or altered.", "properties": { "reservationIdList": { "description": "Unique identifiers for the reservation for both internal and external systems", "$ref": "#/definitions/reservationIdList" }, "externalReferences": { "description": "External Reference information for Reservation.", "$ref": "#/definitions/externalReferencesType" }, "roomStay": { "description": "Collection of room stays.", "$ref": "#/definitions/stayInfoType" }, "reservationGuest": { "description": "Collection of guests associated with the reservation.", "$ref": "#/definitions/resGuestInfoType" }, "sharedGuests": { "description": "Collection of guests who share this reservation.", "$ref": "#/definitions/resSharedGuestListType" }, "attachedProfiles": { "description": "List of attached profiles", "$ref": "#/definitions/resAttachedProfileListType" }, "reservationPaymentMethod": { "description": "Payment method used for this reservation", "$ref": "#/definitions/reservationPaymentMethodType" }, "reservationFolioWindows": { "description": "Collection of reservation folio windows.", "$ref": "#/definitions/reservationFolioWindowsType" }, "specials": { "description": "Set of reservation preferences which belongs to the Specials group.", "type": "string", "minLength": 0, "maxLength": 4000 }, "lastPrivacyPromptDate": { "description": "Last Privacy Prompt Date", "type": "string", "format": "date", "maxLength": 8 }, "displayColor": { "description": "Color setting of the reservation.", "type": "string", "minLength": 0, "maxLength": 20 }, "reservationIndicators": { "description": "Indicators of additional information attached to the reservation", "$ref": "#/definitions/indicatorsType" }, "roomStatus": { "description": "Current room status", "$ref": "#/definitions/housekeepingRoomStatusType" }, "searchMatches": { "description": "Super Search matching terms.", "$ref": "#/definitions/searchMatchesType" }, "sourceOfSale": { "description": "Point of Sale of reservation. Identifies the entity/channel who made the reservation.", "$ref": "#/definitions/sourceOfSaleType" }, "waitlist": { "description": "Information regarding why reservation has been/was waitlisted. This could hold information as history even if reservation is not in Waitlist status anymore.", "$ref": "#/definitions/waitlistResType" }, "queue": { "description": "Information about the time and duration this reservation was on Queue for Checkin.", "$ref": "#/definitions/reservationQueueInformationType" }, "housekeeping": { "description": "Information regarding housekeeping for this reservation.", "$ref": "#/definitions/resHousekeepingType" }, "cashiering": { "description": "Holds cashiering related information for the reservation.", "$ref": "#/definitions/resCashieringType" }, "taxType": { "description": "This stores the code for the type of tax calculation especially with tax exemption, etc.", "$ref": "#/definitions/taxTypeType" }, "deposit": { "description": "Holds reservation deposit information.", "$ref": "#/definitions/reservationDepositType" }, "allowedActions": { "description": "Collection of reservation allowed actions.", "$ref": "#/definitions/reservationAllowedActionsType" }, "revenuesAndBalances": { "description": "Revenues and Balances Amount summary for the reservation.", "$ref": "#/definitions/resRevenueBalanceType" }, "hotelInterfaceStatusList": { "description": "Collection of Hotel Interfaces and rights, this is populated only when fetching interface status for rooms.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/reservationInterfaceStatusType" } }, "guestPreferredCurrency": { "description": "Currency code preferred by guest.", "type": "string", "minLength": 0, "maxLength": 20 }, "turndownInfo": { "description": "Currency code preferred by guest.", "$ref": "#/definitions/reservationTurndownInfoType" }, "mobileNotifications": { "description": "Denotes the status of Room Ready, Key Ready messages.", "$ref": "#/definitions/resMobileNotificationsType" }, "reservationCommunication": { "description": "Collection of reservation communication details.", "$ref": "#/definitions/resCommunicationType" }, "advanceCheckIn": { "description": "Information relating to Reservation's Advance Checked In state and Expected Time of Return", "$ref": "#/definitions/advanceCheckInType" }, "welcomeOffer": { "description": "This flag will determine wheather the reservation is eligible for Welcome Offer or not.", "type": "boolean" }, "cancellationInfo": { "description": "Information regarding why reservation has been/was cancelled.", "type": "object", "properties": { "description": { "type": "string", "minLength": 0, "maxLength": 2000 }, "code": { "type": "string", "minLength": 0, "maxLength": 20 }, "date": { "description": "Date when reservation was last cancelled.", "type": "string", "format": "date", "maxLength": 8 } } }, "keyCount": { "description": "Number of keys created for the reservation.", "type": "integer" }, "hotelId": { "type": "string", "minLength": 0, "maxLength": 20 }, "hotelName": { "type": "string", "minLength": 0, "maxLength": 80 }, "expectedServiceTime": { "type": "string", "minLength": 0, "maxLength": 20 }, "roomStayReservation": { "description": "Boolean True if this reservation is reserving rooms. False if it is only reserving services.", "type": "boolean" }, "createDateTime": { "description": "Time stamp of the creation.", "type": "string", "format": "date-time" }, "creatorId": { "description": "ID of creator. The creator could be a software system identifier or an identifier of an employee responsible for the creation.", "type": "string", "minLength": 0, "maxLength": 200 }, "lastModifyDateTime": { "description": "Time stamp of last modification.", "type": "string", "format": "date-time" }, "lastModifierId": { "description": "Identifies the last software system or person to modify a record.", "type": "string", "minLength": 0, "maxLength": 200 }, "purgeDate": { "description": "Date an item will be purged from a database (e.g., from a live database to an archive).", "type": "string", "format": "date", "maxLength": 8 }, "reservationStatus": { "description": "Indicates the status of the reservation.", "$ref": "#/definitions/pMS_ResStatusType" }, "computedReservationStatus": { "description": "Indicates the status of the reservation.", "$ref": "#/definitions/pMS_ResStatusType" }, "walkInIndicator": { "description": "When true, indicates the reservation is for a guest that walks-in without a reservation. When false, the reservation is not a walk-in.", "type": "boolean" }, "accessRestriction": { "description": "Indicates user restriction on the reservation based on the Access exclusion functionality such as Restriction on Changes, Cancellation or both.", "$ref": "#/definitions/resAccessRestrictionType" }, "commissionPayoutTo": { "description": "If not null, reservation is considered to pay out commission to either Travel Agent, Source or both.", "$ref": "#/definitions/commissionPayoutToType" }, "paymentMethod": { "description": "Payment Method.", "type": "string", "minLength": 0, "maxLength": 20 }, "preRegistered": { "description": "Defines if the reservation is pre-registered or not.", "type": "boolean" }, "openFolio": { "description": "Returns true when reservation has an open folio.", "type": "boolean" }, "allowMobileCheckout": { "description": "Flag containing true or false value for reservation to be eligible for self-checkout by guest using mobile device . Pass the 'true' or 'false' values when creating / modifying reservation to indicate whether a reservation is eligible for mobile checkout yes / no. Upon fetch, the current state of the flag will show true or false.", "type": "boolean" }, "allowMobileViewFolio": { "description": "Attribute AllowMobileViewFolio is set to true when the reservation is eligible for viewing folio using mobile device.", "type": "boolean" }, "optedForCommunication": { "description": "Attribute OptedForCommunication is set to true when the guest has opted for receiving communicationsl related to the reservation.", "type": "boolean" } } }, "reservationIdList": { "type": "array", "description": "Unique Id that references an object uniquely in the system.", "maxItems": 4000, "items": { "$ref": "#/definitions/uniqueID_Type" } }, "stayInfoType": { "type": "object", "description": "Details on the Room Stay including Guest Counts, Time Span of this Room Stay, pointers to Res Guests, guest Memberships, Comments and Special Requests pertaining to this particular Room Stay and finally financial information related to the Room Stay, including Guarantee, Deposit and Payment and Cancellation Penalties.", "properties": { "arrivalDate": { "type": "string", "format": "date" }, "departureDate": { "type": "string", "format": "date" }, "originalTimeSpan": { "description": "The Original Time Span covers the Room Stay dates of the original reservation.", "$ref": "#/definitions/timeSpanType" }, "expectedTimes": { "description": "The expected arrival, return and departure times of the guest.", "$ref": "#/definitions/resExpectedTimesType" }, "adultCount": { "description": "A collection of Guest Counts associated with Room Stay.", "type": "integer" }, "childCount": { "description": "A collection of Child Counts associated with Room Stay.", "type": "integer" }, "roomClass": { "description": "Room class code", "type": "string", "minLength": 0, "maxLength": 20 }, "roomType": { "description": "Room type code", "type": "string", "minLength": 0, "maxLength": 20 }, "componentRoomType": { "description": "True indicates room type is a component type.", "type": "boolean" }, "numberOfRooms": { "description": "Room Id", "type": "integer" }, "roomId": { "description": "Room Id", "type": "string", "minLength": 0, "maxLength": 20 }, "ratePlanCode": { "description": "Rate plan code", "type": "string", "minLength": 0, "maxLength": 20 }, "rateAmount": { "description": "Rate amount", "$ref": "#/definitions/currencyAmountType" }, "points": { "description": "The Points contains the number of points used to book a particular room type.", "$ref": "#/definitions/pointsType" }, "rateSuppressed": { "description": "Whether this rate should be suppressed from view", "type": "boolean" }, "reservationBlock": { "description": "Key information about the block for this reservation.", "$ref": "#/definitions/reservationBlockType" }, "bookingChannelCode": { "description": "Booking channel code", "type": "string", "minLength": 0, "maxLength": 20 }, "linkCode": { "description": "Party code", "type": "string", "maxLength": 2000 }, "fixedRate": { "description": "True if the rate is a fixed rate, otherwise false", "type": "boolean" }, "totalAmount": { "description": "The total amount charged for the Room Stay including additional occupant amounts and fees. If TaxInclusive is set to True, then taxes are included in the total amount.", "$ref": "#/definitions/currencyAmountType" }, "guarantee": { "description": "The guarantee information associated to the Room Stay. A maximum of 5 occurances are available for use depending on the context.", "$ref": "#/definitions/resGuaranteeType" }, "promotion": { "description": "Promotion Codes", "$ref": "#/definitions/promotionType" }, "marketCode": { "description": "Market code", "type": "string", "minLength": 0, "maxLength": 20 }, "marketDescription": { "description": "Description of Market code", "type": "string", "minLength": 0, "maxLength": 4000 }, "sourceCode": { "description": "Source of business", "type": "string", "minLength": 0, "maxLength": 20 }, "sourceCodeDescription": { "description": "Description of the source of business.", "type": "string", "minLength": 0, "maxLength": 4000 }, "balance": { "description": "Balance amount", "$ref": "#/definitions/currencyAmountType" }, "compBalance": { "description": "Comp Balance amount", "$ref": "#/definitions/currencyAmountType" }, "roomTypeCharged": { "description": "Room type code that was charged", "type": "string", "minLength": 0, "maxLength": 20 }, "depositPayments": { "description": "A collection of deposit and/or payments for the Room Stay.", "$ref": "#/definitions/currencyAmountType" }, "guestServiceStatus": { "description": "Service Status of In House guest like DND or MUP", "$ref": "#/definitions/guestHousekeepingServiceRequestType" }, "scheduledCheckoutTime": { "description": "Indicates that this reservation is scheduled for automated check out.", "type": "string", "format": "date" }, "roomNumberLocked": { "description": "When true, indicates a room number cannot be changed. When false, indicates a room number may be changed.", "type": "boolean" }, "pseudoRoom": { "description": "True indicates as pseudo room type. This is usually used for a posting master reservation.", "type": "boolean" }, "assignedByAI": { "description": "Represents the room was assigned by AI Room Assignment.", "type": "boolean" }, "upgradedByAI": { "description": "Represents the room was assigned by AI Room Assignment.", "type": "boolean" } } }, "resExpectedTimesType": { "type": "object", "description": "Holds the Arrival and Departure Time Information", "properties": { "reservationExpectedArrivalTime": { "description": "Arrival Time", "type": "string", "format": "date-time" }, "reservationExpectedDepartureTime": { "description": "Departure Time", "type": "string", "format": "date-time" } } }, "currencyAmountType": { "type": "object", "description": "A monetary value expressed with a currency code.", "properties": { "amount": { "description": "A monetary amount.", "type": "number" }, "currencyCode": { "description": "Provides a currency code to reflect the currency in which an amount may be expressed.", "type": "string", "minLength": 3, "maxLength": 3 } } }, "pointsType": { "type": "object", "description": "The Redeem Points contains the number of points required to book a room type.", "properties": { "awardsType": { "description": "Awards type for the award type rate code.", "type": "string" }, "points": { "description": "No of points required to book this Room Stay.", "type": "integer" } } }, "reservationBlockType": { "type": "object", "description": "Key information about the block for a reservation.", "properties": { "blockIdList": { "description": "Collection of unique block identifiers for the reservation.", "$ref": "#/definitions/blockIdList" }, "blockName": { "description": "The Name of the block that is attached to the reservation.", "type": "string", "minLength": 0, "maxLength": 40 }, "hotelId": { "description": "This is the HotelCode of the Block.", "type": "string", "minLength": 0, "maxLength": 20 } } }, "resGuaranteeType": { "type": "object", "description": "Validations type record returned after Validations are done.", "properties": { "guaranteeCode": { "description": "Guarantee Code.", "type": "string", "minLength": 0, "maxLength": 20 }, "shortDescription": { "description": "Guarantee Code.", "type": "string", "minLength": 0, "maxLength": 80 }, "onHold": { "description": "Guarantee Code.", "type": "boolean" } } }, "promotionType": { "type": "object", "description": "Type to specify a rate promotion. Usually attached to a reservation to indicate a specific promotion is applied to the reservation.", "properties": { "promotionCode": { "description": "Promotion code associated with the rate plan.", "type": "string", "minLength": 0, "maxLength": 20 }, "promotionName": { "description": "Promotion code Name associated with the rate plan.", "type": "string", "minLength": 0, "maxLength": 20 }, "couponCode": { "description": "Promotion Coupon Code when promotion is setup to have a valid coupon code.", "type": "string", "minLength": 0, "maxLength": 40 } } }, "guestHousekeepingServiceRequestType": { "type": "string", "description": "Possible values for the Guest Service Status.", "enum": [ "DoNotDisturb", "MakeUpRoom", "NoStatusSelected" ] }, "resGuestInfoType": { "type": "object", "description": "Specifies Company or Travel Agent profile using IATA or Corp. No.", "properties": { "membership": { "description": "The Membership object identifying the frequent customer reward program.", "$ref": "#/definitions/membershipInfoType" }, "namePrefix": { "description": "Salutation of honorific. (e.g., Mr. Mrs., Ms., Miss, Dr.)", "$ref": "#/definitions/namePrefixType" }, "givenName": { "description": "Given name, first name or names", "$ref": "#/definitions/givenNameType" }, "alternateGivenName": { "description": "Alternate given name, first name or names", "type": "string", "minLength": 0, "maxLength": 40 }, "middleName": { "description": "The middle name of the person name", "type": "string", "minLength": 0, "maxLength": 40 }, "surnamePrefix": { "description": "e.g \"van der\", \"von\", \"de\"", "type": "string", "minLength": 0, "maxLength": 20 }, "surname": { "description": "Family name, last name.", "$ref": "#/definitions/surnameType" }, "alternateSurname": { "description": "Alternate family name, last name.", "type": "string", "minLength": 0, "maxLength": 40 }, "nameSuffix": { "description": "Hold various name suffixes and letters (e.g. Jr., Sr., III, Ret., Esq.).", "type": "string", "minLength": 0, "maxLength": 20 }, "nameTitle": { "description": "Degree or honors (e.g., Ph.D., M.D.)", "type": "string", "minLength": 0, "maxLength": 20 }, "fullName": { "description": "Full display name", "type": "string" }, "alternateFullName": { "description": "Altername full display name", "type": "string" }, "phoneNumber": { "description": "Phone number", "$ref": "#/definitions/phoneNumberType" }, "email": { "description": "Email address", "$ref": "#/definitions/basicEmailType" }, "birthDate": { "description": "Date of birth", "type": "string", "format": "date", "maxLength": 8 }, "language": { "description": "Language identification.", "type": "string", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*" }, "nationality": { "description": "Affiliation or ethnicity to a particular country.", "$ref": "#/definitions/countryNameType" }, "vip": { "description": "The supplier's ranking of the customer (e.g., VIP, numerical ranking).", "$ref": "#/definitions/vIPType" }, "address": { "description": "Address information that is attached to the reservation guest", "$ref": "#/definitions/addressSearchType" }, "anonymization": { "description": "Provides information about the guest's anonymization status", "$ref": "#/definitions/anonymizationType" }, "accompanyGuests": { "description": "List of guest names that are accompanying the reservation guest", "$ref": "#/definitions/resAccompanyGuestListType" }, "externalInfo": { "description": "External information about the guest associated with the reservation.", "$ref": "#/definitions/resGuestExternalInfoType" }, "guestLastStayInfo": { "description": "Contains information regarding the last stay of this guest.", "$ref": "#/definitions/guestLastStayInfoType" }, "guestRestrictedCode": { "description": "Guest profile restricted reason code", "type": "string" }, "guestRestrictedReasonDesc": { "description": "Guest profile restricted reason description", "type": "string" }, "guestRestricted": { "description": "True indicates there are restrictions associated with the current profile.", "type": "boolean" }, "registrationCardNo": { "description": "Unique identifier of the police registration card number.", "type": "string", "minLength": 0, "maxLength": 40 }, "nameType": { "$ref": "#/definitions/nameTypeType" }, "id": { "description": "A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.", "type": "string", "minLength": 0, "maxLength": 80 }, "type": { "description": "A reference to the type of object defined by the UniqueID element.", "type": "string", "minLength": 0, "maxLength": 20 }, "idContext": { "description": "Used to identify the source of the identifier (e.g., IATA, ABTA).", "type": "string", "minLength": 0, "maxLength": 80 }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "membershipInfoType": { "type": "object", "description": "The Membership object identifies the frequent customer reward program.", "properties": { "membershipId": { "description": "Membership ID (Unique ID from the memberships table).", "type": "number" }, "programCode": { "description": "The code or name of the membership program ('Hertz', 'AAdvantage', etc.).", "type": "string", "minLength": 0, "maxLength": 20 }, "bonusCode": { "description": "The code or name of the bonus program. BonusCode can be used to indicate the level of membership (Gold Club, Platinum member, etc.)", "type": "string", "minLength": 0, "maxLength": 20 }, "membershipTypeDesc": { "description": "The description of the ProgramCode.(Delta Previlige for code DP)", "type": "string", "minLength": 0, "maxLength": 2000 }, "membershipLevelDesc": { "description": "The description of the Bonus Code.(Platinum for code P)", "type": "string", "minLength": 0, "maxLength": 2000 }, "accountId": { "description": "The account identification number for this particular member in this particular program.", "type": "string", "minLength": 0, "maxLength": 50 }, "membershipLevel": { "description": "The code or name of the membership level and indicates the level of membership (Gold Club, Platinum member, etc.). This is same as the BonusCode.", "type": "string", "minLength": 0, "maxLength": 20 }, "playerRanking": { "description": "Ranking assigned to the Player Profile by the Gaming system.", "type": "integer" } } }, "namePrefixType": { "type": "string", "description": "Salutation of honorific. (e.g., Mr. Mrs., Ms., Miss, Dr.)", "minLength": 0, "maxLength": 40 }, "givenNameType": { "type": "string", "description": "Given name, first name or names", "minLength": 0, "maxLength": 40 }, "surnameType": { "type": "string", "description": "Family name, last name.", "minLength": 0, "maxLength": 40 }, "phoneNumberType": { "type": "string", "description": "Phone number", "minLength": 0, "maxLength": 40 }, "basicEmailType": { "type": "string", "description": "Email address", "minLength": 0, "maxLength": 2000 }, "vIPType": { "type": "object", "description": "The supplier's ranking of the customer.", "properties": { "vipCode": { "description": "VIP Code.", "type": "string", "minLength": 0, "maxLength": 20 }, "vipDescription": { "description": "VIP Description.", "type": "string", "minLength": 0, "maxLength": 80 } } }, "addressSearchType": { "type": "object", "description": "Address Details such as city, state, country, postal code etc.", "properties": { "cityName": { "description": "City (e.g., Dublin), town, or postal station (i.e., a postal service territory, often used in a military address).", "type": "string", "minLength": 0, "maxLength": 40 }, "postalCode": { "description": "Post Office Code number.", "type": "string", "minLength": 0, "maxLength": 15 }, "state": { "description": "State or Province name (e.g., Texas).", "type": "string", "minLength": 0, "maxLength": 20 }, "country": { "description": "Country name (e.g., Ireland).", "$ref": "#/definitions/countryNameType" }, "streetAddress": { "description": "First Line of Street Address. For profile search it matches the first Address line.", "type": "string", "minLength": 0, "maxLength": 80 }, "excludeNoCity": { "description": "When true indicates that only profiles with city will be fetched.", "type": "boolean" } } }, "resAccompanyGuestListType": { "type": "array", "description": "Collection of accompany guests", "maxItems": 4000, "items": { "$ref": "#/definitions/resAccompanyGuestInfoType" } }, "resAccompanyGuestInfoType": { "type": "object", "properties": { "firstName": { "description": "Given name, first name or names", "type": "string" }, "lastName": { "description": "Family name, last name.", "type": "string" }, "fullName": { "description": "String representation of the full name", "type": "string" }, "registrationCardNo": { "description": "Unique identifier of the police registration card number.", "type": "string", "minLength": 0, "maxLength": 40 }, "profileIdList": { "description": "Unique identifiers for the Profile for both internal and external systems. In case of Travel Agent the IATA code and in case of Company can be any form of identifier as id.", "$ref": "#/definitions/profileIdList" } } }, "profileIdList": { "type": "array", "description": "Unique Id that references an object uniquely in the system.", "maxItems": 4000, "items": { "$ref": "#/definitions/uniqueID_Type" } }, "resGuestExternalInfoType": { "type": "object", "description": "Specifies Company or Travel Agent profile using IATA or Corp. No.", "properties": { "givenName": { "description": "Given name, first name or names", "$ref": "#/definitions/givenNameType" }, "surname": { "description": "Family name, last name.", "$ref": "#/definitions/surnameType" } } }, "guestLastStayInfoType": { "type": "object", "description": "Contains last stay related details of the guest.", "properties": { "lastStayDate": { "description": "Guest's last stay date.", "type": "string", "format": "date", "maxLength": 8 }, "lastStayRoom": { "description": "Room Number where the guest stayed.", "type": "string", "minLength": 0, "maxLength": 20 }, "lastStayRate": { "description": "The Rate amount of the guest's last stay.", "$ref": "#/definitions/currencyAmountType" }, "totalStay": { "description": "The total number of previous stay of the guest.", "type": "integer" } } }, "nameTypeType": { "type": "string", "enum": [ "Guest", "Company", "Agent", "Contact", "Source", "Group", "Employee", "Hotel", "Purge" ] }, "resSharedGuestListType": { "type": "array", "description": "Collection of shared guest reservations.", "maxItems": 4000, "items": { "$ref": "#/definitions/resSharedGuestInfoType" } }, "resSharedGuestInfoType": { "type": "object", "description": "Contains information regarding the share reservation.", "properties": { "profileId": { "$ref": "#/definitions/profileId" }, "firstName": { "description": "Given name, first name or names", "type": "string" }, "lastName": { "description": "Family name, last name.", "type": "string" }, "fullName": { "description": "String representation of the full name", "type": "string" } } }, "resAttachedProfileListType": { "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/resAttachedProfileType" } }, "resAttachedProfileType": { "type": "object", "properties": { "name": { "description": "Attached profile name", "type": "string" }, "profileIdList": { "description": "Collection of unique profile identifiers", "$ref": "#/definitions/profileIdList" }, "reservationProfileType": { "$ref": "#/definitions/resProfileTypeType" } } }, "resProfileTypeType": { "type": "string", "enum": [ "Guest", "Company", "Group", "TravelAgent", "Source", "ReservationContact", "BillingContact", "Addressee" ] }, "reservationPaymentMethodType": { "type": "object", "properties": { "paymentCard": { "$ref": "#/definitions/resPaymentCardType" }, "balance": { "$ref": "#/definitions/currencyAmountType" }, "authorizationRule": { "$ref": "#/definitions/authorizationRuleType" }, "emailFolioInfo": { "description": "Information on an email for the customer.", "type": "object", "properties": { "email": { "description": "eMail deatils for the profile.", "$ref": "#/definitions/emailType" }, "emailFolio": { "type": "boolean" }, "id": { "description": "A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.", "type": "string", "minLength": 0, "maxLength": 80 }, "type": { "description": "A reference to the type of object defined by the UniqueID element.", "type": "string", "minLength": 0, "maxLength": 20 }, "idContext": { "description": "Used to identify the source of the identifier (e.g., IATA, ABTA).", "type": "string", "minLength": 0, "maxLength": 80 }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "paymentMethod": { "type": "string", "minLength": 0, "maxLength": 20 }, "description": { "type": "string", "minLength": 0, "maxLength": 2000 }, "folioView": { "type": "integer" } } }, "resPaymentCardType": { "type": "object", "description": "Information on a credit card for the customer.", "properties": { "cardId": { "description": "credit card id", "$ref": "#/definitions/uniqueID_Type" }, "currentAuthorizedAmount": { "$ref": "#/definitions/currencyAmountType" }, "approvalAmountNeeded": { "$ref": "#/definitions/currencyAmountType" }, "approvalCode": { "description": "Approval code sent by the credit card company on a successful authorization.", "type": "string", "minLength": 0, "maxLength": 20 }, "cardType": { "description": "Indicates the type of credit card from a defined list", "$ref": "#/definitions/cardTypeType" }, "userDefinedCardType": { "description": "Indicates the user defined credit card type if credit card type from a defined list is not provided", "type": "string", "minLength": 0, "maxLength": 2 }, "cardNumber": { "type": "string", "minLength": 0, "maxLength": 80 }, "cardNumberMasked": { "type": "string", "minLength": 0, "maxLength": 80 }, "cardNumberLast4Digits": { "type": "string", "minLength": 0, "maxLength": 80 }, "expirationDate": { "description": "Expiration date of the credit card", "type": "string", "format": "date", "maxLength": 8 }, "expirationDateMasked": { "description": "Masked Expiration date of the credit card", "type": "string", "minLength": 0, "maxLength": 20 }, "expirationDateExpired": { "type": "boolean" }, "cardHolderName": { "type": "string", "minLength": 0, "maxLength": 200 }, "attachCreditCardToProfile": { "description": "Attach the credit card to profile.", "type": "boolean" }, "processing": { "description": "This contains information on whether EFT is enabled. A value of 'C' indicates EFT is enabled and 'M' indicates manual authorization is available for this payment card type.", "$ref": "#/definitions/cardProcessingType" }, "swiped": { "type": "boolean" }, "cardPresent": { "description": "Flag to determine if the credit card was swiped/manually entered , This element is only used when PAYMENT SERVICE DIRECTIVE(PSD) Opera Control is active.", "type": "boolean" }, "cardOrToken": { "description": "This contains information on whether credit card is tokenized (token enabled). A value of 'Token' indicates credit card is token enabled and 'CardNumber' indicates non token environment for this payment card type.", "$ref": "#/definitions/cardNumberTypeType" }, "citId": { "description": "Customer Initiated Transaction(CIT) Id for Credit Cards. This is only used when PAYMENT SERVICES DIRECTIVE (PSD2) Opera Control is active.", "type": "string", "minLength": 0, "maxLength": 30 } } }, "cardTypeType": { "type": "string", "description": "This is required for Credit Card Payment Methods. This indicates the type of Credit Card associated with this payment method.", "enum": [ "Ab", "Am", "Ax", "Cb", "Dc", "Ds", "Dt", "Ec", "Er", "Jc", "Jl", "Mc", "Nb", "So", "St", "Sw", "Va", "Xy", "Zz", "Cp", "Cu" ] }, "cardProcessingType": { "type": "string", "enum": [ "Eft", "Manual" ] }, "cardNumberTypeType": { "type": "string", "description": "Simple type for indicating if credit card number is tokenized.", "enum": [ "CardNumber", "Token" ] }, "authorizationRuleType": { "type": "object", "description": "Configured rule for computing the amount to authorize.", "properties": { "code": { "description": "The authorization rule code.", "type": "integer", "pattern": "[0-9]{1,9}" }, "amount": { "description": "The amount applicable to the authorization rule.", "$ref": "#/definitions/currencyAmountType" }, "percent": { "description": "A percentage value if the authorization rule is percentage based.", "type": "number" } } }, "reservationFolioWindowsType": { "type": "array", "description": "Collection of reservation folio windows.", "maxItems": 4000, "items": { "$ref": "#/definitions/reservationFolioWindowType" } }, "reservationFolioWindowType": { "type": "object", "description": "Folio window view which holds the set of folios for a reservation.", "properties": { "payeeInfo": { "description": "The window's configured payee information.", "$ref": "#/definitions/payeeInfoType" }, "balance": { "description": "Running balance of the window.", "$ref": "#/definitions/currencyAmountType" }, "paymentMethod": { "description": "Payment Method Type", "type": "string", "minLength": 0, "maxLength": 20 }, "folioWindowNo": { "type": "integer" } } }, "payeeInfoType": { "type": "object", "description": "Payee information.", "properties": { "payeeId": { "description": "Opera name id of the payee.", "$ref": "#/definitions/uniqueID_Type" }, "payeeName": { "description": "Name of the payee.", "type": "string", "minLength": 0, "maxLength": 80 }, "payeeAddress": { "description": "Address of the payee.", "$ref": "#/definitions/addressInfoType" }, "payeeAddressCount": { "description": "Payee multiple address count.", "type": "integer" }, "payeeReferenceCurrency": { "description": "Reference currency of the payee.", "type": "string", "minLength": 0, "maxLength": 20 }, "payeeAccountInfo": { "description": "AR account short info of the payee.", "$ref": "#/definitions/aRAccountShortInfoType" }, "payeeTaxNumber": { "description": "The tax number of the payee.", "type": "string", "minLength": 0, "maxLength": 40 } } }, "aRAccountShortInfoType": { "type": "object", "description": "Accounts Receivabales Account details type charged for batched posting.", "properties": { "accountName": { "description": "Name of the AR Account.", "type": "string", "minLength": 0, "maxLength": 200 }, "accountId": { "description": "The unique ID for the Account.", "$ref": "#/definitions/uniqueID_Type" }, "accountNo": { "description": "The Account Number for the Account.", "type": "string", "minLength": 0, "maxLength": 20 }, "status": { "description": "The status of the account.", "$ref": "#/definitions/aRAccountStatusType" } } }, "aRAccountStatusType": { "type": "object", "description": "Type for the Account Status. Status can be restricted and a message/description added to the Account.", "properties": { "restriction": { "description": "The Restriction Code added on the Account. This is available when the functionality for adding restriction codes is ON.", "type": "string", "minLength": 0, "maxLength": 20 }, "description": { "description": "User defined status message on the Account.", "type": "string", "minLength": 0, "maxLength": 2000 }, "restricted": { "description": "Flag to indicate if the Account is restricted.", "type": "boolean" } } }, "indicatorsType": { "type": "array", "description": "Collection of lamp indicators.", "maxItems": 4000, "items": { "$ref": "#/definitions/indicatorType" } }, "indicatorType": { "type": "object", "description": "Lamp indicator Type.", "properties": { "indicatorName": { "description": "Name of the indicator.", "type": "string", "minLength": 0, "maxLength": 80 }, "count": { "description": "Indicates number of occurrences of the indicator.", "type": "integer" } } }, "housekeepingRoomStatusType": { "type": "string", "description": "Simple type for room status instructions to be used in requests for fetching housekeeping rooms. Valid status values are Clean, Dirty, Pickup, Inspected, OutOfOrder, OutOfService.", "enum": [ "Clean", "Dirty", "Pickup", "Inspected", "OutOfOrder", "OutOfService" ] }, "searchMatchesType": { "type": "array", "description": "List of Generic Name-Value-Pair Parameters used for super search matches.", "maxItems": 4000, "items": { "$ref": "#/definitions/searchMatchType" } }, "searchMatchType": { "type": "object", "description": "Search match indicating attribute and the matching value.", "properties": { "attribute": { "description": "Search match attribute.", "type": "string", "minLength": 0, "maxLength": 2000 }, "value": { "description": "Search match value.", "type": "string", "minLength": 0, "maxLength": 2000 } } }, "sourceOfSaleType": { "type": "object", "description": "Point of Sale of reservation. Identifies the entity/channel who made the reservation.", "properties": { "sourceType": { "description": "Type of entity/channel who made the reservation..", "type": "string", "minLength": 0, "maxLength": 40 }, "sourceCode": { "description": "The entity/channel who made the reservation.", "type": "string", "minLength": 0, "maxLength": 20 } } }, "waitlistResType": { "type": "object", "description": "Information regarding why reservation is being /has been waitlisted.", "properties": { "reasonDescription": { "description": "Waitlist Reason Description.", "type": "string", "minLength": 0, "maxLength": 2000 }, "priorityDescription": { "description": "Waitlist priority Description.", "type": "string", "minLength": 0, "maxLength": 2000 }, "description": { "description": "Description why the reservation is being /has been waitlisted.", "type": "string", "minLength": 0, "maxLength": 2000 }, "reasonCode": { "description": "Waitlist Reason Code.", "type": "string", "minLength": 0, "maxLength": 20 }, "priorityCode": { "description": "Waitlist Priority Code.", "type": "string", "minLength": 0, "maxLength": 20 }, "telephone": { "description": "Guest telephone number.", "type": "string", "minLength": 0, "maxLength": 40 } } }, "reservationQueueInformationType": { "type": "object", "description": "Information regarding the Date, Duration and Priority of the reservation on Queue for Check in.", "properties": { "timeSpan": { "description": "Allows for a choice in description of the amount of time spanned by this type. EndDate specifies a specific date, while Duration provides a measure of time to add to the StartDate to yield end date.", "type": "object", "properties": { "startDate": { "type": "string", "format": "date", "maxLength": 8 }, "endDate": { "type": "string", "format": "date", "maxLength": 8 }, "duration": { "type": "string" }, "durationInSeconds": { "description": "The total duration, in seconds, the reservation is on Queue.", "type": "integer" } } }, "guestTextInfo": { "description": "Information for the message sent to the user", "$ref": "#/definitions/queueTextInfoType" }, "priority": { "description": "The Queue Priority given to this reservation.", "type": "integer" }, "averageQueueTimeToCheckIn": { "description": "The average time, in seconds, a reservation was on queue prior to Check-In.", "type": "integer" }, "averageQueueTimeCurrentReservations": { "description": "The average time, in seconds, of the reservations currently in queue.", "type": "integer" }, "queueDate": { "description": "The Business date on which the reservation was due to arrive and is currently placed on Queue for Check In.", "type": "string", "format": "date", "maxLength": 8 } } }, "queueTextInfoType": { "type": "object", "description": "Information regarding the message sent to guest.", "properties": { "sentTime": { "description": "Time the text was last sent to the user.", "type": "string", "format": "date-time" }, "sentBy": { "description": "User name of the user who sent message.", "type": "string", "minLength": 0, "maxLength": 40 } } }, "resHousekeepingType": { "type": "object", "description": "Holds housekeeping turndown service information for the room.", "properties": { "instructions": { "description": "Turndown instructions for the room.", "type": "string" }, "facilityTaskInfo": { "description": "The facility task applicable for the current day. This will be information only and not used for any updates.", "$ref": "#/definitions/facilityTaskType" }, "linenChange": { "description": "Indicates if a linen change is necessary.", "type": "boolean" }, "turndownRequested": { "description": "Indicates whether guest wants turndown facility or not.", "type": "boolean" }, "serviceTime": { "description": "This is the Turndown room service time.", "type": "string", "format": "date", "maxLength": 8 }, "expectedServiceTime": { "description": "Expected Start Time for housekeeping task(s).", "type": "string" }, "roomStatus": { "description": "Current room status. Current room status is populated only if room is assigned to the reservation and reservation is due in or in house.", "$ref": "#/definitions/housekeepingRoomStatusType" } } }, "facilityTaskType": { "type": "object", "description": "Information regarding facility task on a reservation.", "properties": { "task": { "description": "The Task Code.", "$ref": "#/definitions/housekeepingTaskCodeType" }, "supplies": { "description": "Supplies associated with the task.", "$ref": "#/definitions/facilityCodesType" }, "date": { "description": "The Date on which the task is applicable.", "type": "string", "format": "date", "maxLength": 8 } } }, "housekeepingTaskCodeType": { "type": "object", "description": "Information related to a Task Code. Task Codes are used to generate task sheets in Rooms Management.", "properties": { "description": { "description": "Description of the Task Code.", "type": "string", "minLength": 0, "maxLength": 80 }, "instructions": { "description": "Instructions for this Task Code.", "type": "string", "minLength": 0, "maxLength": 2000 }, "facilityDepartureTask": { "description": "Indicates if this task code is the default departure task for Facility Tasks. This requires", "type": "boolean" }, "linenChange": { "description": "Indicates if a linen change is necessary.", "type": "boolean" }, "hotelId": { "description": "Property where this task code is configured.", "type": "string", "minLength": 0, "maxLength": 20 }, "code": { "description": "The Code for the task.", "type": "string", "minLength": 0, "maxLength": 20 }, "sequence": { "description": "Ordering sequence for display.", "type": "integer" } } }, "facilityCodesType": { "type": "array", "description": "List of the facility codes.", "maxItems": 4000, "items": { "$ref": "#/definitions/facilityCodeType" } }, "facilityCodeType": { "type": "object", "description": "Facility Housekeeping Code, its description and quantity.", "properties": { "description": { "description": "Facility Code.", "type": "string", "minLength": 0, "maxLength": 80 }, "quantity": { "description": "Signifies the quantity.", "type": "integer" }, "code": { "description": "Facility code value.", "type": "string", "minLength": 0, "maxLength": 20 } } }, "resCashieringType": { "type": "object", "description": "Cashiering Information for the reservation.", "properties": { "revenuesAndBalances": { "description": "Revenues and Balances Amount summary for the reservation.", "$ref": "#/definitions/resRevenueBalanceType" }, "billingPrivileges": { "description": "Billing privileges set on the reservation.", "$ref": "#/definitions/billingPrivilegesType" }, "taxType": { "description": "This stores the code for the type of tax calculation especially with tax exemption, etc.", "$ref": "#/definitions/reservationTaxTypeInfo" }, "bedTaxReporting": { "description": "This stores the information for Bed Tax Reporting. Mainly used in Maldives.", "$ref": "#/definitions/bedTaxReportingType" }, "folioTexts": { "description": "Additional text fields to display on the folio.", "$ref": "#/definitions/folioTextsType" }, "periodicFolio": { "description": "Information regarding periodic folios set on the reservation.", "$ref": "#/definitions/resPeriodicFolioType" }, "compAccounting": { "description": "Information regarding comp accounting on the reservation.", "$ref": "#/definitions/resCompAccountingType" }, "reservationPreConfiguredRoutingInstruction": { "description": "Information regarding the selected preconfigured routing instruction on the reservation.", "$ref": "#/definitions/resPreConfiguredRoutingInstrType" }, "financiallyResponsible": { "description": "The guest from whom payment has to be recovered (direct guest).", "type": "boolean" }, "proratedBilling": { "description": "In case of Appartment style billing indicates whether a prorated amount should be used for an Apartment Style Billing rate.", "type": "boolean" }, "lastRoomAndTaxPostedDate": { "description": "Date of the last Room And Tax posting. Used primarily to know the date in case of Advance Billing.", "type": "string", "format": "date", "maxLength": 8 }, "reverseCheckInAllowed": { "description": "This attribute is to verify if reverse check-in is allowed for the reservation.", "type": "boolean" }, "reverseAdvanceCheckInAllowed": { "description": "This attribute is to verify if reverse advance check-in is allowed for the reservation.", "type": "boolean" }, "transactionsPosted": { "description": "Specifies whether reservation has a financial transaction associated with it.", "type": "boolean" } } }, "resRevenueBalanceType": { "type": "object", "description": "Revenue and Balance Amount summary for the reservation.", "properties": { "totalFixedCharge": { "description": "Total Fixed Charges on the reservation.", "$ref": "#/definitions/currencyAmountType" }, "totalPayment": { "description": "Total payment received for the reservation.", "$ref": "#/definitions/currencyAmountType" }, "roomRevenue": { "description": "Room Revenue generated by the reservation.", "$ref": "#/definitions/currencyAmountType" }, "foodAndBevRevenue": { "description": "Food and Beverage Revenue generated by the reservation.", "$ref": "#/definitions/currencyAmountType" }, "otherRevenue": { "description": "Other Revenue generated by the reservation.", "$ref": "#/definitions/currencyAmountType" }, "nonRevenue": { "description": "Total Non Revenue posted on the reservation.", "$ref": "#/definitions/currencyAmountType" }, "totalRevenue": { "description": "Total Revenue generated by the reservation.", "$ref": "#/definitions/currencyAmountType" }, "balance": { "description": "Balance amount on the reservation.", "$ref": "#/definitions/currencyAmountType" }, "compBalance": { "description": "Comp Balance amount", "$ref": "#/definitions/currencyAmountType" } } }, "billingPrivilegesType": { "type": "object", "description": "This stores the information for Bed Tax Reporting. Mainly used in Maldives.", "properties": { "postingRestriction": { "description": "Flag used by interface program during check in.", "type": "boolean" }, "preStayCharging": { "description": "Indicates if the reservation has charging privileges before arrival.", "type": "boolean" }, "postStayCharging": { "description": "Indicates if the reservation has charging privileges after checkout.", "type": "boolean" }, "folioCloseDate": { "description": "Date when folio was closed. This works with PostStayCharging flag.", "type": "string", "format": "date", "maxLength": 8 }, "scheduledCheckout": { "description": "Indicates if the guest is scheduled for automatic check out.", "type": "boolean" }, "scheduledCheckoutTime": { "description": "Time of automatic check out if guest is schedule for automatic check out.", "type": "string", "format": "date", "maxLength": 8 }, "directBillAuthorized": { "description": "If Direct bill is authorized this will hold User ID who authorized it.", "type": "boolean" }, "videoCheckout": { "description": "Indicates if the guest can do video checkout", "type": "boolean" }, "allowAutoCheckin": { "description": "Indicated if a new reservation should be created and automatically checked in whenever the room is checked out. Available for pseudo room types only.", "type": "boolean" }, "autoSettlement": { "description": "Indicates if the is a candidate for auto folio settlement.", "type": "boolean" }, "autoSettlementType": { "description": "The folio settlement type for auto folio settlement.", "type": "string", "minLength": 0, "maxLength": 40 }, "autoSettlementFreq": { "description": "The interval of days between each auto folio settlement.", "type": "integer" }, "creditLimitAutoPay": { "description": "Indicates if the reservation will be included in the Automatic Credit Limit Overages process and also be listed in the Credit Limit Overages screen results.", "type": "boolean" } } }, "reservationTaxTypeInfo": { "type": "object", "description": "Provides information about the Tax Type.", "properties": { "hotelId": { "description": "Code of the Hotel.", "type": "string", "minLength": 0, "maxLength": 20 }, "code": { "description": "Code of the Tax Type.", "type": "string", "minLength": 0, "maxLength": 20 }, "description": { "description": "Description of the Tax Type.", "type": "string", "minLength": 0, "maxLength": 2000 }, "collectingAgentTax": { "description": "A boolean flag for Collecting Agent Tax", "type": "boolean" }, "printAutoAdjust": { "description": "Print auto adjust information for this tax type on the tax exempt report.", "type": "boolean" }, "reportExemptDays": { "description": "Number of days after which the guest will be tax exempt. Only used for tax exempt report.", "type": "integer" }, "reportTaxPercentage": { "description": "Tax percentage. Only used for tax exempt report.", "type": "number", "minimum": 0, "maximum": 100 }, "minimumLengthOfStay": { "description": "Minimun Length of Stay.", "type": "integer" }, "taxExemptNo": { "description": "Tax exempt number on the profile.", "type": "string", "minLength": 0, "maxLength": 20 } } }, "bedTaxReportingType": { "type": "object", "description": "This stores the information for Bed Tax Reporting. Mainly used in Maldives.", "properties": { "taxRegistrationNo": { "description": "Tax Registration Number for Maldives Bed Tax Reporting.", "type": "number" }, "visaNumber": { "description": "Visa number used for Maldives Bed Tax Reporting", "type": "string", "minLength": 0, "maxLength": 40 }, "visaIssueDate": { "description": "Visa Issue Date used for Maldives Bed Tax Reporting.", "type": "string", "format": "date", "maxLength": 8 }, "visaExpiryDate": { "description": "Visa Expiration Date used for Maldives Bed Tax Reporting", "type": "string", "format": "date", "maxLength": 8 }, "taxableDays": { "description": "Number of days for which the Maldives tax is applicable.", "type": "integer" } } }, "folioTextsType": { "type": "array", "description": "This stores the description for the type of tax calculation especially with tax exemption, etc.", "maxItems": 2, "items": { "type": "object", "properties": { "text": { "description": "Additional text field to display on the folio.", "type": "string", "minLength": 0, "maxLength": 50 }, "row": { "description": "Row number of the additional text.", "type": "integer" } } } }, "resPeriodicFolioType": { "type": "object", "description": "Information regarding periodic folios set on the reservation.", "properties": { "lastSettlementDate": { "description": "Latest date when a direct bill settlement was automatically done using the \"Direct Bill Batch Folios\" option.", "type": "string", "format": "date", "maxLength": 8 }, "lastFolioDate": { "description": "Latest date when a folio was printed using the \"Periodic Batch Folios\" option", "type": "string", "format": "date", "maxLength": 8 }, "frequency": { "description": "Frequency in number of days when folios should be printed for this reservation.", "type": "integer" } } }, "resCompAccountingType": { "type": "object", "description": "Information regarding comp accounting on the reservation.", "properties": { "compType": { "description": "Code used to identify the casino comp type and ranking of a guest.", "type": "string", "minLength": 0, "maxLength": 20 }, "authorizer": { "description": "ID of the employee who will act as the host for this guest.", "type": "string", "minLength": 0, "maxLength": 40 }, "compPostings": { "description": "Indicates if the Comp Billing/posting Exist", "type": "string", "minLength": 0, "maxLength": 5 } } }, "resPreConfiguredRoutingInstrType": { "type": "object", "description": "Instruction to attach Pre-Configured Routing Instructions to a Reservation.", "properties": { "authorizerInfo": { "description": "The authorizer information for Promotion Code with attached Complimentary Routing", "$ref": "#/definitions/authorizerInfoType" }, "ratePlanCode": { "description": "Rate Code with attached Routing Instruction.", "type": "string", "minLength": 0, "maxLength": 20 }, "profileType": { "description": "Profile Type with attached Routing Instruction.", "$ref": "#/definitions/resProfileTypeType" }, "promotionCode": { "description": "Promotion Code with attached Complimentary Routing.", "type": "string", "minLength": 0, "maxLength": 20 } } }, "authorizerInfoType": { "type": "object", "description": "Authorizer Information", "properties": { "authorizerId": { "$ref": "#/definitions/uniqueID_Type" }, "authorizerUserName": { "description": "Application user name of the authorizer", "type": "string", "minLength": 0, "maxLength": 40 }, "authorizerName": { "description": "Full name of the authorizer.", "type": "string", "minLength": 0, "maxLength": 100 }, "authorizerRateCode": { "description": "Rate code of the authorizer.", "type": "string", "minLength": 0, "maxLength": 20 }, "inheritAuthorizerRateCode": { "description": "Indicates whether user has the choice to have reservation inherit rate code from the authorizer.", "type": "boolean" } } }, "taxTypeType": { "type": "object", "description": "Provides information about the Tax Type.", "properties": { "hotelId": { "description": "Code of the Hotel.", "type": "string", "minLength": 0, "maxLength": 20 }, "code": { "description": "Code of the Tax Type.", "type": "string", "minLength": 0, "maxLength": 20 }, "description": { "description": "Description of the Tax Type.", "type": "string", "minLength": 0, "maxLength": 2000 }, "collectingAgentTax": { "description": "A boolean flag for Collecting Agent Tax", "type": "boolean" }, "printAutoAdjust": { "description": "Print auto adjust information for this tax type on the tax exempt report.", "type": "boolean" }, "reportExemptDays": { "description": "Number of days after which the guest will be tax exempt. Only used for tax exempt report.", "type": "integer" }, "reportTaxPercentage": { "description": "Tax percentage. Only used for tax exempt report.", "type": "number", "minimum": 0, "maximum": 100 }, "minimumLengthOfStay": { "description": "Minimun Length of Stay.", "type": "integer" } } }, "reservationDepositType": { "type": "object", "description": "Reservation Deposit Type.", "properties": { "amountRequired": { "description": "Deposit Amount Required.", "type": "number" }, "amountPaid": { "description": "Deposit Amount Paid.", "type": "number" }, "amountOwed": { "description": "Deposit Amount Owed.", "type": "number" }, "dueDate": { "description": "Deposit Due Date.", "type": "string", "format": "date", "maxLength": 8 }, "postingDate": { "description": "Deposit Posting Date.", "type": "string", "format": "date", "maxLength": 8 }, "hasPaid": { "description": "Resolves whether reservation has paid deposit.", "type": "boolean" }, "hasOutstanding": { "description": "Resolves whether reservation has outstanding deposit.", "type": "boolean" } } }, "reservationAllowedActionsType": { "type": "array", "description": "Allowed action.", "maxItems": 11, "items": { "$ref": "#/definitions/reservationAllowedActionType" } }, "reservationAllowedActionType": { "type": "string", "description": "Flag indicating whether the Enrollment is in progress or not for the Profile associated with this Reservation.", "enum": [ "Cancel", "Move", "PreCharge", "PostCharge", "FacilitySchedule", "Upsell", "PreCheckIn", "PostToNoShowCancel", "NoShow", "NameChange", "Discount", "EnrollToPrimaryMembership", "EnrollInProgress" ] }, "reservationInterfaceStatusType": { "type": "object", "description": "Hotel Interface Type for a reservation and status of the various services", "properties": { "roomExtension": { "description": "Identifier for the room extension", "type": "string", "minLength": 0, "maxLength": 20 }, "hotelInterface": { "description": "Hotel interface information for the reservation", "$ref": "#/definitions/hotelInterfaceType" }, "interfaceRights": { "description": "Contains a list of status/rights for the various services under this interface", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/interfaceRightsStatusType" } } } }, "hotelInterfaceType": { "type": "object", "properties": { "interfaceId": { "description": "Unique DB internal number of a Hotel Interface record.", "$ref": "#/definitions/uniqueID_Type" }, "hotelId": { "description": "Hotel Code", "type": "string", "minLength": 0, "maxLength": 20 }, "interfaceName": { "description": "Name of the Hotel Interface", "type": "string", "minLength": 0, "maxLength": 40 }, "interfaceType": { "description": "Three letter code for each interface that identifies the interface.", "$ref": "#/definitions/hotelInterfaceTypeType" }, "logo": { "description": "Hotel Interface Logo. On the database, this is also referred as DBF Logo. This is a three letter code followed by an underscore(_). This tells us which DBF files and log files with the prefix that IFC7 is going to create.", "type": "string", "minLength": 0, "maxLength": 20 }, "machineName": { "description": "Unique machine name of the running IFC.", "type": "string", "minLength": 0, "maxLength": 80 }, "status": { "description": "The current status of the IFC.", "$ref": "#/definitions/hotelInterfaceStatusType" }, "activeFlag": { "description": "Indicator if the Hotel Interface is active or not. This is different from the Interface Status, which is either STOPPED or RUNNING.", "type": "boolean" } } }, "hotelInterfaceTypeType": { "type": "string", "enum": [ "Bms", "Cas", "Ccw", "Dls", "Eft", "Exp", "Mak", "Mbs", "Msc", "Pbx", "Pos", "Svs", "Tik", "Vid", "Vms", "Www", "Xml" ], "description": "XML Posting Interface" }, "hotelInterfaceStatusType": { "type": "string", "description": "Status of the Hotel Interface either STOPPED or RUNNING.", "enum": [ "Stopped", "Running", "Waiting", "StopInitiated", "StartInitiated", "RebootInitiated", "Other" ] }, "interfaceRightsStatusType": { "type": "object", "properties": { "right": { "description": "Internal code for each allowed right of a Hotel Interface record.", "type": "integer" }, "statusCode": { "description": "User defined code for an Interface Right.", "type": "string", "minLength": 0, "maxLength": 5 }, "description": { "description": "User defined description for an Interface Right.", "type": "string", "minLength": 0, "maxLength": 80 }, "category": { "description": "Category code of this interface right.", "type": "string", "minLength": 0, "maxLength": 1 } } }, "reservationTurndownInfoType": { "type": "object", "description": "Turndown information for a reservation", "properties": { "allowed": { "description": "Indicates if turndown is allowed or not", "type": "boolean" }, "status": { "description": "Indicates turndown status, values could be required, not required, completed", "$ref": "#/definitions/turndownStatusType" } } }, "turndownStatusType": { "type": "string", "description": "Simple type for turndown status instructions to be used in requests for fetching housekeeping rooms. Valid status values are Required, Not Required and Completed.", "enum": [ "Required", "NotRequired", "Compeleted" ] }, "resMobileNotificationsType": { "type": "object", "description": "Contains the status of Room Ready and Key Ready messages.", "properties": { "roomReady": { "description": "Denotes the status of Room Ready message. It can have one of the values:PENDING, COMPLETED or FAILED", "$ref": "#/definitions/communicationStatusType" }, "keyReady": { "description": "Denotes the status of Key Ready message. It can have one of the values:PENDING, COMPLETED or FAILED", "$ref": "#/definitions/communicationStatusType" }, "checkoutMessageReceived": { "description": "Indicates if the Mobile checkout message is received.", "type": "boolean" }, "requiresAction": { "description": "Indicates if user action is required. The action could be for sending Room Ready or Key Ready Notification. It could also be for initiating Checkout", "type": "boolean" }, "errorMessage": { "description": "Error message when Mobile Notification has failed.", "type": "string" } } }, "communicationStatusType": { "type": "string", "description": "Enum to denote the Status of Readiness messages sent to Guest Devices.", "enum": [ "Pending", "Completed", "Failed", "Sent", "Received", "Cancelled", "PendingAvailability" ] }, "resCommunicationType": { "type": "object", "description": "Communication details for a reservation.", "properties": { "telephones": { "description": "List of Telephone Number Information", "type": "object", "properties": { "telephoneInfo": { "description": "Collection of Detailed information on telephone/fax for the customer.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/telephoneInfoType" } }, "hasMore": { "description": "Indicates whether all the records are included in the response or not. Absence of the attribute values should be consider as all rows fetched in the response.", "type": "boolean" }, "totalResults": { "description": "Total number of rows queried", "type": "integer" }, "count": { "description": "Total number of rows returned", "type": "integer" } } }, "emails": { "description": "List of email address for the customer.", "type": "object", "properties": { "emailInfo": { "description": "Collection of Detailed information on an eMail address for the customer.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/emailInfoType" } }, "hasMore": { "description": "Indicates whether all the records are included in the response or not. Absence of the attribute values should be consider as all rows fetched in the response.", "type": "boolean" }, "totalResults": { "description": "Total number of rows queried", "type": "integer" }, "count": { "description": "Total number of rows returned", "type": "integer" } } } } }, "advanceCheckInType": { "type": "object", "description": "Information relating to Reservation's Advance Checked In state and Expected Time of Return", "properties": { "advanceCheckedIn": { "description": "Indicates if the reservation is marked as Advance Checked In", "type": "boolean" }, "expectedReturnTime": { "description": "Expected Return Time", "type": "string", "format": "date-time" }, "eTRComments": { "description": "ETR Comments", "type": "string", "minLength": 0, "maxLength": 2000 } } }, "pMS_ResStatusType": { "type": "string", "description": "This reservation is in checked in status and the business date is past departure date. This could occur when ORS and PMS are in same environment.", "enum": [ "Reserved", "Requested", "NoShow", "Cancelled", "InHouse", "CheckedOut", "Waitlisted", "DueIn", "DueOut", "Walkin", "PendingCheckout" ] }, "resAccessRestrictionType": { "type": "string", "description": "Indicates any Updates/Changes on the reservation as well as Reservation Cancellation are not allowed.", "enum": [ "Change", "Cancel", "ChangeOrCancel" ] }, "commissionPayoutToType": { "type": "string", "enum": [ "TravelAgent", "Source", "TravelAgentSource", "None" ] }, "futureListType": { "type": "object", "description": "A collection of reservation history details attached to Profiles.", "properties": { "reservationInfo": { "description": "Additional reservation information attached to the profile . Eg : Future reservation details", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/reservationInfoType" } }, "hasMore": { "description": "Indicates whether all the records are included in the response or not. Absence of the attribute values should be consider as all rows fetched in the response.", "type": "boolean" }, "totalResults": { "description": "Total number of rows queried", "type": "integer" }, "count": { "description": "Total number of rows returned", "type": "integer" } } }, "reservationStayHistoryFutureInfoType": { "type": "object", "description": "Information of History and Future Reservation details attached to Profiles.", "properties": { "historyList": { "description": "Refer to History list type document.", "$ref": "#/definitions/stayHistoryListType" }, "futureList": { "description": "Refer to Future list type document.", "$ref": "#/definitions/stayFutureListType" } } }, "stayHistoryListType": { "type": "object", "description": "A collection of reservation history details attached to Profiles.", "properties": { "reservationInfo": { "description": "Additional reservation information attached to the profile . Eg : History reservation details", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/stayReservationInfoType" } }, "hasMore": { "description": "Indicates whether all the records are included in the response or not. Absence of the attribute values should be consider as all rows fetched in the response.", "type": "boolean" }, "totalResults": { "description": "Total number of rows queried", "type": "integer" }, "count": { "description": "Total number of rows returned", "type": "integer" } } }, "stayReservationInfoType": { "type": "object", "description": "The Reservation class contains the current reservation being created or altered.", "properties": { "reservationIdList": { "description": "Unique identifiers for the reservation for both internal and external systems", "$ref": "#/definitions/reservationIdList" }, "roomStay": { "description": "Collection of room stays.", "$ref": "#/definitions/stayInfoType" }, "attachedProfiles": { "description": "List of attached profiles", "$ref": "#/definitions/resAttachedProfileListType" }, "hotelId": { "type": "string", "minLength": 0, "maxLength": 20 }, "reservationStatus": { "description": "Indicates the status of the reservation.", "$ref": "#/definitions/pMS_ResStatusType" }, "computedReservationStatus": { "description": "Indicates the status of the reservation.", "$ref": "#/definitions/pMS_ResStatusType" } } }, "stayFutureListType": { "type": "object", "description": "A collection of reservation history details attached to Profiles.", "properties": { "reservationInfo": { "description": "Additional reservation information attached to the profile . Eg : Future reservation details", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/stayReservationInfoType" } }, "hasMore": { "description": "Indicates whether all the records are included in the response or not. Absence of the attribute values should be consider as all rows fetched in the response.", "type": "boolean" }, "totalResults": { "description": "Total number of rows queried", "type": "integer" }, "count": { "description": "Total number of rows returned", "type": "integer" } } }, "lastStayInfoType": { "type": "object", "description": "Contains last stay related details for the profile", "properties": { "lastVisit": { "description": "Used to hold last stay information for the profile.", "type": "string", "format": "date", "maxLength": 8 }, "lastRoom": { "description": "Used to hold last room information for the profile.", "type": "string" }, "lastRate": { "description": "Used to hold last rate information for the profile.", "$ref": "#/definitions/currencyAmountType" }, "totalStay": { "description": "The total number of previous stay of the profile.", "type": "integer" } } }, "profileRestrictions": { "type": "object", "properties": { "reason": { "description": "Restriction reason associated with the current profile.", "type": "string", "minLength": 0, "maxLength": 20 }, "reasonDescription": { "description": "Description of restriction reason.", "type": "string", "minLength": 0, "maxLength": 2000 }, "restricted": { "description": "True indicates there are restrictions associated with the current profile.", "type": "boolean" } } }, "privacyInfoType": { "type": "object", "description": "Defines Privacy related information for the profile.", "properties": { "marketResearchParticipation": { "description": "Indicates if the profile participates in market research.", "type": "boolean" }, "lastPrivacyPromptDate": { "description": "Indicate the last privacy prompt date of the guest.", "type": "string", "format": "date", "maxLength": 8 }, "infoFromThirdParty": { "description": "Indicates if the profile is ok getting info from third parties.", "type": "boolean" }, "autoEnrollLoyaltyProgram": { "description": "Indicates if the profile wishes to be automatically enrolled in the property's loyalty program.", "type": "boolean" }, "allowPhone": { "description": "Indicates if the profile wishes to allow phone calls.", "type": "boolean" }, "allowSMS": { "description": "Indicates if the profile wishes to allow SMS.", "type": "boolean" }, "allowEmail": { "description": "Indicates if the profile wishes to allow Email.", "type": "boolean" }, "optInMailingList": { "description": "Indicates if the profile wishes to opt in for Mailing List.", "type": "boolean" }, "optInMarketResearch": { "description": "Indicates if the profile wishes to opt in for Market Research.", "type": "boolean" }, "optInThirdParty": { "description": "Indicates if the profile wishes to opt in for Third Party.", "type": "boolean" }, "optInAutoEnrollmentMember": { "description": "Indicates if the profile wishes to opt in for Auto Enrolment Member.", "type": "boolean" }, "optInPhone": { "description": "Indicates if the profile wishes to opt in for Phone.", "type": "boolean" }, "optInSms": { "description": "Indicates if the profile wishes to opt in for SMS.", "type": "boolean" }, "optInEmail": { "description": "Indicates if the profile wishes to opt in for Email.", "type": "boolean" } } }, "profileCashieringType": { "type": "object", "description": "Contains cashiering related details for the profile", "properties": { "directBillingList": { "description": "Contains the direct billing related information for the profile.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/directBillingType" } }, "autoFolioSettlementType": { "description": "Contains the auto folio settlement type for the profile.", "type": "string", "minLength": 0, "maxLength": 40 }, "paymentDueDays": { "description": "Ability to define on the account, the number of days after which the invoice should be paid.", "type": "integer" }, "taxPercent1": { "description": "Tax1 Percentage for Collecting Agent.", "type": "integer" }, "taxPercent2": { "description": "Tax2 Percentage for Collecting Agent.", "type": "integer" }, "taxPercent3": { "description": "Tax3 Percentage for Collecting Agent.", "type": "integer" }, "taxPercent4": { "description": "Tax4 Percentage for Collecting Agent.", "type": "integer" }, "taxPercent5": { "description": "Tax5 Percentage for Collecting Agent.", "type": "integer" }, "arNoCentral": { "description": "Account Receivables Central Number.", "type": "string", "minLength": 0, "maxLength": 20 }, "referenceCurrency": { "description": "Reference Currency.", "type": "string", "minLength": 0, "maxLength": 20 }, "vATOffsetYN": { "description": "VAT Offset Flag.", "type": "string", "minLength": 0, "maxLength": 1 }, "currencyCode": { "description": "The code specifying a monetary unit. Use ISO 4217, three alpha code.", "type": "string", "minLength": 0, "maxLength": 20 }, "currencySymbol": { "description": "The symbol for the currency, e.g, for currencyCode USD the symbol is $.", "type": "string", "minLength": 0, "maxLength": 10 }, "decimalPlaces": { "description": "Indicates the number of decimal places for a particular currency. This is equivalent to the ISO 4217 standard \"minor unit\". Typically used when the amount provided includes the minor unit of currency without a decimal point (e.g., USD 8500 needs DecimalPlaces=\"2\" to represent $85).", "type": "integer" } } }, "directBillingType": { "type": "object", "description": "This is the preconfigured routing instruction type.", "properties": { "hotelId": { "description": "Hotel Code for which the details of direct billing is provided for a profile.", "type": "string", "minLength": 0, "maxLength": 20 }, "aRNumber": { "description": "Hotel Code for which the details of direct billing is provided for a profile.", "type": "string", "minLength": 0, "maxLength": 20 } } }, "profileCommissionType": { "type": "object", "description": "This is the preconfigured routing instruction type.", "properties": { "hotelId": { "description": "Hotel Code for the commission being used for a profile.", "type": "string", "minLength": 0, "maxLength": 20 }, "commissionCode": { "description": "commission Code for a profile.", "type": "string", "minLength": 0, "maxLength": 20 }, "bankAccount": { "description": "Bank account used for the commission for a profile.", "type": "string", "minLength": 0, "maxLength": 20 }, "paymentMethod": { "description": "Type of payment associated with the bank account.", "$ref": "#/definitions/commissionPaymentMethods" }, "currencyCode": { "description": "The code specifying a monetary unit. Use ISO 4217, three alpha code.", "type": "string", "minLength": 0, "maxLength": 20 }, "currencySymbol": { "description": "The symbol for the currency, e.g, for currencyCode USD the symbol is $.", "type": "string", "minLength": 0, "maxLength": 10 }, "decimalPlaces": { "description": "Indicates the number of decimal places for a particular currency. This is equivalent to the ISO 4217 standard \"minor unit\". Typically used when the amount provided includes the minor unit of currency without a decimal point (e.g., USD 8500 needs DecimalPlaces=\"2\" to represent $85).", "type": "integer" } } }, "commissionPaymentMethods": { "type": "string", "description": "Check", "enum": [ "Cent", "Eft", "Chk" ] }, "userDefinedFieldsType": { "type": "object", "description": "A common type used to hold user defined fields(UDFs). This type should be used to handle UDFs on RReservation, Profiles, etc.", "properties": { "characterUDFs": { "description": "Collection of user defined fields of Character/String Type.", "$ref": "#/definitions/characterUDFsType" }, "numericUDFs": { "description": "Collection of user defined fields of Numeric Type.", "$ref": "#/definitions/numericUDFsType" }, "dateUDFs": { "description": "Collection of user defined fields of Date Type.", "$ref": "#/definitions/dateUDFsType" } } }, "characterUDFsType": { "type": "array", "description": "Used to hold collection of user defined fields of Character/String Type.", "maxItems": 4000, "items": { "$ref": "#/definitions/characterUDFType" } }, "characterUDFType": { "type": "object", "description": "Used to hold user defined field of Character/String Type.", "properties": { "name": { "description": "Used to hold user defined field of Character Type. It is highly recommended to use UDFC01, UDFC02,...UDFC40 (Total 40) as Character/String UDF names(commonly used on Reservation, Profile etc.). Name is not restricted using enumeration, to provide flexibility of different name usage if required.", "type": "string", "minLength": 0, "maxLength": 20 }, "value": { "description": "Value of user defined field.", "type": "string", "minLength": 0, "maxLength": 2000 }, "alternateName": { "description": "Label of user defined field used by vendors or customers.", "type": "string", "minLength": 0, "maxLength": 2000 } } }, "numericUDFsType": { "type": "array", "description": "Used to hold collection of user defined fields of Numeric Type.", "maxItems": 4000, "items": { "$ref": "#/definitions/numericUDFType" } }, "numericUDFType": { "type": "object", "description": "Used to hold user defined field of Numeric Type. It is highly recommended to use UDFN01, UDFN02,...UDFN40 (Total 40) as Numeric UDF names(commonly used on Reservation, Profile etc.). Name is not restricted using enumeration, to provide flexibility of different name usage if required.", "properties": { "name": { "description": "Name of user defined field.", "type": "string", "minLength": 0, "maxLength": 20 }, "value": { "description": "Value of user defined field.", "type": "number" }, "alternateName": { "description": "Label of user defined field used by vendors or customers.", "type": "string", "minLength": 0, "maxLength": 2000 } } }, "dateUDFsType": { "type": "array", "description": "Used to hold collection of user defined fields of Date Type.", "maxItems": 4000, "items": { "$ref": "#/definitions/dateUDFType" } }, "dateUDFType": { "type": "object", "description": "Used to hold user defined field of Date Type.", "properties": { "name": { "description": "Used to hold user defined field of Date Type. It is highly recommended to use UDFD01, UDFD02,...UDFN20 (Total 20) as Date UDF names(commonly used on Reservation, Profile etc.). Name is not restricted using enumeration, to provide flexibility of different name usage if required.", "type": "string", "minLength": 0, "maxLength": 20 }, "value": { "description": "Value of user defined field.", "type": "string", "format": "date", "maxLength": 8 }, "alternateName": { "description": "Label of user defined field used by vendors or customers.", "type": "string", "minLength": 0, "maxLength": 2000 } } }, "profileTaxInfoType": { "type": "object", "description": "Profile information related to tax.", "properties": { "tax1No": { "description": "The tax id of this profile. Usually issued by a government agency. Used by 1099 printing.", "type": "string", "minLength": 0, "maxLength": 40 }, "tax2No": { "description": "Tax 2 id of this profile.", "type": "string", "minLength": 0, "maxLength": 40 }, "taxCategory": { "description": "Tax Category to be changed.", "type": "string", "minLength": 0, "maxLength": 20 }, "taxOffice": { "description": "Tax Office to be changed.", "type": "string", "minLength": 0, "maxLength": 30 }, "taxType": { "description": "Tax type to be changed.", "type": "string", "minLength": 0, "maxLength": 20 }, "businessId": { "description": "Business ID. The maximum length of this element should not exceed 120 characters.", "type": "string", "minLength": 0, "maxLength": 128 }, "businessRegistration": { "description": "Business Registration Code. The maximum length of this element should not exceed 120 characters.", "type": "string", "minLength": 0, "maxLength": 128 } } }, "eCertificatesType": { "type": "array", "description": "List of e-certificates for the profile.", "maxItems": 4000, "items": { "$ref": "#/definitions/eCertificateType" } }, "eCertificateType": { "type": "object", "description": "E-Certificates details.", "properties": { "certificateId": { "description": "System generated unique certificate id.", "type": "integer" }, "voucherNo": { "description": "System generated unique voucher number.", "type": "string", "minLength": 0, "maxLength": 40 }, "certificateNo": { "description": "Printed certificate no. This has to be unique.", "type": "string", "minLength": 0, "maxLength": 40 }, "eCertificateInfo": { "$ref": "#/definitions/eCertificateInfoType" }, "expiryDate": { "description": "Date of expiry.", "type": "string", "format": "date", "maxLength": 8 }, "newExpiryDate": { "description": "New Date of expiry to extend e-certificate.", "type": "string", "format": "date", "maxLength": 8 }, "profileId": { "description": "NameId.", "$ref": "#/definitions/profileId" }, "consumptionDetail": { "$ref": "#/definitions/eCertificateConsumptionType" }, "status": { "description": "Status of the certificate.", "$ref": "#/definitions/eCertificateStatusType" }, "printed": { "description": "Print status of the certificate.", "type": "boolean" }, "inactiveDate": { "description": "Date the record was marked as inactive.", "type": "string", "format": "date", "maxLength": 8 }, "awardId": { "description": "AwardID.", "$ref": "#/definitions/awardId" }, "databaseId": { "description": "External reference from which the record is created.", "type": "string", "minLength": 0, "maxLength": 20 }, "source": { "description": "Source of e-certificate.", "$ref": "#/definitions/eCertificateIssueSourceType" }, "issueType": { "description": "Process action issued the certificate. valid values are assigned (a),opt in (o) and purchased (p).", "$ref": "#/definitions/eCertificateIssueType" }, "issueDate": { "description": "Date when certificate was issued.", "type": "string", "format": "date", "maxLength": 8 }, "awardPoints": { "description": "Award points if any in case of certificate use membership award.", "type": "integer" }, "generationDetail": { "$ref": "#/definitions/eCertificateGenerationType" }, "originalVoucherNo": { "description": "In case of in lieu of certificate this will contain the original voucher no.", "type": "string", "minLength": 0, "maxLength": 40 }, "originalCertificateNo": { "description": "In case of in lieu of certificate this will contain the original certificate no.", "type": "string", "minLength": 0, "maxLength": 40 }, "inLieuSequence": { "description": "Seq of the in lieu of certificate. 1..n. original certificate will be treated as null = 0.", "type": "integer" }, "cancelRequestDate": { "description": "Date on which the cancellation was requested.", "type": "string", "format": "date", "maxLength": 8 }, "extensionCount": { "description": "Number of times e-certificate is already extended.", "type": "integer" } } }, "eCertificateInfoType": { "type": "object", "description": "E-Certificates details.", "properties": { "certificateType": { "description": "User defined certificate code.", "type": "string", "minLength": 0, "maxLength": 20 }, "membershipType": { "description": "Membership type to which the certificate is linked to.", "type": "string", "minLength": 0, "maxLength": 20 }, "awardCode": { "description": "Award type to which the certificate is linked to.", "type": "string", "minLength": 0, "maxLength": 20 }, "promotionCode": { "description": "Promotion code to which certificate is attached to.", "type": "string", "minLength": 0, "maxLength": 20 }, "voucherBenefitCode": { "description": "Voucher benefit code attached to the certificate.", "type": "string", "minLength": 0, "maxLength": 40 }, "hotels": { "description": "Hotel to which certificate is attached to.", "type": "object", "properties": { "code": { "type": "array", "maxItems": 4000, "items": { "type": "string", "minLength": 0, "maxLength": 20 } }, "scope": { "description": "Scope of e-cert: global,single property or multi property.", "$ref": "#/definitions/eCertificateScopeType" } } }, "description": { "description": "Description about the certificate.", "type": "string", "minLength": 0, "maxLength": 200 }, "longDescription": { "description": "Detail description about the certificate.", "type": "string", "minLength": 0, "maxLength": 4000 }, "label": { "description": "Label for the certificate.", "type": "string", "minLength": 0, "maxLength": 40 }, "maxExtensionAllowed": { "description": "Number of times e-certificate can be extended.", "type": "integer" }, "usageCriteria": { "$ref": "#/definitions/eCertificateUsageCriteriaType" }, "value": { "description": "Value of the certificate for the guest.", "$ref": "#/definitions/currencyAmountType" }, "cost": { "description": "Cost of certificate.", "$ref": "#/definitions/currencyAmountType" }, "benefitSummary": { "description": "Summary of Benefits attached to this ECertificate.", "type": "string", "minLength": 0, "maxLength": 4000 } } }, "eCertificateScopeType": { "type": "string", "description": "Indicates that OPERA E-Certificate is available for a specific list of hotels.", "enum": [ "Global", "Hotel", "MultiHotel" ] }, "eCertificateUsageCriteriaType": { "type": "object", "description": "E-Certificates details.", "properties": { "reservation": { "description": "Indicates if certificate is to be used against reservation or not.", "type": "boolean" }, "web": { "description": "Indicates if web certificate can be consumed in OWS.", "type": "boolean" }, "webAllowed": { "description": "Indicates if certificate consumption allowable on the web.", "type": "boolean" }, "benefit": { "description": "Indicates to attach a rate code to the e-certificate as a benefit.", "type": "boolean" }, "hotel": { "description": "Indicates if web certificate can be consumed in hotel.", "type": "boolean" }, "verifyCertificateNo": { "description": "Specify if the certificate number verification is required at time of consumption or not.", "type": "boolean" }, "cancelAllowed": { "description": "Identify if cancel is allowed or not.", "type": "boolean" }, "generateInLieuCertificate": { "description": "Identify if in lieu of certificate can be generated or not.", "type": "boolean" } } }, "eCertificateConsumptionType": { "type": "object", "description": "E-Certificates details.", "properties": { "hotelId": { "description": "Property where certificate was consumed for.", "type": "string", "minLength": 0, "maxLength": 20 }, "source": { "description": "Source of consumption.", "$ref": "#/definitions/eCertificateConsumeSourceType" }, "surname": { "description": "Last name of the person who consumed the certificate..", "type": "string", "minLength": 0, "maxLength": 40 }, "firstName": { "description": "First name of the person who consumed the certificate.", "type": "string", "minLength": 0, "maxLength": 40 }, "middleName": { "description": "Middle name of the person who consumed the certificate.", "type": "string", "minLength": 0, "maxLength": 40 }, "email": { "description": "Email of the person who consumed the certificate.", "type": "string", "minLength": 0, "maxLength": 2000 }, "date": { "description": "Date the certificate was consumed.", "type": "string", "format": "date", "maxLength": 8 }, "userName": { "description": "Application user who created the consumption.", "type": "string", "minLength": 0, "maxLength": 2000 }, "userNotes": { "description": "Any notes on the certificate entered at time of consumption.", "type": "string", "minLength": 0, "maxLength": 4000 }, "referenceId": { "description": "Any reference like reservation no etc against which the certificate was consumed.", "$ref": "#/definitions/uniqueID_Type" }, "locationType": { "description": "Consumption location type.", "type": "string", "minLength": 0, "maxLength": 20 }, "authorizationCode": { "description": "Authorization code for consumption.", "type": "string", "minLength": 0, "maxLength": 100 }, "serviceDate": { "description": "Date on which the service is due (arrival date in case of reservation).", "type": "string", "format": "date", "maxLength": 8 } } }, "eCertificateConsumeSourceType": { "type": "string", "description": "Indicates that OPERA E-Certificate is consumed by hotelPMS.", "enum": [ "Central", "Web", "Hotel" ] }, "eCertificateStatusType": { "type": "string", "description": "Indicates that OPERA E-Certificate is reserved.", "enum": [ "Cancelled", "Consumed", "Deleted", "Expired", "Issued", "Reserved" ] }, "awardId": { "type": "object", "description": "An identifier used to uniquely reference an object in a system (e.g. an airline reservation reference, customer profile reference, booking confirmation number, or a reference to a previous availability quote).", "properties": { "url": { "description": "URL that identifies the location associated with the record identified by the UniqueID.", "type": "string" }, "type": { "description": "A reference to the type of object defined by the UniqueID element.", "type": "string", "minLength": 0, "maxLength": 20 }, "instance": { "description": "The identification of a record as it exists at a point in time. An instance is used in update messages where the sender must assure the server that the update sent refers to the most recent modification level of the object being updated.", "type": "string", "minLength": 0, "maxLength": 80 }, "idContext": { "description": "Used to identify the source of the identifier (e.g., IATA, ABTA).", "type": "string", "minLength": 0, "maxLength": 80 }, "id": { "description": "A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.", "type": "string", "minLength": 0, "maxLength": 80 }, "idExtension": { "description": "Additional identifying value assigned by the creating system.", "type": "integer" } } }, "eCertificateIssueSourceType": { "type": "string", "description": "Indicates that OPERA E-Certificate is issued by external system.", "enum": [ "Opera", "Web", "Interface" ] }, "eCertificateIssueType": { "type": "string", "description": "Indicates that guest purchased OPERA E-Certificate.", "enum": [ "Assigned", "OptedIn", "Purchased" ] }, "eCertificateGenerationType": { "type": "object", "description": "E-Certificates details.", "properties": { "ruleId": { "description": "Key to identify the generation rule id.", "$ref": "#/definitions/uniqueID_Type" }, "generationDetail": { "description": "Reason for which e-certificate was generated.", "type": "string", "minLength": 0, "maxLength": 4000 }, "referenceValue": { "description": "Type of value that is in the certificate.valid values are membership_level.", "type": "string", "minLength": 0, "maxLength": 20 } } }, "roomOwnershipType": { "type": "object", "description": "Define the search criteria for retrieving room ownership records", "properties": { "roomOwnershipId": { "description": "Unique Id for Room Owner record.", "type": "integer" }, "contractNumber": { "description": "Contract number for room owner.", "type": "string" }, "roomId": { "description": "Room Id of room owner.", "type": "string" }, "roomCategory": { "description": "Room Category of the room ownership record.", "type": "string" }, "roomType": { "description": "Room Type of the room ownership record.", "type": "string" }, "startDate": { "description": "Start Date of the room ownership record.", "type": "string", "format": "date", "maxLength": 8 }, "endDate": { "description": "End Date of the room ownership record.", "type": "string", "format": "date", "maxLength": 8 }, "profileId": { "description": "Profile ID of the room ownership record.", "$ref": "#/definitions/uniqueID_Type" }, "status": { "description": "Status of the room ownership record.", "type": "string" } } }, "blockProfileTypeType": { "type": "string", "description": "Simple type for block profile types.", "enum": [ "Company", "Group", "Agent", "Source", "CompanyContact", "AgentContact", "SourceContact" ] }, "blockOwnersType": { "type": "object", "description": "Contains a list of block owners.", "properties": { "owner": { "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/blockOwnerType" } }, "lockBlockOwners": { "description": "When this flag is true, the logged in user cannot modify the existing block owners for the current block.", "type": "boolean" }, "lockRoomsOwners": { "description": "When this flag is true, the logged in user cannot modify the existing room owners for the current block.", "type": "boolean" }, "lockCateringOwners": { "description": "When this flag is true, the logged in user cannot modify the existing catering owners for the current block.", "type": "boolean" } } }, "masterBlockInfoType": { "type": "object", "properties": { "blockIdList": { "description": "Collection of unique block identifiers.", "$ref": "#/definitions/blockIdList" }, "hotelId": { "description": "Master/Sub Block's Hotel Code.", "type": "string", "minLength": 0, "maxLength": 20 }, "blockType": { "description": "Indicate Block Classification.", "$ref": "#/definitions/blockClassificationType" }, "timeSpan": { "description": "The Time Span(Arrival, Departure) which covers the Block Span.", "$ref": "#/definitions/timeSpanType" }, "blockName": { "description": "Block description.", "type": "string", "minLength": 0, "maxLength": 2000 }, "blockStatus": { "description": "Current status of the block.", "$ref": "#/definitions/bookingStatusType" }, "cateringStatus": { "description": "Catering Status details of the block.", "$ref": "#/definitions/bookingStatusType" }, "roomNights": { "description": "Pertain value for blocked rooms for a block.", "type": "integer" }, "roomNightsPickedup": { "description": "Pertain value for reserved rooms for a block.", "type": "integer" }, "syncBlockDates": { "description": "Indicates to check if Block Dates to be in sync.", "type": "boolean" }, "syncOtherBlockDetails": { "description": "Indicates whether other BlockDetails to be in Sync.", "type": "boolean" }, "syncBlockStatusDetails": { "description": "Indicates if Block Status Details to be in sync.", "type": "boolean" }, "syncPackages": { "description": "Indicates if packages to be in Sync.", "type": "boolean" }, "subBlockInfo": { "description": "Basic information pertaining to the sub block.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/masterSubBlockBaseInfoType" } }, "masterSubHotels": { "description": "Pertains valid hotel code list for logged in user against Master/Sub header record.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/hotelCodeListType" } } }, "description": "Basic information pertaining to the master block." }, "masterSubBlockBaseInfoType": { "type": "object", "properties": { "blockIdList": { "description": "Collection of unique block identifiers.", "$ref": "#/definitions/blockIdList" }, "hotelId": { "description": "Master/Sub Block's Hotel Code.", "type": "string", "minLength": 0, "maxLength": 20 }, "blockType": { "description": "Indicate Block Classification.", "$ref": "#/definitions/blockClassificationType" }, "timeSpan": { "description": "The Time Span(Arrival, Departure) which covers the Block Span.", "$ref": "#/definitions/timeSpanType" }, "blockName": { "description": "Block description.", "type": "string", "minLength": 0, "maxLength": 2000 }, "blockStatus": { "description": "Current status of the block.", "$ref": "#/definitions/bookingStatusType" }, "cateringStatus": { "description": "Catering Status details of the block.", "$ref": "#/definitions/bookingStatusType" }, "roomNights": { "description": "Pertain value for blocked rooms for a block.", "type": "integer" }, "roomNightsPickedup": { "description": "Pertain value for reserved rooms for a block.", "type": "integer" }, "syncBlockDates": { "description": "Indicates to check if Block Dates to be in sync.", "type": "boolean" }, "syncOtherBlockDetails": { "description": "Indicates whether other BlockDetails to be in Sync.", "type": "boolean" }, "syncBlockStatusDetails": { "description": "Indicates if Block Status Details to be in sync.", "type": "boolean" }, "syncPackages": { "description": "Indicates if packages to be in Sync.", "type": "boolean" } } }, "hotelCodeListType": { "type": "array", "description": "Hotel code.", "maxItems": 4000, "items": { "type": "string", "minLength": 0, "maxLength": 20 } }, "reservationPoliciesType": { "type": "object", "description": "A collection of reservation deposit and cancellation policies.", "properties": { "cancellationPolicies": { "description": "A collection of reservation cancellation policies..", "$ref": "#/definitions/resCancellationPoliciesType" }, "depositPolicies": { "description": "A collection of reservation deposit policies.", "$ref": "#/definitions/resDepositPoliciesType" }, "reservationIdList": { "description": "A list of Ids for reservation.", "$ref": "#/definitions/uniqueIDListType" }, "name": { "description": "Name identifier for the reservation.", "type": "string" } } }, "resCancellationPoliciesType": { "type": "array", "description": "A list of reservation cancellation policies.", "maxItems": 4000, "items": { "$ref": "#/definitions/resCancellationPolicyType" } }, "resCancellationPolicyType": { "type": "object", "description": "A cancellation policy attached with the reservation.", "properties": { "revenueType": { "description": "Type of reservation.", "$ref": "#/definitions/depositCancelRevenueType" }, "policy": { "description": "Cancellation policy details.", "$ref": "#/definitions/resCancelPenaltyType" }, "percentageDue": { "description": "The percentage amount due for reservation cancellation.", "type": "number", "minimum": 0, "maximum": 100 }, "comments": { "description": "Comments attached with the reservation cancellation.", "type": "string", "minLength": 0, "maxLength": 2000 }, "policyId": { "description": "Unique ID of the Reservation Policy.", "$ref": "#/definitions/uniqueID_Type" } } }, "depositCancelRevenueType": { "type": "string", "description": "The type to indicate what revenue is to be used for calculating deposit/cancellation amounts.", "enum": [ "Rooms", "Catering", "All" ] }, "resCancelPenaltyType": { "type": "object", "description": "The CancelPenalty class defines the cancellation policy of the hotel facility.", "properties": { "deadline": { "description": "Cancellation deadline, absolute or relative.", "$ref": "#/definitions/policyDeadlineType" }, "amountPercent": { "description": "Cancellation fee expressed as a fixed amount, or percentage of/or room nights.", "$ref": "#/definitions/policyAmountPercentType" }, "penaltyDescription": { "description": "Text description of the Penalty in a given language.", "type": "string", "minLength": 0, "maxLength": 2000 }, "offsetUnit": { "$ref": "#/definitions/offsetUnitType" }, "formattedRule": { "description": "Formatted Text Rule of the Cancellation Penalty.", "type": "string", "minLength": 0, "maxLength": 2000 }, "policyCode": { "description": "Policy Code.", "type": "string", "minLength": 0, "maxLength": 20 }, "manual": { "description": "Flag to indicate if the cancellation policy is manual.", "type": "boolean" }, "nonRefundable": { "description": "Indicates if the amount is refundable if booking is canceled.", "type": "boolean" }, "effective": { "description": "Indicator if Cancellation Penalty is currently applicable or not.", "type": "boolean" } } }, "resDepositPoliciesType": { "type": "array", "description": "A list of deposit policies attached with the reservation.", "maxItems": 4000, "items": { "$ref": "#/definitions/resDepositPolicyType" } }, "resDepositPolicyType": { "type": "object", "description": "A deposit policy attached with the reservation.", "properties": { "revenueType": { "description": "Type of reservation.", "$ref": "#/definitions/depositCancelRevenueType" }, "policy": { "description": "Reservation deposit policy details.", "$ref": "#/definitions/depositPolicyType" }, "comments": { "description": "Comments attached with a deposit.", "type": "string", "minLength": 0, "maxLength": 2000 }, "amountPaid": { "description": "Total amount paid against the reservation deposit.", "$ref": "#/definitions/currencyAmountType" }, "amountDue": { "description": "Total amount due against the reservation deposit.", "$ref": "#/definitions/currencyAmountType" }, "policyId": { "description": "Unique ID of the Reservation Policy.", "$ref": "#/definitions/uniqueID_Type" } } }, "depositPolicyType": { "type": "object", "description": "Used to define the deposit policy, guarantees policy, and/or accepted forms of payment.", "properties": { "amountPercent": { "description": "Payment expressed as a fixed amount, or a percentage of/or room nights.", "$ref": "#/definitions/policyAmountPercentType" }, "deadline": { "description": "Payment deadline, absolute or relative.", "$ref": "#/definitions/policyDeadlineType" }, "description": { "description": "Text description of the Payment in a given language.", "type": "string", "minLength": 0, "maxLength": 2000 }, "depositReceiptNo": { "description": "Receipt number associated with the deposit policy", "type": "integer" }, "transactionDate": { "description": "Transaction Date associated with the deposit policy", "type": "string", "format": "date", "maxLength": 8 }, "depositReqReversed": { "description": "Flag to indicate if deposit policy is reversed", "type": "boolean" }, "formattedRule": { "description": "Formatted Text Rule of the deposit policy.", "type": "string", "minLength": 0, "maxLength": 2000 }, "typeOfCharges": { "description": "Defines if the deposit amount is calculated based on Room Charges, Catering Charges or both", "$ref": "#/definitions/depositCancelRevenueType" }, "policyCode": { "description": "Deposit Policy Code", "type": "string", "minLength": 0, "maxLength": 20 }, "manual": { "description": "Flag to indicate if the deposit policy is manual.", "type": "boolean" }, "effective": { "description": "Indicator if deposit policy is currently applicable or not.", "type": "boolean" }, "estimatedAmount": { "description": "Estimated Amount for the deposit policy.", "type": "number" } } }, "blockReservationDetailsType": { "type": "object", "description": "Contains reservation related information for the block.", "properties": { "ratePlanCode": { "description": "Rate Plan for the block.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/blockRatePlanInfoType" } }, "arrivalTime": { "description": "Indicates the approximate check in time for the reservations made for the block.", "type": "string", "format": "date-time" }, "departureTime": { "description": "Indicates the approximate check out time for the reservations made for the block.", "type": "string", "format": "date-time" }, "traceCode": { "description": "Trace code for the block.", "$ref": "#/definitions/codeDescriptionType" }, "breakfast": { "description": "Indicates the breakfast information for the block room rates.", "$ref": "#/definitions/breakfastType" }, "porterage": { "description": "Indicates the Porterage information for the block room rates.", "$ref": "#/definitions/porterageType" }, "taRecordLocator": { "description": "Free format field to store information from Wholesaler for the block.", "type": "string", "minLength": 0, "maxLength": 50 }, "cutOffDate": { "description": "Cut off date of the block.", "type": "string", "format": "date", "maxLength": 8 }, "cutOffDays": { "description": "Cut off days of the block.", "type": "number" }, "cutoffScheduleCode": { "description": "Cutoff Schedule Code for Business Block", "type": "string", "minLength": 0, "maxLength": 20 }, "updateGridOnCutoffChange": { "description": "Determines whether the CutOffDate or CutOffDays has changed for the block header. If CutOffDate or CutOffDays is changed then apply the changed cutoff date/ days as the new cutoff date/ days to all the room types in the Grid.", "type": "boolean" }, "followupDate": { "description": "This element informs about the systematic follow up on this business block. A Group Reservations Agent or Reservations Manager can use this date to identify when to followup with the customer.", "type": "string", "format": "date", "maxLength": 8 }, "decisionDate": { "description": "Contains information about the date by which the group must make a decision on the block.", "type": "string", "format": "date", "maxLength": 8 }, "roomingListDueDate": { "description": "Due date for the rooming list for the block. This is the date by which the guest list should be provided by the customer.", "type": "string", "format": "date", "maxLength": 8 }, "elastic": { "description": "Elasticity of the block.", "type": "number" }, "suppressRate": { "description": "Are Rate amounts suppressed for the block.", "type": "boolean" }, "printRate": { "description": "Determines if the rate amounts are to be printed on the reservations picked up from the block. This becomes the default Print Rate setting for all reservations picked up from the block.", "type": "boolean" }, "rateGuarantee": { "description": "If this is true, then when a reservation is picked up for the block, the rate for that reservation is taken from the rate grid belonging to the block. If this is false, the rate amounts on the room grid are updated every time the Refresh Rates process is applied.", "type": "boolean" }, "inventoryControl": { "description": "Indicates whether the block is non elastic, elastic or sell limit block.", "$ref": "#/definitions/blockInventoryControlType" }, "personsPerRoom": { "description": "Indicates the expected number of guests per sleeping room when Occupancy Split Per Room Type parameter is N.", "type": "number" }, "activePostingMasterReservations": { "description": "Whether any active posting master reservations exist for the business block.", "type": "boolean" }, "postingMastersCancellable": { "description": "Indicates if posting master reservations can be cancelled.", "type": "boolean" }, "housing": { "description": "Determines whether or not the block can be managed at the CRS level.", "type": "boolean" }, "guaranteeRequired": { "description": "Determines whether the CRS guarantee is required or not for the block.", "type": "boolean" }, "controlBlockLocally": { "description": "Determines whether or not the block can be managed at the CRS level.", "type": "boolean" }, "transactionCode": { "description": "Transaction Code for the block", "type": "string", "minLength": 0, "maxLength": 20 } } }, "breakfastType": { "type": "object", "description": "Information about breakfast charges.", "properties": { "breakfastIncluded": { "description": "Indicates if the room rate quoted includes the breakfast cost.", "type": "boolean" }, "price": { "description": "The additional charges per person for breakfast, if breakfast is not included in the rate.", "$ref": "#/definitions/currencyAmountType" }, "description": { "description": "The exact breakfast method for this business block that is included or offered as an extra.", "type": "string", "minLength": 0, "maxLength": 40 } } }, "porterageType": { "type": "object", "description": "Information about porterage charges.", "properties": { "porterageIncluded": { "description": "Indicates if the room rate quoted includes any porterage cost.", "type": "boolean" }, "price": { "description": "The additional charges per person for porterage service, if porterage is not included in the rate.", "$ref": "#/definitions/currencyAmountType" } } }, "blockInventoryControlType": { "type": "string", "description": "Simple type for block inventory control values. This determines if it is a Non Elastic, Elastic or Sell Limits block.", "enum": [ "NonElastic", "Elastic", "SellLimit" ] }, "cateringType": { "type": "object", "description": "Contains catering related information for the block.", "properties": { "cateringStatus": { "description": "Catering Status details of the block.", "$ref": "#/definitions/bookingStatusDetailType" }, "cateringInternalStatus": { "description": "Internal status for the catering.", "type": "string", "minLength": 0, "maxLength": 20 }, "cateringNextStatusList": { "description": "Catering Status details of the block.", "$ref": "#/definitions/cateringNextStatusListType" }, "cateringStatusChangeHistory": { "description": "List of catering status changes.", "$ref": "#/definitions/cateringStatusChangeHistoryType" }, "cateringOwner": { "description": "Catering Owner of the block.", "type": "string", "minLength": 0, "maxLength": 20 }, "eventAttendees": { "description": "The catering attendees information for events associated with the block.", "$ref": "#/definitions/eventAttendeesType" }, "boardInfo": { "description": "The name by which the group wishes to be identified in the hotel.", "type": "string", "minLength": 0, "maxLength": 80 }, "onSiteName": { "description": "The name of the customer's in-house representative or contact on the day of the catering event.", "type": "string", "minLength": 0, "maxLength": 40 }, "contractNumber": { "description": "Catering contract number for the block.", "type": "string", "minLength": 0, "maxLength": 20 }, "functionInfo": { "description": "This provides more detail the type of function for which the event is held. For example, Trade Show, Meeting, or Annual Convention.", "type": "string", "minLength": 0, "maxLength": 60 }, "trackChanges": { "description": "Indicates whether the catering change logging for the booking is active or not. Any change made to catering events and resources will be logged when this is true.", "type": "boolean" }, "eventOrder": { "description": "Indicates if the Banquet Event Orders have been distributed.", "$ref": "#/definitions/eventOrderType" }, "cateringRevenue": { "description": "Information about catering revenue.", "$ref": "#/definitions/cateringRevenueType" }, "followUpDate": { "description": "Date used by catering manager or coordinator to follow up on the event.", "type": "string", "format": "date", "maxLength": 8 }, "decisionDate": { "description": "Date by which event group must make a decision on the booking.", "type": "string", "format": "date", "maxLength": 8 }, "pkgsTmplt": { "description": "Indicates whether event packages or templates can be applied to the block.", "type": "boolean" }, "cancellationDetails": { "description": "Information on the catering cancellation.", "$ref": "#/definitions/cancellationDetailsType" }, "resourceDiscountPercentage": { "description": "Indicates the resource discount percentage to be applied to resource items associated with the catering event.", "type": "number", "minimum": 0, "maximum": 100 }, "hasPackageEvents": { "description": "Indicates if the block has any package events.", "type": "boolean" }, "applyBoardInfoToAllEvents": { "description": "Indicates whether BoardInfo changes can be applied to all events of the block.", "type": "boolean" }, "applyMoveEvents": { "description": "Indicates whether catering event dates are moved when the block dates are changed.", "type": "boolean" }, "overrideEventsProcessingWarnings": { "description": "Indicates whether to ignore any warning during applying the changes to the events associated with the current block.", "type": "boolean" }, "applyEventsGuaranteeToAllEvents": { "description": "Indicates whether Guarantee changes can be applied to all events of the block.", "type": "boolean" }, "applyEventAttendeesChangesToEvents": { "description": "Indicates to which the events of the block can the attendees changes be applied.", "$ref": "#/definitions/applyEventAttendeesChangesToEventsType" }, "resourceDiscountType": { "description": "Attibute that indicates to which type of resource the discount should be applied to.", "$ref": "#/definitions/resourceDiscountTypeType" } } }, "cateringNextStatusListType": { "type": "array", "description": "Next catering status of the business block.", "maxItems": 4000, "items": { "$ref": "#/definitions/bookingStatusDetailType" } }, "cateringStatusChangeHistoryType": { "type": "array", "description": "Collection of catering status history.", "maxItems": 4000, "items": { "$ref": "#/definitions/bookingStatusHistoryType" } }, "eventAttendeesType": { "type": "object", "description": "Event attendees information.", "properties": { "noOfAttendees": { "description": "The maximum number of attendees for Catering events associated with the block.", "type": "integer" }, "attendeesGuaranteed": { "description": "This denotes that the number of Attendees are the minimum guaranteed by the customer.", "type": "boolean" } } }, "eventOrderType": { "type": "object", "description": "Event order distribution information.", "properties": { "distributed": { "description": "Indicates if the Banquet Event Orders have been distributed.", "type": "boolean" }, "distributedDate": { "description": "This indicates which exchange rate date will be used for blocks when printing Banquet Event Orders. When the Distributed attribute is true this contains the date stamp of when the Distributed attribute was updated. When Distributed attribute is false, this is left blank. This date can also be taken into consideration as the 'Exchange Rate Date' when, for instance, converting catering revenue to base currency.", "type": "string", "format": "date", "maxLength": 8 }, "distributedDateTime": { "description": "This indicates which exchange rate date will be used for blocks when printing Banquet Event Orders. When the Distributed attribute is true this contains the date/time stamp of when the Distributed attribute was updated. When Distributed attribute is false, this is left blank. This date can also be taken into consideration as the 'Exchange Rate Date' when, for instance, converting catering revenue to base currency.", "type": "string", "format": "date-time" } } }, "cateringRevenueType": { "type": "object", "description": "Information about Catering Revenue.", "properties": { "serviceCharge": { "description": "The service charge for the Catering Events that will be added to the business block.", "$ref": "#/definitions/currencyAmountType" }, "taxAmount": { "description": "The tax amount for the Catering Events that will be added to the business block.", "$ref": "#/definitions/currencyAmountType" }, "itemDiscount": { "description": "Item discount for the block.", "type": "number" }, "itemDiscountPercentage": { "description": "The discount percentage to be applied to resource items associated with catering events.", "type": "number", "minimum": 0, "maximum": 100 } } }, "applyEventAttendeesChangesToEventsType": { "type": "string", "description": "Non-Pkg Events on the same date.", "enum": [ "All", "None", "Same", "NonPackage", "MatchingNonPackage", "Package", "Date" ] }, "resourceDiscountTypeType": { "type": "string", "description": "Indicates the option to select resources that will be discounted with the Resource Discount Percentage.", "enum": [ "AllDiscountableResources", "ResourcesWithSameDiscountPercentage", "AllDiscountableItems", "ItemsWithSameDiscountPercentage", "AllDiscountableMenusAndMenuItems", "MenusAndMenuItemsWithSameDiscountPercentage", "AllDiscountableSpaces", "SpacesWithSameDiscountPercentage", "ResourcesAndCateringPackageWithSameDiscountPercentage", "AllCateringPackages", "AllCateringPackagesWithSameDiscountPercentage", "AllDiscountableResourcesAndCateringPackage", "None" ] }, "blockPackageType": { "type": "object", "description": "This contains the full information and schedule of the block package.", "properties": { "packageHeaderType": { "description": "Package information from configuration.", "$ref": "#/definitions/packageCodeHeaderType" }, "newTimeSpan": { "description": "The changed dates(Start and End dates) for this product.", "$ref": "#/definitions/timeSpanType" }, "consumptionDetails": { "description": "Package consumption details. Includes information for quantity , allowance etc.", "$ref": "#/definitions/packageConsumptionType" }, "packageCode": { "description": "Package code. This is the unique code used for the package and is a required element.", "type": "string", "minLength": 0, "maxLength": 20 }, "ratePlanCode": { "description": "The rate code which contains this package. If the package is not part of a rate code, this will be empty. Required element and part of the key to fetch the correct package record.", "type": "string", "minLength": 0, "maxLength": 20 }, "startDate": { "description": "Required value when changing a package. If the original start date was null, then null is required.", "type": "string", "format": "date", "maxLength": 8 }, "endDate": { "description": "Required value when changing a package. If the original end date was null, then null is required.", "type": "string", "format": "date", "maxLength": 8 }, "packageGroup": { "description": "Package group code. If this package is part of a package group, the group code is indicated here. This is a required element and is part of the key to fetch the correct package record .", "type": "string", "minLength": 0, "maxLength": 20 } } }, "packageCodeHeaderType": { "type": "object", "properties": { "primaryDetails": { "description": "Package code header primary details.", "$ref": "#/definitions/configPackagePrimaryDetailsType" }, "transactionDetails": { "description": "Package code header transaction information.", "$ref": "#/definitions/configPackageTransactionType" }, "postingAttributes": { "description": "Package code posting attributes.", "$ref": "#/definitions/configPostingAttributesType" }, "usageDetails": { "description": "Package code usage information.", "$ref": "#/definitions/configPackageUsageDetailType" } } }, "configPackagePrimaryDetailsType": { "type": "object", "description": "A Config Package Info type.", "properties": { "description": { "description": "The description of the package.", "type": "string", "minLength": 0, "maxLength": 2000 }, "shortDescription": { "description": "The short description of the package.", "type": "string", "minLength": 0, "maxLength": 2000 }, "forecastGroup": { "description": "The Forecast group package belongs to.", "type": "string", "minLength": 0, "maxLength": 20 }, "arrangementCode": { "description": "Arrangement Code.", "type": "string", "minLength": 0, "maxLength": 20 }, "beginSellDate": { "description": "Indicates the begin sell date of the package.", "type": "string", "format": "date", "maxLength": 8 }, "endSellDate": { "description": "Indicates the end sell date of the package.", "type": "string", "format": "date", "maxLength": 8 } } }, "configPackageTransactionType": { "type": "object", "description": "A HotelPackageTransaction type.", "properties": { "allowance": { "description": "Package is marked as an allowance, in case charge is expected back to the guest account from external interface eg. POS. which need to be offset against a consumption allowance.", "type": "boolean" }, "currency": { "description": "The currency code for this package.", "type": "string", "minLength": 0, "maxLength": 20 }, "postingType": { "description": "The posting frequency for this package, e.g., daily, arrival, departure, etc.", "type": "string", "minLength": 0, "maxLength": 20 }, "calculationRule": { "description": "The price calculation rule for this package.", "type": "string", "minLength": 0, "maxLength": 80 }, "packagePostingRules": { "description": "The package posting rule details.", "$ref": "#/definitions/packagePostingRulesType" } } }, "packagePostingRulesType": { "type": "object", "properties": { "transactionCode": { "description": "The Transaction code used to post the package price.", "$ref": "#/definitions/packageTransactionCodeType" }, "overageCode": { "description": "The overage code to record over consumed allowance.", "$ref": "#/definitions/packageTransactionCodeType" }, "profitCode": { "description": "The transaction code to record package profit, if any, from un-consumed allowance.", "$ref": "#/definitions/packageTransactionCodeType" }, "lossCode": { "description": "The transaction code to record package Loss, if any, from un-consumed allowance.", "$ref": "#/definitions/packageTransactionCodeType" }, "alternateCodesList": { "description": "The alternate transaction code that can be consumed by the guest in place of the transaction code.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/packageTransactionCodeType" } } } }, "packageTransactionCodeType": { "type": "object", "properties": { "description": { "description": "The description of the code.", "type": "string", "minLength": 0, "maxLength": 200 }, "code": { "description": "Posting / transaction code.", "type": "string", "minLength": 0, "maxLength": 20 }, "type": { "description": "Code is inclusive or exclusive of other charges such as taxes.", "$ref": "#/definitions/amountDeterminationType" } } }, "amountDeterminationType": { "type": "string", "description": "Used to indicate if an amount is inclusive or exclusive of other charges, such as taxes.", "enum": [ "Inclusive", "Exclusive" ] }, "configPostingAttributesType": { "type": "object", "description": "A config Package posting attributes type.", "properties": { "addToRate": { "description": "The package price is added to the room rate.", "type": "boolean" }, "printSeparateLine": { "description": "The package price is printed on separate line of the folio.", "type": "boolean" }, "sellSeparate": { "description": "Can the package be sold separate from rate plan code?", "type": "boolean" }, "postNextDay": { "description": "package charges will be posted next business day.", "type": "boolean" }, "forecastNextDay": { "description": "Package will be forecasted for consumption the next business day.", "type": "boolean" }, "deliveryTimeRequired": { "description": "Indicates whether a delivery time is required for the package.", "type": "boolean" }, "webBookable": { "description": "Can package be sold via Web channel.", "type": "boolean" }, "formula": { "description": "The custom formula used for this package, if any.", "type": "string", "minLength": 0, "maxLength": 2000 }, "formulaFunctionName": { "description": "The custom formula function name used for this package, if any.", "type": "string", "minLength": 0, "maxLength": 2000 }, "formulaFunctionArguments": { "description": "The function argument name-value combination accepted by the custom formula used for this package.", "$ref": "#/definitions/functionArgumentsType" }, "startTime": { "description": "Start time the package is valid.", "type": "string" }, "endTime": { "description": "End time the package is valid.", "type": "string" }, "catering": { "description": "Is package used for catering?", "type": "boolean" }, "postingRhythm": { "description": "The posting rhythm for this package.", "$ref": "#/definitions/packagePostingRhythmType" }, "priceCalculationRule": { "description": "The price calculation rule for this package.", "$ref": "#/definitions/packageCalculationRuleType" }, "ticket": { "description": "Indicates whether a package is configured as a ticket or not.", "type": "boolean" }, "inventoryItems": { "description": "Package Code Inventory Items type.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/pkgInventoryItemType" } }, "calculatedPrice": { "description": "Calculated Package Price based from Number of Adults, Children and Calculation Rule.", "type": "number" } } }, "functionArgumentsType": { "type": "array", "description": "Collection of function arguments and their corresponding values.", "maxItems": 4000, "items": { "$ref": "#/definitions/functionArgumentType" } }, "functionArgumentType": { "type": "object", "description": "This type provided details of a function argument and the value it holds.", "properties": { "name": { "description": "Specifies the name of the function argument.", "type": "string", "minLength": 0, "maxLength": 200 }, "value": { "description": "Specifies the value held by the function argument.", "type": "string", "minLength": 0, "maxLength": 200 }, "position": { "description": "Specifies the position of the function argument in the argument list.", "type": "integer" }, "dataType": { "description": "Specifies the datatype of the function argument.", "type": "string", "minLength": 0, "maxLength": 40 }, "required": { "description": "Argument of the function mandatory or not.", "type": "boolean" } } }, "packagePostingRhythmType": { "type": "object", "description": "Package Posting rhythm type.", "properties": { "everyXNightsStartingNightY": { "description": "Post the package every X nights Staring from Night Y.", "type": "object", "properties": { "startOnNightY": { "description": "Starting night for consumption and posting prices.", "type": "integer" }, "postEveryXNights": { "description": "Occurance of nights when the package needs to be posted and consumed.", "type": "integer" } } }, "certainNightsOfTheWeek": { "description": "Post the package on certain nights of the week.", "type": "object", "properties": { "sunday": { "type": "boolean" }, "monday": { "type": "boolean" }, "tuesday": { "type": "boolean" }, "wednesday": { "type": "boolean" }, "thursday": { "type": "boolean" }, "friday": { "type": "boolean" }, "saturday": { "type": "boolean" } } }, "customStaySchedule": { "description": "This user defined schedule lets you enter a posting rhythm over a 14-day period, starting with the arrival date, by assigning the day (number) within a guest stay for posting this package price.", "type": "object", "properties": { "night1": { "description": "Night 1 indicator.", "type": "boolean" }, "night2": { "description": "Night 2 indicator.", "type": "boolean" }, "night3": { "description": "Night 3 indicator.", "type": "boolean" }, "night4": { "description": "Night 4 indicator.", "type": "boolean" }, "night5": { "description": "Night 5 indicator.", "type": "boolean" }, "night6": { "description": "Night 6 indicator.", "type": "boolean" }, "night7": { "description": "Night 7 indicator.", "type": "boolean" }, "night8": { "description": "Night 8 indicator.", "type": "boolean" }, "night9": { "description": "Night 9 indicator.", "type": "boolean" }, "night10": { "description": "Night 10 indicator.", "type": "boolean" }, "night11": { "description": "Night 11 indicator.", "type": "boolean" }, "night12": { "description": "Night 12 indicator.", "type": "boolean" }, "night13": { "description": "Night 13 indicator.", "type": "boolean" }, "night14": { "description": "Night 14 indicator.", "type": "boolean" } } }, "customNightSchedule": { "description": "The start and end of the posting period is determined as follows: If the package is attached to a rate code: The period starts with the date when the rate code to which the package is attached becomes effective for the stay. The period ends with the date of the last night for that rate code (or the last night of the stay if the rate code remains in effect until the departure date). If the package is attached separately to the reservation: The Begin Date specified on the reservation when the package was attached is the start date for the period. The End Date specified on the reservation when the package was attached is the end date for the period. If no Begin Date and/or End Date are specified when the package is attached to the reservation, the Begin Date is assumed to be the arrival date and the End Date is assumed to be the departure date of the reservation, irrespective of when the package is attached to the reservation.", "type": "object", "properties": { "night1": { "description": "Night 1 indicator.", "type": "boolean" }, "night2": { "description": "Night 2 indicator.", "type": "boolean" }, "night3": { "description": "Night 3 indicator.", "type": "boolean" }, "night4": { "description": "Night 4 indicator.", "type": "boolean" }, "night5": { "description": "Night 5 indicator.", "type": "boolean" }, "night6": { "description": "Night 6 indicator.", "type": "boolean" }, "night7": { "description": "Night 7 indicator.", "type": "boolean" }, "night8": { "description": "Night 8 indicator.", "type": "boolean" }, "night9": { "description": "Night 9 indicator.", "type": "boolean" }, "night10": { "description": "Night 10 indicator.", "type": "boolean" }, "night11": { "description": "Night 11 indicator.", "type": "boolean" }, "night12": { "description": "Night 12 indicator.", "type": "boolean" }, "night13": { "description": "Night 13 indicator.", "type": "boolean" }, "night14": { "description": "Night 14 indicator.", "type": "boolean" } } }, "type": { "description": "Posting Rhythm for the package.", "$ref": "#/definitions/postingRhythmType" } } }, "postingRhythmType": { "type": "string", "description": "Simple type for posting Rhythm types.", "enum": [ "EveryNight", "ArrivalNight", "EveryXNightsStartingNightY", "CertainNightsOfTheWeek", "LastNight", "EveryNightExceptArrivalNight", "EveryNightExceptLast", "EveryNightExceptFirstAndLast", "CustomStaySchedule", "CustomNightSchedule", "FloatingAllowancePerStay", "TicketPosting" ] }, "packageCalculationRuleType": { "type": "string", "description": "Simple type for package caluculation rules.", "enum": [ "FlatRate", "PerPerson", "PerAdult", "PerChild", "PerRoom" ] }, "pkgInventoryItemType": { "type": "object", "properties": { "articleNumber": { "description": "Article Number of the inventory item.", "type": "string", "minLength": 0, "maxLength": 20 }, "description": { "description": "Description of the inventory item.", "type": "string", "minLength": 0, "maxLength": 200 }, "quantity": { "description": "Quantity of the inventory item allocated to the package.", "type": "integer" }, "itemId": { "description": "Identifier for the inventory item.", "type": "integer" } } }, "configPackageUsageDetailType": { "type": "object", "description": "A Config Package Usage Detail type.", "properties": { "source": { "description": "Indicates if the source of the product is Rate header, Rate Detail or Reservation.", "$ref": "#/definitions/productSourceType" }, "usedInReservations": { "description": "Indicates if the package is used in, reserved or prospect reservations.", "type": "boolean" }, "usedInRates": { "description": "Indicates if the package is used in any rate code.", "type": "boolean" }, "usedInHouseReservations": { "description": "Indicates if any checked in reservations are using this product.", "type": "boolean" } } }, "productSourceType": { "type": "string", "description": "Sources of Products", "enum": [ "Reservation", "RateHeader", "RateDetail" ] }, "packageConsumptionType": { "type": "object", "description": "Package Consumption Information. Includes information on quantity of the package used, allowance consumption etc.", "properties": { "defaultQuantity": { "description": "The default quantity attached in the package.", "type": "integer" }, "excludedQuantity": { "description": "The quantity which has been excluded in the package.", "type": "integer" }, "totalQuantity": { "description": "The total quantity of the package, calculated based on the calculation rule as defined in the PackageHeaderType.", "type": "integer" }, "allowanceConsumed": { "description": "Indicates if Allowance(for POS packages) has been consumed/posted for today.", "type": "boolean" } } }, "blockInventoryItemsType": { "type": "array", "description": "Inventory item attached to a block.", "maxItems": 4000, "items": { "$ref": "#/definitions/blockInventoryItemType" } }, "blockInventoryItemType": { "type": "object", "description": "An identifier used to uniquely reference an object in a system (e.g. an airline reservation reference, customer profile reference, booking confirmation number, or a reference to a previous availability quote).", "properties": { "url": { "description": "URL that identifies the location associated with the record identified by the UniqueID.", "type": "string" }, "type": { "description": "A reference to the type of object defined by the UniqueID element.", "type": "string", "minLength": 0, "maxLength": 20 }, "instance": { "description": "The identification of a record as it exists at a point in time. An instance is used in update messages where the sender must assure the server that the update sent refers to the most recent modification level of the object being updated.", "type": "string", "minLength": 0, "maxLength": 80 }, "idContext": { "description": "Used to identify the source of the identifier (e.g., IATA, ABTA).", "type": "string", "minLength": 0, "maxLength": 80 }, "id": { "description": "A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.", "type": "string", "minLength": 0, "maxLength": 80 }, "idExtension": { "description": "Additional identifying value assigned by the creating system.", "type": "integer" }, "item": { "description": "Specifies Items and its attributes. When used for data manipulation for Items setup on reservation, etc only code is considered. Other Attributes are for used to provide information during fetch operation.", "$ref": "#/definitions/itemInfoType" }, "quantity": { "description": "Number of items booked.", "type": "integer" }, "timeSpan": { "description": "Begin and end date and time of the items applicability.", "$ref": "#/definitions/dateRangeType" }, "source": { "description": "If exists specifies whether the item is setup due to a Rate Plan, Package or a Block.", "$ref": "#/definitions/blockInventoryItemSourceType" } } }, "itemInfoType": { "type": "object", "description": "Basic information regarding an Item.", "properties": { "description": { "description": "Detail description of an item.", "type": "string", "minLength": 0, "maxLength": 2000 }, "availabilityPeriod": { "description": "Defines a Time period when the item is available.", "$ref": "#/definitions/timeWindowType" }, "timeSpan": { "description": "Date Range to get the inventories of the items.", "$ref": "#/definitions/timeSpanType" }, "quantity": { "description": "Quantity of hold Item", "type": "integer" }, "itemHoldId": { "description": "ID reference for the hold Item", "type": "number" }, "code": { "description": "Item Code.", "type": "string", "minLength": 0, "maxLength": 20 }, "name": { "description": "Name of an item.", "type": "string", "minLength": 0, "maxLength": 200 }, "itemPool": { "description": "Indicates if it is an item pool. Not applicable for Item within the Item Pool.", "type": "boolean" }, "sellSeparate": { "description": "If true indicates that item is allowed to sell separately.", "type": "boolean" }, "sellInReservation": { "description": "If true indicates that item can be sold in reservation.", "type": "boolean" }, "sellInEvent": { "description": "If true indicates that item can be sold in event.", "type": "boolean" }, "requiredForBooking": { "description": "If true indicates that item is required for the reservation.", "type": "boolean" }, "fixedCharge": { "description": "If true indicates that item has fixed charge when it is attached to a reservation.", "type": "boolean" }, "outsideStay": { "description": "If true indicates that item could be held outside of the reservation stay days.", "type": "boolean" }, "defaultDuration": { "description": "Define the default duration in days when booking the item.", "type": "integer" } } }, "timeWindowType": { "type": "object", "description": "Defines a Time period with start time and an end time.", "properties": { "startTime": { "description": "Start Time of the Time window.", "type": "string" }, "endTime": { "description": "End Time of the Time window.", "type": "string" } } }, "dateRangeType": { "type": "object", "description": "Date Range with Start and End dates.", "properties": { "start": { "description": "The starting value of the date range.", "type": "string", "format": "date", "maxLength": 8 }, "end": { "description": "The ending value of the date range.", "type": "string", "format": "date", "maxLength": 8 } } }, "blockInventoryItemSourceType": { "type": "object", "description": "Defines whether the item is setup due to a Rate Plan, Package or a Block.", "properties": { "ratePlanCode": { "description": "Rate Plan Code, If populated specifies that the item is setup due to a Rate Plan.", "type": "string", "minLength": 0, "maxLength": 20 }, "packageCode": { "description": "Package Code, If populated specifies that the item is setup due to a Package.", "type": "string", "minLength": 0, "maxLength": 20 }, "blockId": { "description": "Block Unique ID, If populated specifies that the item is setup due to a Block.", "$ref": "#/definitions/blockId" } } }, "blockId": { "type": "object", "description": "An identifier used to uniquely reference an object in a system (e.g. an airline reservation reference, customer profile reference, booking confirmation number, or a reference to a previous availability quote).", "properties": { "url": { "description": "URL that identifies the location associated with the record identified by the UniqueID.", "type": "string" }, "type": { "description": "A reference to the type of object defined by the UniqueID element.", "type": "string", "minLength": 0, "maxLength": 20 }, "instance": { "description": "The identification of a record as it exists at a point in time. An instance is used in update messages where the sender must assure the server that the update sent refers to the most recent modification level of the object being updated.", "type": "string", "minLength": 0, "maxLength": 80 }, "idContext": { "description": "Used to identify the source of the identifier (e.g., IATA, ABTA).", "type": "string", "minLength": 0, "maxLength": 80 }, "id": { "description": "A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.", "type": "string", "minLength": 0, "maxLength": 80 }, "idExtension": { "description": "Additional identifying value assigned by the creating system.", "type": "integer" } } }, "blockStatisticsType": { "type": "object", "properties": { "allocatedRoomStatistics": { "description": "Indicates the room statistics for allocated rooms.", "$ref": "#/definitions/roomStatisticsType" }, "actualRoomStatistics": { "description": "Indicates the room statistics for actualized rooms.", "$ref": "#/definitions/roomStatisticsType" }, "cateringRevenueOnBooks": { "description": "Indicates the catering revenue on the books.", "type": "number" }, "actualCateringRevenue": { "description": "Indicates actualized catering revenue.", "type": "number" } } }, "roomStatisticsType": { "type": "object", "properties": { "roomCount": { "description": "The total number of rooms.", "type": "number" }, "roomRevenue": { "description": "The total revenue for the rooms.", "type": "number" }, "averageRate": { "description": "The average rate per room.", "type": "number" } } }, "roomAllocationTypeType": { "type": "object", "description": "A collection of Allocation objects for a block, such as Current Rooms, Original Rooms, Rate Amounts, etc.", "properties": { "roomAllocationInfo": { "description": "Allocation objects for a block.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/roomAllocationInfoType" } }, "allocation": { "description": "Indicates the type of the Allocation objects.", "$ref": "#/definitions/allocationType" } } }, "roomAllocationInfoType": { "type": "object", "description": "A collection of Allocation objects for a block that indicate room inventory or rate amounts.", "properties": { "roomGridDetails": { "description": "Indicates the values of room inventory or rate amounts.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/roomGridDetailsType" } }, "roomGridInvSummary": { "description": "Indicates the values of room inventory's summary.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/blockGridInvType" } }, "availableRoomGridInvSummary": { "description": "Indicates the values of room available room grid inventory's summary.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/blockGridInvType" } }, "stayDate": { "description": "Indicates the date of the room allocation or rate amount.", "type": "string", "format": "date", "maxLength": 8 }, "extendedStay": { "description": "Indicates if the current date will require automatic block extension.", "type": "boolean" } } }, "roomGridDetailsType": { "type": "object", "description": "Indicates the values of room inventory or rate amount per room type.", "properties": { "inventory": { "description": "Indicates the room inventory values per person occupancy.", "$ref": "#/definitions/blockGridInvType" }, "rate": { "description": "Indicates the rate amount values per person occupancy.", "$ref": "#/definitions/blockGridRatesType" }, "roomType": { "description": "Indicates the room type for which the inventory or rate values are applicable.", "type": "string", "minLength": 0, "maxLength": 20 }, "genericRoomType": { "description": "Indicates the Generic Room Type (Room Pool) the Room Type belongs to.", "type": "string", "minLength": 0, "maxLength": 20 } } }, "blockGridInvType": { "type": "object", "description": "Indicates the inventory values ( occupancy or availability ) per person occupancy.", "properties": { "onePerson": { "description": "Indicates the one person inventory value ( occupancy or availability ).", "type": "integer" }, "twoPerson": { "description": "Indicates the two person inventory value ( occupancy or availability ).", "type": "integer" }, "threePerson": { "description": "Indicates the three person inventory value ( occupancy or availability ).", "type": "integer" }, "fourPerson": { "description": "Indicates the four person inventory value ( occupancy or availability ).", "type": "integer" }, "sellLimit": { "description": "Indicates the sell limit", "type": "integer" }, "cutoffDate": { "description": "Indicates the cutoff date.Date when inventory left in the block will be cut-off.", "type": "string", "format": "date", "maxLength": 8 } } }, "blockGridRatesType": { "type": "object", "description": "Indicates the rate amount values per person occupancy.", "properties": { "onePerson": { "description": "Indicates the one person occupancy rate amount.", "type": "number" }, "twoPerson": { "description": "Indicates the two person occupancy rate amount.", "type": "number" }, "threePerson": { "description": "Indicates the three person occupancy rate amount.", "type": "number" }, "fourPerson": { "description": "Indicates the four person occupancy rate amount.", "type": "number" }, "extraPerson": { "description": "Indicates the extra person occupancy rate amount.", "type": "number" } } }, "allocationType": { "type": "string", "description": "Simple type for block allocation used in room rate grid.", "enum": [ "Initial", "Actual", "Rates", "Pickup", "Contract", "Available", "Pickupperc", "Changes", "Released", "Houseavailability", "SellLimit", "AvailableSellLimit", "MasterAllocInitial", "Allocated", "SubAllocResv", "CutoffDate", "ForecastRooms", "ForecastRates" ] }, "roomAllocationMasterInfoType": { "type": "object", "properties": { "roomTypes": { "description": "Detailed information about Room Type in the Hotel.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/allocationRoomTypeInfoType" } }, "genericRoomTypes": { "description": "Detailed information about Room Type in the Hotel.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/allocationRoomTypeInfoType" } } } }, "allocationRoomTypeInfoType": { "type": "object", "description": "The information about the room types contained in the block room allocation.", "properties": { "longDescription": { "description": "Detail description of the Room Type.", "type": "string", "minLength": 0, "maxLength": 2000 }, "webName": { "description": "Name corresponding to a RoomType.", "type": "string", "minLength": 0, "maxLength": 80 }, "webPage": { "description": "URL providing more information about the Room Type.", "type": "string", "minLength": 0, "maxLength": 2000 }, "roomFeatures": { "description": "Collection of room features.", "$ref": "#/definitions/roomFeaturesType" }, "roomTypeAttributes": { "description": "Room type attributes.", "$ref": "#/definitions/roomTypeAttributesType" }, "bookingChannelMappings": { "description": "Booking Channels mapping for the Room Type.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/bookingChannelMappingType" } }, "bedTypeCodes": { "description": "Bed type code associated with room.", "type": "array", "maxItems": 4000, "items": { "type": "string", "minLength": 0, "maxLength": 20 } }, "roomType": { "type": "string", "minLength": 0, "maxLength": 20 }, "hotelId": { "type": "string", "minLength": 0, "maxLength": 20 }, "roomClass": { "type": "string", "minLength": 0, "maxLength": 20 }, "description": { "type": "string", "minLength": 0, "maxLength": 2000 }, "suite": { "description": "Indicates room type is a suite.", "type": "boolean" }, "component": { "description": "Indicates room type is a Component Room.", "type": "boolean" }, "invBlockCode": { "description": "Block code.", "type": "string", "minLength": 0, "maxLength": 40 }, "roomViewCode": { "description": "Represents the room view code like City view, River view, Ocean view etc.", "type": "string", "minLength": 0, "maxLength": 40 }, "promotionCode": { "description": "Represents the promotional code.", "type": "string", "minLength": 0, "maxLength": 40 }, "roomQualifierCode": { "description": "Represents the room qualifier code like Deluxe,Economy,Suite etc.", "type": "string", "minLength": 0, "maxLength": 40 }, "roomQualifierMatchIndicator": { "description": "Represents the match indicator of room qualifier code returned in the response with the requested room qualifier code.", "type": "string", "minLength": 0, "maxLength": 20 }, "available": { "description": "Used to specify an availability status for the room type.", "type": "boolean" } } }, "roomFeaturesType": { "type": "array", "description": "A recurring element that identifies the room features.", "maxItems": 4000, "items": { "$ref": "#/definitions/roomFeatureType" } }, "roomFeatureType": { "type": "object", "description": "Room Feature Information.", "properties": { "code": { "description": "A code representing a room feature.", "type": "string", "minLength": 0, "maxLength": 20 }, "description": { "description": "A code representing a room feature.", "type": "string", "minLength": 0, "maxLength": 2000 }, "orderSequence": { "description": "Display Order sequence.", "type": "number" }, "quantity": { "description": "Indicates quantity.", "type": "integer" } } }, "roomTypeAttributesType": { "type": "object", "description": "Attributes of property room type.", "properties": { "defaultOccupancy": { "description": "Default occupancy of property room type.", "type": "integer" }, "maximumOccupancy": { "description": "Max occupancy of property room type.", "type": "integer" }, "noOfPhysicalRooms": { "description": "Number of physical rooms of property room type.", "type": "integer" }, "minimumOccupancy": { "description": "Minimum occupancy of property room type.", "type": "integer" }, "maximumAdults": { "description": "Maximum adult occupancy of property room type.", "type": "integer" }, "maximumChildren": { "description": "Maximum children occupancy of property room type.", "type": "integer" } } }, "bookingChannelMappingType": { "type": "object", "properties": { "bookingChannelCode": { "type": "string", "minLength": 0, "maxLength": 20 }, "code": { "type": "string", "minLength": 0, "maxLength": 20 }, "name": { "type": "string", "minLength": 0, "maxLength": 40 }, "description": { "type": "string", "minLength": 0, "maxLength": 2000 } } }, "blockTracesType": { "type": "array", "description": "List of Block traces.", "maxItems": 4000, "items": { "$ref": "#/definitions/blockTraceType" } }, "blockTraceType": { "type": "object", "description": "Extended Trace object to hold information for a block.", "properties": { "timeInfo": { "description": "Date of the trace.", "$ref": "#/definitions/traceTimeInfoType" }, "reservationId": { "description": "Reservation ID of the reservation for which the traces are to be retrieved.", "$ref": "#/definitions/reservationId" }, "departmentId": { "description": "Indicates the Department code.", "type": "string", "minLength": 0, "maxLength": 20 }, "traceText": { "description": "The information this trace contains.", "type": "string" }, "resolveInfo": { "description": "Information regarding the status of the trace", "$ref": "#/definitions/traceResolveType" }, "type": { "description": "A reference to the type of object defined by the UniqueID element.", "type": "string", "minLength": 0, "maxLength": 20 }, "instance": { "description": "The identification of a record as it exists at a point in time. An instance is used in update messages where the sender must assure the server that the update sent refers to the most recent modification level of the object being updated.", "type": "string", "minLength": 0, "maxLength": 80 }, "idContext": { "description": "Used to identify the source of the identifier (e.g., IATA, ABTA).", "type": "string", "minLength": 0, "maxLength": 80 }, "id": { "description": "A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.", "type": "string", "minLength": 0, "maxLength": 80 }, "createDateTime": { "description": "Time stamp of the creation.", "type": "string", "format": "date-time" }, "creatorId": { "description": "ID of creator. The creator could be a software system identifier or an identifier of an employee responsible for the creation.", "type": "string", "minLength": 0, "maxLength": 200 }, "lastModifyDateTime": { "description": "Time stamp of last modification.", "type": "string", "format": "date-time" }, "lastModifierId": { "description": "Identifies the last software system or person to modify a record.", "type": "string", "minLength": 0, "maxLength": 200 } } }, "traceTimeInfoType": { "type": "object", "properties": { "dateTimeSpan": { "description": "Time span for the trace.", "$ref": "#/definitions/dateTimeSpanType" }, "traceOn": { "description": "Date of the trace.", "type": "string", "format": "date-time" }, "traceTime": { "description": "Time of the trace", "type": "string", "minLength": 0, "maxLength": 20 }, "enteredBy": { "description": "User that entered this trace.", "type": "string" } } }, "dateTimeSpanType": { "type": "object", "description": "Allows for a choice in description of the amount of time spanned by this type. EndDate specifies a specific date, while Duration provides a measure of time to add to the StartDate to yield end date.", "properties": { "startDateTime": { "type": "string", "format": "date-time" }, "endDateTime": { "type": "string", "format": "date-time" } } }, "reservationId": { "type": "object", "description": "An identifier used to uniquely reference an object in a system (e.g. an airline reservation reference, customer profile reference, booking confirmation number, or a reference to a previous availability quote).", "properties": { "url": { "description": "URL that identifies the location associated with the record identified by the UniqueID.", "type": "string" }, "type": { "description": "A reference to the type of object defined by the UniqueID element.", "type": "string", "minLength": 0, "maxLength": 20 }, "instance": { "description": "The identification of a record as it exists at a point in time. An instance is used in update messages where the sender must assure the server that the update sent refers to the most recent modification level of the object being updated.", "type": "string", "minLength": 0, "maxLength": 80 }, "idContext": { "description": "Used to identify the source of the identifier (e.g., IATA, ABTA).", "type": "string", "minLength": 0, "maxLength": 80 }, "id": { "description": "A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.", "type": "string", "minLength": 0, "maxLength": 80 }, "idExtension": { "description": "Additional identifying value assigned by the creating system.", "type": "integer" } } }, "traceResolveType": { "type": "object", "properties": { "resolvedOn": { "description": "Date the trace was resolved", "type": "string", "format": "date", "maxLength": 8 }, "resolvedBy": { "description": "User that resolved the trace", "type": "string" } } }, "blockStatisticsSummaryType": { "type": "object", "description": "Type to store summary detail like rooms sold, average room rate and revenue for a statistic type.", "properties": { "roomsSold": { "description": "Total Number of Rooms Picked Up.", "type": "integer" }, "revenueSummary": { "$ref": "#/definitions/revenueSummaryType" }, "avgRoomRate": { "type": "number" }, "statisticType": { "$ref": "#/definitions/statisticsSummaryType" } } }, "revenueSummaryType": { "type": "object", "description": "Summary information pertaining to revenue like Room, Food and Beverage, Catering, Other, Catering Other and Total Revenue.", "properties": { "roomRevenue": { "type": "number" }, "foodAndBeverageRevenue": { "type": "number" }, "otherRevenue": { "type": "number" }, "cateringRevenue": { "type": "number" }, "cateringOtherRevenue": { "type": "number" }, "totalRevenue": { "type": "number" }, "nonRevenue": { "type": "number" } } }, "statisticsSummaryType": { "type": "string", "description": "Type of statistic for which summary information is populated.", "enum": [ "Potential", "Actual", "Variance" ] }, "rateProgramType": { "type": "object", "description": "Rate Programs for the Block.", "properties": { "roomPool": { "description": "Room Pool Code.", "type": "string", "minLength": 0, "maxLength": 20 }, "rates": { "description": "Block Rate Program Rates.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/rateProgramRateType" } } } }, "rateProgramRateType": { "type": "object", "description": "Room Pool Rate Program.", "properties": { "rateCode": { "description": "Rate Program Code.", "type": "string", "minLength": 0, "maxLength": 20 }, "rateMarketCode": { "description": "RateMarketCode is a rate attribute required for external system in order to create a rate program. Only available if configured in OPERA Cloud.", "$ref": "#/definitions/codeDescriptionType" }, "rateAmounts": { "description": "Rate Program Amounts.", "$ref": "#/definitions/blockGridRatesType" }, "roomTypes": { "description": "Rate Program Room Types.", "$ref": "#/definitions/rateProgramRoomType" }, "startDate": { "description": "Start date of the Room Pool Rate Program.", "type": "string", "format": "date", "maxLength": 8 }, "endDate": { "description": "End date of the Room Pool Rate Program.", "type": "string", "format": "date", "maxLength": 8 }, "commissionable": { "description": "Rate Program Commissionable Indicator.", "type": "boolean" }, "mobileCheckout": { "description": "Rate Program Mobile Checkout Allowed Indicator.", "type": "boolean" }, "primary": { "description": "Rate Program Primary Rate Code Indicator.", "type": "boolean" }, "sequence": { "description": "Sequence Number of the Rate Program.", "type": "integer" } } }, "rateProgramRoomType": { "type": "array", "description": "Room type for which Rate Program Rate Applies.", "maxItems": 4000, "items": { "type": "string", "minLength": 0, "maxLength": 20 } }, "eventTypeType": { "type": "string", "description": "Contract type.", "enum": [ "Convention", "Contract" ] }, "blockAlternateDateType": { "type": "object", "description": "Information for Alternate date types", "properties": { "alternateBeginDate": { "description": "Alternate Begin date.", "type": "string", "format": "date", "maxLength": 8 }, "blockRates": { "description": "Rate details for Alternate Dates.", "$ref": "#/definitions/blockGridRatesType" }, "roomCategory": { "description": "The Room Category Label", "type": "string", "minLength": 0, "maxLength": 20 }, "priority": { "description": "The Priority given to these alternate dates.", "type": "integer" } } }, "sellMessageConfigsType": { "type": "object", "description": "The SellMessageConfigsType is the list of sell messages, each comprising of all the sell message attributes and other details.", "properties": { "sellMessageConfig": { "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/sellMessageConfigType" } }, "hasMore": { "description": "Indicates whether all the records are included in the response or not. Absence of the attribute values should be consider as all rows fetched in the response.", "type": "boolean" }, "totalResults": { "description": "Total number of rows queried", "type": "integer" }, "count": { "description": "Total number of rows returned", "type": "integer" } } }, "sellMessageConfigType": { "type": "object", "description": "Only one of the following can hold a value: HotelCode, CROCode or ChainCode", "properties": { "message": { "description": "Sell message text.", "type": "string", "minLength": 0, "maxLength": 2000 }, "blockId": { "description": "Unique OPERA Block ID which is used to find a Block from OPERA. This ID is a primary identification of a Block in OPERA.", "$ref": "#/definitions/blockId" }, "blockCode": { "description": "Block Code to which the sell message is defined.", "type": "string", "minLength": 0, "maxLength": 20 }, "timespan": { "description": "Begin and End date for the sell message.", "$ref": "#/definitions/timeSpanType" }, "hotelId": { "description": "Hotel Code for which the sell message is defined.", "type": "string", "minLength": 0, "maxLength": 20 }, "croCode": { "description": "CRO Code for which the sell message is defined.", "type": "string", "minLength": 0, "maxLength": 20 }, "chainCode": { "description": "Chain Code for which the sell message is defined.", "type": "string", "minLength": 0, "maxLength": 20 }, "roomType": { "description": "Room type for which the sell message is defined.", "type": "string", "minLength": 0, "maxLength": 20 }, "ratePlanCode": { "description": "Rate Plan Code for which the sell message is defined.", "type": "string", "minLength": 0, "maxLength": 20 }, "languageCode": { "description": "Language in which the sell message is defined.", "type": "string", "minLength": 0, "maxLength": 20 }, "stickyFlag": { "description": "Sticky flag is used to define if the sell message should display on the block screen by default.", "type": "boolean" }, "sellSequence": { "description": "This number indicates the display order of the sell message.", "type": "number" }, "usedInModule": { "description": "This represents the moduleType where we want to display this SellMessage.", "type": "array", "maxItems": 10, "items": { "$ref": "#/definitions/usedInModuleType" } }, "type": { "description": "A reference to the type of object defined by the UniqueID element.", "type": "string", "minLength": 0, "maxLength": 20 }, "instance": { "description": "The identification of a record as it exists at a point in time. An instance is used in update messages where the sender must assure the server that the update sent refers to the most recent modification level of the object being updated.", "type": "string", "minLength": 0, "maxLength": 80 }, "idContext": { "description": "Used to identify the source of the identifier (e.g., IATA, ABTA).", "type": "string", "minLength": 0, "maxLength": 80 }, "id": { "description": "A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.", "type": "string", "minLength": 0, "maxLength": 80 } } }, "usedInModuleType": { "type": "string", "description": "Simple type for indicating the module for which user wants to create the SellMessage. Valid module types are Look To Book Sales,Reservations,Blocks,Function Diary and Group Rooms Control.", "enum": [ "Blocks", "Reservations", "FunctionDiary", "LookToBookSales", "GroupRoomsControl" ] }, "attachmentsType": { "type": "array", "description": "Attachment List.", "maxItems": 4000, "items": { "$ref": "#/definitions/attachmentType" } }, "attachmentType": { "type": "object", "description": "Attached files.", "properties": { "fileName": { "description": "Name of the file.", "type": "string", "minLength": 0, "maxLength": 2000 }, "fileSize": { "description": "Size of the file.", "type": "integer" }, "description": { "description": "Description for the file.", "type": "string", "minLength": 0, "maxLength": 4000 }, "global": { "description": "Flag to say if attachment is available across properties.", "type": "boolean" }, "hotelId": { "description": "Hotel Code.", "type": "string", "minLength": 0, "maxLength": 20 }, "history": { "description": "History data associated with Attachment.", "$ref": "#/definitions/dateTimeStampGroupType" }, "type": { "description": "A reference to the type of object defined by the UniqueID element.", "type": "string", "minLength": 0, "maxLength": 20 }, "instance": { "description": "The identification of a record as it exists at a point in time. An instance is used in update messages where the sender must assure the server that the update sent refers to the most recent modification level of the object being updated.", "type": "string", "minLength": 0, "maxLength": 80 }, "idContext": { "description": "Used to identify the source of the identifier (e.g., IATA, ABTA).", "type": "string", "minLength": 0, "maxLength": 80 }, "id": { "description": "A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.", "type": "string", "minLength": 0, "maxLength": 80 } } }, "dateTimeStampGroupType": { "type": "object", "properties": { "createDateTime": { "description": "Time stamp of the creation.", "type": "string", "format": "date-time" }, "creatorId": { "description": "ID of creator. The creator could be a software system identifier or an identifier of an employee responsible for the creation.", "type": "string", "minLength": 0, "maxLength": 200 }, "lastModifyDateTime": { "description": "Time stamp of last modification.", "type": "string", "format": "date-time" }, "lastModifierId": { "description": "Identifies the last software system or person to modify a record.", "type": "string", "minLength": 0, "maxLength": 200 }, "purgeDate": { "description": "Date an item will be purged from a database (e.g., from a live database to an archive).", "type": "string", "format": "date", "maxLength": 8 } } }, "blockWashSchedulesType": { "type": "array", "description": "Wash Schedule attached to the block, which allows to release inventory based on selected wash schedule type.", "maxItems": 4000, "items": { "$ref": "#/definitions/blockWashScheduleType" } }, "blockWashScheduleType": { "type": "object", "description": "Allows to select type of wash schedule: by number of rooms or by percentage.", "properties": { "washDate": { "description": "Date on which the block wash operation will be performed.", "type": "string", "format": "date", "maxLength": 8 }, "roomTypes": { "description": "A single room type on which wash operation should be performed.", "type": "array", "maxItems": 4000, "items": { "type": "string", "minLength": 0, "maxLength": 20 } }, "washByRooms": { "description": "Wash by rooms contains the occupany details and sell values for a specific block wash schedule.", "$ref": "#/definitions/blockGridInvType" }, "washByPercent": { "description": "When using the Wash by % option, indicate a wash percentage that will be applied it to the whole block.", "type": "number", "minimum": 0, "maximum": 100 } } }, "blockRestrictionsType": { "type": "object", "description": "List of restrictions belonging to a block.", "properties": { "blockId": { "description": "Unique OPERA Block ID which is used to find a Block from OPERA. This ID is a primary identification of a Block in OPERA.", "$ref": "#/definitions/blockId" }, "blockRestriction": { "description": "Block restriction details.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/blockRestrictionType" } }, "hotelId": { "description": "Hotel to which the block belongs to.", "type": "string", "minLength": 0, "maxLength": 20 } } }, "blockRestrictionType": { "type": "object", "description": "Restriction details for a block.", "properties": { "restrictionDate": { "description": "Date for which the restriction applies.", "$ref": "#/definitions/timeSpanDaysOfWeekType" }, "roomType": { "description": "Room Type selected for the block restriction.", "type": "string", "minLength": 0, "maxLength": 20 }, "blockRestrictionStatus": { "description": "Indicates the type of restriction along with parameters for restriction, if any.", "$ref": "#/definitions/restrictionStatusType" }, "actualTimeSpan": { "description": "Actual time span of the restriction.", "$ref": "#/definitions/timeSpanType" } } }, "timeSpanDaysOfWeekType": { "type": "object", "description": "Container for Time span with days of week.", "properties": { "timeSpan": { "$ref": "#/definitions/timeSpanType" }, "sunday": { "type": "boolean" }, "monday": { "type": "boolean" }, "tuesday": { "type": "boolean" }, "wednesday": { "type": "boolean" }, "thursday": { "type": "boolean" }, "friday": { "type": "boolean" }, "saturday": { "type": "boolean" } } }, "restrictionStatusType": { "type": "object", "description": "The RestrictionStatusType is used to indicate the type of restriction applied. An enumerated restriction type is defined in the attribute group.", "properties": { "code": { "description": "Identifies the type of restriction. I.E. Closed, ClosedForArrival, etc.", "$ref": "#/definitions/restrictionStatusesType" }, "unit": { "description": "Defines restriction in conjunction with Restriction Code. Value must be specified for Restriction Codes MinimumStayThrough, MaximumStayThrough, MinimumLengthOfStay, MaximumLengthOfStay, MinimumAdvanceBooking, MaximumAdvanceBooking.", "type": "integer" }, "lOS1": { "description": "Indicates Length of Stay 1 is not available. Defines restriction in conjunction with Restriction Code LOSNotAvailable.", "type": "boolean" }, "lOS2": { "description": "Indicates Length of Stay 2 is not available. Defines restriction in conjunction with Restriction Code LOSNotAvailable.", "type": "boolean" }, "lOS3": { "description": "Indicates Length of Stay 3 is not available. Defines restriction in conjunction with Restriction Code LOSNotAvailable.", "type": "boolean" }, "lOS4": { "description": "Indicates Length of Stay 4 is not available. Defines restriction in conjunction with Restriction Code LOSNotAvailable.", "type": "boolean" }, "lOS5": { "description": "Indicates Length of Stay 5 is not available. Defines restriction in conjunction with Restriction Code LOSNotAvailable.", "type": "boolean" }, "lOS6": { "description": "Indicates Length of Stay 6 is not available. Defines restriction in conjunction with Restriction Code LOSNotAvailable.", "type": "boolean" }, "lOS7": { "description": "Indicates Length of Stay 7 or more is not available. Defines restriction in conjunction with Restriction Code LOSNotAvailable.", "type": "boolean" } } }, "restrictionStatusesType": { "type": "string", "enum": [ "Closed", "ClosedForArrival", "ClosedForDeparture", "MinimumStayThrough", "MaximumStayThrough", "MinimumLengthOfStay", "MaximumLengthOfStay", "LOSNotAvailable", "MinimumAdvanceBooking", "MaximumAdvanceBooking", "Open", "OpenForArrival", "OpenForDeparture" ] }, "blockAccessExclusionsType": { "type": "object", "description": "Access Exclusion information indicating the actions allowed under a HUB or hotel for which the access exclusion is set.", "properties": { "blockAccessExclusion": { "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/blockAccessExclusionType" } }, "accessExclusionMessage": { "description": "Exclusion message for the block.", "$ref": "#/definitions/blockAccessExclusionMessageType" }, "hotelId": { "description": "Hotel code to which the block belongs to.", "type": "string", "minLength": 0, "maxLength": 20 }, "type": { "description": "A reference to the type of object defined by the UniqueID element.", "type": "string", "minLength": 0, "maxLength": 20 }, "instance": { "description": "The identification of a record as it exists at a point in time. An instance is used in update messages where the sender must assure the server that the update sent refers to the most recent modification level of the object being updated.", "type": "string", "minLength": 0, "maxLength": 80 }, "idContext": { "description": "Used to identify the source of the identifier (e.g., IATA, ABTA).", "type": "string", "minLength": 0, "maxLength": 80 }, "id": { "description": "A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.", "type": "string", "minLength": 0, "maxLength": 80 } } }, "blockAccessExclusionType": { "type": "object", "description": "Access Exclusion information indicating the actions allowed under a HUB or Hotel for which the access exclusion is set.", "properties": { "sourceType": { "description": "The type of source (CRO or Hotel code) for which the rate access exclusion is set.", "type": "string", "minLength": 0, "maxLength": 40 }, "sourceValue": { "description": "CRO or Hotel code value.", "type": "string", "minLength": 0, "maxLength": 80 }, "allowModifyReservation": { "description": "Allow to modify a reservation under this access exclusion.", "type": "boolean" }, "allowCancelReservation": { "description": "Allow to cancel a reservation under this access exclusion.", "type": "boolean" }, "allowCreateReservation": { "description": "Allow to create a reservation under this access exclusion.", "type": "boolean" }, "inactive": { "description": "The rate access exclusion is inactive", "type": "boolean" }, "excludeFromAvailability": { "description": "Exclude a specific rate from availability", "type": "boolean" } } }, "blockAccessExclusionMessageType": { "type": "object", "description": "Access exclusion message.", "properties": { "exclusionMessage": { "description": "Access Exclusion message for the block.", "type": "string", "minLength": 0, "maxLength": 4000 } } }, "blockDetailInstructionType": { "type": "string", "description": "Type for block instructions that can be used in requests for partial operations.", "enum": [ "AccessExclusions", "Aliases", "AlternateDates", "Attachments", "Block", "BlockNextStatuses", "BlockStatusHistory", "CatNextStatuses", "CatStatusHistory", "CentralSalesLeads", "Comments", "DateProtect", "ExternalReferences", "GenericRateGrid", "Header", "Indicators", "InventoryItems", "Owners", "Packages", "Policies", "PrimaryOwners", "PrimaryProfiles", "PrimaryRates", "Profiles", "RateGrid", "RateProgram", "Rates", "Restrictions", "SellMessages", "Statistics", "SummaryStatistics", "Traces", "WashSchedules" ] }, "links": { "type": "array", "items": { "$ref": "#/definitions/instanceLink" } }, "instanceLink": { "type": "object", "description": "Metadata describing link description objects that MAY appear in the JSON instance representation.", "properties": { "href": { "description": "URI [RFC3986] or URI Template [RFC6570]. If the value is set to URI Template, then the \"templated\" property must be set to true.", "type": "string" }, "rel": { "description": "Name of the link relation that, in addition to the type property, can be used to retrieve link details. For example, href or profile.", "type": "string" }, "templated": { "description": "Boolean flag that specifies that \"href\" property is a URI or URI Template. If the property is a URI template, set this value to true. By default, this value is false.", "type": "boolean", "default": false }, "method": { "description": "HTTP method for requesting the target of the link.", "type": "string", "enum": [ "GET", "POST", "PUT", "DELETE", "PATCH", "OPTIONS", "HEAD" ] }, "targetSchema": { "description": "Link to the metadata of the resource, such as JSON-schema, that describes the resource expected when dereferencing the target resource..", "type": "string" }, "operationId": { "description": "The operationId of the path you can call to follow this link. This allows you to look up not only the path and method, but the description of that path and any parameters you need to supply.", "type": "string" }, "title": { "description": "Exact copy of the \"summary\" field on the linked operation.", "type": "string" } } }, "status": { "type": "object", "description": "Response Body.", "properties": { "warnings": { "$ref": "#/definitions/warningsType" }, "links": { "$ref": "#/definitions/links" } } }, "exceptionDetailType": { "title": "Error Detail", "description": "Complex type that contains error details for a REST call.", "type": "object", "properties": { "type": { "type": "string", "description": "Absolute URI [RFC3986] that identifies the problem type. When dereferenced, it SHOULD provide a human-readable summary of the problem (for example, using HTML)." }, "title": { "type": "string", "description": "Short, human-readable summary of the problem. The summary SHOULD NOT change for subsequent occurrences of the problem, except for purposes of localization." }, "status": { "type": "integer", "description": "HTTP status code for this occurrence of the problem, set by the origin server." }, "detail": { "type": "string", "description": "Human-readable description specific to this occurrence of the problem." }, "instance": { "type": "string", "description": "Absolute URI that identifies the specific occurrence of the problem. It may or may not provide additional information if dereferenced." }, "o:errorCode": { "type": "string", "description": "Application error code, which is different from HTTP error code." }, "o:errorPath": { "type": "string", "description": "Path to the problem at the resource or property level." }, "o:errorDetails": { "description": "Details of the error message, consisting of a hierarchical tree structure.", "type": "array", "items": { "$ref": "#/definitions/errorInstance" } }, "links": { "$ref": "#/definitions/links" } }, "required": [ "type", "title" ] }, "errorInstance": { "title": "Error Instance Details", "description": "Complex type that contains error instance details for a REST call.", "type": "object", "properties": { "type": { "type": "string", "description": "Absolute URI [RFC3986] that identifies the problem type. When dereferenced, it SHOULD provide a human-readable summary of the problem (for example, using HTML)." }, "title": { "type": "string", "description": "Short, human-readable summary of the problem. The summary SHOULD NOT change for subsequent occurrences of the problem, except for purposes of localization." }, "status": { "type": "integer", "description": "HTTP status code for this occurrence of the problem, set by the origin server." }, "detail": { "type": "string", "description": "Human-readable description specific to this occurrence of the problem." }, "instance": { "type": "string", "description": "Absolute URI that identifies the specific occurrence of the problem. It may or may not provide additional information if dereferenced." }, "o:errorCode": { "type": "string", "description": "Application error code, which is different from HTTP error code." }, "o:errorPath": { "type": "string", "description": "Path to the problem at the resource or property level." } }, "required": [ "type", "title" ] }, "blockActivityLog": { "type": "object", "description": "Response object for fetching block activity log. This object contains collection of user activity log for the block, Success, Warnings and Errors related to this operation", "properties": { "activityLog": { "description": "Refer to Generic common types document.", "$ref": "#/definitions/activityLogListType" }, "links": { "$ref": "#/definitions/links" }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "activityLogListType": { "type": "object", "properties": { "activityLog": { "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/activityLogType" } }, "totalPages": { "description": "Evaluated total page count based on the requested max fetch count.", "type": "integer" }, "offset": { "description": "Index or initial index of the set(page) being requested. If the index goes out of the bounds of the total set count then no data will be returned.", "type": "integer" }, "limit": { "description": "Indicates maximum number of records a Web Service should return.", "type": "integer" }, "hasMore": { "description": "Indicates whether all the records are included in the response or not. Absence of the attribute values should be consider as all rows fetched in the response.", "type": "boolean" }, "totalResults": { "description": "Total number of rows queried", "type": "integer" }, "count": { "description": "Total number of rows returned", "type": "integer" } } }, "activityLogType": { "type": "object", "properties": { "hotelId": { "type": "string", "minLength": 0, "maxLength": 20 }, "module": { "type": "string" }, "logDate": { "type": "string", "format": "date-time" }, "refActionId": { "type": "number" }, "logUserId": { "type": "integer" }, "logUserName": { "type": "string" }, "machineStation": { "type": "string" }, "croCode": { "type": "string", "minLength": 0, "maxLength": 20 }, "actionType": { "type": "string", "minLength": 0, "maxLength": 100 }, "actionDescription": { "type": "string", "minLength": 0, "maxLength": 2000 }, "iPAddress": { "description": "The IP Address of the machine that performed the activity", "type": "string", "minLength": 0, "maxLength": 2000 }, "deviceCode": { "description": "The selected device code", "type": "string", "minLength": 0, "maxLength": 2000 } } }, "blockAllocationWash": { "type": "object", "description": "Request object for block wash operation.", "properties": { "blockAllocationWashType": { "description": "Holds wash criteria for the block.", "$ref": "#/definitions/blockAllocationWashType" }, "links": { "$ref": "#/definitions/links" }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "blockAllocationWashType": { "type": "object", "description": "Holds criteria for performing a wash operation on a block.", "properties": { "blockId": { "description": "Block Id for the wash operation.", "$ref": "#/definitions/blockId" }, "hotelId": { "description": "Hotel Code to which the block belongs to.", "type": "string", "minLength": 0, "maxLength": 20 }, "startDate": { "description": "Start date for the wash operation.", "type": "string", "format": "date", "maxLength": 8 }, "endDate": { "description": "End date for the wash operation.", "type": "string", "format": "date", "maxLength": 8 }, "roomTypes": { "description": "List of room types on which wash operation should be performed.", "type": "array", "maxItems": 4000, "items": { "type": "string", "minLength": 0, "maxLength": 20 } }, "includedDays": { "description": "String of length seven, each position representing various days of week from Sunday to Saturday, each character is either 0 or 1 indicating whether to apply wash for that day.", "type": "string", "minLength": 0, "maxLength": 8 }, "byValue": { "description": "A true value indicates that absolute value is being passed for occupancy, else it indicates that a percentage value is passed.", "type": "boolean" }, "blockInventory": { "description": "Used to pass occupancy values. If values are passed as percentage, only occupancy1 will be honored.", "$ref": "#/definitions/blockGridInvType" }, "percentByDay": { "description": "A true value indicates that percentage values are being passed day-wise.", "type": "boolean" }, "occPercentByDay": { "description": "Holds percentage values for each day.", "type": "object", "properties": { "sunday": { "description": "Percentage occupancy value for Sunday.", "type": "integer" }, "monday": { "description": "Percentage occupancy value for Monday.", "type": "integer" }, "tuesday": { "description": "Percentage occupancy value for Tuesday.", "type": "integer" }, "wednesday": { "description": "Percentage occupancy value for Wednesday.", "type": "integer" }, "thursday": { "description": "Percentage occupancy value for Thursday.", "type": "integer" }, "friday": { "description": "Percentage occupancy value for Friday.", "type": "integer" }, "saturday": { "description": "Percentage occupancy value for Saturday.", "type": "integer" } } }, "genericRoomType": { "description": "Indicates if the Allocation objects refer to Generic Room Types (Room Pools).", "type": "boolean" } } }, "blockWashInfo": { "type": "object", "description": "Block information required for performing a wash operation on a block.", "properties": { "blockWashInformation": { "description": "Block information required for performing a wash operation.", "$ref": "#/definitions/blockWashInfoType" }, "links": { "$ref": "#/definitions/links" }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "blockWashInfoType": { "type": "object", "description": "Block information and allocated room types information for performing a wash operation.", "properties": { "blockInfo": { "description": "Block information required to perform a wash operation.", "type": "object", "properties": { "hotelId": { "description": "Hotel Code to which the block belongs to.", "type": "string", "minLength": 0, "maxLength": 20 }, "blockId": { "description": "Block ID of the block on which wash operation is performed.", "$ref": "#/definitions/blockId" }, "blockCode": { "description": "Block code of the block on which wash operation is performed.", "type": "string", "minLength": 0, "maxLength": 20 }, "startDate": { "description": "Start date of the block.", "type": "string", "format": "date", "maxLength": 8 }, "endDate": { "description": "End date of the block.", "type": "string", "format": "date", "maxLength": 8 }, "shoulderStartDate": { "description": "Shoulder start date of the block.", "type": "string", "format": "date", "maxLength": 8 }, "shoulderEndDate": { "description": "Shoulder end date of the block.", "type": "string", "format": "date", "maxLength": 8 }, "inventoryControl": { "description": "Indicates if the block is elastic or not.", "$ref": "#/definitions/blockInventoryControlType" } } }, "roomTypes": { "description": "List of allocated room types for the block.", "type": "array", "maxItems": 4000, "items": { "type": "string", "minLength": 0, "maxLength": 20 } } } }, "blockSummaries": { "type": "object", "description": "It also contains Success,Warnings and Errors related to this operation.", "properties": { "blockSummaries": { "description": "Type contains the summary information for a block.", "$ref": "#/definitions/blockSummariesType" }, "masterInfoList": { "description": "Refer to Generic common types document.", "type": "array", "items": { "$ref": "#/definitions/masterInfoType" } }, "links": { "$ref": "#/definitions/links" }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "blockSummariesType": { "type": "object", "description": "Summary information returned during block search.", "properties": { "blockInfo": { "description": "A collection of Blocks or Unique IDs of Blocks.", "type": "array", "maxItems": 4000, "items": { "type": "object", "properties": { "blockIdList": { "description": "Collection of unique block identifiers.", "$ref": "#/definitions/blockIdList" }, "block": { "description": "Provides summary information regarding a block.", "$ref": "#/definitions/blockSummaryType" } } } }, "totalPages": { "description": "Evaluated total page count based on the requested max fetch count.", "type": "integer" }, "offset": { "description": "Index or initial index of the set(page) being requested. If the index goes out of the bounds of the total set count then no data will be returned.", "type": "integer" }, "limit": { "description": "Indicates maximum number of records a Web Service should return.", "type": "integer" }, "hasMore": { "description": "Indicates whether all the records are included in the response or not. Absence of the attribute values should be consider as all rows fetched in the response.", "type": "boolean" }, "totalResults": { "description": "Total number of rows queried", "type": "integer" }, "count": { "description": "Total number of rows returned", "type": "integer" } } }, "blockSummaryType": { "type": "object", "properties": { "hotelId": { "description": "Hotel code for this block.", "type": "string", "minLength": 0, "maxLength": 20 }, "blockCode": { "description": "Block code for this block.", "type": "string", "minLength": 0, "maxLength": 20 }, "blockName": { "description": "Block name for this block.", "type": "string", "minLength": 0, "maxLength": 2000 }, "blockStatus": { "description": "Status code and description for this block.", "$ref": "#/definitions/bookingStatusType" }, "status": { "description": "Internal status for the block.", "type": "string", "minLength": 0, "maxLength": 20 }, "rateCode": { "description": "Rate code assigned to block.", "type": "string", "minLength": 0, "maxLength": 20 }, "cateringStatus": { "description": "Catering Status Code and Description for the block.", "$ref": "#/definitions/bookingStatusType" }, "cateringAttendees": { "description": "Number of Attendees for Catering Event", "type": "integer" }, "cateringOnlyBlock": { "description": "Indicates if this is a catering only block.", "type": "boolean" }, "startDate": { "description": "Start date for this block.", "type": "string", "format": "date", "maxLength": 8 }, "endDate": { "description": "End date for this block.", "type": "string", "format": "date", "maxLength": 8 }, "shoulderStartDate": { "description": "Shoulder begin date for this block.", "type": "string", "format": "date", "maxLength": 8 }, "shoulderEndDate": { "description": "Shoulder end date for this block.", "type": "string", "format": "date", "maxLength": 8 }, "inventoryControl": { "description": "Indicates whether the block is elastic. Stores 0 for non-elastic, 1 for elastic and 2 for sell limit block.", "$ref": "#/definitions/blockInventoryControlType" }, "hotelUse": { "description": "Indicates whether the block can be updated only by the Hotel to which it belongs.", "$ref": "#/definitions/hotelUseType" }, "searchMatches": { "description": "Super Search matching terms.", "$ref": "#/definitions/searchMatchesType" }, "blockIndicators": { "description": "Indicators of additional information attached to the block", "$ref": "#/definitions/indicatorsType" }, "tourCode": { "description": "The tour code that this block belongs to, if the block is a part of a tour series.", "type": "string", "minLength": 0, "maxLength": 20 }, "rooms": { "description": "Inventory held for the business block.", "type": "integer" }, "primaryOwners": { "description": "Primary Owners for the the business block.", "$ref": "#/definitions/blockOwnersType" }, "blockClassification": { "description": "Indicate Master/Sub Block.", "$ref": "#/definitions/blockClassificationType" }, "isCentralSalesLead": { "description": "Flag to determine if the given block is central lead or not.", "type": "boolean" }, "centralSalesLeadResort": { "description": "Resort name of central sales lead for this property lead.", "type": "string", "minLength": 0, "maxLength": 80 }, "centralSalesLeadId": { "description": "Central sales lead id of the central sales lead for this property lead.", "type": "string", "minLength": 0, "maxLength": 20 }, "synchronized": { "description": "Indicate if Master/Sub Blocks are Synchronized.", "type": "boolean" }, "groupName": { "description": "Group name for this block.", "type": "string", "minLength": 0, "maxLength": 2000 }, "tentativeBlock": { "description": "If tentative block, block inventory is not deducted from hotel inventory else block inventory is deducted.", "type": "boolean" }, "customFields": { "description": "Specifies custom extension fields for a Block Summary Type", "$ref": "#/definitions/customFieldsType" }, "actualRooms": { "description": "Inventory held for the block's reservations.", "type": "integer" }, "cutoffDate": { "description": "Date after which unused block rooms should be returned to house.", "type": "string", "format": "date", "maxLength": 8 }, "reservationType": { "description": "Reservation type of the business block.", "type": "string", "minLength": 0, "maxLength": 20 }, "reservationMethod": { "description": "Reservation method of the business block.", "type": "string", "minLength": 0, "maxLength": 20 }, "flexibleDates": { "description": "Indicates if alternate dates are allowed for the booking.", "type": "boolean" }, "deductInventory": { "description": "Indicates if blocked rooms are deducted from inventory.", "type": "boolean" }, "cateringDeductInventory": { "description": "Indicates if blocked catering events are deducted from inventory.", "type": "boolean" }, "decisionDate": { "description": "Contains information about the date by which the group must make a decision on the block.", "type": "string", "format": "date", "maxLength": 8 }, "followupDate": { "description": "Contains information to follow up on the block.", "type": "string", "format": "date", "maxLength": 8 }, "createDateTime": { "description": "Time stamp of the creation.", "type": "string", "format": "date-time" }, "creatorId": { "description": "ID of creator. The creator could be a software system identifier or an identifier of an employee responsible for the creation.", "type": "string", "minLength": 0, "maxLength": 200 }, "lastModifyDateTime": { "description": "Time stamp of last modification.", "type": "string", "format": "date-time" }, "lastModifierId": { "description": "Identifies the last software system or person to modify a record.", "type": "string", "minLength": 0, "maxLength": 200 } } }, "customFieldsType": { "type": "object", "description": "A common type used to hold custom user defined fields(UDFs). This type should be used to handle custom UDFs on RReservation, Profiles, tc.", "properties": { "customCharUDFs": { "description": "Collection of custom user defined fields of Character/String Type.", "$ref": "#/definitions/customCharUDFsType" }, "customNumericUDFs": { "description": "Collection of custom user defined fields of Numeric Type.", "$ref": "#/definitions/customNumericUDFsType" }, "customDateUDFs": { "description": "Collection of custom user defined fields of Date Type.", "$ref": "#/definitions/customDateUDFsType" } } }, "customCharUDFsType": { "type": "array", "description": "Used to hold collection of custom user defined fields of Character/String Type.", "maxItems": 4000, "items": { "$ref": "#/definitions/characterUDFType" } }, "customNumericUDFsType": { "type": "array", "description": "Used to hold collection of custom user defined fields of Numeric Type.", "maxItems": 4000, "items": { "$ref": "#/definitions/numericUDFType" } }, "customDateUDFsType": { "type": "array", "description": "Used to hold collection of custom user defined fields of Date Type.", "maxItems": 4000, "items": { "$ref": "#/definitions/dateUDFType" } }, "masterInfoType": { "type": "object", "properties": { "codeInfo": { "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/codeInfoType" } }, "codeType": { "$ref": "#/definitions/masterType" } } }, "codeInfoType": { "type": "object", "description": "", "properties": { "description": { "type": "string", "minLength": 0, "maxLength": 80 }, "addtionalCodeInfo": { "$ref": "#/definitions/addtionalCodeInfoType" }, "hotelId": { "type": "string", "minLength": 0, "maxLength": 20 }, "code": { "type": "string", "minLength": 0, "maxLength": 20 } } }, "addtionalCodeInfoType": { "type": "array", "description": "Holds name of additional code information", "maxItems": 4000, "items": { "type": "object", "properties": { "name": { "description": "Holds name of additional code information", "$ref": "#/definitions/masterInfoCodeDetailType" }, "value": { "description": "Holds value of additional code information", "type": "string", "minLength": 0, "maxLength": 2000 } } } }, "masterInfoCodeDetailType": { "type": "string", "enum": [ "LongDescription", "ShortDescription" ] }, "masterType": { "type": "string", "enum": [ "Country", "State", "AddressType", "PhoneType", "RateCategory", "CalculationRule", "PostingRythym", "BillingInstruction", "TransactionCode", "DisplaySet", "MailingActions", "DistanceType", "District", "Territory", "FiscalRegion", "InventoryItem", "Package", "RoomFeaturePreference", "SpecialPreference", "Promotion", "Department", "ReservationPreference", "FacilityTask", "RoomType", "RateCode", "OutOfOrderReason", "Block" ] }, "blockValidate": { "type": "object", "description": "Request object for validating creation of blocks only. Block is not created. This object contains block details with unique identifiers for each block. The standard optional Opera Context element is also included.", "properties": { "blocks": { "description": "Contains the detailed information regarding the block.", "$ref": "#/definitions/blocksType" }, "blockRateCodeDetails": { "description": "Contains the detailed information to validate the block rate code.", "$ref": "#/definitions/blockRateCodeValidationType" }, "links": { "$ref": "#/definitions/links" }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "blocksType": { "type": "object", "description": "A collection of Block objects or Unique IDs of Blocks.", "properties": { "blockInfo": { "description": "A collection of Blocks or Unique IDs of Blocks.", "type": "array", "maxItems": 4000, "items": { "type": "object", "properties": { "block": { "description": "Provides detailed information regarding a block.", "$ref": "#/definitions/blockType" } } } }, "hasMore": { "description": "Indicates whether all the records are included in the response or not. Absence of the attribute values should be consider as all rows fetched in the response.", "type": "boolean" }, "totalResults": { "description": "Total number of rows queried", "type": "integer" }, "count": { "description": "Total number of rows returned", "type": "integer" } } }, "blockType": { "type": "object", "properties": { "blockIdList": { "description": "Collection of unique block identifiers.", "$ref": "#/definitions/blockIdList" }, "externalReferences": { "description": "External Reference information for Reservation.", "$ref": "#/definitions/externalReferencesType" }, "blockDetails": { "description": "Detailed Block information for this block.", "$ref": "#/definitions/blockDetailsType" }, "blockOwners": { "description": "Criteria to assign the owners of a business block.", "$ref": "#/definitions/blockOwnersType" }, "masterBlockInfo": { "description": "Basic information of master and sub blocks structure in tree manner, this element only used while retrieving Block Type.", "$ref": "#/definitions/masterBlockInfoType" }, "reservationPolicies": { "description": "A list of reservation policies.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/reservationPoliciesType" } }, "reservationDetails": { "description": "Details of room Information for the Block.", "$ref": "#/definitions/blockReservationDetailsType" }, "catering": { "description": "Details of catering Information for the Block.", "$ref": "#/definitions/cateringType" }, "blockProfiles": { "description": "A collection of all the profiles associated to this block. Please note that during a change operation this performs a full overlay if the attribute FullOverlay is set to true. In a full overlay, all the profiles that should be associated to the block should be provided during a change operation. Any profiles not provided will be detached from this block. By default the full overlay is considered false if this tag is left blank. If values are provided for profiles, only the full overlay functionality is provided at this time.", "type": "object", "properties": { "blockProfile": { "description": "The list of profiles associated with the block.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/blockProfilesType" } }, "fullOverlay": { "description": "Indicates whether to perform a full overlay for the profiles. Currently only the Fulloverlay functionality is provided.", "type": "boolean" } } }, "blockPackages": { "description": "A Block Package represents a non-room product provided to guests. Block Pacakges may have associated inventory and charges.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/blockPackageType" } }, "inventoryItems": { "description": "A collection of inventory items attached to a block.", "$ref": "#/definitions/blockInventoryItemsType" }, "blockStatistics": { "description": "Indicates the room and revenue statistics of the block.", "$ref": "#/definitions/blockStatisticsType" }, "comments": { "description": "List of notes for the Block.", "type": "object", "properties": { "commentInfo": { "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/commentInfoType" } }, "hasMore": { "description": "Indicates whether all the records are included in the response or not. Absence of the attribute values should be consider as all rows fetched in the response.", "type": "boolean" }, "totalResults": { "description": "Total number of rows queried", "type": "integer" }, "count": { "description": "Total number of rows returned", "type": "integer" } } }, "roomAllocations": { "description": "Room Allocations for the Block.", "type": "object", "properties": { "roomAllocationType": { "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/roomAllocationTypeType" } }, "masterInfo": { "description": "Room Allocations Master Information contains all the room types in the property.", "$ref": "#/definitions/roomAllocationMasterInfoType" }, "hasMore": { "description": "Indicates whether all the records are included in the response or not. Absence of the attribute values should be consider as all rows fetched in the response.", "type": "boolean" }, "totalResults": { "description": "Total number of rows queried", "type": "integer" }, "count": { "description": "Total number of rows returned", "type": "integer" }, "startDate": { "type": "string", "format": "date", "maxLength": 8 }, "numberOfDays": { "type": "number" } } }, "userDefinedFields": { "description": "Collections of user defined fields.", "$ref": "#/definitions/userDefinedFieldsType" }, "blockIndicators": { "description": "Indicators of additional information attached to the block", "$ref": "#/definitions/indicatorsType" }, "traces": { "description": "List of block traces.", "$ref": "#/definitions/blockTracesType" }, "statistics": { "description": "Statistics summary information including Rooms Sold, Room Revenue, Food and Beverage Revenue, Average Room Rate,etc.", "type": "array", "maxItems": 3, "items": { "$ref": "#/definitions/blockStatisticsSummaryType" } }, "blockSecurity": { "description": "Block security information used for an external system. Only available if configured in OPERA Cloud.", "type": "object", "properties": { "securedFromDIdisplayYn": { "description": "Secured from DI Display.", "type": "boolean" }, "allDescriptionDDSecured": { "description": "All Description DD Secured.", "type": "boolean" }, "ratesSecuredfromGNR": { "description": "Rates Secured from GNR.", "type": "boolean" }, "ratesSecuredfromAllDisplays": { "description": "Rates Secured from All Displays.", "type": "boolean" }, "housingInformationSecured": { "description": "Housing Information Secured.", "type": "boolean" }, "daysDepositRequired": { "description": "Number of Days Deposit due to guarantee the guest booking.", "type": "number" }, "advanceCancelDays": { "description": "Number of days before the arrival date a reservation can be canceled without losing the deposit.", "type": "number" }, "returnOneDayAtTimeYn": { "description": "Return One Day at a time.", "type": "boolean" }, "commissionableYn": { "description": "Determines if Travel Agent commission will be paid on reservations booked through the HOLIDEX Plus TACP program.", "type": "boolean" } } }, "ratePrograms": { "description": "Rate Program contains rate information required for block creation, like room pool, rate amount, market code, etc. Only available if configured in OPERA Cloud.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/rateProgramType" } }, "externalAttributes": { "description": "Block attributes used for external systems. Only available if configured in OPERA Cloud.", "type": "object", "properties": { "housingProtected": { "description": "Only available if configured in OPERA Cloud.", "type": "boolean" }, "eventType": { "description": "Contract type of a block, which is used for external system. Only available if configured in OPERA Cloud.", "$ref": "#/definitions/eventTypeType" }, "gIId": { "description": "Group IATA number validated by an external system and block can't be saved unless confirmed that GIID is valid. Only available if configured in OPERA Cloud.", "type": "string" }, "rollEndDate": { "description": "When this flag is set it will be used to roll Block End Date and Block Rate Program End Date in the night audit process. Only available if configured in OPERA Cloud.", "type": "boolean" } } }, "genericRoomAllocations": { "description": "Generic Room Type Allocations for the Block.", "type": "object", "properties": { "roomAllocationType": { "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/roomAllocationTypeType" } }, "masterInfo": { "description": "Generic Room Allocations Master Information contains all the room types in the property.", "$ref": "#/definitions/roomAllocationMasterInfoType" }, "hasMore": { "description": "Indicates whether all the records are included in the response or not. Absence of the attribute values should be consider as all rows fetched in the response.", "type": "boolean" }, "totalResults": { "description": "Total number of rows queried", "type": "integer" }, "count": { "description": "Total number of rows returned", "type": "integer" }, "startDate": { "type": "string", "format": "date", "maxLength": 8 }, "numberOfDays": { "type": "number" } } }, "alternateDates": { "description": "Alternate Date information for the Block.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/blockAlternateDateType" } }, "sellMessages": { "description": "List of sell messages for the Block.", "$ref": "#/definitions/sellMessageConfigsType" }, "attachments": { "description": "List of attachments for the Block.", "$ref": "#/definitions/attachmentsType" }, "washSchedules": { "description": "List of wash schedules for the Block.", "$ref": "#/definitions/blockWashSchedulesType" }, "restrictions": { "description": "List of restrictions for the Block.", "$ref": "#/definitions/blockRestrictionsType" }, "accessExclusions": { "description": "List of access exclusions for the block.", "$ref": "#/definitions/blockAccessExclusionsType" }, "centralSalesLeads": { "description": "Basic information about the Central Sales Lead and its Property Leads.", "$ref": "#/definitions/centralSalesLeadsType" }, "hotelId": { "type": "string", "minLength": 0, "maxLength": 20 }, "markAsRecentlyAccessed": { "description": "Mark this block as recently accessed.", "type": "boolean" }, "createDateTime": { "description": "Time stamp of the creation.", "type": "string", "format": "date-time" }, "creatorId": { "description": "ID of creator. The creator could be a software system identifier or an identifier of an employee responsible for the creation.", "type": "string", "minLength": 0, "maxLength": 200 }, "lastModifyDateTime": { "description": "Time stamp of last modification.", "type": "string", "format": "date-time" }, "lastModifierId": { "description": "Identifies the last software system or person to modify a record.", "type": "string", "minLength": 0, "maxLength": 200 } } }, "blockRateCodeValidationType": { "type": "object", "description": "Information for validation of block rate code.", "properties": { "hotelId": { "description": "Hotel code for which rate code should be validated.", "type": "string", "minLength": 0, "maxLength": 20 }, "rateCode": { "description": "Rate code", "type": "string", "minLength": 0, "maxLength": 20 }, "startDate": { "description": "Start date for the rate code validation.", "type": "string", "format": "date", "maxLength": 8 }, "endDate": { "description": "End date for the rate code validation.", "type": "string", "format": "date", "maxLength": 8 } } }, "blockDailyStatistics": { "type": "object", "description": "Response Object of Fetch Block Daily Statistics.", "properties": { "blockDailyStatistics": { "description": "Collection of Block Daily Statistics for selected Block.", "$ref": "#/definitions/blocksDailyStatisticsType" }, "totalPages": { "description": "Evaluated total page count based on the requested max fetch count.", "type": "integer" }, "offset": { "description": "Index or initial index of the set(page) being requested. If the index goes out of the bounds of the total set count then no data will be returned.", "type": "integer" }, "limit": { "description": "Indicates maximum number of records a Web Service should return.", "type": "integer" }, "hasMore": { "description": "Indicates whether all the records are included in the response or not. Absence of the attribute values should be consider as all rows fetched in the response.", "type": "boolean" }, "totalResults": { "description": "Total number of rows queried", "type": "integer" }, "count": { "description": "Total number of rows returned", "type": "integer" }, "links": { "$ref": "#/definitions/links" }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "blocksDailyStatisticsType": { "type": "array", "description": "A collection of Blocks.", "maxItems": 4000, "items": { "type": "object", "properties": { "blockIdList": { "description": "Collection of unique block identifiers.", "$ref": "#/definitions/blockIdList" }, "blockCode": { "description": "Block code for the block.", "type": "string", "minLength": 0, "maxLength": 20 }, "blockName": { "description": "Name of the block.", "type": "string", "minLength": 0, "maxLength": 2000 }, "timeSpan": { "description": "TimeSpan reflects the Arrival, Departure of the block.", "$ref": "#/definitions/timeSpanType" }, "stayDates": { "description": "Collection of daily statistics per allotment date.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/blockDailyStatisticsDatesType" } }, "hotelId": { "description": "The Hotel Code the block belongs to.", "type": "string", "minLength": 0, "maxLength": 20 } } } }, "blockDailyStatisticsDatesType": { "type": "array", "description": "Collection of statistics detail for every allotment date.", "maxItems": 4000, "items": { "$ref": "#/definitions/blockDailyStatisticsDateType" } }, "blockDailyStatisticsDateType": { "type": "object", "description": "Holds the room type or generic room type(Room Pool) level statistics for an allotment date.", "properties": { "roomTypeStatisticsList": { "description": "Collection of room type level statistics.", "$ref": "#/definitions/blockDailyRoomStatisticsListType" }, "genericRoomTypeStatisticsList": { "description": "Collection of generic room type(Room Pool) level statistics.", "$ref": "#/definitions/blockDailyRoomStatisticsListType" }, "date": { "type": "string", "format": "date", "maxLength": 8 } } }, "blockDailyRoomStatisticsListType": { "type": "array", "description": "Collection of room type level statistics.", "maxItems": 4000, "items": { "$ref": "#/definitions/blockDailyRoomStatisticsType" } }, "blockDailyRoomStatisticsType": { "type": "object", "description": "Statistics information for the room type.", "properties": { "statisticsInfo": { "$ref": "#/definitions/blockDailyStatisticsInfoType" }, "roomType": { "description": "Pertain value for room type or generic room type (Room Pool) code.", "type": "string", "minLength": 0, "maxLength": 20 } } }, "blockDailyStatisticsInfoType": { "type": "object", "description": "Information about Block daily statistics.", "properties": { "available": { "description": "Pertain value for available rooms for a block.", "type": "integer" }, "allocated": { "description": "Pertain value for blocked rooms for a block.", "type": "integer" }, "pickup": { "description": "Pertain value for reserved rooms for a block.", "type": "integer" } } }, "blockStats": { "type": "object", "description": "Response element for block statistics.", "properties": { "reports": { "description": "Statistical report - each report is determined by the requested report in the service request criteria.", "type": "array", "items": { "$ref": "#/definitions/blockStatReportType" } }, "links": { "$ref": "#/definitions/links" }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "blockStatReportType": { "type": "object", "description": "Base abstraction defining all details needed to create a statistical report.", "properties": { "chainCode": { "description": "The code that identifies a hotel chain or management group. The hotel chain code is decided between vendors. This attribute is optional if the hotel is an independent property that can be identified by the HotelCode attribute.", "type": "string", "minLength": 0, "maxLength": 20 }, "hotelId": { "description": "The code that uniquely identifies a single hotel property. The hotel code is decided between vendors.", "type": "string", "minLength": 0, "maxLength": 20 }, "hotelCityCode": { "description": "The IATA city code; for example DCA, ORD.", "type": "string", "minLength": 0, "maxLength": 40 }, "hotelName": { "description": "A text field used to communicate the proper name of the hotel.", "type": "string", "minLength": 0, "maxLength": 80 }, "hotelCodeContext": { "description": "A text field used to communicate the context (or source of - ex Sabre, Galileo, Worldspan, Amadeus) the HotelReferenceGroup codes.", "type": "string", "minLength": 0, "maxLength": 40 }, "chainName": { "description": "The name of the hotel chain (e.g., Hilton, Marriott, Hyatt).", "type": "string", "minLength": 0, "maxLength": 80 }, "calendarDate": { "description": "Statistical date of the requested report.", "type": "string", "format": "date", "maxLength": 8 }, "description": { "type": "string", "minLength": 0, "maxLength": 2000 }, "statCategory": { "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/hSKStatCategoryType" } }, "reportCode": { "$ref": "#/definitions/hSKStatReportCodeType" } } }, "hSKStatCategoryType": { "type": "object", "description": "Defines the codes and corresponding categories for which the data in the other elements has been gathered.", "properties": { "statCode": { "description": "Defines where this statistical data is applied.", "type": "string", "minLength": 0, "maxLength": 20 }, "statCodeClass": { "description": "Classification of the statistical data.", "type": "string", "minLength": 0, "maxLength": 40 }, "description": { "type": "string", "minLength": 0, "maxLength": 2000 }, "statSet": { "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/hSKStatSetType" } }, "statCategoryCode": { "$ref": "#/definitions/hSKStatCategoryCodeType" } } }, "hSKStatSetType": { "type": "object", "description": "Base statistic set holder which defines the span of the statistical data.", "properties": { "start": { "type": "string", "format": "date", "maxLength": 8 }, "end": { "type": "string", "format": "date", "maxLength": 8 }, "stat": { "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/hSKStatType" } }, "code": { "type": "string" } } }, "hSKStatType": { "type": "object", "description": "Since the statistical value can be represented in different measure of units, this element will provide a flexible definition for the supported Opera9 statistical units.", "properties": { "unitType": { "description": "Unit of measurement or the actual code that defines the value. Eg. CurrencyCode for the Amount Category.", "type": "string", "minLength": 3, "maxLength": 3 }, "unitValue": { "description": "Statistical value.", "type": "number" }, "unitCategory": { "description": "Statistical unit category.", "$ref": "#/definitions/statUnitCategoryType" }, "code": { "$ref": "#/definitions/hSKStatCodeType" } } }, "statUnitCategoryType": { "type": "string", "description": "Supported statistical units.", "enum": [ "Numeric", "Amount" ] }, "hSKStatCodeType": { "type": "string", "description": "Supported housekeeping statistical codes.", "enum": [ "ApprovedCompPostings", "StagedCompPostings", "DeclinedCompPostings", "CompRoutingInstructionsRequests", "TotalPhysicalRooms", "TotalRoomsToSell", "TotalOutOfOrder", "TotalOutOfService", "TotalRevenue", "PercentRoomsOccupied", "StayoverRooms", "StayoverPersons", "StayoverVIP", "DeparturesExpectedRooms", "DeparturesExpectedPersons", "DeparturesExpectedVIP", "DeparturesActualRooms", "DeparturesActualPersons", "DeparturesActualVIP", "DeparturesInLastHour", "ArrivalsInLastHour", "ArrivalsTotal", "ArrivalsExpectedRooms", "ArrivalsExpectedPersons", "ArrivalsExpectedVIP", "ArrivalsExpectedRoomsMadeToday", "ArrivalsExpectedPersonsMadeToday", "ArrivalsExpectedVIPMadeToday", "ArrivalsActualRooms", "ArrivalsActualPersons", "ArrivalsActualVIP", "ExtendedStaysRooms", "ExtendedStaysPersons", "ExtendedStaysVIP", "DeparturesTotal", "EarlyDeparturesRooms", "EarlyDeparturesPersons", "EarlyDeparturesVIP", "DayUseRooms", "DayUsePersons", "DayUseVIP", "WalkInRooms", "WalkInPersons", "WalkInVIP", "CanceledOnArrivalRooms", "CanceledOnArrivalPersons", "CanceledOnArrivalVIP", "ComplimentaryArrivalRooms", "ComplimentaryArrivalPersons", "ComplimentaryArrivalVIP", "ComplimentaryStayoverRooms", "ComplimentaryStayoverPersons", "ComplimentaryStayoverVIP", "ComplimentaryDepartureRooms", "ComplimentaryDeparturePersons", "ComplimentaryDepartureVIP", "HouseUseArrivalVIP", "HouseUseStayoverRooms", "HouseUseStayoverPersons", "HouseUseStayoverVIP", "HouseUseDepartureRooms", "HouseUseDeparturePersons", "HouseUseDepartureVIP", "MinAvailableTonightRooms", "MaxOccupiedTonightRooms", "MaxOccupiedTonightPersons", "MaxOccupiedTonightVIP", "MaxPercentageOccupiedTonightRooms", "BlocksNotPickedUp", "IndividualRooms", "IndividualPersons", "IndividualVIP", "GroupAndBlockRooms", "GroupAndBlockPersons", "GroupAndBlockVIP", "RoomRevenue", "AverageRoomRevenue", "InspectedRooms", "InspectedVacant", "InspectedAssigned", "InspectedOccupied", "CleanedRooms", "CleanVacant", "CleanAssigned", "CleanOccupied", "DirtyVacant", "DirtyAssigned", "DirtyOccupied", "PickupVacant", "PickupAssigned", "PickupOccupied", "OutOfOrderVacant", "OutOfOrderAssigned", "OutOfOrderOccupied", "OutOfServiceVacant", "OutOfServiceAssigned", "OutOfServiceOccupied", "QueueRooms", "TurndownRequired", "TurndownNotRequired", "TurndownCompletedRequired", "AdultsInHouse", "ChildrenInHouse", "AdultsExpectedCheckedOut", "ChildrenExpectedCheckedOut", "AdultsDeparted", "ChildrenDeparted", "InHouseRooms", "InHouse", "MaxOccupancyPercentage", "Stayover", "TotalRoomsReserved", "RevPar", "SkipRooms", "SleepRooms", "HouseUseArrivalRooms", "HouseUseArrivalPersons", "AverageCheckInTime", "CurrentAveWaitTime", "CheckedInsTotal", "ExpectedCheckInsTotal", "CheckedOutsTotal", "ExpectedCheckOutsTotal", "ScheduledCheckOutsTotal", "RoomMaintenanceResolvedTotal", "RoomMaintenanceUnResolvedTotal", "PreRegisteredTotal", "VIPPreRegisteredTotal", "OpenFolioTotal", "TurndownTotal", "VIPTurndownTotal", "VIPGuestsArriving", "VIPGuestsDeparting", "VIPGuestsTotal", "IndividualAdvanceCheckedInCurrent", "BlockAdvanceCheckedInCurrent", "IndividualAdvanceCheckedInInhouse", "BlockAdvanceCheckedInInhouse", "IndividualAdvanceCheckedInTotal", "BlockAdvanceCheckedInTotal", "InHouseBlocksTotal", "CancellationsTotal", "NewReservationsTotal", "ArrivalResvs", "ArrivalVIPResvs", "ArrivalMemberResvs", "ArrivalUnallocResvs", "ArrivalManualAssgnResvs", "ArrivalAIAssgnResvs", "ArrivalAIUpgResvs", "ArrivalAIAssgnVIPResvs", "ArrivalAIAssgnMemberResvs", "ArrivalAIAssgnOverridden" ] }, "hSKStatCategoryCodeType": { "type": "string", "description": "Supported housekeeping statistical category codes.", "enum": [ "HotelCode" ] }, "hSKStatReportCodeType": { "type": "string", "description": "Supported Housekeeping report codes.", "enum": [ "HouseSummary", "HouseSummaryMonthToDate", "HouseSummaryYearToDate", "ReservationActivity", "ReservationActivityDaily", "ReservationActivityMonthToDate", "ReservationActivityYearToDate", "ComplimentaryOrHouseUse", "DailyProjection", "RoomStatus", "LastHourStatus", "Turndown", "InHouse", "CheckIns", "CheckOuts", "AvailableRooms", "RoomMaintenance", "ReservationStatistics", "VIPGuests", "AdvanceCheckIn", "BlockArrivals", "ReservationsCancellationsToday", "AIRoomAssignment", "CompRouting" ] }, "nextBlockStatus": { "type": "object", "description": "Response object for FetchNextBlockStatus operation.", "properties": { "blockNextStatusList": { "description": "List of all the next statuses for the block status passed in the request. This also holds next statuses for all the next statuses of the status sent in request.", "$ref": "#/definitions/blockNextStatusListType" }, "cateringNextStatusList": { "description": "List of all the next statuses for the catering status passed in the request. This also holds next statuses for all the next statuses of the status sent in request.", "$ref": "#/definitions/cateringNextStatusListType" }, "links": { "$ref": "#/definitions/links" }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "blockCodeToValidate": { "type": "object", "description": "Request object for validating blocks in a train. Block is not created. The standard optional Opera Context element is also included.", "properties": { "hotelId": { "description": "Hotel code for this block.", "$ref": "#/definitions/codeType" }, "blockIdList": { "description": "Collection of unique block identifiers", "$ref": "#/definitions/blockIdList" }, "startDate": { "description": "Start date for this block.", "type": "string", "format": "date" }, "endDate": { "description": "End date for this block.", "type": "string", "format": "date" }, "links": { "$ref": "#/definitions/links" }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "codeType": { "type": "string", "description": "Used for codes in the OPERA Code tables. Possible values of this pattern are 1, 101, 101.EQP, or 101.EQP.X.", "minLength": 0, "maxLength": 20 }, "blockAlternateDates": { "type": "object", "description": "Request object to create block alternate dates.", "properties": { "hotelId": { "$ref": "#/definitions/codeType" }, "blockIdList": { "description": "Collection of unique block identifiers", "$ref": "#/definitions/blockIdList" }, "blockAlternateDates": { "description": "Set of block alternate dates.", "$ref": "#/definitions/blockAlternateDatesType" }, "links": { "$ref": "#/definitions/links" }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "blockAlternateDatesType": { "type": "array", "description": "Contains a list of Block Alternate Dates.", "maxItems": 4000, "items": { "$ref": "#/definitions/blockAlternateDateType" } }, "blockAttachments": { "type": "object", "description": "Return object to the request for information regarding block attachments.", "properties": { "blockAttachments": { "description": "Collection of information about block attachments returned/fetched as per the criteria in the fetch request.", "$ref": "#/definitions/attachmentsType" }, "links": { "$ref": "#/definitions/links" }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "blockAccessExclusion": { "type": "object", "description": "Request object for creating access exclusion permissions for a block.", "properties": { "blockAccessExclusions": { "description": "List of all access exclusion permissions for this block.", "type": "object", "properties": { "blockAccessExclusion": { "type": "array", "items": { "$ref": "#/definitions/blockAccessExclusionType" } }, "accessExclusionMessage": { "description": "Exclusion message for the block.", "$ref": "#/definitions/blockAccessExclusionMessageType" }, "hotelId": { "description": "Hotel code to which the block belongs to.", "type": "string", "minLength": 0, "maxLength": 20 }, "url": { "description": "URL that identifies the location associated with the record identified by the UniqueID.", "type": "string", "maxLength": 2000 }, "type": { "description": "A reference to the type of object defined by the UniqueID element. Refer to OpenTravel Code List Unique ID Type (UIT).", "type": "string", "minLength": 0, "maxLength": 20 }, "instance": { "description": "The identification of a record as it exists at a point in time. An instance is used in update messages where the sender must assure the server that the update sent refers to the most recent modification level of the object being updated.", "type": "string", "minLength": 0, "maxLength": 80 }, "idContext": { "description": "Used to identify the source of the identifier (e.g., IATA, ABTA).", "type": "string", "minLength": 0, "maxLength": 80 }, "id": { "description": "A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.", "type": "string", "minLength": 0, "maxLength": 80 }, "idExtension": { "description": "Additional identifying value assigned by the creating system.", "type": "integer" }, "overlay": { "description": "Indicates whether to overlay the list of existing access exclusions with the new list.", "type": "boolean" } } }, "links": { "$ref": "#/definitions/links" }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "blockStatus": { "type": "object", "description": "Request object to transition the block status to Open for Pickup. This object contains unique identifier ( Block unique id ) to identify the block to be transitioned and the standard optional Opera Context element.", "properties": { "hotelId": { "description": "Hotel Code of the block to be changed.", "$ref": "#/definitions/codeType" }, "blockId": { "description": "Block unique id to be changed.", "$ref": "#/definitions/blockId" }, "links": { "$ref": "#/definitions/links" }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "blockOwners": { "type": "object", "description": "Response object that returns all sales manager owners associated with a business block.", "properties": { "owners": { "description": "Collection of owners associated with a business block.", "$ref": "#/definitions/blockOwnersType" }, "links": { "$ref": "#/definitions/links" }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "blockOwnersToAssign": { "type": "object", "description": "Request object to assign block owners.", "properties": { "criteria": { "description": "Criteria to assign the owners of a business block.", "$ref": "#/definitions/setBlockOwnersType" }, "links": { "$ref": "#/definitions/links" }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "setBlockOwnersType": { "type": "object", "description": "Criteria to update block owners.", "properties": { "hotelId": { "description": "Hotel Code of the business block", "type": "string", "minLength": 0, "maxLength": 20 }, "blockIdList": { "description": "Unique ID of the business block whose owners will be updated.", "$ref": "#/definitions/blockIdList" }, "ownership": { "description": "Specifies the block ownership type.", "$ref": "#/definitions/blockOwnershipType" }, "blockOwners": { "description": "Collection of block owners to be updated.", "$ref": "#/definitions/blockOwnersType" } } }, "blockOwnersToChange": { "type": "object", "description": "Request object to change block owners.", "properties": { "criteria": { "description": "Criteria to change the owners of a block.", "$ref": "#/definitions/setBlockOwnersType" }, "links": { "$ref": "#/definitions/links" }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "blockReservationsToChange": { "type": "object", "description": "The request object to implement batch changes to block reservations based upon changes made to a reference reservation.", "properties": { "criteria": { "description": "Criteria used to implement changes to reservations belonging to a block.", "$ref": "#/definitions/changeBlockReservationsType" }, "links": { "$ref": "#/definitions/links" }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "changeBlockReservationsType": { "type": "object", "description": "Criteria used to perform batch changes to reservations that belong to a block.", "properties": { "blockId": { "description": "Unique block identifier such as the Block Id.", "$ref": "#/definitions/blockId" }, "referenceReservation": { "description": "Contains the pre-change and post-change snapshot of the reference reservation.", "type": "object", "properties": { "preChangeSnapshot": { "description": "Contains the snapshot of the reference reservation before it was changed.", "$ref": "#/definitions/reservationSnapshotType" }, "postChangeSnapshot": { "description": "This contains the snapshot of the reference reservation after it was changed.", "$ref": "#/definitions/reservationSnapshotType" } } }, "reservationFilter": { "description": "Indicates the filter to identify the block reservations to which changes need to be applied in batch.", "$ref": "#/definitions/blockReservationsCriteriaType" }, "changeBlockReservationsInstructions": { "description": "Change instructions to be used.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/changeBlockResvInstructionType" } }, "hotelId": { "description": "Opera Hotel code that the block belongs to.", "type": "string", "minLength": 0, "maxLength": 20 }, "borrowForAll": { "description": "Indicates whether to borrow inventory from the house and overbook if required for any inventory needed to complete the apply to all operation.", "type": "boolean" } } }, "reservationSnapshotType": { "type": "object", "description": "This is used when changing block reservations in bulk.", "properties": { "hotelReservation": { "description": "Contains detailed information about the snapshot reservation", "$ref": "#/definitions/hotelReservationType" }, "routingInstructions": { "description": "Contains the routing instructions of the reservation.", "$ref": "#/definitions/routingInfoListType" } } }, "hotelReservationType": { "type": "object", "description": "The Reservation class contains the current reservation being created or altered.", "properties": { "reservationIdList": { "description": "Used to provide PMS and/or CRS identifiers.", "$ref": "#/definitions/reservationIdList" }, "externalReferences": { "description": "External Reference information for Reservation.", "$ref": "#/definitions/externalReferencesType" }, "associatedReservations": { "description": "Information regarding associated reservations.", "$ref": "#/definitions/associatedResType" }, "sourceOfSale": { "description": "Point of Sale of reservation. Identifies the entity/channel who made the reservation.", "$ref": "#/definitions/sourceOfSaleType" }, "roomStay": { "description": "Room stays information.", "$ref": "#/definitions/roomStayType" }, "compAuthorizer": { "description": "Reservation Comp Authorizer.", "$ref": "#/definitions/compAuthorizerInfoType" }, "reservationGuests": { "description": "Collection of guests associated with the reservation.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/resGuestType" } }, "sharedGuests": { "description": "Collection of guests who share this reservation.", "$ref": "#/definitions/resSharedGuestListType" }, "additionalGuestInfo": { "description": "Entry Date into the country. (Croatian Requirements).", "$ref": "#/definitions/resGuestAdditionalInfoType" }, "reservationProfiles": { "description": "Collection of guests associated with the reservation.", "type": "object", "properties": { "reservationProfile": { "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/reservationProfileType" } }, "commissionPayoutTo": { "description": "If not null, reservation is considered to pay out commission to either Travel Agent, Source or both.", "$ref": "#/definitions/commissionPayoutToType" } } }, "reservationCommunication": { "description": "Collection of reservation communication details.", "$ref": "#/definitions/resCommunicationType" }, "reservationAwards": { "description": "Collection of Awards,Certificates for the guest profile.", "$ref": "#/definitions/awardsType" }, "trackItItems": { "description": "Collection of TrackIt Items available for that reservation", "$ref": "#/definitions/trackItItemsType" }, "shares": { "description": "Collection of share reservation available for that reservation", "$ref": "#/definitions/hotelReservationsType" }, "locators": { "description": "Collection of Locators available for that reservation", "$ref": "#/definitions/reservationLocatorsType" }, "attachments": { "description": "Collection of attachments available for that reservation", "$ref": "#/definitions/attachmentsType" }, "webRegistrationCards": { "description": "Collection of Web Registration Cards available for that reservation", "$ref": "#/definitions/attachmentsType" }, "serviceRequests": { "description": "Collection of Service Requests available for that reservation", "$ref": "#/definitions/serviceRequests" }, "reservationActivities": { "description": "Collection of Reservation Activities available for that reservation", "$ref": "#/definitions/activityLookUpList" }, "scheduledActivities": { "description": "Collection of Scheduled Activities available for that reservation", "$ref": "#/definitions/activityLookUpList" }, "prepaidCards": { "description": "Collection of Prepaid Cards available for that reservation", "$ref": "#/definitions/prepaidCardsType" }, "profileAwards": { "description": "Collection of profile awards available for that reservation", "$ref": "#/definitions/awardsType" }, "reservationPackages": { "description": "A Service object represents a non-room product provided to guests. Service products may have associated inventory and charges.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/reservationPackageType" } }, "inventoryItems": { "description": "A collection of inventory items attached to a reservation.", "$ref": "#/definitions/resInventoryItemsType" }, "comments": { "description": "List of Notes for the Guest related to the reservation.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/commentInfoType" } }, "guestComments": { "description": "List of Notes for the Guest related to the profile.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/commentInfoType" } }, "guestMemberships": { "description": "List of Memberships for the Guest related to the reservation.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/membershipType" } }, "preferenceCollection": { "description": "Collection of reservation preferences.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/preferenceTypeType" } }, "reservationMemberships": { "description": "List of reservation memberships.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/reservationMembershipType" } }, "reservationPaymentMethods": { "description": "A collection of Payment Method objects.", "$ref": "#/definitions/reservationPaymentMethodsType" }, "routingInstructions": { "description": "Set of Routing Instructions.", "$ref": "#/definitions/routingInfoListType" }, "reservationPolicies": { "description": "A collection of Cancellation Penalties objects.", "$ref": "#/definitions/reservationPoliciesType" }, "cashiering": { "description": "Holds cashiering related information for the reservation.", "$ref": "#/definitions/resCashieringType" }, "housekeeping": { "description": "Holds rooms housekeeping information.", "$ref": "#/definitions/resHousekeepingType" }, "linkedReservation": { "description": "Reservations related to the current Reservation.", "$ref": "#/definitions/linkedReservationsInfoType" }, "extSystemSync": { "type": "boolean" }, "userDefinedFields": { "description": "Collections of user defined fields.", "$ref": "#/definitions/userDefinedFieldsType" }, "reservationIndicators": { "description": "Indicators of additional information attached to the reservation", "$ref": "#/definitions/indicatorsType" }, "waitlist": { "description": "Information regarding why reservation has been/was waitlisted. This could hold information as history even if reservation is no more in Waitlist status.", "$ref": "#/definitions/waitlistResType" }, "cancellation": { "description": "Information regarding why reservation has been/was cancelled. This could hold information as history even if reservation is no more in in Cancelled status.", "type": "object", "properties": { "description": { "type": "string", "minLength": 0, "maxLength": 2000 }, "code": { "type": "string", "minLength": 0, "maxLength": 20 }, "cancellationNo": { "description": "Cancellation Number given when reservation was last cancelled.", "$ref": "#/definitions/uniqueID_Type" }, "date": { "description": "Date when reservation was last cancelled.", "type": "string", "format": "date", "maxLength": 8 } } }, "catering": { "description": "Catering event information if reservation is associated with the catering event.", "$ref": "#/definitions/cateringResInfoType" }, "statisticalClassification": { "description": "Catering event information if reservation is associated with the catering event.", "$ref": "#/definitions/resStatClassificationType" }, "alerts": { "description": "List of reservation alerts.", "$ref": "#/definitions/alertsType" }, "traces": { "description": "List of reservation Traces.", "$ref": "#/definitions/hotelReservationTracesType" }, "confirmationLetters": { "description": "List of reservation confirmation letters.", "$ref": "#/definitions/confirmationsType" }, "callHistory": { "description": "List of reservation calls.", "$ref": "#/definitions/callHistoryType" }, "fixedCharges": { "description": "List of reservation fixed charges.", "$ref": "#/definitions/fixedChargesType" }, "guestMessages": { "description": "List of Messages.", "$ref": "#/definitions/guestMessagesType" }, "lockHandle": { "description": "An id representing the record lock for this reservation. When passed, update operation will verify that this lock is still valid.", "type": "number" }, "overrideInstructions": { "description": "List of overrides done for the reservation.", "$ref": "#/definitions/overrideInstructionsType" }, "queue": { "description": "Information about the time and duration this reservation was on Queue for Checkin.", "$ref": "#/definitions/reservationQueueInformationType" }, "allowedActions": { "description": "Collection of allowed actions for the reservation.", "$ref": "#/definitions/reservationAllowedActionsType" }, "eCoupons": { "description": "List of eCoupons.", "$ref": "#/definitions/eCouponsType" }, "transactionDiversions": { "description": "List of transaction diversions attached to the reservation.", "type": "object", "properties": { "transactionDiversions": { "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/reservationTransactionDiversionsType" } }, "actionType": { "type": "string", "maxLength": 2000 } } }, "advanceCheckIn": { "description": "Information relating to Reservation's Advance Checked In state and Expected Time of Return", "$ref": "#/definitions/advanceCheckInType" }, "tickets": { "description": "List of Reservation Tickets.", "$ref": "#/definitions/ticketsType" }, "accessRestrictionMessage": { "description": "Configurable Access Restriction Message for Excluded Block or Rate Code.", "type": "string", "minLength": 0, "maxLength": 4000 }, "eCertificates": { "description": "List of ECertificates attached to the reservation.", "$ref": "#/definitions/reservationECertificatesType" }, "customNameValueDetail": { "description": "List of Custom Name Value Information attached to the reservation.", "$ref": "#/definitions/nameValueDetailType" }, "customChargeExemptionDetails": { "description": "List of Custom Charge Exemptions attached to the reservation.", "$ref": "#/definitions/customChargeExemptionsType" }, "autoBorrowFromHouse": { "description": "This flag will force to borrow from house if borrow required for number of rooms requested, this will only applicable when reservation is attached to a Block.", "type": "boolean" }, "overrideExternalChecks": { "description": "Forcefully override the create/update action on the Reservation. For real-time CRS interfaces, this element is used as force selling indicator in case of Create or Update Reservation", "type": "boolean" }, "hotelId": { "type": "string", "minLength": 0, "maxLength": 20 }, "roomStayReservation": { "description": "Boolean True if this reservation is reserving rooms. False if it is only reserving services.", "type": "boolean" }, "reservationStatus": { "description": "Indicates the Actual status of the reservation.", "$ref": "#/definitions/pMS_ResStatusType" }, "computedReservationStatus": { "description": "Indicates the Computed status of the reservation.", "$ref": "#/definitions/pMS_ResStatusType" }, "walkIn": { "description": "When true, indicates the reservation is for a guest that walks-in without a reservation. When false, the reservation is not a walk-in.", "type": "boolean" }, "printRate": { "description": "Indicates whether to show the rate or not on a printed document which includes the rate.", "type": "boolean" }, "createDateTime": { "description": "Time stamp of the creation.", "type": "string", "format": "date-time" }, "creatorId": { "description": "ID of creator. The creator could be a software system identifier or an identifier of an employee responsible for the creation.", "type": "string", "minLength": 0, "maxLength": 200 }, "lastModifyDateTime": { "description": "Time stamp of last modification.", "type": "string", "format": "date-time" }, "lastModifierId": { "description": "Identifies the last software system or person to modify a record.", "type": "string", "minLength": 0, "maxLength": 200 }, "purgeDate": { "description": "Date an item will be purged from a database (e.g., from a live database to an archive).", "type": "string", "format": "date", "maxLength": 8 }, "createBusinessDate": { "description": "Business Date when the reservation was created.", "type": "string", "format": "date", "maxLength": 8 }, "reinstateDate": { "description": "Business Date when the reservation was last reinstated.", "type": "string", "format": "date", "maxLength": 8 }, "party": { "description": "Party/PartyCode when reservation is part of a party(a small group).", "type": "string", "minLength": 0, "maxLength": 50 }, "primaryEnrollmentResort": { "description": "Name Of the Resort/Hotel for the primary enrollment", "type": "string", "minLength": 0, "maxLength": 80 }, "primaryEnrollmentChain": { "description": "Name of the Chain for the primary enrollment", "type": "string", "minLength": 0, "maxLength": 80 }, "customReference": { "description": "Custom Reference to identify reservation.", "type": "string", "minLength": 0, "maxLength": 50 }, "displayColor": { "description": "The color to display this reservation on room grid displays.", "type": "string", "minLength": 0, "maxLength": 20 }, "markAsRecentlyAccessed": { "description": "Mark this reservation as recently accessed.", "type": "boolean" }, "overrideInventoryCheck": { "description": "Indicates to Override the Room Inventory Check if applicable.", "type": "boolean" }, "accessRestriction": { "description": "Indicates user restriction on the reservation based on the Access exclusion functionality such as Restriction on Changes, Cancellation or both.", "$ref": "#/definitions/resAccessRestrictionType" }, "preRegistered": { "description": "Is the reservation pre-registered.", "type": "boolean" }, "upgradeEligible": { "description": "Indicates whether the reservation is eligible for upgrade.", "type": "boolean" }, "overrideBlockRestriction": { "type": "boolean" }, "allowAutoCheckin": { "description": "Flag to allow auto checkin", "type": "boolean" }, "hasOpenFolio": { "type": "boolean" }, "allowMobileCheckout": { "description": "Flag containing true or false value for reservation to be eligible for self-checkout by guest using mobile device . Pass the 'true' or 'false' values when creating / modifying reservation to indicate whether a reservation is eligible for mobile checkout yes / no. Upon fetch, the current state of the flag will show true or false.", "type": "boolean" }, "allowMobileViewFolio": { "description": "Attribute AllowMobileViewFolio is set to true when the reservation is eligible for viewing folio using mobile device.", "type": "boolean" }, "allowPreRegistration": { "description": "Flag containing true or false value for reservation to be eligible for prior check in by guest using mobile device . Pass the 'true' or 'false' values when creating / modifying reservation to indicate whether a reservation is eligible for mobile check in yes / no. Upon fetch, the current state of the flag will show true or false.", "type": "boolean" }, "optedForCommunication": { "description": "Flag containing true or false value to determine if the guest has opted for communications pertaining to this reservation.Pass the 'true' or 'false' values when creating / modifying reservation to indicate whether a reservation is marked for communication. Upon fetch, the current state of the flag will show true or false.", "type": "boolean" }, "chargeCardNumber": { "description": "This attribute represents Hotel charge card number. This number is generated automatically in OPERA when a reservation is created in OPERA. It is part of a functionality that provide the guest with the convenience of placing all their charges directly on their reservation folio.", "type": "string", "minLength": 0, "maxLength": 100 } } }, "associatedResType": { "type": "object", "description": "Information regarding associated reservations to the reservation.", "properties": { "parentReservation": { "description": "Stores Unique ID of the parent reservation.", "$ref": "#/definitions/uniqueID_Type" }, "originalMultiRoomRes": { "description": "Stores Unique ID of the original multi room reservation from which this reservation is split off.", "$ref": "#/definitions/uniqueID_Type" } } }, "roomStayType": { "type": "object", "properties": { "registrationNumber": { "description": "Registration Number of the reservation for the current day.", "$ref": "#/definitions/uniqueID_Type" }, "currentRoomInfo": { "description": "Room information of the reservation for the current day.", "$ref": "#/definitions/currentRoomInfoType" }, "roomRates": { "description": "A collection of Room Rates associated with a particular Room Stay. Each Room Rate combination can have multiple rates. Example King room, Rack rate plan, Monday through Thursday, weekday amount, Friday and Saturday, weekend amount.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/roomRateType" } }, "guestCounts": { "$ref": "#/definitions/guestCountsType" }, "arrivalDate": { "type": "string", "format": "date" }, "departureDate": { "type": "string", "format": "date" }, "expectedTimes": { "description": "The Expected Arrival and Departure Times.", "$ref": "#/definitions/resExpectedTimesType" }, "originalTimeSpan": { "description": "The Original Time Span(Arrival, Departure) which covers the Room Stay. In case of Rolling No Show TimeSpan's StratDate moves forward but OriginalTimeSpan's StratDate remains the same.", "$ref": "#/definitions/timeSpanType" }, "guarantee": { "description": "The guarantee information associated to the Room Stay. A maximum of 5 occurances are available for use depending on the context.", "$ref": "#/definitions/resGuaranteeType" }, "promotion": { "description": "Promotions applied to the reservation to get the promotional rate.", "$ref": "#/definitions/promotionType" }, "suiteWith": { "description": "Connecting Rooms.", "type": "string", "minLength": 0, "maxLength": 200 }, "total": { "description": "The total amount charged for the Room Stay.", "$ref": "#/definitions/totalType" }, "totalPoints": { "description": "The total number of Points charged for the Room Stay.", "$ref": "#/definitions/pointsType" }, "multiValueAttrs": { "description": "Informative indicators indicating different values of an attribute exists over the stay.", "type": "array", "maxItems": 4000, "items": { "type": "string", "maxLength": 2000 } }, "upsellInfo": { "description": "Indicates Upsell Information to be applied on Reservation.", "$ref": "#/definitions/upsellInfoType" }, "mobileNotifications": { "description": "Denotes the status of Room Ready and Key Ready messages.", "$ref": "#/definitions/resMobileNotificationsType" }, "roomNumberLocked": { "description": "When true, indicates a room number cannot be changed. When false, indicates a room number may be changed.", "type": "boolean" }, "printRate": { "description": "This control whether rate info will be printed in confirmation letter.", "type": "boolean" }, "ownerReservationType": { "description": "Indicates whether reservation is for Unit/Room Owner or Authorized User. If this attribute is not define it is a regular/rental reservation.", "$ref": "#/definitions/ownerResTypeType" }, "primaryShareType": { "description": "This is populated in case of primary share scenario. This indicates whether this reservation is primary or non primary. Changes or postings to the 'non-primary' share reservation is not allowed.", "$ref": "#/definitions/primaryShareTypeType" }, "remoteCheckInAllowed": { "description": "Indicates whether the reservation is pre-registered for internet check-in or not.", "type": "boolean" }, "bookingMedium": { "description": "Classifies the medium(Channel field on reservation screen) through which the reservation is made.", "type": "string", "minLength": 0, "maxLength": 20 }, "bookingMediumDescription": { "description": "Description of the booking medium.", "type": "string", "minLength": 0, "maxLength": 2000 }, "availableUpsellOfferCount": { "description": "Number of Upsell Offers Available for this stay. This will only be populated if the Upsell Instruction is included in the Allowed Instruction request", "type": "integer" } } }, "currentRoomInfoType": { "type": "object", "description": "Room information of the reservation for the current day.", "properties": { "roomType": { "description": "Current room type.", "type": "string", "minLength": 0, "maxLength": 20 }, "roomId": { "description": "Current room number.", "type": "string", "minLength": 0, "maxLength": 20 }, "suggestedRoomNumbers": { "description": "Suggested room numbers.", "$ref": "#/definitions/codeListType" }, "roomDescription": { "description": "Current room description.", "type": "string", "minLength": 0, "maxLength": 2000 }, "roomViewCode": { "description": "Represents the room view code like City view, River view, Ocean view etc.", "type": "string", "minLength": 0, "maxLength": 40 }, "assignedByAI": { "description": "Represents the room was assigned by AI Room Assignment.", "type": "boolean" }, "upgradedByAI": { "description": "Represents the room was upgraded by AI Room Assignment.", "type": "boolean" } } }, "codeListType": { "type": "array", "maxItems": 4000, "items": { "type": "string", "minLength": 0, "maxLength": 20 } }, "roomRateType": { "type": "object", "properties": { "total": { "$ref": "#/definitions/totalType" }, "totalPoints": { "$ref": "#/definitions/pointsType" }, "rates": { "$ref": "#/definitions/ratesType" }, "packages": { "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/packageElementType" } }, "stayProfiles": { "description": "Profile associated with the room Stay.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/reservationProfileType" } }, "guestCounts": { "description": "A collection of Guest Counts associated with the room rate.", "$ref": "#/definitions/guestCountsType" }, "taxFreeGuestCounts": { "description": "A collection of Tax Free Guest Counts associated with the room rate. This list does not add to the guest count but just indicates number of tax free guests out of guest counts.", "$ref": "#/definitions/guestCountsType" }, "awards": { "description": "Membership Awards code applied on the reservation.", "$ref": "#/definitions/resAwardsType" }, "foreignExchange": { "description": "Exchange Type information for the postings.", "$ref": "#/definitions/foreignExchangeType" }, "reservationBlock": { "description": "Key information about the block for this reservation.", "$ref": "#/definitions/reservationBlockType" }, "roomRateInfo": { "description": "Information about the Room Rate Combination.", "type": "string", "minLength": 0, "maxLength": 2000 }, "mealPlans": { "description": "Meal plan codes for rate plan code.", "$ref": "#/definitions/mealPlansType" }, "roomType": { "type": "string", "minLength": 0, "maxLength": 20 }, "ratePlanCode": { "type": "string", "minLength": 0, "maxLength": 20 }, "promotionCode": { "type": "string", "minLength": 0, "maxLength": 20 }, "start": { "description": "The starting value of the date range.", "type": "string", "format": "date", "maxLength": 8 }, "end": { "description": "The ending value of the date range.", "type": "string", "format": "date", "maxLength": 8 }, "availability": { "description": "Used to specify an availability status for the room rate. When available value could be either not specified or \"Available\".", "$ref": "#/definitions/roomRateAvailReasonType" }, "suppressRate": { "type": "boolean" }, "marketCode": { "description": "The code that relates to the market being sold to (e.g., the corporate market, packages).", "type": "string", "minLength": 0, "maxLength": 20 }, "marketCodeDescription": { "description": "Description of the market code.", "type": "string", "minLength": 0, "maxLength": 4000 }, "sourceCode": { "description": "To specify where the business came from e.g. radio, newspaper ad, etc.", "type": "string", "minLength": 0, "maxLength": 20 }, "sourceCodeDescription": { "description": "Description of the source of business.", "type": "string", "minLength": 0, "maxLength": 4000 }, "numberOfUnits": { "description": "The number of rooms.", "type": "integer" }, "roomId": { "description": "A string value representing the unique identification of a room.", "type": "string", "minLength": 0, "maxLength": 20 }, "pseudoRoom": { "description": "True indicates as pseudo room type. This is usually used for a posting master reservation.", "type": "boolean" }, "roomTypeCharged": { "description": "Room Type used for the Rate calculation.", "type": "string", "minLength": 0, "maxLength": 20 }, "commissionCode": { "description": "Commission Code applicable for commission calculation for Travel Agent/Company.", "type": "string", "minLength": 0, "maxLength": 20 }, "commissionable": { "description": "Indicates Commission is applicable for commission calculation for Travel Agent/Company.", "type": "boolean" }, "houseUseOnly": { "description": "Indicates this reservation is for House use.", "type": "boolean" }, "complimentary": { "description": "Indicates this reservation rate is complimentary.", "type": "boolean" }, "inventoryLender": { "description": "Indicates whether the room type inventory was taken from the allotment or House availability.", "type": "string" }, "fixedRate": { "description": "Fixed Rate Indicator.", "type": "boolean" }, "barRanking": { "description": "Best Available rates ranking.", "type": "integer" }, "rateGroup": { "description": "For RatePlanSet equals BESTAVAILABLERATE, in case Rate Groups are enabled the element provides the rate group for the rate plan code.", "type": "string", "minLength": 0, "maxLength": 20 }, "discountAllowed": { "description": "Indicates if the Rate Code is discountable i.e discounts are allowed on the rate code.", "type": "boolean" }, "bogoDiscount": { "description": "Indicates if the Rate Code has BOGO(Bye one Get one) indicator.", "type": "boolean" }, "rateLevel": { "description": "Rate plan type like Corporate,Regular,Military,Weekend etc.", "type": "string", "minLength": 0, "maxLength": 20 }, "commissionPercentage": { "description": "Indicates commission percentage used by the rate plan.", "type": "integer" }, "commissionAmount": { "description": "Indicates commission amount used by the rate plan.", "type": "integer" }, "credentialsRequired": { "description": "If true, indicates that credentials is required to sell the rate code.", "type": "boolean" }, "taxIncluded": { "description": "If true, indicates if tax is included in the rate code.", "type": "boolean" }, "rateDescription": { "description": "Rate code description.", "type": "string", "minLength": 0, "maxLength": 4000 } } }, "totalType": { "type": "object", "description": "The total amount charged for the service including additional amounts and fees.", "properties": { "taxes": { "description": "A collection of taxes.", "$ref": "#/definitions/taxesType" }, "fees": { "description": "A collection of fees or service charges.", "$ref": "#/definitions/feesType" }, "description": { "type": "string", "minLength": 0, "maxLength": 2000 }, "amountBeforeTax": { "description": "The total amount not including any associated tax (e.g., sales tax, VAT, GST or any associated tax).", "type": "number" }, "amountAfterTax": { "description": "The total amount including all associated taxes (e.g., sales tax, VAT, GST or any associated tax).", "type": "number" }, "currencyCode": { "description": "The code specifying a monetary unit. Use ISO 4217, three alpha code.", "type": "string", "minLength": 0, "maxLength": 20 }, "currencySymbol": { "description": "The symbol for the currency, e.g, for currencyCode USD the symbol is $.", "type": "string", "minLength": 0, "maxLength": 10 }, "decimalPlaces": { "description": "Indicates the number of decimal places for a particular currency. This is equivalent to the ISO 4217 standard \"minor unit\". Typically used when the amount provided includes the minor unit of currency without a decimal point (e.g., USD 8500 needs DecimalPlaces=\"2\" to represent $85).", "type": "integer" }, "code": { "description": "Type of charge.", "type": "string", "minLength": 0, "maxLength": 20 }, "rateOverride": { "description": "When true indicates that the rate amount has been overridden.", "type": "boolean" } } }, "taxesType": { "type": "object", "description": "A collection of taxes.", "properties": { "tax": { "description": "An individual tax.", "type": "array", "maxItems": 99, "items": { "$ref": "#/definitions/taxType" } }, "amount": { "description": "A monetary amount.", "type": "number" }, "currencyCode": { "description": "Provides a currency code to reflect the currency in which an amount may be expressed.", "type": "string", "minLength": 3, "maxLength": 3 } } }, "taxType": { "type": "object", "description": "Applicable tax element. This element allows for both percentages and flat amounts. If one field is used, the other should be zero since logically, taxes should be calculated in only one of the two ways.", "properties": { "description": { "type": "string", "minLength": 0, "maxLength": 2000 }, "type": { "description": "Used to indicate if the amount is inclusive or exclusive of other charges, such as taxes, or is cumulative (amounts have been added to each other).", "$ref": "#/definitions/amountDeterminationType" }, "code": { "description": "Code identifying the fee (e.g.,agency fee, municipality fee).", "type": "string", "minLength": 0, "maxLength": 20 }, "amount": { "description": "A monetary amount.", "type": "number" }, "currencyCode": { "description": "Provides a currency code to reflect the currency in which an amount may be expressed.", "type": "string", "minLength": 3, "maxLength": 3 } } }, "feesType": { "type": "object", "description": "A collection of fees or service charges.", "properties": { "fee": { "description": "An individual fee or service charge.", "type": "array", "maxItems": 99, "items": { "$ref": "#/definitions/feeType" } }, "amount": { "description": "A monetary amount.", "type": "number" }, "currencyCode": { "description": "Provides a currency code to reflect the currency in which an amount may be expressed.", "type": "string", "minLength": 3, "maxLength": 3 } } }, "feeType": { "type": "object", "description": "Applicable service charges or fees.", "properties": { "description": { "type": "string", "minLength": 0, "maxLength": 2000 }, "type": { "description": "Used to indicate if the amount is inclusive or exclusive of other charges, such as taxes, or is cumulative (amounts have been added to each other).", "$ref": "#/definitions/amountDeterminationType" }, "code": { "description": "Code identifying the fee (e.g.,agency fee, municipality fee).", "type": "string", "minLength": 0, "maxLength": 20 }, "amount": { "description": "A monetary amount.", "type": "number" }, "currencyCode": { "description": "Provides a currency code to reflect the currency in which an amount may be expressed.", "type": "string", "minLength": 3, "maxLength": 3 } } }, "ratesType": { "type": "object", "description": "Individual rate amount.", "properties": { "rate": { "description": "The Rate contains a collection of elements that define the amount of the rate, associated fees, additional occupant amounts. Taxes can be broken out or included within the various amounts. A currency can be associated to each amount.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/amountType" } }, "rateRange": { "description": "Rate Range details like maximum rate amount and minimum rate amount in each available rate category.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/rateRangeType" } } } }, "amountType": { "type": "object", "description": "Base charge and additional charges related to a room that includes such things as additional guest amounts, cancel fees, etc. Also includes Discount percentages, total amount, and the rate description.", "properties": { "base": { "description": "The base amount charged for the accommodation or service per unit of time (ex: Nightly, Weekly, etc). If TaxInclusive is set to True, then taxes are included in the base amount. Note that any additional charges should itemized in the other elements.", "$ref": "#/definitions/totalType" }, "additionalGuestAmounts": { "description": "Collection of incremental charges per age qualifying code for additional guests. Amount charged for additional occupant is with respect to age group of the base guests.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/additionalGuestAmountType" } }, "discount": { "description": "Discount percentage and/or Amount, code and textual reason for discount", "$ref": "#/definitions/discountType" }, "shareRatePercentage": { "description": "Indicates the share rate percentage for the reservation if set to CUSTOMSPLIT.", "type": "number", "minimum": 0, "maximum": 100 }, "shareDistributionInstruction": { "description": "Last rate share distribution instruction applied on share reservation daily rate segment.", "$ref": "#/definitions/shareDistributionInstructionType" }, "total": { "description": "The total amount charged for this rate including additional occupant amounts and fees.", "$ref": "#/definitions/totalType" }, "requiredPoints": { "description": "The Points contains the number of points required to book a particular room type.", "$ref": "#/definitions/pointsType" }, "effectiveRate": { "description": "The reservation effective amount charged for the accommodation or service (i.e. base amount + amount for Add to Rate Combine Line packages) per unit of time", "$ref": "#/definitions/totalType" }, "start": { "description": "The starting value of the date range.", "type": "string", "format": "date", "maxLength": 8 }, "end": { "description": "The ending value of the date range.", "type": "string", "format": "date", "maxLength": 8 } } }, "additionalGuestAmountType": { "type": "object", "properties": { "amount": { "$ref": "#/definitions/totalType" }, "ageQualifyingCode": { "type": "string", "enum": [ "ADULT", "CHILD", "OTHER", "CHILDBUCKET1", "CHILDBUCKET2", "CHILDBUCKET3", "CHILDBUCKET4", "CHILDBUCKET5" ] } } }, "discountType": { "type": "object", "description": "Identifies and provides details about the discount. This allows for both percentages and flat amounts. If one field is used, the other should be zero/not specified since logically.", "properties": { "discountReason": { "type": "string", "minLength": 0, "maxLength": 2000 }, "percent": { "description": "Percentage discount.", "type": "number" }, "amount": { "description": "A monetary amount.", "type": "number" }, "currencyCode": { "description": "Provides a currency code to reflect the currency in which an amount may be expressed.", "type": "string", "minLength": 3, "maxLength": 3 }, "discountCode": { "description": "Specifies the type of discount (e.g., No condition, LOS, Deposit or Total amount spent).", "type": "string", "minLength": 0, "maxLength": 20 } } }, "shareDistributionInstructionType": { "type": "string", "description": "The type of Rate Amount Change to be done on the Sharer reservation. This can be FULL -> Full Rate for each Sharer. SPLIT-> Split the Rate amount between Sharer Reservations. ENTIRE -> This Sharer will get the total amount of the rate code for all the Sharer Reservations.", "enum": [ "Full", "Entire", "Split", "CustomSplit" ] }, "rateRangeType": { "type": "object", "description": "Rate Range details like maximum rate amount and minimum rate amount in each available rate category.", "properties": { "base": { "description": "The base amount charged for the accommodation or service.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/totalType" } }, "rateChange": { "description": "Rate Change Indicator.", "type": "boolean" } } }, "packageElementType": { "type": "object", "properties": { "amount": { "$ref": "#/definitions/currencyAmountType" }, "allowance": { "$ref": "#/definitions/currencyAmountType" }, "description": { "type": "array", "maxItems": 4000, "items": { "type": "string", "minLength": 0, "maxLength": 2000 } }, "startDate": { "type": "string", "format": "date", "maxLength": 8 }, "endDate": { "type": "string", "format": "date", "maxLength": 8 }, "packageCode": { "type": "string" }, "calculationRule": { "type": "string" }, "postingRhythm": { "type": "string" }, "quantity": { "type": "integer" }, "includedInRate": { "type": "boolean" }, "addRateSeprateLine": { "type": "boolean" }, "addRateCombinedLine": { "type": "boolean" }, "startTime": { "type": "string" }, "endTime": { "type": "string" }, "sellSeparate": { "type": "boolean" } } }, "reservationProfileType": { "type": "object", "properties": { "profileIdList": { "description": "Unique identifiers for the Profile for both internal and external systems. In case of Travel Agent the IATA code and in case of Company can be any form of identifier as id.", "$ref": "#/definitions/profileIdList" }, "profile": { "description": "Provides detailed information regarding either a company or a customer profile.", "$ref": "#/definitions/profileType" }, "reservationProfileType": { "$ref": "#/definitions/resProfileTypeType" } } }, "guestCountsType": { "type": "object", "description": "A collection of GuestCount by age group.", "properties": { "childAges": { "description": "Defines Children's Ages. Number of children ages mentioned may mot match with children counts.", "$ref": "#/definitions/childAgesType" }, "childBuckets": { "description": "Defines children counts with Age Qualifying Group(Child Bucket#1) classification.", "$ref": "#/definitions/childBucketsType" }, "adults": { "description": "Defines the number of Adults.", "type": "integer" }, "children": { "description": "Defines the number of Children.", "type": "integer" } } }, "childAgesType": { "type": "array", "description": "Age of a child in years.", "maxItems": 4000, "items": { "$ref": "#/definitions/childAgeType" } }, "childAgeType": { "type": "object", "description": "Defines Child's Age.", "properties": { "age": { "description": "Age of a child in years.", "type": "integer" } } }, "childBucketsType": { "type": "object", "description": "Defines children counts with Age Qualifying Group(Child Bucket) classification.", "properties": { "bucket1Count": { "description": "Number of children classified under the first Age Qualifying Group(Child Bucket#1).", "type": "integer" }, "bucket2Count": { "description": "Number of children classified under the second Age Qualifying Group(Child Bucket#2).", "type": "integer" }, "bucket3Count": { "description": "Number of children classified under the third Age Qualifying Group(Child Bucket#3).", "type": "integer" }, "bucket4Count": { "description": "Number of children classified under the fourth Age Qualifying Group(Child Bucket#4).", "type": "integer" }, "bucket5Count": { "description": "Number of children classified under the fifth Age Qualifying Group(Child Bucket#5).", "type": "integer" } } }, "resAwardsType": { "type": "object", "description": "Membership Awards code applied on the reservation.", "properties": { "membershipNo": { "description": "Membership program under which the award is applied.", "$ref": "#/definitions/uniqueID_Type" }, "awardVouchers": { "$ref": "#/definitions/awardVouchersType" }, "originalRoomType": { "description": "Room Type before the Upgrade Award.", "type": "string", "minLength": 0, "maxLength": 20 }, "upgradeRoomType": { "description": "Room Type after the Upgrade Award.", "type": "string", "minLength": 0, "maxLength": 20 } } }, "awardVouchersType": { "type": "array", "description": "This stores the Membership Awards code applied on the reservation.", "maxItems": 5, "items": { "type": "object", "properties": { "awardCode": { "description": "Membership Award code applied on the reservation.", "type": "string", "minLength": 0, "maxLength": 20 }, "voucherNo": { "description": "Membership Award number.", "type": "string", "minLength": 0, "maxLength": 80 } } } }, "foreignExchangeType": { "type": "object", "description": "Foreign Exchange info.", "properties": { "type": { "description": "Exchange Type for the postings.", "type": "string", "minLength": 0, "maxLength": 20 }, "effectiveDate": { "description": "Effective Exchange date for the foreign currency posting.", "type": "string", "format": "date", "maxLength": 8 } } }, "roomRateAvailReasonType": { "type": "string", "description": "Indicates the Room Rate is not available due to unavailability of enough items for the rate code.", "enum": [ "Available", "Restricted", "RestrictedDueToInventory", "RestrictedDueToOccupancy", "RestrictedDueToItemInventory" ] }, "upsellInfoType": { "type": "object", "description": "Information regarding upsell for a reservation.", "properties": { "originalInfo": { "description": "Original Values of the reservation prior to upgrade.", "type": "object", "properties": { "rateCode": { "description": "The Rate Code of the Reservation before it was upgraded", "type": "string", "minLength": 0, "maxLength": 20 }, "totalAmount": { "description": "Total Amount of the reservation before it was upgraded.", "$ref": "#/definitions/currencyAmountType" }, "roomType": { "description": "Original Reservation Room Type before being upgraded.", "$ref": "#/definitions/codeDescriptionType" }, "nights": { "description": "The number of nights of the reservation before being upgraded.", "type": "integer" } } }, "upsellInfo": { "description": "Information of a reservation during the process of upgrade.", "type": "object", "properties": { "totalUpsellCharge": { "description": "Amount that was charged for the upsell.", "$ref": "#/definitions/currencyAmountType" }, "totalUpsellMoneyAmount": { "description": "Total Amount that was charged including upsell.", "$ref": "#/definitions/currencyAmountType" }, "firstNightUpsellAmount": { "description": "First Night Total Amount including Upsell.", "$ref": "#/definitions/currencyAmountType" }, "firstNightUpsellCharge": { "description": "First Night Upsell Charges.", "$ref": "#/definitions/currencyAmountType" }, "totalUpsellPoints": { "description": "Total Upsell Points.", "type": "integer" }, "totalActualRateAmount": { "description": "Actual Total Room Rate for the Target Upsell Room Type.", "$ref": "#/definitions/currencyAmountType" }, "roomType": { "description": "Reservation Room Type for Upsell.", "$ref": "#/definitions/codeDescriptionType" }, "roomLongDescription": { "description": "Detail description of the Room Type.", "type": "string", "minLength": 0, "maxLength": 2000 }, "ruleId": { "description": "Upsell Rule Id.", "type": "integer" }, "ruleCode": { "description": "Upsell rule code", "type": "string", "minLength": 0, "maxLength": 20 }, "ruleDescription": { "description": "Upsell rule description", "type": "string", "minLength": 0, "maxLength": 2000 }, "percentageSavings": { "description": "Percentage savings resulting from accepting upsell offer. This will be calculated as the ratio of the amount saved by accepting the upsell offer to the actual room rate (i.e. room rate when upsell is not offered)", "type": "number", "minimum": 0, "maximum": 100 }, "upsellDate": { "description": "The date on which reservation is upgraded.", "type": "string", "format": "date", "maxLength": 8 }, "upsellUser": { "description": "User who upgraded the reservation.", "type": "string", "minLength": 0, "maxLength": 40 } } } } }, "ownerResTypeType": { "type": "string", "enum": [ "Owner", "AuthorizedUser" ] }, "primaryShareTypeType": { "type": "string", "enum": [ "Primary", "NonPrimary" ] }, "compAuthorizerInfoType": { "type": "object", "description": "Authorizer Information", "properties": { "authorizerId": { "$ref": "#/definitions/uniqueID_Type" }, "authorizerUserName": { "description": "Application user name of the authorizer", "type": "string", "minLength": 0, "maxLength": 40 }, "authorizerName": { "description": "Full name of the authorizer.", "type": "string", "minLength": 0, "maxLength": 100 } } }, "resGuestType": { "type": "object", "description": "A collection of ResGuest objects, identifying the guests associated with this reservation. Which guests are in which room is determined by each RoomStays ResGuestRPHs collection.", "properties": { "profileInfo": { "description": "A collection of Profiles or Unique IDs of Profiles.", "type": "object", "properties": { "profileIdList": { "description": "Unique identifiers for the Profile for both internal and external systems. In case of Travel Agent the IATA code and in case of Company can be any form of identifier as id.", "$ref": "#/definitions/profileIdList" }, "profile": { "description": "Provides detailed information regarding either a company or a customer profile.", "$ref": "#/definitions/profileType" }, "profileCashieringDetail": { "description": "Cashiering details for the profile.", "$ref": "#/definitions/profileCashieringDetailType" }, "registrationCardNo": { "description": "Unique identifier of the police registration card number.", "type": "string", "minLength": 0, "maxLength": 40 } } }, "arrivalTransport": { "$ref": "#/definitions/transportInfoType" }, "departureTransport": { "$ref": "#/definitions/transportInfoType" }, "visaInfo": { "$ref": "#/definitions/visaInfoType" }, "reservationGuestRPH": { "description": "This is a reference placeholder, used as an index for this guest in this reservation. In the ResGuest object it is used like all other RPH attributes to send the delta of a reservation. It is used by the RoomStay and Service objects to indicate which guests are associated with that room stay or service.", "type": "string", "minLength": 1, "maxLength": 8 }, "primary": { "description": "When true indicates this is the primary guest.", "type": "boolean" } } }, "profileCashieringDetailType": { "type": "object", "description": "The type contains routing instructions for the profile.", "properties": { "paymentMethod": { "description": "Payment Method Details.", "$ref": "#/definitions/codeDescriptionType" }, "eCommerceId": { "description": "E-Commerce ID of the Profile", "$ref": "#/definitions/uniqueID_Type" }, "routingInstructions": { "description": "Set of preconfigured transaction codes.", "$ref": "#/definitions/profileRoutingInstructionsType" }, "taxType": { "description": "Tax type code.", "type": "string", "minLength": 0, "maxLength": 20 }, "fiscalGuestType": { "description": "Guest type code.", "type": "string", "minLength": 0, "maxLength": 20 }, "hotelId": { "description": "Hotel Code for which the routing instructions are provided for a profile.", "type": "string", "minLength": 0, "maxLength": 20 } } }, "profileRoutingInstructionsType": { "type": "object", "description": "The type contains routing instructions for the profile.", "properties": { "transactionCodes": { "description": "Set of preconfigured transaction codes.", "$ref": "#/definitions/trxCodesInfoType" }, "billingInstructions": { "description": "Set of preconfigured Billing Instruction results.", "$ref": "#/definitions/billingInstructionsType" }, "autoPopulateRouting": { "description": "A flag which determines whether the instructions has to be automatically populated for this profile or not.", "type": "boolean" } } }, "trxCodesInfoType": { "type": "array", "description": "List of Transaction codes info.", "maxItems": 4000, "items": { "$ref": "#/definitions/trxInfoType" } }, "trxInfoType": { "type": "object", "description": "Transaction codes info.", "properties": { "description": { "description": "Transaction codes info.", "type": "string", "minLength": 0, "maxLength": 2000 }, "transactionGroup": { "description": "Category of the transaction code.", "type": "string", "minLength": 0, "maxLength": 20 }, "transactionSubGroup": { "description": "Sub category of the transaction code.", "type": "string", "minLength": 0, "maxLength": 20 }, "universalProductCode": { "description": "Unique Universal product code of the transaction code.", "type": "string", "minLength": 0, "maxLength": 20 }, "routingInstructionsId": { "description": "This is the Routing Instruction Id attached with Reservation. It is only used for internal purpose. It should not be used by external vendor or consumer.", "type": "number" }, "articles": { "description": "The List of Articles defined for this transaction code, when using the Articles functionality.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/articleInfoType" } }, "trxServiceType": { "description": "Contains service type for transaction code.", "type": "string", "minLength": 0, "maxLength": 20 }, "transactionCode": { "description": "Unique identifier for the Transaction code.", "type": "string", "minLength": 0, "maxLength": 20 }, "hotelId": { "description": "Hotel context of the Transaction code.", "type": "string", "minLength": 0, "maxLength": 20 }, "printTrxReceipt": { "description": "Print receipt flag that tells whether the transaction receipt is to be printed or not. This is based on the transaction code.", "type": "boolean" } } }, "articleInfoType": { "type": "object", "description": "Information regarding an article.", "properties": { "description": { "description": "Description of the article.", "type": "string", "minLength": 0, "maxLength": 2000 }, "transactionCode": { "description": "Transaction code to which the article belongs.", "type": "string", "minLength": 0, "maxLength": 20 }, "price": { "description": "Default price of the article.", "$ref": "#/definitions/currencyAmountType" }, "postIt": { "description": "Post it information of the article.", "$ref": "#/definitions/articlePostItType" }, "universalProductCode": { "description": "Unique Universal product code of the article.", "type": "string", "minLength": 0, "maxLength": 20 }, "hotelId": { "description": "Hotel code to which the article belongs.", "type": "string", "minLength": 0, "maxLength": 20 }, "articleCode": { "description": "Unique code of the article.", "type": "string", "minLength": 0, "maxLength": 20 }, "inactive": { "description": "Indicates whether the article is inactive or not.", "type": "boolean" }, "orderSequence": { "description": "Display Order sequence.", "type": "number" } } }, "articlePostItType": { "type": "object", "description": "Post it information of an article.", "properties": { "availableForPostIt": { "description": "Indicates whether the article is available for post it.", "type": "boolean" }, "color": { "description": "Color indicator which is only configurable if article is available for post it.", "$ref": "#/definitions/colorType" } } }, "colorType": { "type": "string", "description": "Color configuration type. This color configuration provides a visual category of entities.", "enum": [ "Red", "DarkRed", "Green", "DarkGreen", "LightGreen", "Orange", "White", "Yellow", "DarkYellow", "Purple", "Brown", "Gray", "Aqua", "Chocolate", "Blue", "LightBlue", "DarkBlue", "Cyan", "DarkCyan", "Magenta", "DarkMagenta", "Black" ] }, "billingInstructionsType": { "type": "array", "description": "Set of Billing Instruction codes.", "maxItems": 4000, "items": { "$ref": "#/definitions/billingInstructionType" } }, "billingInstructionType": { "type": "object", "description": "Configured Billing Instruction which represents a set of Transaction Codes.", "properties": { "desc": { "description": "Billing Instruction code description.", "type": "string", "minLength": 0, "maxLength": 2000 }, "routingInstructionsId": { "description": "This is the Routing Instruction Id attached with Reservation. It is only used for internal purpose. It should not be used by external vendor or consumer.", "type": "number" }, "billingCode": { "description": "Unique identifier for the Billing Instruction.", "type": "string", "minLength": 0, "maxLength": 20 }, "hotelId": { "description": "Hotel context of the Billing Instruction.", "type": "string", "minLength": 0, "maxLength": 20 } } }, "transportInfoType": { "type": "object", "properties": { "comments": { "type": "string", "minLength": 0, "maxLength": 2000 }, "type": { "type": "string", "minLength": 0, "maxLength": 20 }, "transportCode": { "type": "string", "minLength": 0, "maxLength": 20 }, "carrierCode": { "type": "string", "minLength": 0, "maxLength": 20 }, "stationCode": { "type": "string", "minLength": 0, "maxLength": 20 }, "dateTime": { "type": "string", "format": "date-time" }, "transportationReqd": { "type": "boolean" } } }, "visaInfoType": { "type": "object", "properties": { "visaIssueDate": { "type": "string", "format": "date", "maxLength": 8 }, "visaExpiryDate": { "type": "string", "format": "date", "maxLength": 8 }, "visaNumber": { "type": "string", "minLength": 0, "maxLength": 40 } } }, "resGuestAdditionalInfoType": { "type": "object", "properties": { "portOfEntry": { "description": "Entry point into the country. (Croatian Requirements).", "type": "string", "minLength": 0, "maxLength": 40 }, "dateOfEntry": { "description": "Entry Date into the country. (Croatian Requirements).", "type": "string", "format": "date", "maxLength": 8 }, "nextDestination": { "description": "Entry Date into the country. (Croatian Requirements).", "type": "string" }, "preferredRoomType": { "description": "Preferred Room Type of the guest.", "type": "string", "minLength": 0, "maxLength": 20 }, "lastStay": { "description": "Last Stay information of the guest.", "$ref": "#/definitions/guestLastStayInfoType" }, "purposeOfStay": { "description": "Purpose of stay.", "type": "string", "minLength": 0, "maxLength": 20 }, "guestClassification": { "description": "Guest Classification for the data export.", "type": "string", "minLength": 0, "maxLength": 40 }, "guestStatus": { "description": "Guest Status for the data export.", "type": "string", "minLength": 0, "maxLength": 40 } } }, "awardsType": { "type": "array", "description": "List of awards.", "maxItems": 4000, "items": { "$ref": "#/definitions/awardType" } }, "awardType": { "type": "object", "description": "Detailed information of the awards.", "properties": { "awardCode": { "description": "Award category.", "type": "string", "minLength": 0, "maxLength": 20 }, "awardType": { "description": "Can be P (Paper) or E (E-Certificate).", "$ref": "#/definitions/awardKindType" }, "description": { "description": "Description of the award/certificate.", "type": "string" }, "certificateNo": { "description": "Certificate No.", "type": "string", "minLength": 0, "maxLength": 20 }, "masterCertificiateNo": { "description": "Master Certificate No.", "type": "string", "minLength": 0, "maxLength": 20 }, "membershipNo": { "description": "Membership No.", "type": "string" }, "hotelId": { "description": "Hotel Code for which the routing instructions are provided for a profile.", "type": "string", "minLength": 0, "maxLength": 20 }, "hotelCategory": { "description": "Indicates the lowest hotel category for which the certificate is valid.", "type": "string", "minLength": 0, "maxLength": 20 }, "externalHotelCode": { "description": "Hotel Code of the CRS application that this certificate belongs to.", "type": "string", "minLength": 0, "maxLength": 20 }, "externalConfirmationNo": { "description": "Confirmation Number given by a CRS application for this reservation.", "type": "string", "minLength": 0, "maxLength": 20 }, "categoryValid": { "description": "Indicates whether the category of certificate is valid or not for this resort.", "type": "boolean" }, "reservationCertificateType": { "description": "[R]=Reward, [I]=Incentive.", "$ref": "#/definitions/reservationCertificateType" }, "rewardCertificateType": { "description": "[RE]=Regular Certificate, [SA]=Stay Anytime Certificate, [PS]=Point Saver Certificate.", "$ref": "#/definitions/rewardCertificateType" }, "status": { "description": "Status of the award aka available.", "$ref": "#/definitions/awardStatusType" }, "expirationDate": { "description": "Expiration Date.", "type": "string", "format": "date", "maxLength": 8 }, "gift": { "description": "Signifies whether award is gift or not.", "type": "boolean" }, "upgrade": { "description": "Signifies whether upgrade award or not.", "type": "boolean" }, "package": { "description": "Signifies whether upgrade is package or not.", "type": "boolean" }, "instantlyRedeemable": { "description": "Indicates if the award is an Instant Redemption award.", "type": "boolean" }, "paidUpgrade": { "description": "Indicates if this certificate was ordered using the \"Paid Upgrade\" option in the E-Certs screen.", "type": "boolean" }, "detailedCertificate": { "description": "Indicates if this certificate is detailed or not.", "type": "boolean" }, "nights": { "description": "Award Nights.", "type": "integer" }, "sourceType": { "description": "MRW : From MRW MAN:Entered manually.", "type": "string" }, "points": { "description": "No. of points used to order this award.", "type": "number" }, "fBAInfo": { "description": "FBA related fields.", "$ref": "#/definitions/fBAInfoType" }, "reservationId": { "description": "Reservation IDs will be empty if award is not attached.", "$ref": "#/definitions/reservationId" }, "profileId": { "description": "Unique profile identifier requested to be fetched.", "$ref": "#/definitions/profileId" }, "quantity": { "description": "Quantity of such awards needed to be ordered.", "type": "integer" }, "displaySequence": { "description": "Indicates the order in which the certificates received from MRW.", "type": "number" }, "createDateTime": { "description": "Time stamp of the creation.", "type": "string", "format": "date-time" }, "creatorId": { "description": "ID of creator. The creator could be a software system identifier or an identifier of an employee responsible for the creation.", "type": "string", "minLength": 0, "maxLength": 200 }, "lastModifyDateTime": { "description": "Time stamp of last modification.", "type": "string", "format": "date-time" }, "lastModifierId": { "description": "Identifies the last software system or person to modify a record.", "type": "string", "minLength": 0, "maxLength": 200 }, "purgeDate": { "description": "Date an item will be purged from a database (e.g., from a live database to an archive).", "type": "string", "format": "date", "maxLength": 8 } } }, "awardKindType": { "type": "string", "description": "Indicates that this is electronic certificate.", "enum": [ "Paper", "ECertificate" ] }, "reservationCertificateType": { "type": "string", "description": "Certificate is incentive.", "enum": [ "Reward", "Incentive" ] }, "rewardCertificateType": { "type": "string", "description": "Point Saver reward.", "enum": [ "Regular", "StayAnytime", "PointSaver" ] }, "awardStatusType": { "type": "string", "description": "Indicates that certificate is in use.", "enum": [ "Available", "NotAvailable", "InUse" ] }, "fBAInfoType": { "type": "object", "description": "FBA ( Flexible Benefits Awards ) related fields.", "properties": { "status": { "description": "Possible FBA statuses.", "$ref": "#/definitions/fBAStatusType" }, "monetaryValue": { "description": "Award's FBA monetary values.", "type": "number" }, "amount": { "description": "Award's FBA amount.", "type": "number" }, "postedAmount": { "description": "Award's FBA posted amount.", "type": "number" }, "reimbursedAmount": { "description": "Award's FBA reimbursed amount.", "type": "number" }, "postingDateTime": { "description": "Date and time of the FBA posting.", "type": "string", "format": "date", "maxLength": 8 }, "postingBusinessDate": { "description": "Business date of the FBA posting.", "type": "string", "format": "date", "maxLength": 8 }, "settlementDateTime": { "description": "Date and time of the FBA settlement.", "type": "string", "format": "date", "maxLength": 8 }, "settlementBusinessDate": { "description": "Business date of the FBA settlement.", "type": "string", "format": "date", "maxLength": 8 }, "reimbursementDateTime": { "description": "Date and time of the FBA reimbursement.", "type": "string", "format": "date", "maxLength": 8 }, "reimbursementBusinessDate": { "description": "Business date of the FBA reimbursement.", "type": "string", "format": "date", "maxLength": 8 }, "fbaBillGenDate": { "description": "Business date of the FBA bill generation.", "type": "string", "format": "date", "maxLength": 8 }, "currencyCode": { "description": "The code specifying a monetary unit. Use ISO 4217, three alpha code.", "type": "string", "minLength": 0, "maxLength": 20 }, "currencySymbol": { "description": "The symbol for the currency, e.g, for currencyCode USD the symbol is $.", "type": "string", "minLength": 0, "maxLength": 10 }, "decimalPlaces": { "description": "Indicates the number of decimal places for a particular currency. This is equivalent to the ISO 4217 standard \"minor unit\". Typically used when the amount provided includes the minor unit of currency without a decimal point (e.g., USD 8500 needs DecimalPlaces=\"2\" to represent $85).", "type": "integer" }, "flexibleBenefitAward": { "description": "Indicates if this certificate is a Flexible Benefit Award certificate.", "type": "boolean" }, "posted": { "description": "Indicates whether FBA has been posted.", "type": "boolean" }, "settled": { "description": "Indicates whether FBA has been settled.", "type": "boolean" }, "reimbursed": { "description": "Indicates whether FBA has been reimbursed.", "type": "boolean" }, "resettleAllowed": { "description": "Marks if the certificate is eligible for resettlement", "type": "boolean" }, "reimburseAllowed": { "description": "Marks if the certificate is eligible for reimbursement.", "type": "boolean" }, "orphanCertificate": { "description": "Indicates whether the certificate is Orphan or not.", "type": "boolean" } } }, "fBAStatusType": { "type": "string", "description": "Flexible benefit award has been reimbursed.", "enum": [ "Ordered", "Attached", "Posted", "Settled", "Reimbursed" ] }, "trackItItemsType": { "type": "array", "description": "", "maxItems": 4000, "items": { "$ref": "#/definitions/trackItItemType" } }, "trackItItemType": { "type": "object", "description": "Detailed information of a Track It item.", "properties": { "hotelId": { "type": "string", "minLength": 0, "maxLength": 20 }, "trackItId": { "$ref": "#/definitions/trackItId" }, "group": { "$ref": "#/definitions/trackItGroup" }, "ticketNumber": { "type": "string", "minLength": 0, "maxLength": 80 }, "referenceNumber": { "type": "string", "minLength": 0, "maxLength": 20 }, "type": { "$ref": "#/definitions/trackItType" }, "action": { "$ref": "#/definitions/trackItActionType" }, "location": { "$ref": "#/definitions/codeDescriptionType" }, "quantity": { "type": "integer" }, "followUpDate": { "type": "string", "format": "date", "maxLength": 8 }, "description": { "type": "string", "minLength": 0, "maxLength": 2000 }, "assignedTo": { "$ref": "#/definitions/applicationUserType" }, "reservationInfo": { "$ref": "#/definitions/trackItReservationInfoType" }, "trackItLogList": { "$ref": "#/definitions/trackItLogListType" } } }, "trackItId": { "type": "object", "description": "An identifier used to uniquely reference an object in a system (e.g. an airline reservation reference, customer profile reference, booking confirmation number, or a reference to a previous availability quote).", "properties": { "url": { "description": "URL that identifies the location associated with the record identified by the UniqueID.", "type": "string" }, "type": { "description": "A reference to the type of object defined by the UniqueID element.", "type": "string", "minLength": 0, "maxLength": 20 }, "instance": { "description": "The identification of a record as it exists at a point in time. An instance is used in update messages where the sender must assure the server that the update sent refers to the most recent modification level of the object being updated.", "type": "string", "minLength": 0, "maxLength": 80 }, "idContext": { "description": "Used to identify the source of the identifier (e.g., IATA, ABTA).", "type": "string", "minLength": 0, "maxLength": 80 }, "id": { "description": "A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.", "type": "string", "minLength": 0, "maxLength": 80 }, "idExtension": { "description": "Additional identifying value assigned by the creating system.", "type": "integer" } } }, "trackItGroup": { "type": "string", "description": "Group to which the Track It items belong.", "enum": [ "Parcel", "Valet", "Baggage", "Lost" ] }, "trackItType": { "type": "object", "description": "Identifies the kind of Parcel, Baggage, or Lost items or Valet-managed vehicles or services.", "properties": { "type": { "$ref": "#/definitions/codeDescriptionType" }, "url": { "$ref": "#/definitions/uRLType" } } }, "trackItActionType": { "type": "object", "description": "Identifies the response expected from staff or other parties relative to a Track It ticket.", "properties": { "trackItAction": { "$ref": "#/definitions/codeDescriptionType" }, "status": { "$ref": "#/definitions/actionStatusType" } } }, "actionStatusType": { "type": "string", "description": "Action status of the Track It item(Open, Closed).", "enum": [ "Open", "Closed" ] }, "applicationUserType": { "type": "object", "properties": { "hotel": { "description": "Hotel where user belongs.", "$ref": "#/definitions/codeDescriptionType" }, "appUser": { "type": "string", "minLength": 0, "maxLength": 250 }, "lDAPUser": { "type": "string", "minLength": 0, "maxLength": 250 }, "actAs": { "type": "string", "minLength": 0, "maxLength": 20 }, "actAt": { "type": "string", "minLength": 0, "maxLength": 20 }, "userDefaultLanguage": { "type": "string", "minLength": 0, "maxLength": 20 }, "appUserId": { "$ref": "#/definitions/uniqueID_Type" }, "cashierId": { "type": "integer" }, "cashierTitle": { "description": "Cashier title.", "type": "string", "minLength": 0, "maxLength": 2000 }, "department": { "type": "string", "minLength": 0, "maxLength": 60 }, "departmentLocation": { "type": "string", "minLength": 0, "maxLength": 60 }, "salesRepCode": { "type": "string", "minLength": 0, "maxLength": 20 }, "expiryDate": { "type": "string", "format": "date", "maxLength": 8 }, "disabledUntil": { "type": "string", "format": "date", "maxLength": 8 }, "passwordChangeDate": { "type": "string", "format": "date", "maxLength": 8 }, "userInfo": { "$ref": "#/definitions/employeeInfoType" }, "userSessionInfo": { "description": "This is only used during log-in.", "$ref": "#/definitions/userSessionInfoType" }, "attendantInfo": { "$ref": "#/definitions/attendantType" } } }, "employeeInfoType": { "type": "object", "properties": { "personName": { "$ref": "#/definitions/personNameType" }, "profileId": { "$ref": "#/definitions/uniqueID_Type" }, "addressInfo": { "$ref": "#/definitions/addressInfoType" }, "emailInfo": { "$ref": "#/definitions/emailInfoType" }, "phoneInfo": { "$ref": "#/definitions/telephoneInfoType" }, "department": { "$ref": "#/definitions/codeDescriptionType" }, "gender": { "description": "Identifies the profile gender code selected from Gender types List of values. Gender types LOV provides the values configured at gender configuration.", "type": "string", "minLength": 0, "maxLength": 20 }, "birthDate": { "description": "Indicates the date of birth as indicated in the document, in ISO 8601 prescribed format.", "type": "string", "format": "date", "maxLength": 8 }, "birthDateMasked": { "description": "Indicates the date of birth as masked.", "type": "string" } } }, "userSessionInfoType": { "type": "object", "properties": { "businessDate": { "type": "string", "format": "date", "maxLength": 8 }, "systemDate": { "type": "string", "format": "date", "maxLength": 8 }, "terminal": { "type": "string" }, "runningApp": { "type": "string" }, "shareProfiles": { "type": "boolean" }, "hotel": { "$ref": "#/definitions/codeDescriptionType" }, "cro": { "$ref": "#/definitions/codeDescriptionType" }, "chain": { "type": "string", "minLength": 0, "maxLength": 20 }, "cROCountryCode": { "type": "string", "minLength": 0, "maxLength": 20 }, "sessionDefaults": { "$ref": "#/definitions/userSessionDefaultsType" }, "parameters": { "$ref": "#/definitions/parametersType" } } }, "userSessionDefaultsType": { "type": "object", "properties": { "dbDateFormat": { "type": "string" }, "oracleDateFormat": { "type": "string" }, "oracleTimeFormat": { "type": "string" }, "javaDateFormat": { "type": "string" }, "javaTimeFormat": { "type": "string" }, "currencyCode": { "type": "string", "minLength": 0, "maxLength": 20 }, "currencyFormat": { "type": "string" }, "defaultLanguage": { "type": "string" }, "baseLanguage": { "type": "string", "minLength": 0, "maxLength": 20 } } }, "parametersType": { "type": "array", "description": "Collection of generic Name-Value-Pair parameters.", "maxItems": 4000, "items": { "$ref": "#/definitions/parameterType" } }, "parameterType": { "type": "object", "description": "Name value pair type that will hold generic parameter information. Only use this type when the parameters being passed are too dynamic to be defined.", "properties": { "parameterName": { "description": "Name of the parameter.", "type": "string" }, "parameterValue": { "description": "Value of the parameter.", "type": "string" } } }, "attendantType": { "type": "object", "properties": { "attendantId": { "type": "string", "minLength": 0, "maxLength": 20 }, "hotelId": { "type": "string", "minLength": 0, "maxLength": 20 } } }, "trackItReservationInfoType": { "type": "object", "description": "Reservation info associated with a Track It item.", "properties": { "reservationIdList": { "$ref": "#/definitions/reservationIdList" }, "timeSpan": { "$ref": "#/definitions/timeSpanType" }, "guestInfo": { "$ref": "#/definitions/resGuestInfoType" }, "roomType": { "type": "string", "minLength": 0, "maxLength": 20 }, "roomId": { "type": "string", "minLength": 0, "maxLength": 20 }, "roomStatus": { "$ref": "#/definitions/housekeepingRoomStatusType" }, "guarantee": { "$ref": "#/definitions/resGuaranteeType" }, "reservationStatus": { "$ref": "#/definitions/pMS_ResStatusType" }, "computedReservationStatus": { "$ref": "#/definitions/pMS_ResStatusType" } } }, "trackItLogListType": { "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/trackItLogType" } }, "trackItLogType": { "type": "object", "description": "Individual activity log related to the Track It ticket.", "properties": { "hotelId": { "type": "string", "minLength": 0, "maxLength": 20 }, "trackItLogId": { "$ref": "#/definitions/uniqueID_Type" }, "trackItId": { "$ref": "#/definitions/trackItId" }, "type": { "type": "string", "minLength": 0, "maxLength": 20 }, "description": { "type": "string", "minLength": 0, "maxLength": 200 }, "businessDate": { "type": "string", "format": "date", "maxLength": 8 }, "logUserId": { "type": "integer" }, "logUserName": { "type": "string" }, "logDate": { "type": "string", "format": "date-time" } } }, "hotelReservationsType": { "type": "object", "description": "A collection of Reservation objects and Unique IDs of Reservation.", "properties": { "reservation": { "description": "A collection of Reservations.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/hotelReservationType" } }, "hasMore": { "description": "Indicates whether all the records are included in the response or not. Absence of the attribute values should be consider as all rows fetched in the response.", "type": "boolean" }, "totalResults": { "description": "Total number of rows queried", "type": "integer" }, "count": { "description": "Total number of rows returned", "type": "integer" } } }, "reservationLocatorsType": { "type": "array", "description": "Holds the Locator Information.", "maxItems": 4000, "items": { "$ref": "#/definitions/reservationLocatorType" } }, "reservationLocatorType": { "type": "object", "description": "Holds the information for a Reservation Guest Locator", "properties": { "dateSpan": { "description": "Begin and End date range of the Guest Locator.", "$ref": "#/definitions/dateRangeType" }, "timeSpan": { "description": "Time span for the Guest Locator.", "$ref": "#/definitions/dateTimeSpanType" }, "locatorText": { "description": "The Locator Text for the guest.", "type": "string" }, "locatorOn": { "description": "Date and time of the Guest Locator.", "type": "string", "format": "date-time" }, "locatorBy": { "description": "User that entered this Guest Locator.", "type": "string" }, "locatorId": { "description": "Unique Id of the Guest Locator ( Locator Id )", "$ref": "#/definitions/uniqueID_Type" } } }, "serviceRequests": { "type": "array", "description": "Service request.", "maxItems": 4000, "items": { "$ref": "#/definitions/serviceRequest" } }, "serviceRequest": { "type": "object", "description": "Service request.", "properties": { "serviceRequestId": { "description": "Unique identifier of the service request.", "$ref": "#/definitions/uniqueID_Type" }, "hotelId": { "description": "Hotel Code of the service request.", "type": "string", "minLength": 0, "maxLength": 20 }, "code": { "description": "Service request code.", "type": "string", "minLength": 0, "maxLength": 20 }, "status": { "description": "The status of the service request.", "$ref": "#/definitions/serviceRequestStatusType" }, "priority": { "description": "The priority level of the service request.", "type": "string", "minLength": 0, "maxLength": 20 }, "department": { "description": "The department that is associated with the service request code.", "$ref": "#/definitions/codeDescriptionType" }, "reservationIdList": { "description": "Unique identifier of the reservation.", "$ref": "#/definitions/reservationIdList" }, "profileId": { "description": "Unique identifier of the guest.", "$ref": "#/definitions/profileId" }, "guestName": { "description": "The guest name.", "type": "string", "minLength": 0, "maxLength": 200 }, "room": { "description": "The room number in which the service request was created.", "type": "string", "minLength": 0, "maxLength": 20 }, "openDate": { "description": "The date-time in which the service request was opened.", "type": "string", "format": "date-time" }, "guaranteedBy": { "description": "The user who guaranteed the completion of the service request.", "type": "string", "minLength": 0, "maxLength": 100 }, "comment": { "description": "Description of the service request.", "type": "string", "minLength": 0, "maxLength": 2000 }, "action": { "description": "Description of the action taken to complete the request.", "type": "string", "minLength": 0, "maxLength": 200 }, "guestContactMethod": { "description": "Communication method picked from guest profile.", "type": "string", "minLength": 0, "maxLength": 100 }, "completionDate": { "description": "The date-time in which the service request was completed.", "type": "string", "format": "date-time" }, "closedDate": { "description": "The date-time in which the service request was closed.", "type": "string", "format": "date-time" }, "closedBy": { "description": "The user who closed the service request.", "type": "string", "minLength": 0, "maxLength": 80 }, "closeDescription": { "description": "The follow up description.", "type": "string", "minLength": 0, "maxLength": 2000 } } }, "serviceRequestStatusType": { "type": "string", "enum": [ "Open", "PendingFollowUp", "Closed", "DoNotDisturb", "MakeUpRoom" ] }, "activityLookUpList": { "type": "array", "description": "Criteria for fetching Activity Bookings.", "maxItems": 4000, "items": { "$ref": "#/definitions/fetchActivityBookingsType" } }, "fetchActivityBookingsType": { "type": "object", "description": "Used in the request message to describe the \"filtering Criteria\" when executing an activity lookup.", "properties": { "profileId": { "description": "ProfileID associated with the Activity under lookup.", "$ref": "#/definitions/uniqueIDListType" }, "personName": { "description": "Detailed name information for the customer.", "$ref": "#/definitions/personNameType" }, "address": { "description": "Detailed Address information for the customer.", "$ref": "#/definitions/addressType" }, "activities": { "description": "The specific activity information to be used for filtering the Look-up.", "$ref": "#/definitions/activityList" }, "hotelId": { "description": "Hotel Code, It is used to filter hotel specific children to this specific hotel code.", "type": "string", "minLength": 0, "maxLength": 20 } } }, "activityList": { "type": "array", "description": "A collection of Activity objects.", "maxItems": 4000, "items": { "type": "object", "properties": { "activityIds": { "description": "A collection of reference ID values that identify this uniquely scheduled activity instance. May contain one ID per external system plus an internal identifier.", "$ref": "#/definitions/uniqueIDListType" }, "type": { "description": "The Type of the activity. Eg: SPA, Golf etc.", "type": "string" }, "location": { "description": "The Location where the activity takes place. Eg: Salon", "type": "string" }, "name": { "description": "Name of the people for whom the activity is scheduled. Can be more than one but should be equal to the number of persons", "type": "array", "maxItems": 4000, "items": { "type": "string", "minLength": 0, "maxLength": 200 } }, "numberOfPersons": { "description": "The total number of the people for whom the activity is scheduled. Can be more than one but should be equal to the number of persons", "type": "integer" }, "timeSpan": { "description": "The time with-in which an activity falls (Starts/Ends/Spans)", "$ref": "#/definitions/dateTimeSpanType" }, "duration": { "description": "The time span of the activity falls", "$ref": "#/definitions/dateTimeSpanType" }, "description": { "description": "Description of the activity", "type": "array", "maxItems": 4000, "items": { "type": "string", "minLength": 0, "maxLength": 2000 } }, "note": { "description": "Any additional notes or comments regarding the scheduled activity.", "type": "array", "maxItems": 4000, "items": { "type": "string", "minLength": 0, "maxLength": 2000 } }, "groupCode": { "description": "Any Block code associated with the activity if its a Group booking.", "type": "string" }, "amount": { "description": "The amount charged for the activity.", "$ref": "#/definitions/currencyAmountType" }, "deposit": { "description": "A monetary value expressed with a currency code.", "type": "object", "properties": { "amount": { "description": "A monetary amount.", "type": "number" }, "currencyCode": { "description": "Provides a currency code to reflect the currency in which an amount may be expressed.", "type": "string", "minLength": 3, "maxLength": 3 }, "collectedBy": { "type": "string", "enum": [ "Vendor", "Agent", "Other" ] } } }, "inactiveDate": { "description": "The Date by which the activity is deemed Cancelled/Deleted.", "type": "string", "format": "date-time" }, "participants": { "description": "The names of the participants.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/personNameType" } }, "uRLLink": { "description": "The URL link to launch the Activity Reservation System to view or edit full details of this activity.", "type": "string" }, "extensions": { "description": "Vendor extensions to the activity record.", "type": "array", "maxItems": 4000, "items": { "type": "string" } }, "status": { "description": "Activity reservation status. Typical examples are RESERVED, BOOKED, CANCELLED, and TENTATIVE.", "type": "string" }, "statusDescription": { "description": "Activity reservation status description. Typical examples are RESERVED, BOOKED, CANCELLED, and TENTATIVE.", "type": "string" }, "link": { "description": "When true indicates that activity link only needs to be inserted or deleted for this record.", "type": "boolean" } }, "description": "Represents a single instance of a scheduled activity." } }, "prepaidCardsType": { "type": "array", "description": "Holds fixed charge detail.", "maxItems": 4000, "items": { "$ref": "#/definitions/prepaidCardType" } }, "prepaidCardType": { "type": "object", "description": "Holds fixed charge information.", "properties": { "hotelId": { "description": "Hotel context for the Reservations.", "type": "string", "minLength": 0, "maxLength": 20 }, "reservationId": { "description": "The unique ID of the reservation to which this record applies.", "$ref": "#/definitions/reservationId" }, "name": { "description": "Family name, last name or Company Name.", "type": "string", "minLength": 0, "maxLength": 80 }, "firstName": { "description": "Given name, first name or names.", "type": "string", "minLength": 0, "maxLength": 80 }, "profileId": { "description": "Card / Account holder name ID", "$ref": "#/definitions/profileId" }, "cardNo": { "description": "Prepaid card / account number.", "type": "string", "minLength": 0, "maxLength": 80 }, "cardNumberMasked": { "description": "Masked Prepaid card / account number.", "type": "string", "minLength": 0, "maxLength": 80 }, "amount": { "description": "Prepaid Card Amount.", "$ref": "#/definitions/currencyAmountType" }, "pinCode": { "description": "Prepaid card pin code.", "type": "string", "minLength": 0, "maxLength": 10 }, "interfaceId": { "description": "The unique ID for the Interface.", "$ref": "#/definitions/uniqueID_Type" }, "cardDetails": { "description": "Prepaid Card details from vendor.", "$ref": "#/definitions/prepaidCardDetailsType" }, "createDateTime": { "description": "Time stamp of the creation.", "type": "string", "format": "date-time" }, "creatorId": { "description": "ID of creator. The creator could be a software system identifier or an identifier of an employee responsible for the creation.", "type": "string", "minLength": 0, "maxLength": 200 }, "lastModifyDateTime": { "description": "Time stamp of last modification.", "type": "string", "format": "date-time" }, "lastModifierId": { "description": "Identifies the last software system or person to modify a record.", "type": "string", "minLength": 0, "maxLength": 200 }, "purgeDate": { "description": "Date an item will be purged from a database (e.g., from a live database to an archive).", "type": "string", "format": "date", "maxLength": 8 }, "giftCard": { "description": "Indicates a gift card type.", "type": "boolean" } } }, "prepaidCardDetailsType": { "type": "object", "description": "Prepaid Card Details.", "properties": { "initialLoadDate": { "description": "Holds fixed charge detail.", "type": "string", "format": "date", "maxLength": 8 }, "activateDate": { "description": "Holds fixed charge detail.", "type": "string", "format": "date", "maxLength": 8 }, "initialCreditTotal": { "description": "Holds fixed charge detail.", "$ref": "#/definitions/currencyAmountType" }, "creditTotal": { "description": "Holds fixed charge detail.", "$ref": "#/definitions/currencyAmountType" }, "debitTotal": { "description": "Holds fixed charge detail.", "$ref": "#/definitions/currencyAmountType" }, "reservedTotal": { "description": "Holds fixed charge detail.", "$ref": "#/definitions/currencyAmountType" }, "balanceTotal": { "description": "Holds fixed charge detail.", "$ref": "#/definitions/currencyAmountType" }, "validUntilDate": { "description": "Holds fixed charge detail.", "type": "string", "format": "date", "maxLength": 8 }, "expiredDate": { "description": "Holds fixed charge detail.", "type": "string", "format": "date", "maxLength": 8 }, "transactions": { "description": "Holds fixed charge detail.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/prepaidCardTransactionType" } } } }, "prepaidCardTransactionType": { "type": "object", "description": "Prepaid Card transaction.", "properties": { "transactionType": { "description": "Transaction type enumeration.", "$ref": "#/definitions/prepaidCardTrxTypeType" }, "transactionDate": { "description": "Transaction number of the Prepaid card transaction.", "type": "string", "format": "date", "maxLength": 8 }, "transactionNo": { "description": "Transaction number of the Prepaid card transaction.", "type": "number" }, "amount": { "description": "Prepaid Card Amount.", "$ref": "#/definitions/currencyAmountType" }, "createDateTime": { "description": "Time stamp of the creation.", "type": "string", "format": "date-time" }, "creatorId": { "description": "ID of creator. The creator could be a software system identifier or an identifier of an employee responsible for the creation.", "type": "string", "minLength": 0, "maxLength": 200 }, "lastModifyDateTime": { "description": "Time stamp of last modification.", "type": "string", "format": "date-time" }, "lastModifierId": { "description": "Identifies the last software system or person to modify a record.", "type": "string", "minLength": 0, "maxLength": 200 }, "purgeDate": { "description": "Date an item will be purged from a database (e.g., from a live database to an archive).", "type": "string", "format": "date", "maxLength": 8 } } }, "prepaidCardTrxTypeType": { "type": "string", "description": "Reload transaction.", "enum": [ "Activate", "Cancel", "Cashout", "Inquiry", "Issue", "Redeem", "Reload" ] }, "reservationPackageType": { "type": "object", "description": "A ReservationPackageType class.", "properties": { "packageHeaderType": { "description": "Package information from configuration.", "$ref": "#/definitions/packageCodeHeaderType" }, "scheduleList": { "description": "A HotelPackageSchedule type.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/reservationPackageScheduleType" } }, "newTimeSpan": { "description": "The changed dates(Start and End dates) for this product.", "$ref": "#/definitions/timeSpanType" }, "consumptionDetails": { "description": "Package consumption details. Includes information for quantity , allowance etc.", "$ref": "#/definitions/packageConsumptionType" }, "packageCode": { "description": "Package code. This is the unique code used for the package and is a required element.", "type": "string", "minLength": 0, "maxLength": 20 }, "internalID": { "description": "Reservation Package Opera Internal Unique Id. This is the unique Id used for this reservation package.", "type": "number" }, "ratePlanCode": { "description": "The rate code which contains this package. If the package is not part of a rate code, this will be empty. Required element and part of the key to fetch the correct package record on the reservation.", "type": "string", "minLength": 0, "maxLength": 20 }, "startDate": { "description": "Required value when changing a reservation package. If the original start date was null, then null is required.", "type": "string", "format": "date", "maxLength": 8 }, "endDate": { "description": "Required value when changing a reservation package. If the original end date was null, then null is required.", "type": "string", "format": "date", "maxLength": 8 }, "packageGroup": { "description": "Package group code. If this package is part of a package group, the group code is indicated here. This is a required element and is part of the key to fetch the correct package record .", "type": "string", "minLength": 0, "maxLength": 20 }, "source": { "description": "Indicates if the source of the product is Rate header, Rate Detail or Reservation. For new development this field is to be used for passing the product scource", "$ref": "#/definitions/productSourceType" }, "awardCode": { "description": "This is the Award code used to redeem the package if the package is a redemption package.", "type": "string", "minLength": 0, "maxLength": 20 }, "points": { "description": "Indicates the points used to redeem the redemption package.", "type": "integer" } } }, "reservationPackageScheduleType": { "type": "object", "description": "A HotelPackageSchedule type.", "properties": { "consumptionDate": { "description": "The date the package was used or can be used.", "type": "string", "format": "date", "maxLength": 8 }, "unitPrice": { "description": "The price per unit of the package.", "type": "number" }, "totalQuantity": { "description": "The total quantity of the package for this date, calculated based on the calculation rule as defined in the PackageHeaderType", "type": "integer" }, "computedResvPrice": { "description": "Computed Reservation Price of the package. Calculation Will Be Performed Based On Other Parameters.", "type": "number" }, "unitAllowance": { "description": "The allowance per unit of the package.", "type": "number" }, "reservationDate": { "description": "The date of the Reservation when this package is applicable. This can be different from the date the package will be consumed. Example are next day packages. Reservation date is when the package is applied to the guest and Consumption date is when the guest can consume the package.", "type": "string", "format": "date", "maxLength": 8 }, "originalUnitPrice": { "description": "The original price per unit of the package if it has been changed.", "type": "number" }, "originalUnitAllowance": { "description": "The original allowance per unit of the package if it has been changed.", "type": "number" } } }, "resInventoryItemsType": { "type": "object", "description": "Defines a collection of inventory items attached to a reservation.", "properties": { "item": { "description": "Inventory item attached to a reservation.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/resInventoryItemType" } }, "itemClassCode": { "description": "The Item Class ID which the item belongs to.", "type": "string", "minLength": 0, "maxLength": 20 } } }, "resInventoryItemType": { "type": "object", "description": "An identifier used to uniquely reference an object in a system (e.g. an airline reservation reference, customer profile reference, booking confirmation number, or a reference to a previous availability quote).", "properties": { "url": { "description": "URL that identifies the location associated with the record identified by the UniqueID.", "type": "string" }, "type": { "description": "A reference to the type of object defined by the UniqueID element.", "type": "string", "minLength": 0, "maxLength": 20 }, "instance": { "description": "The identification of a record as it exists at a point in time. An instance is used in update messages where the sender must assure the server that the update sent refers to the most recent modification level of the object being updated.", "type": "string", "minLength": 0, "maxLength": 80 }, "idContext": { "description": "Used to identify the source of the identifier (e.g., IATA, ABTA).", "type": "string", "minLength": 0, "maxLength": 80 }, "id": { "description": "A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.", "type": "string", "minLength": 0, "maxLength": 80 }, "idExtension": { "description": "Additional identifying value assigned by the creating system.", "type": "integer" }, "item": { "description": "Specifies Items and its attributes. When used for data manipulation for Items setup on reservation, etc only code is considered. Other Attributes are for used to provide information during fetch operation.", "$ref": "#/definitions/itemInfoType" }, "quantity": { "description": "Number of items booked.", "type": "integer" }, "timeSpan": { "description": "Begin and end date and time of the items applicability.", "$ref": "#/definitions/dateRangeType" }, "source": { "description": "If exists specifies whether the item is setup due to a Rate Plan, Package or a Block.", "$ref": "#/definitions/resInventoryItemSourceType" } } }, "resInventoryItemSourceType": { "type": "object", "description": "Defines whether the item is setup due to a Rate Plan, Package or a Block.", "properties": { "ratePlanCode": { "description": "Rate Plan Code, If populated specifies that the item is setup due to a Rate Plan.", "type": "string", "minLength": 0, "maxLength": 20 }, "packageCode": { "description": "Package Code, If populated specifies that the item is setup due to a Package.", "type": "string", "minLength": 0, "maxLength": 20 }, "blockId": { "description": "Block Unique ID, If populated specifies that the item is setup due to a Block.", "$ref": "#/definitions/blockId" }, "welcomeOffer": { "description": "If true, it implies that the item has been attached to the reservation as part of a Welcome Offer", "type": "boolean" }, "packageInternalID": { "description": "Source Reservation Package Opera Internal Unique Id. This is the unique Id used for the reservation package associated with this item.", "type": "number" } } }, "membershipType": { "type": "object", "description": "Detailed information of the memberships.", "properties": { "comment": { "description": "Additional comments regarding to the membership.", "$ref": "#/definitions/paragraphType" }, "newMembershipNumber": { "description": "Card Number of the membership.", "type": "string" }, "nameOnCard": { "description": "Name to be displayed on the membership card.", "type": "string" }, "programDescription": { "description": "Description of the membership program.", "type": "string" }, "membershipLevel": { "description": "Indicates the membership level.", "type": "string" }, "membershipLevelDescription": { "description": "Indicates the membership level description.", "type": "string", "minLength": 0, "maxLength": 200 }, "membershipClass": { "description": "Indicates the membership class.", "type": "string" }, "earningPreference": { "description": "Earning preference to the membership.", "$ref": "#/definitions/membershipEarningPreferenceType" }, "inactive": { "description": "Indicates whether membership is active or inactive.", "type": "boolean" }, "benefits": { "description": "benefits for the membership.", "$ref": "#/definitions/benefitsType" }, "tierAdministration": { "description": "Defines the degree of participation for this membership in the tier management portion of the program.", "$ref": "#/definitions/tierAdministrationType" }, "downgrade": { "description": "Defines how downgrading will be handled for this membership.", "$ref": "#/definitions/downgradeType" }, "reIssueNewCard": { "description": "The status of issuing new membership card to the member.", "$ref": "#/definitions/cardReIssueType" }, "excludeFromBatch": { "description": "True if you want to exclude the member from the Membership Fulfillment extract,the member's actions will not be included in the fulfillment extract until this value set to false.", "type": "boolean" }, "upgradeDescription": { "description": "Indicates Upgrade information which includes member's next tier level, requirements for the next upgrade.", "type": "string", "minLength": 0, "maxLength": 32000 }, "downgradeDescription": { "description": "Indicates information regarding the member's possible downgrades.", "type": "string", "minLength": 0, "maxLength": 32000 }, "rating": { "description": "Value Rating Type Description for this membership.", "type": "string" }, "membershipEnrollmentCode": { "description": "Indicates how the guest enrolled in the program.", "type": "string", "minLength": 0, "maxLength": 20 }, "memberStatus": { "description": "Indicates where the guest is in the membership enrollment process.", "type": "string", "minLength": 0, "maxLength": 20 }, "currentPoints": { "description": "Profile MemberShip Points.", "type": "number" }, "pointsLabel": { "description": "Label used to refer to points for this membership type", "type": "string", "minLength": 0, "maxLength": 20 }, "enrollmentSource": { "description": "Source from where the enrollment is done.", "type": "string", "minLength": 0, "maxLength": 20 }, "enrollmentResort": { "description": "Resort/CRO where enrollment is done.", "type": "string", "minLength": 0, "maxLength": 20 }, "preferredCard": { "description": "Preferred Card.", "type": "boolean" }, "membershipId": { "description": "Card Number of the membership.", "type": "string" }, "membershipType": { "description": "Type of membership.", "type": "string" }, "primaryMembershipYn": { "description": "Indicator if Membership is a Primary Membership.", "type": "string", "minLength": 0, "maxLength": 1 }, "primaryMembership": { "description": "Boolean indicator set to True implies membership is a Primary Membership.", "type": "boolean" }, "membershipIdNo": { "description": "Membership ID Number.", "type": "integer" }, "playerRanking": { "description": "Ranking assigned to the Player Profile by the Gaming system.", "type": "integer" }, "centralSetup": { "description": "Indicates how the award points for this membership type will be managed.", "type": "boolean" }, "signupDate": { "description": "Indicates when the member signed up for the loyalty program.", "type": "string", "format": "date", "maxLength": 8 }, "effectiveDate": { "description": "Indicates the starting date.", "type": "string", "format": "date", "maxLength": 8 }, "expireDate": { "description": "Indicates the ending date.", "type": "string", "format": "date", "maxLength": 8 }, "expireDateExclusiveIndicator": { "description": "When true, indicates that the ExpireDate is the first day after the applicable period (e.g. when expire date is Oct 15 the last date of the period is Oct 14).", "type": "boolean" }, "orderSequence": { "description": "Display Order sequence.", "type": "number" }, "createDateTime": { "description": "Time stamp of the creation.", "type": "string", "format": "date-time" }, "creatorId": { "description": "ID of creator. The creator could be a software system identifier or an identifier of an employee responsible for the creation.", "type": "string", "minLength": 0, "maxLength": 200 }, "lastModifyDateTime": { "description": "Time stamp of last modification.", "type": "string", "format": "date-time" }, "lastModifierId": { "description": "Identifies the last software system or person to modify a record.", "type": "string", "minLength": 0, "maxLength": 200 }, "purgeDate": { "description": "Date an item will be purged from a database (e.g., from a live database to an archive).", "type": "string", "format": "date", "maxLength": 8 } } }, "reservationMembershipType": { "type": "object", "properties": { "comment": { "description": "Additional comments regarding to the membership.", "$ref": "#/definitions/paragraphType" }, "newMembershipNumber": { "description": "Card Number of the membership.", "type": "string" }, "nameOnCard": { "description": "Name to be displayed on the membership card.", "type": "string" }, "programDescription": { "description": "Description of the membership program.", "type": "string" }, "membershipLevel": { "description": "Indicates the membership level.", "type": "string" }, "membershipLevelDescription": { "description": "Indicates the membership level description.", "type": "string", "minLength": 0, "maxLength": 200 }, "membershipClass": { "description": "Indicates the membership class.", "type": "string" }, "earningPreference": { "description": "Earning preference to the membership.", "$ref": "#/definitions/membershipEarningPreferenceType" }, "inactive": { "description": "Indicates whether membership is active or inactive.", "type": "boolean" }, "benefits": { "description": "benefits for the membership.", "$ref": "#/definitions/benefitsType" }, "tierAdministration": { "description": "Defines the degree of participation for this membership in the tier management portion of the program.", "$ref": "#/definitions/tierAdministrationType" }, "downgrade": { "description": "Defines how downgrading will be handled for this membership.", "$ref": "#/definitions/downgradeType" }, "reIssueNewCard": { "description": "The status of issuing new membership card to the member.", "$ref": "#/definitions/cardReIssueType" }, "excludeFromBatch": { "description": "True if you want to exclude the member from the Membership Fulfillment extract,the member's actions will not be included in the fulfillment extract until this value set to false.", "type": "boolean" }, "upgradeDescription": { "description": "Indicates Upgrade information which includes member's next tier level, requirements for the next upgrade.", "type": "string", "minLength": 0, "maxLength": 32000 }, "downgradeDescription": { "description": "Indicates information regarding the member's possible downgrades.", "type": "string", "minLength": 0, "maxLength": 32000 }, "rating": { "description": "Value Rating Type Description for this membership.", "type": "string" }, "membershipEnrollmentCode": { "description": "Indicates how the guest enrolled in the program.", "type": "string", "minLength": 0, "maxLength": 20 }, "memberStatus": { "description": "Indicates where the guest is in the membership enrollment process.", "type": "string", "minLength": 0, "maxLength": 20 }, "currentPoints": { "description": "Profile MemberShip Points.", "type": "number" }, "pointsLabel": { "description": "Label used to refer to points for this membership type", "type": "string", "minLength": 0, "maxLength": 20 }, "enrollmentSource": { "description": "Source from where the enrollment is done.", "type": "string", "minLength": 0, "maxLength": 20 }, "enrollmentResort": { "description": "Resort/CRO where enrollment is done.", "type": "string", "minLength": 0, "maxLength": 20 }, "preferredCard": { "description": "Preferred Card.", "type": "boolean" }, "membershipId": { "description": "Card Number of the membership.", "type": "string" }, "membershipType": { "description": "Type of membership.", "type": "string" }, "primaryMembershipYn": { "description": "Indicator if Membership is a Primary Membership.", "type": "string", "minLength": 0, "maxLength": 1 }, "primaryMembership": { "description": "Boolean indicator set to True implies membership is a Primary Membership.", "type": "boolean" }, "membershipIdNo": { "description": "Membership ID Number.", "type": "integer" }, "playerRanking": { "description": "Ranking assigned to the Player Profile by the Gaming system.", "type": "integer" }, "centralSetup": { "description": "Indicates how the award points for this membership type will be managed.", "type": "boolean" }, "signupDate": { "description": "Indicates when the member signed up for the loyalty program.", "type": "string", "format": "date", "maxLength": 8 }, "effectiveDate": { "description": "Indicates the starting date.", "type": "string", "format": "date", "maxLength": 8 }, "expireDate": { "description": "Indicates the ending date.", "type": "string", "format": "date", "maxLength": 8 }, "expireDateExclusiveIndicator": { "description": "When true, indicates that the ExpireDate is the first day after the applicable period (e.g. when expire date is Oct 15 the last date of the period is Oct 14).", "type": "boolean" }, "orderSequence": { "description": "Display Order sequence.", "type": "number" }, "createDateTime": { "description": "Time stamp of the creation.", "type": "string", "format": "date-time" }, "creatorId": { "description": "ID of creator. The creator could be a software system identifier or an identifier of an employee responsible for the creation.", "type": "string", "minLength": 0, "maxLength": 200 }, "lastModifyDateTime": { "description": "Time stamp of last modification.", "type": "string", "format": "date-time" }, "lastModifierId": { "description": "Identifies the last software system or person to modify a record.", "type": "string", "minLength": 0, "maxLength": 200 }, "purgeDate": { "description": "Date an item will be purged from a database (e.g., from a live database to an archive).", "type": "string", "format": "date", "maxLength": 8 }, "linkMembership": { "type": "boolean" }, "primary": { "type": "boolean" } }, "description": "Detailed information of the memberships." }, "reservationPaymentMethodsType": { "type": "array", "description": "Defines reservation payment methods.", "maxItems": 4000, "items": { "$ref": "#/definitions/reservationPaymentMethodType" } }, "routingInfoListType": { "type": "array", "description": "A routing info object can either be of type Folio OR of type Room with its corresponding instructions.", "maxItems": 4000, "items": { "$ref": "#/definitions/routingInfoType" } }, "routingInfoType": { "type": "object", "description": "A routing info object can either be of type Folio OR of type Room with its corresponding object.", "properties": { "folio": { "description": "Folio routing type.", "type": "object", "properties": { "guestInfo": { "description": "Guest details", "type": "object", "properties": { "profileIdList": { "description": "Unique identifiers for the Profile for both internal and external systems.", "$ref": "#/definitions/profileIdList" } } }, "payeeInfo": { "$ref": "#/definitions/payeeInfoType" }, "aRNumber": { "description": "Accounts Receivable.", "type": "string", "minLength": 0, "maxLength": 20 }, "instructions": { "description": "Set of routing instructions associated to this routing type.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/routingInstructionType" } }, "folioWindowNo": { "type": "integer" }, "paymentMethod": { "type": "string", "maxLength": 2000 } } }, "room": { "description": "Room routing type.", "type": "object", "properties": { "roomId": { "description": "Room number to route the instructions.", "type": "string", "minLength": 0, "maxLength": 20 }, "guestNameId": { "description": "Guest unique identifier to which the instruction will be routed.", "$ref": "#/definitions/uniqueID_Type" }, "guestDisplayName": { "description": "Display Name for the guest.", "type": "string", "minLength": 0, "maxLength": 80 }, "reservationNameId": { "description": "Reservation name id to which the instruction will be routed.", "$ref": "#/definitions/uniqueID_Type" }, "instructions": { "description": "Set of routing instructions associated to this routing type.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/routingInstructionType" } } } }, "comp": { "description": "Comp Accounting Routing Info", "type": "object", "properties": { "compRequestInfo": { "$ref": "#/definitions/compRoutingRequestType" }, "payeeInfo": { "$ref": "#/definitions/payeeInfoType" }, "instructions": { "description": "Set of routing instructions associated to this routing type.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/routingInstructionType" } }, "folioWindowNo": { "type": "integer" } } }, "request": { "description": "Comp Accounting Request routing", "type": "object", "properties": { "compRequestInfo": { "$ref": "#/definitions/compRoutingRequestType" }, "instructions": { "description": "Set of routing instructions associated to this routing type.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/routingInstructionType" } } } }, "refreshFolio": { "description": "On a successful update, the transactions that are already posted in the guest's folio will be re-organized based on the configured instructions.", "type": "boolean" } } }, "routingInstructionType": { "type": "object", "description": "Routing limit can be one of the three: Credit Limit, Percetage Limit, Covers Limit", "properties": { "duration": { "description": "Duration of this instruction.", "type": "object", "properties": { "timeSpan": { "$ref": "#/definitions/timeSpanType" }, "sunday": { "type": "boolean" }, "monday": { "type": "boolean" }, "tuesday": { "type": "boolean" }, "wednesday": { "type": "boolean" }, "thursday": { "type": "boolean" }, "friday": { "type": "boolean" }, "saturday": { "type": "boolean" }, "daily": { "description": "Flag to indicate if the routing instruction is a daily instruction.", "type": "boolean" } } }, "transactionCodes": { "description": "Set of Transaction Codes configured in this time span.", "$ref": "#/definitions/trxCodesInfoType" }, "billingInstructions": { "description": "Set of Billing Instructions configured in this time span.", "$ref": "#/definitions/billingInstructionsType" }, "creditLimit": { "description": "Allowable credit amount for this routing instruction. Null value means no limit, 0 equals zero.", "type": "number" }, "percentageLimit": { "description": "The routing limit percentage allowed for this routing instruction.", "type": "number" }, "covers": { "description": "Number of covers for this routing instruction.", "type": "number" }, "limitUsed": { "description": "Amount of Credit used for this routing instruction.", "type": "number" }, "routingLinkId": { "description": "Internal Routing Link Id identifier to which limit group the instruction belongs.", "$ref": "#/definitions/uniqueID_Type" } } }, "compRoutingRequestType": { "type": "object", "description": "Type for the details of a Comp Routing Request", "properties": { "requestedBy": { "description": "User who requested the Comp Routing", "$ref": "#/definitions/userInfoType" }, "comments": { "type": "string", "minLength": 0, "maxLength": 2000 }, "declinedBy": { "description": "User information of user who declined comp routing request", "$ref": "#/definitions/userInfoType" }, "status": { "description": "Comp routing status", "$ref": "#/definitions/compRoutingStatusType" } } }, "userInfoType": { "type": "object", "description": "Opera User Information", "properties": { "userId": { "description": "User Id of the Opera User", "type": "integer" }, "userName": { "description": "Name of the Opera User", "type": "string", "minLength": 0, "maxLength": 40 } } }, "compRoutingStatusType": { "type": "string", "description": "Status which indicates that the Request of Comp Routing was declined", "enum": [ "Request", "Comp", "Declined" ] }, "linkedReservationsInfoType": { "type": "object", "description": "Linked Reservations.", "properties": { "reservationInfo": { "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/linkedReservationInfoType" } }, "url": { "description": "URL that identifies the location associated with the record identified by the UniqueID.", "type": "string" }, "type": { "description": "A reference to the type of object defined by the UniqueID element.", "type": "string", "minLength": 0, "maxLength": 20 }, "instance": { "description": "The identification of a record as it exists at a point in time. An instance is used in update messages where the sender must assure the server that the update sent refers to the most recent modification level of the object being updated.", "type": "string", "minLength": 0, "maxLength": 80 }, "idContext": { "description": "Used to identify the source of the identifier (e.g., IATA, ABTA).", "type": "string", "minLength": 0, "maxLength": 80 }, "id": { "description": "A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.", "type": "string", "minLength": 0, "maxLength": 80 }, "idExtension": { "description": "Additional identifying value assigned by the creating system.", "type": "integer" } } }, "linkedReservationInfoType": { "type": "object", "properties": { "reservationIdList": { "$ref": "#/definitions/reservationIdList" }, "timeSpan": { "$ref": "#/definitions/timeSpanType" }, "givenName": { "type": "string", "minLength": 0, "maxLength": 40 }, "surname": { "type": "string", "minLength": 0, "maxLength": 40 }, "title": { "type": "string", "minLength": 0, "maxLength": 20 }, "roomType": { "type": "string", "minLength": 0, "maxLength": 20 }, "room": { "type": "string", "minLength": 0, "maxLength": 20 }, "ratePlanCode": { "type": "string", "minLength": 0, "maxLength": 20 }, "rate": { "$ref": "#/definitions/currencyAmountType" }, "guarantee": { "$ref": "#/definitions/resGuaranteeType" }, "balance": { "$ref": "#/definitions/currencyAmountType" }, "reservationBlock": { "description": "Key information about the block for the linked reservation.", "$ref": "#/definitions/reservationBlockType" }, "displayColor": { "type": "string", "minLength": 0, "maxLength": 20 }, "allowedActions": { "description": "Collection of allowed actions for the linked reservation.", "$ref": "#/definitions/reservationAllowedActionsType" }, "reservationStatus": { "description": "Indicates the Actual status of the reservation.", "$ref": "#/definitions/pMS_ResStatusType" }, "hotelId": { "type": "string", "minLength": 0, "maxLength": 20 }, "linkReservationType": { "$ref": "#/definitions/linkedReservationType" }, "reverseCheckInAllowed": { "description": "This attribute is to verify if reverse check-in is allowed for the reservation.", "type": "boolean" }, "roomNumberLocked": { "description": "This attribute is to verify if room number is locked for the reservation. When true the room number cannot be changed", "type": "boolean" }, "suppressRate": { "description": "This attribute checks if rate is suppressed or not in order to properly show strike through.", "type": "boolean" } } }, "linkedReservationType": { "type": "string", "description": "Enumeration of the different Linked Reservation Types.", "enum": [ "Linked", "Shared", "Default" ] }, "cateringResInfoType": { "type": "object", "description": "Information regarding catering event and catering revenue type associated to the reservation.", "properties": { "eventId": { "description": "Unique ID on a catering event associated to the reservation.", "$ref": "#/definitions/eventId" }, "revenueType": { "description": "Catering revenue type associated to the reservation.", "type": "string" } } }, "eventId": { "type": "object", "description": "An identifier used to uniquely reference an object in a system (e.g. an airline reservation reference, customer profile reference, booking confirmation number, or a reference to a previous availability quote).", "properties": { "url": { "description": "URL that identifies the location associated with the record identified by the UniqueID.", "type": "string" }, "type": { "description": "A reference to the type of object defined by the UniqueID element.", "type": "string", "minLength": 0, "maxLength": 20 }, "instance": { "description": "The identification of a record as it exists at a point in time. An instance is used in update messages where the sender must assure the server that the update sent refers to the most recent modification level of the object being updated.", "type": "string", "minLength": 0, "maxLength": 80 }, "idContext": { "description": "Used to identify the source of the identifier (e.g., IATA, ABTA).", "type": "string", "minLength": 0, "maxLength": 80 }, "id": { "description": "A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.", "type": "string", "minLength": 0, "maxLength": 80 }, "idExtension": { "description": "Additional identifying value assigned by the creating system.", "type": "integer" } } }, "resStatClassificationType": { "type": "object", "description": "Statistical Classification information for the reservation.", "properties": { "roomType": { "description": "Room Type used to calculate statistics for export(DRS).", "type": "string", "minLength": 0, "maxLength": 20 }, "rateTier": { "description": "Rate Tier used calculate statistics for export(DRS).", "type": "integer" } } }, "alertsType": { "type": "array", "description": "List of alerts.", "maxItems": 4000, "items": { "$ref": "#/definitions/alertType" } }, "alertType": { "type": "object", "properties": { "code": { "description": "Code identifying the type of alert.", "type": "string", "minLength": 0, "maxLength": 20 }, "global": { "description": "Indicate whether the alert is a global that is automatically and dynamically attached to all reservations that meet the alert criteria.", "type": "boolean" }, "area": { "description": "The Area where the alert will be attached and shown.", "$ref": "#/definitions/alertAreaType" }, "description": { "description": "The alert message.", "type": "string" }, "screenNotification": { "description": "Notify by showing the alert on the screen", "type": "boolean" }, "printerNotification": { "description": "Notify by sending the message to the printer.", "type": "boolean" }, "printerName": { "description": "Printer used to print the alert notification.", "type": "string" }, "reportId": { "description": "The module id of the report. This is used to printer the alert.", "$ref": "#/definitions/uniqueID_Type" }, "reportName": { "description": "Report name of the report type.", "type": "string" }, "reportDescription": { "description": "Report description. Mainly used for as a parameter for printing the alerts.", "type": "string", "minLength": 0, "maxLength": 1000 }, "guestInfo": { "description": "Contains information regarding the guest.", "$ref": "#/definitions/alertGuestInfoType" }, "userDefinedFields": { "description": "Collections of user defined fields.", "$ref": "#/definitions/userDefinedFieldsType" }, "welcomeOffer": { "description": "Contains information regarding welcome offer.", "$ref": "#/definitions/welcomeOfferType" }, "stopCheckInCheckOut": { "description": "Indicates the Reservation Stop Check In/Check Out Global Alert.", "type": "boolean" }, "url": { "description": "URL that identifies the location associated with the record identified by the UniqueID.", "type": "string" }, "type": { "description": "A reference to the type of object defined by the UniqueID element.", "type": "string", "minLength": 0, "maxLength": 20 }, "instance": { "description": "The identification of a record as it exists at a point in time. An instance is used in update messages where the sender must assure the server that the update sent refers to the most recent modification level of the object being updated.", "type": "string", "minLength": 0, "maxLength": 80 }, "idContext": { "description": "Used to identify the source of the identifier (e.g., IATA, ABTA).", "type": "string", "minLength": 0, "maxLength": 80 }, "id": { "description": "A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.", "type": "string", "minLength": 0, "maxLength": 80 }, "idExtension": { "description": "Additional identifying value assigned by the creating system.", "type": "integer" }, "createDateTime": { "description": "Time stamp of the creation.", "type": "string", "format": "date-time" }, "creatorId": { "description": "ID of creator. The creator could be a software system identifier or an identifier of an employee responsible for the creation.", "type": "string", "minLength": 0, "maxLength": 200 }, "lastModifyDateTime": { "description": "Time stamp of last modification.", "type": "string", "format": "date-time" }, "lastModifierId": { "description": "Identifies the last software system or person to modify a record.", "type": "string", "minLength": 0, "maxLength": 200 }, "purgeDate": { "description": "Date an item will be purged from a database (e.g., from a live database to an archive).", "type": "string", "format": "date", "maxLength": 8 } } }, "alertAreaType": { "type": "string", "enum": [ "CheckIn", "CheckOut", "Reservation", "Billing", "InHouse" ] }, "alertGuestInfoType": { "type": "object", "properties": { "guestName": { "description": "Guest Name.", "type": "string", "minLength": 0, "maxLength": 200 }, "membership": { "description": "Membership information of the guest.", "$ref": "#/definitions/membershipType" }, "vipStatus": { "description": "VIP status of the guest.", "$ref": "#/definitions/vIPStatusType" }, "lastHotelCode": { "description": "Hotel code of the last stay location of the guest.", "type": "string", "minLength": 0, "maxLength": 20 }, "lastStayDate": { "description": "Last stay date at the property.", "type": "string", "format": "date", "maxLength": 8 }, "totalStay": { "description": "Holds total number of days that the guest have stayed in the property.", "type": "integer" }, "comments": { "description": "Additional alert information regarding the membership of the guest.", "type": "string" }, "preference": { "description": "Additional alert information regarding the guest.", "type": "string" }, "preference2": { "description": "Additional mandatory alert information regarding the guest preferences.", "type": "string" }, "guestPreferredLanguage": { "description": "Holds the language preferred by the guest.", "$ref": "#/definitions/languageType" }, "totalBrandStay": { "description": "Holds total number of days that the guest have stayed in the properties for the same brand.", "type": "integer" }, "birthDate": { "description": "Indicates the date of birth as indicated in the document, in ISO 8601 prescribed format.", "type": "string", "format": "date", "maxLength": 8 }, "birthDateMasked": { "description": "Indicates the date of birth as masked.", "type": "string" } } }, "vIPStatusType": { "type": "object", "description": "VIP status of the customer.", "properties": { "value": { "type": "string", "description": "Used for Character Strings, length 0 to 2000.", "minLength": 0, "maxLength": 2000 }, "code": { "description": "VIP status of the customer.", "type": "string", "minLength": 0, "maxLength": 20 } } }, "languageType": { "type": "string", "minLength": 0, "maxLength": 40 }, "welcomeOfferType": { "type": "object", "properties": { "status": { "description": "Determines the status of the welcome offer.", "type": "string", "minLength": 0, "maxLength": 20 }, "type": { "description": "Determines the welcome offer option selected while availing the welcome offer.", "$ref": "#/definitions/welcomeOfferOptionsType" } } }, "welcomeOfferOptionsType": { "type": "string", "description": "None of the Welcome Offer option is selected.", "enum": [ "BonusPoints", "Ecoupons", "Items", "PostIt", "NotSelected" ] }, "hotelReservationTracesType": { "type": "array", "description": "List of Reservation Traces.", "maxItems": 4000, "items": { "$ref": "#/definitions/hotelReservationTraceType" } }, "hotelReservationTraceType": { "type": "object", "description": "Extended Trace object to hold information for a reservation.", "properties": { "timeInfo": { "description": "Date of the trace.", "$ref": "#/definitions/traceTimeInfoType" }, "reservationId": { "description": "Reservation ID of the reservation for which the traces are to be retrieved.", "$ref": "#/definitions/reservationId" }, "departmentId": { "description": "Indicates the Department code.", "type": "string", "minLength": 0, "maxLength": 20 }, "traceText": { "description": "The information this trace contains.", "type": "string" }, "resolveInfo": { "description": "Information regarding the status of the trace", "$ref": "#/definitions/traceResolveType" }, "url": { "description": "URL that identifies the location associated with the record identified by the UniqueID.", "type": "string" }, "type": { "description": "A reference to the type of object defined by the UniqueID element.", "type": "string", "minLength": 0, "maxLength": 20 }, "instance": { "description": "The identification of a record as it exists at a point in time. An instance is used in update messages where the sender must assure the server that the update sent refers to the most recent modification level of the object being updated.", "type": "string", "minLength": 0, "maxLength": 80 }, "idContext": { "description": "Used to identify the source of the identifier (e.g., IATA, ABTA).", "type": "string", "minLength": 0, "maxLength": 80 }, "id": { "description": "A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.", "type": "string", "minLength": 0, "maxLength": 80 }, "idExtension": { "description": "Additional identifying value assigned by the creating system.", "type": "integer" }, "createDateTime": { "description": "Time stamp of the creation.", "type": "string", "format": "date-time" }, "creatorId": { "description": "ID of creator. The creator could be a software system identifier or an identifier of an employee responsible for the creation.", "type": "string", "minLength": 0, "maxLength": 200 }, "lastModifyDateTime": { "description": "Time stamp of last modification.", "type": "string", "format": "date-time" }, "lastModifierId": { "description": "Identifies the last software system or person to modify a record.", "type": "string", "minLength": 0, "maxLength": 200 }, "purgeDate": { "description": "Date an item will be purged from a database (e.g., from a live database to an archive).", "type": "string", "format": "date", "maxLength": 8 } } }, "confirmationsType": { "type": "array", "description": "List of confirmation letters.", "maxItems": 4000, "items": { "$ref": "#/definitions/confirmationType" } }, "confirmationType": { "type": "object", "properties": { "recipientInfo": { "description": "Receipient's information.", "$ref": "#/definitions/confRecipientInfoType" }, "deliveryInfo": { "description": "The status of the confirmation letter sent via the specified CommunicationType.", "$ref": "#/definitions/confDeliveryInfoTypes" }, "confirmationStyleInfo": { "description": "Confirmation style.", "$ref": "#/definitions/confirmationStyle" }, "fromEmail": { "description": "Senders Email address.", "type": "string", "minLength": 0, "maxLength": 40 }, "sendTextMessage": { "description": "Flag to indicate sending confirmation letter as text message.", "type": "boolean" }, "url": { "description": "URL that identifies the location associated with the record identified by the UniqueID.", "type": "string" }, "type": { "description": "A reference to the type of object defined by the UniqueID element.", "type": "string", "minLength": 0, "maxLength": 20 }, "instance": { "description": "The identification of a record as it exists at a point in time. An instance is used in update messages where the sender must assure the server that the update sent refers to the most recent modification level of the object being updated.", "type": "string", "minLength": 0, "maxLength": 80 }, "idContext": { "description": "Used to identify the source of the identifier (e.g., IATA, ABTA).", "type": "string", "minLength": 0, "maxLength": 80 }, "id": { "description": "A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.", "type": "string", "minLength": 0, "maxLength": 80 }, "idExtension": { "description": "Additional identifying value assigned by the creating system.", "type": "integer" } } }, "confRecipientInfoType": { "type": "object", "properties": { "profileId": { "description": "name id of the recipient.", "$ref": "#/definitions/profileId" }, "formerName": { "description": "Last Name of recipient.", "$ref": "#/definitions/profileNameType" }, "addressInfo": { "description": "id of the address where to send confirmation letter.", "$ref": "#/definitions/addressInfoType" }, "emailInfo": { "description": "id of the Email where to send confirmation letter.", "$ref": "#/definitions/emailInfoType" }, "faxInfo": { "description": "id of the Fax where to send confirmation letter.", "$ref": "#/definitions/telephoneInfoType" }, "telephoneInfo": { "description": "id of the Mobile where to send confirmation letter.", "$ref": "#/definitions/telephoneInfoType" }, "recipientType": { "$ref": "#/definitions/profileTypeType" } } }, "profileNameType": { "type": "object", "description": "This provides name information for a person.", "properties": { "name": { "description": "Family name, last name or Company Name.", "type": "string", "minLength": 0, "maxLength": 40 }, "fullName": { "description": "Full display Name.", "type": "string", "minLength": 0, "maxLength": 200 }, "namePrefix": { "description": "Salutation of honorific (e.g. Mr., Mrs., Ms., Miss, Dr.)", "type": "string", "minLength": 0, "maxLength": 40 }, "givenName": { "description": "Given name, first name or names.", "type": "string", "minLength": 0, "maxLength": 40 }, "middleName": { "description": "The middle name of the person name.", "type": "string", "minLength": 0, "maxLength": 40 }, "nameSuffix": { "description": "Hold various name suffixes and letters (e.g. Jr., Sr., III, Ret., Esq.)", "type": "string", "minLength": 0, "maxLength": 40 }, "nameTitle": { "description": "Degree or honors (e.g., Ph.D., M.D.)", "type": "string", "minLength": 0, "maxLength": 80 }, "nameType": { "description": "Type of name of the individual, such as former, nickname, alternate or alias name.", "$ref": "#/definitions/personNameTypeType" } } }, "confDeliveryInfoTypes": { "type": "array", "description": "List of confirmation letter delivery methods and their status", "maxItems": 4, "items": { "$ref": "#/definitions/confDeliveryInfoType" } }, "confDeliveryInfoType": { "type": "object", "properties": { "communicationType": { "description": "CommunicationType through which the confirmation letter was sent.", "$ref": "#/definitions/confDeliveryMethod" }, "lastStatus": { "description": "Status of last sent confirmation.", "$ref": "#/definitions/sentConfirmationStatus" }, "lastAttempted": { "description": "Date of last attempt to send confirmation letter.", "type": "string", "format": "date-time" }, "successfulTries": { "description": "Number of success letter sent.", "type": "integer" } } }, "confDeliveryMethod": { "type": "string", "enum": [ "Print", "Email", "Fax", "Text", "NotConfigured" ] }, "sentConfirmationStatus": { "type": "string", "enum": [ "Pending", "Succeeded", "Failed" ] }, "confirmationStyle": { "type": "object", "properties": { "url": { "description": "URL that identifies the location associated with the record identified by the UniqueID.", "type": "string" }, "type": { "description": "A reference to the type of object defined by the UniqueID element.", "type": "string", "minLength": 0, "maxLength": 20 }, "instance": { "description": "The identification of a record as it exists at a point in time. An instance is used in update messages where the sender must assure the server that the update sent refers to the most recent modification level of the object being updated.", "type": "string", "minLength": 0, "maxLength": 80 }, "idContext": { "description": "Used to identify the source of the identifier (e.g., IATA, ABTA).", "type": "string", "minLength": 0, "maxLength": 80 }, "id": { "description": "A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.", "type": "string", "minLength": 0, "maxLength": 80 }, "idExtension": { "description": "Additional identifying value assigned by the creating system.", "type": "integer" }, "style": { "description": "Name of the confirmation letter style.", "type": "string" } } }, "callHistoryType": { "type": "array", "description": "Holds call information.", "maxItems": 4000, "items": { "$ref": "#/definitions/callType" } }, "callType": { "type": "object", "description": "Holds call information.", "properties": { "dateTimeSpan": { "description": "Call Time Span. Start Date and End Date is used for the Call duration.", "$ref": "#/definitions/dateTimeSpanType" }, "caller": { "description": "Holds caller information.", "$ref": "#/definitions/callerType" }, "reservation": { "description": "Holds Reservation Id and Hotel Code.", "type": "object", "properties": { "reservationIdList": { "description": "Holds Reservation related Ids.", "$ref": "#/definitions/reservationIdList" }, "hotelId": { "description": "Holds Hotel Code.", "type": "string", "minLength": 0, "maxLength": 20 } } }, "turnawayCode": { "description": "Call turn away code.", "type": "string", "minLength": 0, "maxLength": 20 }, "comments": { "description": "Call comments.", "type": "string", "minLength": 0, "maxLength": 200 }, "url": { "description": "URL that identifies the location associated with the record identified by the UniqueID.", "type": "string" }, "type": { "description": "A reference to the type of object defined by the UniqueID element.", "type": "string", "minLength": 0, "maxLength": 20 }, "instance": { "description": "The identification of a record as it exists at a point in time. An instance is used in update messages where the sender must assure the server that the update sent refers to the most recent modification level of the object being updated.", "type": "string", "minLength": 0, "maxLength": 80 }, "idContext": { "description": "Used to identify the source of the identifier (e.g., IATA, ABTA).", "type": "string", "minLength": 0, "maxLength": 80 }, "id": { "description": "A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.", "type": "string", "minLength": 0, "maxLength": 80 }, "idExtension": { "description": "Additional identifying value assigned by the creating system.", "type": "integer" } } }, "callerType": { "type": "object", "description": "Holds caller information.", "properties": { "givenName": { "description": "Caller First Name.", "type": "string", "minLength": 0, "maxLength": 280 }, "surname": { "description": "Caller Last Name.", "type": "string", "minLength": 0, "maxLength": 80 }, "phone": { "description": "Caller Phone Number.", "type": "string", "minLength": 0, "maxLength": 80 }, "email": { "description": "Caller Email.", "type": "string", "minLength": 0, "maxLength": 80 }, "fax": { "description": "Caller Fax Number.", "type": "string", "minLength": 0, "maxLength": 80 }, "url": { "description": "URL that identifies the location associated with the record identified by the UniqueID.", "type": "string" }, "type": { "description": "A reference to the type of object defined by the UniqueID element.", "type": "string", "minLength": 0, "maxLength": 20 }, "instance": { "description": "The identification of a record as it exists at a point in time. An instance is used in update messages where the sender must assure the server that the update sent refers to the most recent modification level of the object being updated.", "type": "string", "minLength": 0, "maxLength": 80 }, "idContext": { "description": "Used to identify the source of the identifier (e.g., IATA, ABTA).", "type": "string", "minLength": 0, "maxLength": 80 }, "id": { "description": "A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.", "type": "string", "minLength": 0, "maxLength": 80 }, "idExtension": { "description": "Additional identifying value assigned by the creating system.", "type": "integer" } } }, "fixedChargesType": { "type": "array", "description": "Holds fixed charge detail.", "maxItems": 4000, "items": { "$ref": "#/definitions/fixedChargeType" } }, "fixedChargeType": { "type": "object", "description": "Holds fixed charge information.", "properties": { "schedule": { "description": "Holds schedule of fixed charge.", "$ref": "#/definitions/fixedChargeScheduleType" }, "charge": { "description": "Holds specific details of fixed charge.", "$ref": "#/definitions/fixedChargeDetailType" }, "url": { "description": "URL that identifies the location associated with the record identified by the UniqueID.", "type": "string" }, "type": { "description": "A reference to the type of object defined by the UniqueID element.", "type": "string", "minLength": 0, "maxLength": 20 }, "instance": { "description": "The identification of a record as it exists at a point in time. An instance is used in update messages where the sender must assure the server that the update sent refers to the most recent modification level of the object being updated.", "type": "string", "minLength": 0, "maxLength": 80 }, "idContext": { "description": "Used to identify the source of the identifier (e.g., IATA, ABTA).", "type": "string", "minLength": 0, "maxLength": 80 }, "id": { "description": "A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.", "type": "string", "minLength": 0, "maxLength": 80 }, "idExtension": { "description": "Additional identifying value assigned by the creating system.", "type": "integer" } } }, "fixedChargeScheduleType": { "type": "object", "description": "Holds schedule of fixed charge.", "properties": { "start": { "description": "The starting value of the date range.", "type": "string", "format": "date", "maxLength": 8 }, "end": { "description": "The ending value of the date range.", "type": "string", "format": "date", "maxLength": 8 }, "frequency": { "description": "Frequency of a fixed charge.", "$ref": "#/definitions/fixedChargeFrequencyType" }, "dayToExecute": { "description": "Day of when to execute fixed charge. Applicable when frequency is Daily or Weekly.", "type": "string", "minLength": 0, "maxLength": 3 }, "dateToExecute": { "description": "Date of when to execute yearly fixed charge. Applicable when frequency is Yearly.", "type": "string", "format": "date", "maxLength": 8 } } }, "fixedChargeFrequencyType": { "type": "string", "description": "Yearly.", "enum": [ "O", "D", "W", "M", "Q", "Y" ] }, "fixedChargeDetailType": { "type": "object", "description": "Fixed charge amount could be specified by flat fee or be a percentage of the rate amount.", "properties": { "transaction": { "description": "Transaction code and description of a fixed charge.", "$ref": "#/definitions/codeDescriptionType" }, "quantity": { "description": "Quantity of the product.", "type": "integer" }, "chargeAmount": { "description": "Price of the product.", "$ref": "#/definitions/currencyAmountType" }, "percent": { "description": "Percentage of the rate amount.", "type": "number", "minimum": 0, "maximum": 100 }, "supplement": { "description": "Additional information regarding the fixed charge.", "type": "string", "minLength": 0, "maxLength": 2000 }, "article": { "description": "Holds related article code and description.", "$ref": "#/definitions/codeDescriptionType" }, "roomNights": { "description": "Holds number of comp or cash room night to allocate.", "type": "integer" } } }, "guestMessagesType": { "type": "array", "description": "Holds the Message Information", "maxItems": 4000, "items": { "$ref": "#/definitions/guestMessageType" } }, "guestMessageType": { "type": "object", "description": "Holds the Message information for a Reservation", "properties": { "message": { "description": "Holds the Message Information", "$ref": "#/definitions/messageType" }, "delivery": { "description": "Holds the Delivery Method Information", "$ref": "#/definitions/messageDeliveryType" }, "url": { "description": "URL that identifies the location associated with the record identified by the UniqueID.", "type": "string" }, "type": { "description": "A reference to the type of object defined by the UniqueID element.", "type": "string", "minLength": 0, "maxLength": 20 }, "instance": { "description": "The identification of a record as it exists at a point in time. An instance is used in update messages where the sender must assure the server that the update sent refers to the most recent modification level of the object being updated.", "type": "string", "minLength": 0, "maxLength": 80 }, "idContext": { "description": "Used to identify the source of the identifier (e.g., IATA, ABTA).", "type": "string", "minLength": 0, "maxLength": 80 }, "id": { "description": "A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.", "type": "string", "minLength": 0, "maxLength": 80 }, "idExtension": { "description": "Additional identifying value assigned by the creating system.", "type": "integer" }, "createDateTime": { "description": "Time stamp of the creation.", "type": "string", "format": "date-time" }, "creatorId": { "description": "ID of creator. The creator could be a software system identifier or an identifier of an employee responsible for the creation.", "type": "string", "minLength": 0, "maxLength": 200 }, "lastModifyDateTime": { "description": "Time stamp of last modification.", "type": "string", "format": "date-time" }, "lastModifierId": { "description": "Identifies the last software system or person to modify a record.", "type": "string", "minLength": 0, "maxLength": 200 }, "purgeDate": { "description": "Date an item will be purged from a database (e.g., from a live database to an archive).", "type": "string", "format": "date", "maxLength": 8 } } }, "messageType": { "type": "object", "description": "Holds the Message Information", "properties": { "messageText": { "description": "Message Content", "type": "string", "minLength": 0, "maxLength": 2000 }, "messageDate": { "description": "Date the message was created", "type": "string", "format": "date-time" }, "typeOfMessage": { "description": "Type of message (Voice/Text)", "$ref": "#/definitions/typeOfMessageType" }, "recipient": { "description": "Recipient of the Message", "type": "string", "minLength": 0, "maxLength": 80 }, "operator": { "description": "User who created the Message", "type": "string", "minLength": 0, "maxLength": 40 } } }, "typeOfMessageType": { "type": "string", "description": "The type of Message for Guest Messages.", "enum": [ "Tm", "Vm" ] }, "messageDeliveryType": { "type": "object", "description": "Holds the Delivery Information of the Message", "properties": { "deliveryStatus": { "description": "Status of the Message (Received or Not Received)", "$ref": "#/definitions/messageStatusType" }, "deliveryDate": { "description": "Date the message has been delivered (marked as received)", "type": "string", "format": "date-time" }, "deliveredBy": { "description": "User who delivered the message (who marked message as received)", "type": "string", "minLength": 0, "maxLength": 40 }, "printDate": { "description": "Date when message has been printed", "type": "string", "format": "date-time" }, "textMessageSentDate": { "description": "Date when message has been sent via SMS", "type": "string", "format": "date-time" }, "textMessageSentBy": { "description": "User who sent the message", "type": "string", "minLength": 0, "maxLength": 40 }, "textMessageSentById": { "description": "User Id of who sent the message", "type": "integer" }, "textMessageRecipientNo": { "description": "Number in which the message is to be sent.", "type": "string", "minLength": 0, "maxLength": 2000 } } }, "messageStatusType": { "type": "string", "description": "Status of the Message.", "enum": [ "Mr", "Nr" ] }, "overrideInstructionsType": { "type": "array", "description": "List of override actions done.", "maxItems": 4000, "items": { "$ref": "#/definitions/overrideInstructionType" } }, "overrideInstructionType": { "type": "object", "description": "Type for Overrides. Contains information for the override action performed while booking a reservation.", "properties": { "description": { "description": "The description of the restriction for which the override was done.", "type": "string", "minLength": 0, "maxLength": 2000 }, "date": { "description": "The date when the override was done.", "type": "string", "format": "date", "maxLength": 8 }, "type": { "description": "The type of override done. If done for Availability, then it will be AVAILABILITY.", "type": "string", "minLength": 0, "maxLength": 80 }, "userId": { "description": "Login ID of the user who performed the override.", "type": "string", "minLength": 0, "maxLength": 40 } } }, "eCouponsType": { "type": "array", "description": "Collection of ECouponType object.", "maxItems": 4000, "items": { "$ref": "#/definitions/eCouponType" } }, "eCouponType": { "type": "object", "description": "Reservation eCoupon Type Information.", "properties": { "eCouponId": { "description": "ECouponID to attach the eCoupon to Reservation.", "$ref": "#/definitions/uniqueID_Type" }, "code": { "description": "Code to attach the eCoupon to Reservation.", "type": "string", "minLength": 0, "maxLength": 20 }, "description": { "description": "Description of the eCoupon attached to the Reservation.", "type": "string", "minLength": 0, "maxLength": 2000 }, "autoAttached": { "description": "Determines whether the eCoupon is attached through the Rate Code or not.", "type": "boolean" }, "issuedQuantity": { "description": "Assigned Quantity for the eCoupon when attached to Reservation.", "type": "integer" }, "usedQuantity": { "description": "Used Quantity of the eCoupon for the Reservation.", "type": "integer" }, "reason": { "description": "Reason for attaching/modifing eCoupon.", "type": "string", "minLength": 0, "maxLength": 4000 }, "ratePlanCode": { "description": "Rate plan of the attached eCoupon to Reservation.", "type": "string", "minLength": 0, "maxLength": 20 }, "welcomeOffer": { "description": "Determines whether this eCoupon is eligible for welcome offer or not.", "type": "boolean" } } }, "reservationTransactionDiversionsType": { "type": "array", "description": "List of Transaction Diversion rules.", "maxItems": 4000, "items": { "$ref": "#/definitions/reservationTransactionDiversionType" } }, "reservationTransactionDiversionType": { "type": "object", "description": "A Transaction Diversion Rule Type", "properties": { "vipCode": { "description": "VIP code to consider while applying Diversion Instruction.", "type": "string", "minLength": 0, "maxLength": 20 }, "membership": { "description": "Membership type to consider while applying Diversion Instruction.", "$ref": "#/definitions/membershipTypeLevelType" }, "targetRoom": { "description": "Room number to receive all the diverted transactions configured for this instruction.", "type": "string", "minLength": 0, "maxLength": 20 }, "transactionCodes": { "description": "Collection of Transaction Code List", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/codeDescriptionType" } }, "description": { "description": "User defined message for the Transaction Diversion Rule.", "type": "string", "minLength": 0, "maxLength": 2000 }, "level": { "description": "Level of the Transaction Diversion rule that can be Property or Reservation.", "$ref": "#/definitions/transactionDiversionRuleLevelType" }, "thresholds": { "description": "Threshold Details related to the Transaction diversion rule.", "$ref": "#/definitions/thresholdDetailsType" }, "type": { "description": "Transaction Diversion Rule Types", "$ref": "#/definitions/transactionDiversionRuleTypeType" }, "hotelId": { "description": "Hotel code with which Transaction Diversion Rule is associated.", "type": "string", "minLength": 0, "maxLength": 20 }, "code": { "description": "Transaction Diversion Code", "type": "string", "minLength": 0, "maxLength": 20 }, "displaySequence": { "description": "User configured Sequence number.", "type": "number" }, "inactive": { "description": "Indicator that tells whether the transaction diversion rule is active or not.", "type": "boolean" }, "notes": { "description": "The Note details related to the Transaction Diversion Rule.", "$ref": "#/definitions/commentInfoType" }, "posted": { "description": "Transaction diversions that are posted.", "type": "integer" }, "diverted": { "description": "Transaction diversions that are diverted .", "type": "integer" }, "dailyDetails": { "description": "Collection of daily details of a Transaction diversion rule for a particular reservation.", "$ref": "#/definitions/transactionDiversionDailyDetailsType" } } }, "membershipTypeLevelType": { "type": "object", "properties": { "type": { "description": "Code type for Rule Details", "type": "string", "minLength": 0, "maxLength": 20 }, "level": { "description": "Description type for Rule Details", "type": "string", "minLength": 0, "maxLength": 20 } } }, "transactionDiversionRuleLevelType": { "type": "string", "description": "Reservation level.", "enum": [ "Property", "Reservation" ] }, "thresholdDetailsType": { "type": "object", "description": "Type for the threshold elements.", "properties": { "entity": { "description": "Diversion entity type associated with the charge for the transaction diversion rule .", "$ref": "#/definitions/entityType" }, "scope": { "description": "Diversion scope for the transaction diversion rule.", "$ref": "#/definitions/scopeType" }, "minRequired": { "description": "Minimum required number of quantities, counts or minutes that must be posted.", "type": "integer" }, "complimentary": { "description": "The number of quantities, counts or minutes for which transaction diversion is allowed .", "type": "integer" }, "isEditable": { "description": "Configuring this flag to be TRUE will make the thresholds editable.", "type": "boolean" } } }, "entityType": { "type": "string", "description": "Indicates the rule is based on Minutes associated with the charge.", "enum": [ "ThresholdCount", "ThresholdQuantity", "ThresholdMinutes" ] }, "scopeType": { "type": "string", "description": "Minimum required and complimentary values are applicable Per Stay.", "enum": [ "PerDay", "PerStay" ] }, "transactionDiversionRuleTypeType": { "type": "string", "description": "The rule type on which the Transaction Diversion Rule is based. If a reservation has any of the following code, Transaction Diversion rule gets active for that reservation", "enum": [ "Vip", "Membership" ] }, "transactionDiversionDailyDetailsType": { "type": "array", "description": "List of daily details for Transaction Diversion rule.", "maxItems": 4000, "items": { "$ref": "#/definitions/transactionDiversionDailyDetailType" } }, "transactionDiversionDailyDetailType": { "type": "object", "description": "List of daily details for Transaction Diversion rule.", "properties": { "posted": { "description": "Transaction diversion rules that are posted.", "type": "integer" }, "diverted": { "description": "Transaction diversion rules that are diverted .", "type": "integer" }, "date": { "description": "Daily details Date about when the rules are posted or diverted.", "type": "string", "format": "date", "maxLength": 8 } } }, "ticketsType": { "type": "array", "description": "Collection of TicketType objects.", "maxItems": 4000, "items": { "$ref": "#/definitions/ticketType" } }, "ticketType": { "type": "object", "description": "Reservation Ticket Type Information.", "properties": { "ticketId": { "description": "Internal Unique ID.", "$ref": "#/definitions/uniqueID_Type" }, "packageCode": { "description": "Package Code.", "type": "string", "minLength": 0, "maxLength": 20 }, "reservationProductId": { "description": "Reference to the reservation product.", "$ref": "#/definitions/uniqueID_Type" }, "ticketNumber": { "description": "Ticket number.", "$ref": "#/definitions/uniqueID_Type" }, "description": { "description": "Package description.", "type": "string", "minLength": 0, "maxLength": 2000 }, "issueDate": { "description": "Tickets issue date.", "type": "string", "format": "date", "maxLength": 8 }, "price": { "description": "Tickets price.", "type": "number" }, "consumptionDate": { "description": "Tickets comsumption date.", "type": "string", "format": "date", "maxLength": 8 }, "rateCode": { "description": "The Rate Code to which tickets belong to.", "type": "string", "minLength": 0, "maxLength": 20 }, "quantity": { "description": "Number of tickets used to create multiple tickets.", "type": "integer" }, "reference": { "description": "Free text field for reference information.", "type": "string", "minLength": 0, "maxLength": 2000 }, "status": { "description": "The Status Code for outbound WS call.", "type": "string", "minLength": 0, "maxLength": 20 }, "statusDescription": { "description": "The Status Description for outbound WS call.", "type": "string", "minLength": 0, "maxLength": 2000 } } }, "reservationECertificatesType": { "type": "array", "description": "Collection of ECertificateType object.", "maxItems": 4000, "items": { "$ref": "#/definitions/reservationECertificateType" } }, "reservationECertificateType": { "type": "object", "description": "Reservation ECertificate Type Information.", "properties": { "eCertificateNo": { "description": "ECertificate Number for the reservation.", "type": "string", "minLength": 0, "maxLength": 40 }, "actionType": { "description": "ECertificate status for the reservation.", "$ref": "#/definitions/requestActionType" }, "eCertificateType": { "description": "ECertificate Type where value can be PROMOTION,AWARD,BENEFIT and OTHER", "$ref": "#/definitions/eCertificateClassficationType" } } }, "requestActionType": { "type": "string", "enum": [ "Create", "Remove", "Query" ] }, "eCertificateClassficationType": { "type": "string", "description": "Enumeration of the different type of Ecertificate.", "enum": [ "Promotion", "Award", "Benefit", "Other" ] }, "nameValueDetailType": { "type": "object", "description": "Detailed information returned during name value search.", "properties": { "nameValues": { "description": "Name Value List.", "$ref": "#/definitions/nameValuesType" } } }, "nameValuesType": { "type": "array", "description": "List of name value pairs.", "maxItems": 4000, "items": { "$ref": "#/definitions/nameValueType" } }, "nameValueType": { "type": "object", "description": "Contains name value pair.", "properties": { "name": { "description": "Contains unique key which represents for record field.", "type": "string", "minLength": 0, "maxLength": 100 }, "value": { "description": "Contains value for the record/column.", "type": "string", "minLength": 0, "maxLength": 4000 }, "formatString": { "description": "Contains format string for values.", "type": "string", "minLength": 0, "maxLength": 100 }, "dataType": { "description": "Contains data type for values.", "$ref": "#/definitions/nameValueDataTypeType" }, "origin": { "description": "Contains Origin information.", "$ref": "#/definitions/nameValueOriginType" }, "usageInstruction": { "description": "Contains value(s) to identify the reports to include the collected information in e.g. PFH=Print Folio Header, PFD=Print Folio Detail.", "$ref": "#/definitions/codeListType" } } }, "nameValueDataTypeType": { "type": "string", "enum": [ "String", "Number", "Date", "Datetime", "Time", "Integer" ] }, "nameValueOriginType": { "type": "object", "description": "Contains origin details.", "properties": { "originName": { "description": "Contains origin i.e. Reseravtion, Profile, Folio or FinTrx.", "$ref": "#/definitions/nameValueModuleType" }, "destination": { "description": "Contains destination column for Origin.", "type": "string", "minLength": 0, "maxLength": 200 }, "id": { "description": "A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.", "type": "string", "minLength": 0, "maxLength": 80 }, "type": { "description": "A reference to the type of object defined by the UniqueID element.", "type": "string", "minLength": 0, "maxLength": 20 }, "idContext": { "description": "Used to identify the source of the identifier (e.g., IATA, ABTA).", "type": "string", "minLength": 0, "maxLength": 80 }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "nameValueModuleType": { "type": "string", "enum": [ "Reservation", "Folio", "Profile", "Fintrix" ] }, "customChargeExemptionsType": { "type": "array", "description": "List of Custom Charge Exemptions.", "maxItems": 4000, "items": { "$ref": "#/definitions/customChargeExemptionType" } }, "customChargeExemptionType": { "type": "object", "description": "Contains custom charges exemption information.", "properties": { "customChargesExemption": { "description": "Contains exemption code and description.", "$ref": "#/definitions/codeDescriptionType" }, "customChargeQuantity": { "description": "Contains exemption quantity for the stay. When this value is configured, daily exemption quantities are not permitted.", "$ref": "#/definitions/customChargeQuantityType" }, "customChargeDates": { "description": "Contains exemption detail information for each date.", "$ref": "#/definitions/customChargeExemptionDatesType" }, "excludedDates": { "description": "Contains list of dates which are not valid for custom charge exemptions.", "$ref": "#/definitions/excludedDatesType" }, "percentage": { "description": "Exemption Percentage", "type": "number", "minimum": 0, "maximum": 100 }, "propertyExemption": { "description": "Flag specifying if custom charge exemptions is property level or not.", "type": "boolean" } } }, "customChargeQuantityType": { "type": "object", "description": "Contains quantity of custom charge exemptions.", "properties": { "quantity": { "description": "Contains number of Custom Charge Exemption for a day.", "type": "integer" }, "available": { "description": "Indicates if Custom Charges Exemption information is editable.", "type": "boolean" } } }, "customChargeExemptionDatesType": { "type": "array", "description": "Contains List of Custom Charge Exemption information for a day.", "maxItems": 4000, "items": { "$ref": "#/definitions/customChargeExemptionDateType" } }, "customChargeExemptionDateType": { "type": "object", "description": "Contains Custom Charge Exemption information for a day.", "properties": { "date": { "description": "Contains Custom Charge Exemption date.", "type": "string", "format": "date", "maxLength": 8 }, "quantity": { "description": "Contains number of Custom Charge Exemption for a day.", "type": "integer" } } }, "excludedDatesType": { "type": "array", "description": "Contains list of dates which are valid for custom charge exemptions.", "maxItems": 4000, "items": { "$ref": "#/definitions/excludedDateType" } }, "excludedDateType": { "type": "object", "description": "Specifies all the enabled dates.", "properties": { "date": { "description": "Contains exclusion date.", "type": "string", "format": "date", "maxLength": 8 }, "reason": { "description": "Contains reason for exclusion.", "$ref": "#/definitions/exclusionReasonType" } } }, "exclusionReasonType": { "type": "string", "description": "Custom Charge has already been Processed for this date within the reservation stay.", "enum": [ "NotConfigured", "CustomChargeProcessed" ] }, "blockReservationsCriteriaType": { "type": "object", "description": "Indicates the filter criteria to identify the block reservations that should implement the same changes as the reference reservation.", "properties": { "reservations": { "description": "Unique identifier for a block reservation.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/blockReservationId" } }, "stayOn": { "description": "Apply changes to block reservations that are staying in the hotel within the date range specified.", "type": "object", "properties": { "start": { "description": "The starting value of the date range.", "type": "string", "format": "date", "maxLength": 8 }, "end": { "description": "The ending value of the date range.", "type": "string", "format": "date", "maxLength": 8 } } }, "applyChangesTo": { "description": "Indicates the filter type that is used to identify the block reservations to which changes need to be applied.", "$ref": "#/definitions/blockApplyChangesToType" } } }, "blockReservationId": { "type": "object", "description": "An identifier used to uniquely reference an object in a system (e.g. an airline reservation reference, customer profile reference, booking confirmation number, or a reference to a previous availability quote).", "properties": { "url": { "description": "URL that identifies the location associated with the record identified by the UniqueID.", "type": "string" }, "type": { "description": "A reference to the type of object defined by the UniqueID element.", "type": "string", "minLength": 0, "maxLength": 20 }, "instance": { "description": "The identification of a record as it exists at a point in time. An instance is used in update messages where the sender must assure the server that the update sent refers to the most recent modification level of the object being updated.", "type": "string", "minLength": 0, "maxLength": 80 }, "idContext": { "description": "Used to identify the source of the identifier (e.g., IATA, ABTA).", "type": "string", "minLength": 0, "maxLength": 80 }, "id": { "description": "A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.", "type": "string", "minLength": 0, "maxLength": 80 }, "idExtension": { "description": "Additional identifying value assigned by the creating system.", "type": "integer" }, "overrideOutOfService": { "description": "If this candidate reservation has an out of service room assigned to it, setting this flag to true will ignore the out of service check and apply changes to the reservation.", "type": "boolean" } } }, "blockApplyChangesToType": { "type": "string", "description": "Valid values are All, Same Arrival Date, Checked In, Selected, In House.", "enum": [ "All", "SameArrivalDate", "CheckedIn", "Reservations", "StayOn" ] }, "changeBlockResvInstructionType": { "type": "string", "description": "Sending this instruction would skip applying credit card payment types to other block reservations.", "enum": [ "ApplyRateToAllRoomTypes", "ExcludeCreditCardPaymentTypes" ] }, "changedBlockReservations": { "type": "object", "description": "The response object that contains the reservations that were changed for a block along with the status of each change.", "properties": { "reservations": { "description": "Contains details of the changed reservation along with a success or error message.", "type": "array", "items": { "$ref": "#/definitions/changeBlockReservationType" } }, "links": { "$ref": "#/definitions/links" }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "changeBlockReservationType": { "type": "object", "description": "Information about the block reservation being changed.", "properties": { "reservationInfo": { "description": "Information about the current reservation.", "$ref": "#/definitions/reservationInfoType" }, "success": { "type": "boolean", "description": "This element will be returned as True if the reservation was successfully changed." }, "errors": { "description": "This element will be used to indicate the error messages due to which the reservation was not changed.", "$ref": "#/definitions/errorsType" } } }, "errorsType": { "type": "array", "description": "An error that occurred during the processing of a message.", "maxItems": 99, "items": { "$ref": "#/definitions/errorType" } }, "errorType": { "type": "object", "description": "Standard way to indicate that an error occurred during the processing of an message. If the message successfully processes, but there are business errors, those errors should be passed in the warning element.", "properties": { "value": { "type": "string", "description": "Property Value" }, "shortText": { "description": "An abbreviated version of the error in textual format.", "type": "string" }, "code": { "description": "If present, this refers to a table of coded values exchanged between applications to identify errors or warnings.", "type": "string", "minLength": 0, "maxLength": 20 }, "docURL": { "description": "If present, this URL refers to an online description of the error that occurred.", "type": "string" }, "status": { "description": "If present, recommended values are those enumerated in the ErrorRS, (NotProcessed Incomplete Complete Unknown) however, the data type is designated as string data, recognizing that trading partners may identify additional status conditions not included in the enumeration.", "type": "string" }, "tag": { "description": "If present, this attribute may identify an unknown or misspelled tag that caused an error in processing. It is recommended that the Tag attribute use XPath notation to identify the location of a tag in the event that more than one tag of the same name is present in the document. Alternatively, the tag name alone can be used to identify missing data [Type=ReqFieldMissing].", "type": "string" }, "recordId": { "description": "If present, this attribute allows for batch processing and the identification of the record that failed amongst a group of records. This value may contain a concatenation of a unique failed transaction ID with specific record(s) associated with that transaction.", "type": "string" }, "type": { "description": "The Warning element MUST contain the Type attribute that uses a recommended set of values to indicate the warning type. The validating XSD can expect to accept values that it has NOT been explicitly coded for and process them by using Type =\"Unknown\".", "type": "string", "minLength": 0, "maxLength": 20 }, "language": { "description": "Language identification.", "type": "string", "pattern": "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*" }, "nodeList": { "description": "An XPath expression that selects all the nodes whose data caused this error. Further, this expression should have an additional constraint which contains the data of the node. This will provide the offending data back to systems that cannot maintain the original message.", "type": "string" } } }, "blockReservations": { "type": "object", "description": "Response type for holding block reservations as part of the response to FetchBlockReservations operation.", "properties": { "reservations": { "description": "Collection of current and future block reservations.", "$ref": "#/definitions/blockReservationsType" }, "links": { "$ref": "#/definitions/links" }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "blockReservationsType": { "type": "object", "description": "Collection of block reservations.", "properties": { "reservations": { "$ref": "#/definitions/hotelReservationsType" }, "shares": { "description": "Contains a collection of groups of reservations that are shared with each other.", "$ref": "#/definitions/roomingListSharesType" } } }, "roomingListSharesType": { "type": "array", "description": "Contains a set of rooming list reservations that need to be shared.", "maxItems": 4000, "items": { "$ref": "#/definitions/roomingListShareType" } }, "roomingListShareType": { "type": "object", "description": "Specifies a group of two or more rooming list reservations that need to be created as shared reservations.", "properties": { "reservation": { "description": "Contains information about the rooming list reservation that is to be shared and specifies the type of share that is to be created.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/roomingListShareReservationType" } }, "effectiveRates": { "description": "Instruction to apply new effective rates to the reservations.", "$ref": "#/definitions/effectiveRatesType" }, "timeSpan": { "description": "The Time Span(Arrival, Departure) for the reservation share set.", "$ref": "#/definitions/timeSpanType" } } }, "roomingListShareReservationType": { "type": "object", "description": "Contains the rooming list reservation that is to be shared and the information about the share type of this reservation.", "properties": { "reservationId": { "description": "Indicates the unique Reservation Id.", "$ref": "#/definitions/uniqueID_Type" }, "typeOfRateAmount": { "description": "Type of rate division for the sharer reservation. Valid types are Full, Entire and Split.", "$ref": "#/definitions/shareDistributionInstructionType" }, "primaryShare": { "description": "Indicates if this reservation is a primary sharer.", "type": "boolean" }, "timeSpan": { "description": "The Time Span(Arrival, Departure) for the reservation", "$ref": "#/definitions/timeSpanType" } } }, "effectiveRatesType": { "type": "array", "description": "Collection of effective rate amount per guest on specific dates.", "maxItems": 4000, "items": { "$ref": "#/definitions/effectiveRateType" } }, "effectiveRateType": { "type": "object", "description": "Effective rate amount per guest on specific dates.", "properties": { "onePersonRate": { "description": "Rate amount for one person.", "type": "number" }, "twoPersonRate": { "description": "Rate amount for two persons.", "type": "number" }, "threePersonRate": { "description": "Rate amount for three persons.", "type": "number" }, "fourPersonRate": { "description": "Rate amount for four persons.", "type": "number" }, "fivePersonRate": { "description": "Rate amount for five persons.", "type": "number" }, "extraPersonRate": { "description": "Rate amount for each extra person.", "type": "number" }, "extraChildRate": { "description": "Rate amount for each extra Child.", "type": "number" }, "oneChildRate": { "description": "Rate amount for one Child.", "type": "number" }, "twoChildrenRate": { "description": "Rate amount for two Children.", "type": "number" }, "threeChildrenRate": { "description": "Rate amount for three Children.", "type": "number" }, "fourChildrenRate": { "description": "Rate amount for four Children.", "type": "number" }, "rateByAgeBuckets": { "description": "Collection of rate amount by age bracket.", "$ref": "#/definitions/rateByAgeBucketsType" }, "minimumChildrenForFreeStay": { "description": "Minimum number of children needed to get free stay.", "type": "integer" }, "pointsRequired": { "description": "The number of award points required for applying this rate plan schedule.", "type": "number" }, "overrideFloorAmount": { "description": "true if floor amount needs to be override", "type": "boolean" }, "hotelId": { "description": "", "type": "string", "minLength": 0, "maxLength": 20 }, "ratePlanCode": { "description": "", "type": "string", "minLength": 0, "maxLength": 20 }, "roomType": { "description": "", "type": "string", "minLength": 0, "maxLength": 20 }, "numberOfRooms": { "description": "", "type": "integer" }, "amountBeforeTax": { "description": "Rate amount Before Tax.", "type": "number" }, "start": { "description": "The starting value of the date range.", "type": "string", "format": "date", "maxLength": 8 }, "end": { "description": "The ending value of the date range.", "type": "string", "format": "date", "maxLength": 8 } } }, "rateByAgeBucketsType": { "type": "array", "description": "Rate amount by age bucket.", "maxItems": 3, "items": { "$ref": "#/definitions/rateByAgeBucketType" } }, "rateByAgeBucketType": { "type": "object", "description": "Rate amount by age bucket.", "properties": { "rateAmount": { "description": "Rate amount by age bucket.", "type": "number" }, "minimumAge": { "description": "Minimum age for age bucket.", "type": "integer" }, "maximumAge": { "description": "Maximum age for age bucket.", "type": "integer" } } }, "blockRestrictions": { "type": "object", "description": "Response for FetchBlockRestrictions operation.", "properties": { "blockRestrictions": { "description": "List of block restrictions fetched based on supplied search criteria.", "$ref": "#/definitions/blockRestrictionsType" }, "links": { "$ref": "#/definitions/links" }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "blockRestriction": { "type": "object", "description": "Request for CreateBlockRestriction operation.", "properties": { "createBlockRestriction": { "description": "Information required to create block restrictions.", "$ref": "#/definitions/createBlockRestrictionType" }, "links": { "$ref": "#/definitions/links" }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "createBlockRestrictionType": { "type": "object", "description": "Information for creating restrictions for a block.", "properties": { "blockId": { "description": "Block for which restriction is being applied to.", "$ref": "#/definitions/blockId" }, "roomTypes": { "description": "Room type for which restriction is being applied.", "type": "array", "maxItems": 4000, "items": { "type": "string", "minLength": 0, "maxLength": 20 } }, "restrictionStatus": { "description": "Indicates the type of the restriction.", "$ref": "#/definitions/restrictionStatusType" }, "start": { "description": "The starting value of the date range.", "type": "string", "format": "date", "maxLength": 8 }, "end": { "description": "The ending value of the date range.", "type": "string", "format": "date", "maxLength": 8 }, "sunday": { "type": "boolean" }, "monday": { "type": "boolean" }, "tuesday": { "type": "boolean" }, "wednesday": { "type": "boolean" }, "thursday": { "type": "boolean" }, "friday": { "type": "boolean" }, "saturday": { "type": "boolean" }, "hotelId": { "type": "string", "minLength": 0, "maxLength": 20 } } }, "allRestrictions": { "type": "object", "description": "Request for clearAllRestrictions operation.", "properties": { "hotelId": { "description": "Hotel to which the block belongs to.", "$ref": "#/definitions/codeType" }, "blockId": { "description": "Block ID for the block.", "$ref": "#/definitions/blockId" }, "date": { "description": "Date for which restrictions should be cleared.", "type": "string", "format": "date" }, "links": { "$ref": "#/definitions/links" }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "blockRevenueChanges": { "type": "object", "description": "Response Object of details fetched of revenue log changes of selected block", "properties": { "blockRevenueChanges": { "description": "Collection of Block Revenue Changes for selected Block", "$ref": "#/definitions/blockRevenueChangesDetailsType" }, "totalPages": { "description": "Evaluated total page count based on the requested max fetch count.", "type": "integer" }, "offset": { "description": "Index or initial index of the set(page) being requested. If the index goes out of the bounds of the total set count then no data will be returned.", "type": "integer" }, "limit": { "description": "Indicates maximum number of records a Web Service should return.", "type": "integer" }, "hasMore": { "description": "Indicates whether all the records are included in the response or not. Absence of the attribute values should be consider as all rows fetched in the response.", "type": "boolean" }, "totalResults": { "description": "Total number of rows queried", "type": "integer" }, "count": { "description": "Total number of rows returned", "type": "integer" }, "links": { "$ref": "#/definitions/links" }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "blockRevenueChangesDetailsType": { "type": "array", "description": "Block Revenue Changes Details", "maxItems": 4000, "items": { "$ref": "#/definitions/blockRevenueChangesDetailType" } }, "blockRevenueChangesDetailType": { "type": "object", "properties": { "changeDate": { "description": "Change date.", "type": "string", "format": "date", "maxLength": 8 }, "stayDate": { "description": "Date of stay.", "type": "string", "format": "date", "maxLength": 8 }, "nights": { "description": "Number of nights room is occupied.", "type": "integer" }, "roomRevenue": { "description": "Room revenue details.", "$ref": "#/definitions/currencyAmountType" }, "roomStatus": { "description": "Unique Code to identify room status.", "type": "string", "minLength": 0, "maxLength": 20 }, "blockOwner": { "description": "Unique Code to identify the owner.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/blockOwnersType" } }, "userDetails": { "description": "Log time and detiails of the user who made changes .", "$ref": "#/definitions/logUserInfoType" } } }, "logUserInfoType": { "type": "object", "properties": { "userInfo": { "description": "User details for Log changes", "$ref": "#/definitions/userInfoType" }, "logDateTime": { "description": "User Log Changes Time Stamp details", "type": "string", "format": "date-time" } } }, "roomTypeOrder": { "type": "object", "description": "Request object for SetRoomTypeOrder operation.", "properties": { "roomTypes": { "description": "Indicates block room type's display order.", "$ref": "#/definitions/roomOrderType" }, "links": { "$ref": "#/definitions/links" }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "roomOrderType": { "type": "object", "properties": { "hotelId": { "description": "Hotel Code to which the block belongs to.", "type": "string", "minLength": 0, "maxLength": 20 }, "roomTypes": { "description": "Room Type.", "type": "array", "maxItems": 4000, "items": { "type": "string", "minLength": 0, "maxLength": 20 } }, "genericRoomTypes": { "description": "Room Type.", "type": "array", "maxItems": 4000, "items": { "type": "string", "minLength": 0, "maxLength": 20 } }, "blockIdList": { "description": "Collection of unique block identifiers", "$ref": "#/definitions/blockIdList" } } }, "blockRoomTypes": { "type": "object", "description": "Response Object for FetchBlockRoomTypes operation.", "properties": { "roomTypes": { "description": "Room types applicable for a block.", "$ref": "#/definitions/roomAllocationMasterInfoType" }, "links": { "$ref": "#/definitions/links" }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "roomingList": { "type": "object", "description": "Request object for creating rooming list reservations. The standard optional Opera Context element is also included.", "properties": { "blockInfo": { "description": "Information of the block for which rooming list reservations are being created.", "$ref": "#/definitions/roomingListBlockInfoType" }, "reservations": { "description": "The collection of one or more block reservations to be created.", "$ref": "#/definitions/roomingListReservationsType" }, "shares": { "description": "Contains a collection of groups of a reservations that are shared with each other. This contains the list of reservations that are to be created as part of this request.", "$ref": "#/definitions/roomingListSharesType" }, "links": { "$ref": "#/definitions/links" }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "roomingListBlockInfoType": { "type": "object", "description": "Block Information for create rooming list operation.", "properties": { "hotelId": { "description": "Hotel code for the block", "type": "string", "minLength": 0, "maxLength": 20 }, "blockIdList": { "description": "Collection of unique block identifiers", "$ref": "#/definitions/blockIdList" } } }, "roomingListReservationsType": { "type": "object", "description": "If anyone or more reservations failed, then it specifies the associated error messages.", "properties": { "reservation": { "description": "A collection of Block Rooming List Reservations.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/roomingListReservationType" } }, "hasMore": { "description": "Indicates whether all the records are included in the response or not. Absence of the attribute values should be consider as all rows fetched in the response.", "type": "boolean" }, "totalResults": { "description": "Total number of rows queried", "type": "integer" }, "count": { "description": "Total number of rows returned", "type": "integer" } } }, "roomingListReservationType": { "type": "object", "description": "This is used when changing block reservations in bulk.", "properties": { "hotelReservation": { "description": "Contains detailed information about the snapshot reservation", "$ref": "#/definitions/hotelReservationType" }, "routingInstructions": { "description": "Contains the routing instructions of the reservation.", "$ref": "#/definitions/routingInfoListType" }, "success": { "type": "boolean", "description": "This element is returned as True if the rooming list reservation was successfully created." }, "errors": { "description": "This element is returned if the rooming list reservation was not created successfully. It indicates the error messages due to which the reservation was not created.", "$ref": "#/definitions/errorsType" }, "roomingListSequence": { "description": "Unique identifier that identifies the sequence of an individual rooming list reservation. The sequence will be maintained across every request and response.", "type": "integer" } } }, "roomingListDetails": { "type": "object", "description": "Response object for creation of block rooming list. This object contains the details with unique identifiers for the created block reservations. Also Success,Warnings and Errors related to this operation.", "properties": { "reservations": { "description": "Collection of block reservations that were created successfully with unique identifiers.", "$ref": "#/definitions/roomingListReservationsType" }, "shares": { "description": "Contains a collection of groups of a reservations that are shared with each other. This will contain both successful and failed reservations.", "$ref": "#/definitions/roomingListSharesType" }, "links": { "$ref": "#/definitions/links" }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "blockRoomsStatus": { "type": "object", "description": "It also contains Success,Warnings and Errors related to this operation.", "properties": { "roomsStatusSummary": { "description": "Contains details of the rooms status.", "$ref": "#/definitions/roomsStatusSummaryType" }, "links": { "$ref": "#/definitions/links" }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "roomsStatusSummaryType": { "type": "object", "description": "Contains Block's room status summary info.", "properties": { "assigned": { "type": "integer" }, "unassigned": { "type": "integer" }, "inspected": { "type": "integer" }, "dirty": { "type": "integer" }, "clean": { "type": "integer" }, "pickup": { "type": "integer" }, "outOfService": { "type": "integer" } } }, "blockStatistics": { "type": "object", "description": "The response object that returns Block Statistics information.", "properties": { "statisticsDetails": { "description": "Information on room sold, room revenue and room rate.", "$ref": "#/definitions/blockStatisticsDetailsType" }, "masterInfo": { "description": "List of room types with an allotment.", "$ref": "#/definitions/blockStatisticsAllotedRoomsType" }, "links": { "$ref": "#/definitions/links" }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "blockStatisticsDetailsType": { "type": "object", "description": "Collection of statistics details for every statistic type.", "properties": { "statisticsDetail": { "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/blockStatisticsDetailType" } }, "startDate": { "type": "string", "format": "date", "maxLength": 8 }, "numberOfDays": { "type": "integer" } } }, "blockStatisticsDetailType": { "type": "object", "description": "Statistics Detail for a statistic type.", "properties": { "statisticsDates": { "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/blockStatisticsDatesType" } }, "statisticType": { "$ref": "#/definitions/statisticsType" } } }, "blockStatisticsDatesType": { "type": "array", "description": "Collection of statistics detail for every allotment date.", "maxItems": 4000, "items": { "$ref": "#/definitions/blockStatisticsDateType" } }, "blockStatisticsDateType": { "type": "object", "description": "Holds the room type level statistics and total statistics for an allotment date.", "properties": { "total": { "type": "integer" }, "roomStatisticsList": { "$ref": "#/definitions/blockRoomStatisticsListType" }, "date": { "type": "string", "format": "date", "maxLength": 8 } } }, "blockRoomStatisticsListType": { "type": "array", "description": "Collection of room type level statistics.", "maxItems": 4000, "items": { "$ref": "#/definitions/blockRoomStatisticsType" } }, "blockRoomStatisticsType": { "type": "object", "description": "Statistics information for the room type.", "properties": { "statisticsInfo": { "$ref": "#/definitions/blockStatisticsInfoType" }, "roomType": { "type": "string", "minLength": 0, "maxLength": 20 } } }, "blockStatisticsInfoType": { "type": "object", "description": "Information about availability, rate and allotment statistics.", "properties": { "inventory": { "type": "integer" }, "rate": { "type": "object", "properties": { "onePerson": { "type": "number" }, "twoPerson": { "type": "number" }, "threePerson": { "type": "number" }, "fourPerson": { "type": "number" } } }, "persons": { "type": "integer" }, "revenue": { "type": "number" }, "averageRate": { "type": "number" } } }, "statisticsType": { "type": "string", "description": "Type of statistic for which its statistics information by date and room type will be populated.", "enum": [ "Contract", "Initial", "Actual", "Pickup", "Available", "Change", "Rates", "Totalavailable", "Tentativereservations", "Pickuppersons", "Roomrevenue", "Totalrevenue", "Avgroomrate" ] }, "blockStatisticsAllotedRoomsType": { "type": "object", "description": "List of all room types with alloted rooms.", "properties": { "roomTypes": { "type": "array", "maxItems": 7, "items": { "$ref": "#/definitions/statisticsRoomTypeInfoType" } } } }, "statisticsRoomTypeInfoType": { "type": "object", "description": "Extended room type to store room category.", "properties": { "longDescription": { "description": "Detail description of the Room Type.", "type": "string", "minLength": 0, "maxLength": 2000 }, "webName": { "description": "Name corresponding to a RoomType.", "type": "string", "minLength": 0, "maxLength": 80 }, "webPage": { "description": "URL providing more information about the Room Type.", "type": "string", "minLength": 0, "maxLength": 2000 }, "roomFeatures": { "description": "Collection of room features.", "$ref": "#/definitions/roomFeaturesType" }, "roomTypeAttributes": { "description": "Room type attributes.", "$ref": "#/definitions/roomTypeAttributesType" }, "bookingChannelMappings": { "description": "Booking Channels mapping for the Room Type.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/bookingChannelMappingType" } }, "bedTypeCodes": { "description": "Bed type code associated with room.", "type": "array", "maxItems": 4000, "items": { "type": "string", "minLength": 0, "maxLength": 20 } }, "roomType": { "type": "string", "minLength": 0, "maxLength": 20 }, "hotelId": { "type": "string", "minLength": 0, "maxLength": 20 }, "roomClass": { "type": "string", "minLength": 0, "maxLength": 20 }, "description": { "type": "string", "minLength": 0, "maxLength": 2000 }, "suite": { "description": "Indicates room type is a suite.", "type": "boolean" }, "component": { "description": "Indicates room type is a Component Room.", "type": "boolean" }, "invBlockCode": { "description": "Block code.", "type": "string", "minLength": 0, "maxLength": 40 }, "roomViewCode": { "description": "Represents the room view code like City view, River view, Ocean view etc.", "type": "string", "minLength": 0, "maxLength": 40 }, "promotionCode": { "description": "Represents the promotional code.", "type": "string", "minLength": 0, "maxLength": 40 }, "roomQualifierCode": { "description": "Represents the room qualifier code like Deluxe,Economy,Suite etc.", "type": "string", "minLength": 0, "maxLength": 40 }, "roomQualifierMatchIndicator": { "description": "Represents the match indicator of room qualifier code returned in the response with the requested room qualifier code.", "type": "string", "minLength": 0, "maxLength": 20 }, "roomCategory": { "type": "string", "minLength": 0, "maxLength": 20 } } }, "blockStatusChanges": { "type": "object", "description": "Response object to fetch Status Logs for blocks.", "properties": { "blockStatusChanges": { "description": "Status Changes Details for selected block", "$ref": "#/definitions/blockStatusChangesDetailsType" }, "totalPages": { "description": "Evaluated total page count based on the requested max fetch count.", "type": "integer" }, "offset": { "description": "Index or initial index of the set(page) being requested. If the index goes out of the bounds of the total set count then no data will be returned.", "type": "integer" }, "limit": { "description": "Indicates maximum number of records a Web Service should return.", "type": "integer" }, "hasMore": { "description": "Indicates whether all the records are included in the response or not. Absence of the attribute values should be consider as all rows fetched in the response.", "type": "boolean" }, "totalResults": { "description": "Total number of rows queried", "type": "integer" }, "count": { "description": "Total number of rows returned", "type": "integer" }, "links": { "$ref": "#/definitions/links" }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "blockStatusChangesDetailsType": { "type": "array", "description": "Block Status Changes Details", "maxItems": 4000, "items": { "$ref": "#/definitions/blockStatusChangesDetailType" } }, "blockStatusChangesDetailType": { "type": "object", "properties": { "changeDate": { "description": "Change date for this block .", "type": "string", "format": "date", "maxLength": 8 }, "currentStatus": { "description": "Current Status for this block .", "type": "string", "minLength": 0, "maxLength": 20 }, "priorStatus": { "description": "Prior Status for this block .", "type": "string", "minLength": 0, "maxLength": 20 }, "rooms": { "description": "Number of rooms blocked and average rate details .", "$ref": "#/definitions/roomStatisticsType" }, "revenue": { "description": "Revenue summary Type .", "$ref": "#/definitions/revenueSummaryType" }, "userDetails": { "description": "Log time and detiails of the user who made changes .", "$ref": "#/definitions/logUserInfoType" } } }, "tourSeries": { "type": "object", "description": "Request for creating a tour series based on an existing block.", "properties": { "criteria": { "description": "Details about the source block and the information that is to be copied from the source block to the new tour series blocks.", "$ref": "#/definitions/tourSeriesType" }, "responseInstruction": { "description": "This flag will allow the user to control the response performance. Response will return block information based on the this flag. Possible values are None, Summary, Details.", "$ref": "#/definitions/responseInstructionType" }, "links": { "$ref": "#/definitions/links" }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "tourSeriesType": { "type": "object", "description": "This contains information as the block code, block name, block status regarding the blocks to be created as tour series.", "properties": { "tourBlockId": { "description": "The unique identifier of the source block.", "$ref": "#/definitions/uniqueID_Type" }, "tourCode": { "description": "The tour code to be applied to the blocks that are part of this tour series.", "type": "string", "minLength": 0, "maxLength": 20 }, "masterBlockCode": { "description": "The master block code of the tour series blocks. When masterBlockCode is provided,the tour series should be created by adding a master without room grid as a copy of the Source Block, and making the source block the first sub tour block. All additionally entered records on the tour series will be created as sub blocks", "type": "string", "minLength": 0, "maxLength": 20 }, "itinerary": { "description": "When true, Itinerary type is enabled for tour series.", "type": "boolean" }, "tourSeriesBlocks": { "description": "The collection of tour series blocks information.", "$ref": "#/definitions/tourSeriesBlocksType" }, "tourInstructions": { "description": "Instructions which will be considered when creating the tour series from a source block. If this element is not sent, all the flags will be assumed to be ignored.", "type": "object", "properties": { "rooms": { "description": "When true, this will copy the source block's room allocation to the tour series blocks.", "type": "boolean" }, "blockComments": { "description": "When true, this will copy the source block's comments to the tour series blocks.", "type": "boolean" }, "events": { "description": "When true, this will copy the source block's events to the tour series blocks.", "type": "boolean" }, "eventComments": { "description": "When true, this will copy the source block's event comments to the events of the tour series blocks.", "type": "boolean" }, "resources": { "description": "When true, this will copy the source block's resources to the tour series blocks.", "type": "boolean" }, "resourceComments": { "description": "When true, this will copy the source block's resource comments to the resources of the tour series blocks.", "type": "boolean" }, "contractBilling": { "description": "When true, this will copy the source block's contract billing information to the tour series blocks.", "type": "boolean" }, "groupProfile": { "description": "When true, this will copy the source block's group profile to the tour series blocks.", "type": "boolean" }, "adjustDecisionAndFollowupDate": { "description": "When true, this will adjust the decision and followup date on the tour series blocks to the same offset as the source block.", "type": "boolean" }, "complimentaryInfo": { "description": "When true, this will copy the source block's complimentary information to the tour series blocks.", "type": "boolean" }, "rates": { "description": "When true, this will copy the source block's rate codes to the tour series blocks.", "type": "boolean" }, "eventForecastFigures": { "description": "When true, the Forecast Figures from the Source Event will be copied to the Target Events. When false or blank, the Forecast Figures will be considered from Event Forecast Maintenance({host}/operarest/{schemamap}/evm/config/v1/hotels/{hotelId}/eventForecasts)", "type": "boolean" }, "eventChangeNotes": { "description": "When true, event change notes will be copied from source to the targeted events. When false or blank, the event change notes will not be copied from source to the targeted events", "type": "boolean" }, "copyEventAttendees": { "description": "When true, copies the same number of attendees as source events to the new business blocks and all the new events.", "type": "boolean" }, "attendees": { "description": "If copyEventAttendees is false, attendees should be provided which copies the number of attendees mentioned to the new business blocks and all the new events.", "type": "integer", "maximum": 9999 }, "copyResourcePrice": { "description": "When true, the price and discount from the source event resources will be copied to the target event resources. When false or blank resource price need to be considered from resource configuration ({host}/operarest/{schemamap}/evm/config/v1/hotels/{hotelId}/cateringMenus/{menuId})", "type": "boolean" } } }, "hotelId": { "description": "The hotel code of the source block.", "type": "string", "minLength": 0, "maxLength": 20 } } }, "tourSeriesBlocksType": { "type": "array", "description": "Contains tour series blocks information.", "maxItems": 4000, "items": { "$ref": "#/definitions/tourSeriesBlockType" } }, "tourSeriesBlockType": { "type": "object", "description": "Information about a tour series block.", "properties": { "hotelId": { "description": "The hotel code of the tour series block.", "type": "string", "minLength": 0, "maxLength": 20 }, "blockCode": { "description": "The block code of the tour series block.", "type": "string", "minLength": 0, "maxLength": 20 }, "startDate": { "description": "The start date of the tour series block.", "type": "string", "format": "date", "maxLength": 8 }, "blockStatus": { "description": "The booking status of the tour series block.", "type": "string", "minLength": 0, "maxLength": 20 }, "blockName": { "description": "The block name of the tour series block.", "type": "string", "minLength": 0, "maxLength": 2000 }, "marketCode": { "description": "Market code of the master block. If target block does not have codes configured then codes to be added for that property by search option.", "type": "string", "minLength": 0, "maxLength": 20 }, "sourceCode": { "description": "Source code of the master block. If target block does not have codes configured then codes to be added for that property by search option.", "type": "string", "minLength": 0, "maxLength": 20 }, "reservationType": { "description": "Reservation type of the master block. If target block does not have reservation type configured then reservation type to be added for that property by search option.", "type": "string", "minLength": 0, "maxLength": 20 }, "currency": { "description": "Currency code of the master block. If currency is not same as master block, currency code need to be added by search option.", "type": "string", "minLength": 0, "maxLength": 20 } } }, "responseInstructionType": { "type": "string", "description": "Response types used in the Apply Final Postings request. Based on the request the folio summary , folio details or no details will be returned in the response.", "enum": [ "None", "Summary", "Details" ] }, "blockWashSchedules": { "type": "object", "description": "Response object to fetch all the Block Wash Schedules. Each Block Wash Schedule will contain all the information like Wash Date, Room Type, Occupancy detail, Sell limit and Wash by percent value if exists.", "properties": { "blockWashSchedules": { "description": "All Block Wash Schedules information required for performing a block wash operation.", "$ref": "#/definitions/blockWashSchedulesType" }, "links": { "$ref": "#/definitions/links" }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "blockWashSchedulesInfo": { "type": "object", "description": "Request object to change multiple Block Wash Schedules under the selected block.", "properties": { "blockWashSchedulesInfo": { "description": "The criteria based on which the block wash schedules will be changed.", "$ref": "#/definitions/blockWashSchedulesInfoType" }, "links": { "$ref": "#/definitions/links" }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "blockWashSchedulesInfoType": { "type": "object", "description": "The criteria based on which the block wash schedules will be created/ changed.", "properties": { "hotelId": { "description": "Hotel Code to which the block wash schedules will be created/ changed.", "type": "string", "minLength": 0, "maxLength": 20 }, "blockIdList": { "description": "Collection of unique block identifiers to which the block wash schedules will be created/ changed", "$ref": "#/definitions/blockIdList" }, "blockWashSchedules": { "description": "Collection of all Block Wash Schedules to be created/ changed.", "$ref": "#/definitions/blockWashSchedulesType" } } }, "blockCopy": { "type": "object", "description": "Request for creating a copy of an existing block.", "properties": { "criteria": { "description": "Details about the source block and the information that is to be copied from the source block.", "$ref": "#/definitions/copyBlockType" }, "responseInstruction": { "description": "This flag will allow the user to control the response performance. Response will return block information based on the this flag. Possible values are None, Summary, Details.", "$ref": "#/definitions/responseInstructionType" }, "links": { "$ref": "#/definitions/links" }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "copyBlockType": { "type": "object", "description": "The source block will be used as a template to create the new copied block.", "properties": { "sourceBlockId": { "description": "The unique identifier of the source block.", "$ref": "#/definitions/uniqueID_Type" }, "newBlock": { "description": "Information about the new block.", "$ref": "#/definitions/newBlockDetailsType" }, "subBlocks": { "type": "array", "description": "Collection of sub block details that will be copied along with the source master block.", "minItems": 0, "maxItems": 4000, "items": { "$ref": "#/definitions/copySubBlockDetail" } }, "copyInstructions": { "description": "Instructions which will be considered when copying from the template. If this element is not sent, all the flags will be ignored.", "type": "object", "properties": { "rooms": { "description": "When true, this will copy the source block's room allocation counts to the new block.", "type": "boolean" }, "rateCode": { "description": "When true, this will copy the source block's rate code to the new block.", "type": "boolean" }, "blockComments": { "description": "When true, this will copy the source block's comments to the new block.", "type": "boolean" }, "blockCode": { "description": "When true, this will copy the block code of the source block to the new block.", "type": "boolean" }, "catering": { "description": "When true, this will copy the source block's catering information to the new block.", "type": "boolean" }, "events": { "description": "When true, this will copy the source block's events to the new block.", "type": "boolean" }, "eventComments": { "description": "When true, this will copy the source block's event comments to the events of the new block.", "type": "boolean" }, "resources": { "description": "When true, this will copy the source block's resources to the new block.", "type": "boolean" }, "resourceComments": { "description": "When true, this will copy the source block's resource comments to the resources of the new block.", "type": "boolean" }, "resourcePrices": { "description": "When true, this will copy the source block's resource price amounts to the resources of the new block.", "type": "boolean" }, "attendeesCount": { "description": "When true, this will copy the source block's number of attendees to the new block.", "type": "boolean" }, "contractBilling": { "description": "When true, this will copy the source block's contract billing information to the new block and make the source block a Master Block.", "type": "boolean" }, "groupProfile": { "description": "When true, this will copy the source block's group profile to the new block.", "type": "boolean" }, "alternateDates": { "description": "When true, this will copy the source block's alternate dates to the new block.", "type": "boolean" }, "ratesOfAlternateDates": { "description": "When true, this will copy the rate amounts of the source block's alternate dates to the alternate dates of the new block.", "type": "boolean" }, "potentialProfile": { "description": "When true, this will create the new block in the same potential profile as the source block.", "type": "boolean" }, "adjustDecisionAndFollowupDate": { "description": "When true, this will adjust the decision and followup date on the new block to the same offset as the source block.", "type": "boolean" }, "createAsSubBlock": { "description": "When true, this will copy the new block as a sub block of the source block.", "type": "boolean" }, "createAsTourBlock": { "description": "When true, this will create the new block in the same tour series as the source block.", "type": "boolean" }, "overbook": { "description": "When true, this will overbook the block.", "type": "boolean" }, "contractGrid": { "description": "Contract grid of the source Block will be copied to the contract grid of the new Block", "type": "boolean" }, "changeNotes": { "description": "Event notes of note code 'CH' will be copied from source events to new events on the Block copy.", "type": "boolean" }, "otherResources": { "description": "All event resources, such as menus and item resources are copied with the events to the new Block. Include Resource Notes and Copy Resource Prices are displayed and enabled.", "type": "boolean" }, "eventForecastFigures": { "description": "Event forecast figures will be copied from the source to the events of the new Block.", "type": "boolean" }, "masterBlock": { "description": "When true, Master block will be copied along with the sub blocks.", "type": "boolean" }, "copySubBlockAsRegularBlock": { "description": "When true, this sub block will be copied as a new regular block.", "type": "boolean" }, "forecastGrid": { "description": "Forecast grid of the source Block will be copied to the Forecast grid of the new Block", "type": "boolean" } } }, "hotelId": { "description": "The hotel code of the source block.", "type": "string", "minLength": 0, "maxLength": 20 } } }, "newBlockDetailsType": { "type": "object", "description": "This is used when creating a copy of a block.", "properties": { "hotelId": { "description": "The hotel code of the new block.", "type": "string", "minLength": 0, "maxLength": 20 }, "blockCode": { "description": "The block code of the new block.", "type": "string", "minLength": 0, "maxLength": 20 }, "startDate": { "description": "The start date of the new block.", "type": "string", "format": "date", "maxLength": 8 }, "blockStatus": { "description": "The booking status of the new block.", "type": "string", "minLength": 0, "maxLength": 20 }, "blockOrigin": { "description": "Origin information of the block PMS/ORS/SC/SFA", "type": "string", "minLength": 0, "maxLength": 20 }, "cateringStatus": { "description": "The value in this field will be applied as the catering status of the new Block and all its events.", "type": "string", "minLength": 0, "maxLength": 20 }, "blockDatesRange": { "description": "Room block and events from the source Block will be copied from the entered date starting at the start date of the new Block and ending at the end date of the new block.", "$ref": "#/definitions/dateRangeType" }, "sourceDateRangeToCopy": { "description": "Room block and events from the source Block will be copied from the entered date starting at the start date of the new Block and ending at the end date of the new block.", "$ref": "#/definitions/dateRangeType" }, "gridType": { "description": "This is the source grid type, like Original, Current, Pickup, which will be copied to the target Business Block.", "type": "string", "minLength": 0, "maxLength": 20 }, "gridCategory": { "description": "This is the user defined source grid category list, which will be copied to the target business block. This will be used when the business block supports multiple room grid categories.", "$ref": "#/definitions/codeListType" }, "attendees": { "description": "Stores the value for no of attendees.", "type": "integer" }, "marketCode": { "description": "This is used to pass the market code when a block copy is done to a different property.", "type": "string", "minLength": 0, "maxLength": 20 }, "sourceCode": { "description": "This is used to pass the Source code when a block copy is done to a different property.", "type": "string", "minLength": 0, "maxLength": 20 }, "rateCode": { "description": "This is used to pass the Source code when a block copy is done to a different property.", "type": "string", "minLength": 0, "maxLength": 20 } } }, "cateringStatusToChange": { "type": "object", "description": "Request object for changing the catering status of the business block.", "properties": { "changeCateringStatus": { "description": "Information on the catering status change.", "$ref": "#/definitions/changeCateringStatusType" }, "verificationOnly": { "description": "Indicator if the request is a verification on whether the catering status can be changed.", "type": "boolean" }, "links": { "$ref": "#/definitions/links" }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "changeCateringStatusType": { "type": "object", "description": "This holds the information required to change the catering status of the business block.", "properties": { "hotelId": { "description": "Opera Hotel code for the change block status operation.", "type": "string", "minLength": 0, "maxLength": 20 }, "blockId": { "description": "Specifies the Block ID which is the unique identifier for the Block for both internal and external systems.", "$ref": "#/definitions/blockId" }, "currentCateringStatus": { "description": "Current catering status of the business block.", "type": "string", "minLength": 0, "maxLength": 20 }, "newCateringStatus": { "description": "New catering status of the business block.", "type": "string", "minLength": 0, "maxLength": 20 }, "cancellationDetails": { "description": "Information related to cancel catering like cancel reason, destination and lost to property.", "$ref": "#/definitions/cancellationDetailsType" }, "masterSubBlockInfo": { "description": "Basic information of master and sub blocks structure in tree manner, this element only used while retrieving Block Type.", "$ref": "#/definitions/masterBlockInfoType" }, "eventAttendees": { "description": "The catering attendees information for events associated with the block.", "$ref": "#/definitions/eventAttendeesType" }, "overrideEventsProcessingWarnings": { "description": "Indicates whether to ignore any warning during applying the changes to the events associated with the current block.", "type": "boolean" } } }, "changedCateringStatus": { "type": "object", "description": "Response object for the request to change catering status. Response contains information on the block whose status was successfully changed.", "properties": { "block": { "description": "Provides detailed information regarding a block.", "$ref": "#/definitions/blockType" }, "cancellationDetails": { "description": "Information on the block that was canceled.", "$ref": "#/definitions/cancellationDetailsType" }, "cateringNextStatusList": { "description": "List of possible next catering statuses of the business block.", "$ref": "#/definitions/cateringNextStatusListType" }, "cateringStatusChangeHistory": { "description": "List of catering status changes.", "$ref": "#/definitions/cateringStatusChangeHistoryType" }, "cateringEventsProcessedInfo": { "description": "Status of the processed events after the block catering status change.", "$ref": "#/definitions/cateringEventsProcessedInfoList" }, "links": { "$ref": "#/definitions/links" }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "cateringEventsProcessedInfoList": { "type": "array", "description": "Status/Info of the processed events.", "maxItems": 4000, "items": { "$ref": "#/definitions/cateringEventsProcessedInfoType" } }, "cateringEventsProcessedInfoType": { "type": "object", "description": "Status/Info of the processed events.", "properties": { "hotelId": { "description": "Hotel code where event will be copied.", "type": "string", "minLength": 0, "maxLength": 20 }, "blockId": { "description": "BlockID of the event.", "$ref": "#/definitions/blockId" }, "eventName": { "description": "Name of event.", "type": "string", "minLength": 0, "maxLength": 60 }, "eventType": { "description": "Type of event.", "type": "string", "minLength": 0, "maxLength": 20 }, "eventDate": { "description": "Date of the event", "type": "string", "format": "date", "maxLength": 8 }, "room": { "description": "The function space room where the event takes place .", "$ref": "#/definitions/codeDescriptionType" }, "status": { "description": "Status of the processed event. e.g Completed, Not Processed.", "type": "string" }, "reason": { "description": "Reason for not processing the event.", "type": "string" }, "processingInfoType": { "description": "Flag to indicate the warning messages from the API", "type": "string" }, "processingInfoCode": { "description": "Erorr/Warning code for not processing th event.", "type": "string", "minLength": 0, "maxLength": 200 } } }, "defaultBlockCodeDetails": { "type": "object", "description": "Response object that returns a default block code based on template.", "properties": { "blockCode": { "description": "Business Block Code.", "type": "string", "maxLength": 2000 }, "links": { "$ref": "#/definitions/links" }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "block": { "type": "object", "description": "Request object for creation of blocks. This object contains block details with unique identifiers for each block. The standard optional Opera Context element is also included.", "properties": { "blocks": { "description": "Contains the detailed information regarding the block.", "$ref": "#/definitions/blocksType" }, "links": { "$ref": "#/definitions/links" }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "blockToBeChanged": { "type": "object", "description": "Request object for change/modification of block details. This object contains modified block details with unique identifiers for each block. The standard optional Opera Context element is also included.", "properties": { "blocks": { "description": "Provides detailed information of the block to be changed.", "type": "array", "items": { "$ref": "#/definitions/blockInstructionType" } }, "links": { "$ref": "#/definitions/links" }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "blockInstructionType": { "type": "object", "description": "Extended Block object to hold additional instructions along with the block. This should be used during create/update operations on a block.", "properties": { "blockIdList": { "description": "Collection of unique block identifiers.", "$ref": "#/definitions/blockIdList" }, "externalReferences": { "description": "External Reference information for Reservation.", "$ref": "#/definitions/externalReferencesType" }, "blockDetails": { "description": "Detailed Block information for this block.", "$ref": "#/definitions/blockDetailsType" }, "blockOwners": { "description": "Criteria to assign the owners of a business block.", "$ref": "#/definitions/blockOwnersType" }, "masterBlockInfo": { "description": "Basic information of master and sub blocks structure in tree manner, this element only used while retrieving Block Type.", "$ref": "#/definitions/masterBlockInfoType" }, "reservationPolicies": { "description": "A list of reservation policies.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/reservationPoliciesType" } }, "reservationDetails": { "description": "Details of room Information for the Block.", "$ref": "#/definitions/blockReservationDetailsType" }, "catering": { "description": "Details of catering Information for the Block.", "$ref": "#/definitions/cateringType" }, "blockProfiles": { "description": "A collection of all the profiles associated to this block. Please note that during a change operation this performs a full overlay if the attribute FullOverlay is set to true. In a full overlay, all the profiles that should be associated to the block should be provided during a change operation. Any profiles not provided will be detached from this block. By default the full overlay is considered false if this tag is left blank. If values are provided for profiles, only the full overlay functionality is provided at this time.", "type": "object", "properties": { "blockProfile": { "description": "The list of profiles associated with the block.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/blockProfilesType" } }, "fullOverlay": { "description": "Indicates whether to perform a full overlay for the profiles. Currently only the Fulloverlay functionality is provided.", "type": "boolean" } } }, "blockPackages": { "description": "A Block Package represents a non-room product provided to guests. Block Pacakges may have associated inventory and charges.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/blockPackageType" } }, "inventoryItems": { "description": "A collection of inventory items attached to a block.", "$ref": "#/definitions/blockInventoryItemsType" }, "blockStatistics": { "description": "Indicates the room and revenue statistics of the block.", "$ref": "#/definitions/blockStatisticsType" }, "comments": { "description": "List of notes for the Block.", "type": "object", "properties": { "commentInfo": { "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/commentInfoType" } }, "hasMore": { "description": "Indicates whether all the records are included in the response or not. Absence of the attribute values should be consider as all rows fetched in the response.", "type": "boolean" }, "totalResults": { "description": "Total number of rows queried", "type": "integer" }, "count": { "description": "Total number of rows returned", "type": "integer" } } }, "roomAllocations": { "description": "Room Allocations for the Block.", "type": "object", "properties": { "roomAllocationType": { "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/roomAllocationTypeType" } }, "masterInfo": { "description": "Room Allocations Master Information contains all the room types in the property.", "$ref": "#/definitions/roomAllocationMasterInfoType" }, "hasMore": { "description": "Indicates whether all the records are included in the response or not. Absence of the attribute values should be consider as all rows fetched in the response.", "type": "boolean" }, "totalResults": { "description": "Total number of rows queried", "type": "integer" }, "count": { "description": "Total number of rows returned", "type": "integer" }, "startDate": { "type": "string", "format": "date", "maxLength": 8 }, "numberOfDays": { "type": "number" } } }, "userDefinedFields": { "description": "Collections of user defined fields.", "$ref": "#/definitions/userDefinedFieldsType" }, "blockIndicators": { "description": "Indicators of additional information attached to the block", "$ref": "#/definitions/indicatorsType" }, "traces": { "description": "List of block traces.", "$ref": "#/definitions/blockTracesType" }, "statistics": { "description": "Statistics summary information including Rooms Sold, Room Revenue, Food and Beverage Revenue, Average Room Rate,etc.", "type": "array", "maxItems": 3, "items": { "$ref": "#/definitions/blockStatisticsSummaryType" } }, "blockSecurity": { "description": "Block security information used for an external system. Only available if configured in OPERA Cloud.", "type": "object", "properties": { "securedFromDIdisplayYn": { "description": "Secured from DI Display.", "type": "boolean" }, "allDescriptionDDSecured": { "description": "All Description DD Secured.", "type": "boolean" }, "ratesSecuredfromGNR": { "description": "Rates Secured from GNR.", "type": "boolean" }, "ratesSecuredfromAllDisplays": { "description": "Rates Secured from All Displays.", "type": "boolean" }, "housingInformationSecured": { "description": "Housing Information Secured.", "type": "boolean" }, "daysDepositRequired": { "description": "Number of Days Deposit due to guarantee the guest booking.", "type": "number" }, "advanceCancelDays": { "description": "Number of days before the arrival date a reservation can be canceled without losing the deposit.", "type": "number" }, "returnOneDayAtTimeYn": { "description": "Return One Day at a time.", "type": "boolean" }, "commissionableYn": { "description": "Determines if Travel Agent commission will be paid on reservations booked through the HOLIDEX Plus TACP program.", "type": "boolean" } } }, "ratePrograms": { "description": "Rate Program contains rate information required for block creation, like room pool, rate amount, market code, etc. Only available if configured in OPERA Cloud.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/rateProgramType" } }, "externalAttributes": { "description": "Block attributes used for external systems. Only available if configured in OPERA Cloud.", "type": "object", "properties": { "housingProtected": { "description": "Only available if configured in OPERA Cloud.", "type": "boolean" }, "eventType": { "description": "Contract type of a block, which is used for external system. Only available if configured in OPERA Cloud.", "$ref": "#/definitions/eventTypeType" }, "gIId": { "description": "Group IATA number validated by an external system and block can't be saved unless confirmed that GIID is valid. Only available if configured in OPERA Cloud.", "type": "string" }, "rollEndDate": { "description": "When this flag is set it will be used to roll Block End Date and Block Rate Program End Date in the night audit process. Only available if configured in OPERA Cloud.", "type": "boolean" } } }, "genericRoomAllocations": { "description": "Generic Room Type Allocations for the Block.", "type": "object", "properties": { "roomAllocationType": { "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/roomAllocationTypeType" } }, "masterInfo": { "description": "Generic Room Allocations Master Information contains all the room types in the property.", "$ref": "#/definitions/roomAllocationMasterInfoType" }, "hasMore": { "description": "Indicates whether all the records are included in the response or not. Absence of the attribute values should be consider as all rows fetched in the response.", "type": "boolean" }, "totalResults": { "description": "Total number of rows queried", "type": "integer" }, "count": { "description": "Total number of rows returned", "type": "integer" }, "startDate": { "type": "string", "format": "date", "maxLength": 8 }, "numberOfDays": { "type": "number" } } }, "alternateDates": { "description": "Alternate Date information for the Block.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/blockAlternateDateType" } }, "sellMessages": { "description": "List of sell messages for the Block.", "$ref": "#/definitions/sellMessageConfigsType" }, "attachments": { "description": "List of attachments for the Block.", "$ref": "#/definitions/attachmentsType" }, "washSchedules": { "description": "List of wash schedules for the Block.", "$ref": "#/definitions/blockWashSchedulesType" }, "restrictions": { "description": "List of restrictions for the Block.", "$ref": "#/definitions/blockRestrictionsType" }, "accessExclusions": { "description": "List of access exclusions for the block.", "$ref": "#/definitions/blockAccessExclusionsType" }, "hotelId": { "type": "string", "minLength": 0, "maxLength": 20 }, "updateLinkedActivities": { "description": "Indicates whether to update the linked activities or not. If true and primary block profile and owners information is updated, then all associated linked activities will be updated with the new information.", "type": "boolean" }, "markAsRecentlyAccessed": { "description": "Mark this block as recently accessed.", "type": "boolean" }, "createDateTime": { "description": "Time stamp of the creation.", "type": "string", "format": "date-time" }, "creatorId": { "description": "ID of creator. The creator could be a software system identifier or an identifier of an employee responsible for the creation.", "type": "string", "minLength": 0, "maxLength": 200 }, "lastModifyDateTime": { "description": "Time stamp of last modification.", "type": "string", "format": "date-time" }, "lastModifierId": { "description": "Identifies the last software system or person to modify a record.", "type": "string", "minLength": 0, "maxLength": 200 }, "purgeDate": { "description": "Date an item will be purged from a database (e.g., from a live database to an archive).", "type": "string", "format": "date", "maxLength": 8 }, "responseInstructions": { "description": "Collection of instructions to be returned as a set of block information.", "type": "object", "properties": { "responseInstruction": { "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/blockDetailInstructionType" } }, "confirmationOnly": { "description": "If this value is set to TRUE, then the operation will only return for a Success or Failed flag.", "type": "boolean" } } } } }, "blockChanged": { "type": "object", "description": "Response object for change/modification of block details. This object contains the block details with unique identifiers for each block. Also Success,Warnings and Errors related to this operation.", "properties": { "blocks": { "description": "Provides detailed information regarding the changed blocks.", "$ref": "#/definitions/blocksType" }, "cateringEventsProcessedInfo": { "description": "Status/Info of the processed events.", "$ref": "#/definitions/cateringEventsProcessedInfoList" }, "links": { "$ref": "#/definitions/links" }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "allocation": { "type": "object", "description": "A Request message that sets the room allocations as a collection of room types and dates.", "properties": { "criteria": { "description": "This element contains the block allocations as a collection of room types and dates.", "$ref": "#/definitions/allocationGridByRoomTypesType" }, "links": { "$ref": "#/definitions/links" }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "allocationGridByRoomTypesType": { "type": "object", "description": "A collection of Allocation objects for a block defined by room type.", "properties": { "hotelId": { "description": "Opera Hotel code for the Set Allocation Grid request.", "type": "string", "minLength": 0, "maxLength": 20 }, "blockId": { "description": "Unique block identifier of the block for which the allocations need to be set.", "$ref": "#/definitions/blockId" }, "allocationRoomTypes": { "description": "Allocation objects of a block grouped by room types.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/allocationGridByRoomTypeType" } }, "genericRoomType": { "description": "Indicates if the Allocation objects refer to Generic Room Types (Room Pools).", "type": "boolean" } } }, "allocationGridByRoomTypeType": { "type": "object", "description": "A collection of Allocation objects for a block defined by room type.", "properties": { "allocationGridDates": { "description": "Allocation objects for a block by date ranges.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/allocationGridByDateRangesType" } }, "sellLimitGridDates": { "description": "Sell limits for a block by date ranges.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/sellLimitGridByDateRangeType" } }, "roomType": { "description": "Indicates the room type of the Allocation objects.", "type": "string", "minLength": 0, "maxLength": 20 } } }, "allocationGridByDateRangesType": { "type": "object", "description": "A collection of Allocation objects for a block, such as Current Rooms, Original Rooms, Rate Amounts, etc.", "properties": { "roomAllocationInfo": { "description": "Allocation objects for a block.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/allocationGridByDateRangeType" } }, "allocation": { "description": "Indicates the type of the Allocation objects.", "type": "string", "minLength": 0, "maxLength": 40 } } }, "allocationGridByDateRangeType": { "type": "object", "description": "Indicates the block allocations for a date range. This can be rooms or rate amounts.", "properties": { "inventory": { "description": "Indicates the room inventory values per person occupancy.", "$ref": "#/definitions/setBlockGridInvType" }, "rate": { "description": "Indicates the rate amount values per person occupancy.", "$ref": "#/definitions/blockGridRatesType" }, "start": { "description": "The starting value of the date range.", "type": "string", "format": "date", "maxLength": 8 }, "end": { "description": "The ending value of the date range.", "type": "string", "format": "date", "maxLength": 8 }, "sunday": { "type": "boolean" }, "monday": { "type": "boolean" }, "tuesday": { "type": "boolean" }, "wednesday": { "type": "boolean" }, "thursday": { "type": "boolean" }, "friday": { "type": "boolean" }, "saturday": { "type": "boolean" } } }, "setBlockGridInvType": { "type": "object", "description": "Indicates the inventory values ( occupancy or availability ) per person occupancy.", "properties": { "onePerson": { "description": "Indicates the one person inventory value ( occupancy or availability ).", "type": "integer" }, "twoPerson": { "description": "Indicates the two person inventory value ( occupancy or availability ).", "type": "integer" }, "threePerson": { "description": "Indicates the three person inventory value ( occupancy or availability ).", "type": "integer" }, "fourPerson": { "description": "Indicates the four person inventory value ( occupancy or availability ).", "type": "integer" }, "sellLimit": { "description": "Indicates the sell limit", "type": "integer" }, "cutoffDate": { "description": "Indicates the cutoff date.Date when inventory left in the block will be cut-off.", "type": "string", "format": "date", "maxLength": 8 }, "forceOverbook": { "description": "Indicates whether to overbook the rooms in case there are not enough rooms at the house or room type level.", "type": "boolean" } } }, "sellLimitGridByDateRangeType": { "type": "object", "description": "Indicates the sell limits for a date range. This will be rooms.", "properties": { "start": { "description": "The starting value of the date range.", "type": "string", "format": "date", "maxLength": 8 }, "end": { "description": "The ending value of the date range.", "type": "string", "format": "date", "maxLength": 8 }, "sunday": { "type": "boolean" }, "monday": { "type": "boolean" }, "tuesday": { "type": "boolean" }, "wednesday": { "type": "boolean" }, "thursday": { "type": "boolean" }, "friday": { "type": "boolean" }, "saturday": { "type": "boolean" }, "sellLimit": { "description": "Indicates the sell limit for the date range.", "type": "integer" } } }, "blockAllocationRange": { "type": "object", "description": "Request for updating block allocation for a range of dates.", "properties": { "blockAllocationRange": { "description": "Range information for the block allocation range update operation.", "$ref": "#/definitions/blockAllocationRangeType" }, "links": { "$ref": "#/definitions/links" }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "blockAllocationRangeType": { "type": "object", "description": "Container for information related to block allocation range update operation", "properties": { "blockId": { "description": "Specifies the Block ID which is the unique identifier for the Block for both internal and external systems.", "$ref": "#/definitions/blockId" }, "hotelId": { "type": "string", "minLength": 0, "maxLength": 20 }, "roomTypes": { "description": "List of room types for which the range update has to be applied.", "type": "array", "maxItems": 4000, "items": { "type": "string", "minLength": 0, "maxLength": 20 } }, "beginDate": { "description": "Begin date for range update operation.", "type": "string", "format": "date", "maxLength": 8 }, "endDate": { "description": "End date for range update operation.", "type": "string", "format": "date", "maxLength": 8 }, "allocationType": { "description": "Allocation type for which the range operation is applied.", "$ref": "#/definitions/allocationType" }, "incrementFlag": { "description": "Flag to indicate if the occupancy data is absolute or relative to the current value.", "type": "boolean" }, "blockInventory": { "description": "Occupancy data for range operation.", "$ref": "#/definitions/blockGridInvType" }, "blockRates": { "description": "Rate details for range operation.", "$ref": "#/definitions/blockGridRatesType" }, "cutoffDate": { "description": "Date after which unused block rooms should be returned to house.", "type": "string", "format": "date", "maxLength": 8 }, "cutoffDays": { "description": "Number of days from block start date after which unused block rooms should be returned to house.", "type": "integer" }, "overrideCutoffSchedule": { "description": "A true value indicates that the cutoff schedule, if added to Business Block, can be overridden.", "type": "boolean" }, "includedDays": { "type": "string", "minLength": 0, "maxLength": 8 }, "rangeMode": { "description": "Indicates whether the range is being applied on shoulder dates or core dates.", "$ref": "#/definitions/blockRangeModeType" }, "overbookList": { "description": "Date which has to be overbooked or excluded.", "type": "array", "maxItems": 4000, "items": { "type": "object", "properties": { "stayDate": { "description": "Date which has to be overbooked or excluded.", "type": "string", "format": "date", "maxLength": 8 }, "roomType": { "description": "Room type that has to be overbooked or excluded.", "type": "string", "minLength": 0, "maxLength": 20 }, "overbook": { "description": "A true value indicates that the date/room type should be overbooked for inventory. A false value indicates that this combination should be excluded from range.", "type": "boolean" } } } }, "genericRoomType": { "description": "Indicates if the Allocation objects refer to Generic Room Types (Room Pools).", "type": "boolean" } } }, "blockRangeModeType": { "type": "string", "description": "Enumerates range operation modes.", "enum": [ "Core", "ShoulderStart", "ShoulderEnd" ] }, "blockRangeInfo": { "type": "object", "description": "Response type for fetch block information for range operation.", "properties": { "blockRangeInformation": { "description": "Block information required for range operation including room types list.", "$ref": "#/definitions/blockRangeInfoType" }, "links": { "$ref": "#/definitions/links" }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "blockRangeInfoType": { "type": "object", "description": "Block Information needed to perform a range operation.", "properties": { "blockInfo": { "description": "Block information needed to perform range operation on the block.", "type": "object", "properties": { "hotelId": { "type": "string", "minLength": 0, "maxLength": 20 }, "blockId": { "description": "Specifies the Block ID which is the unique identifier for the Block for both internal and external systems.", "$ref": "#/definitions/blockId" }, "blockCode": { "description": "Block Code", "type": "string", "minLength": 0, "maxLength": 20 }, "startDate": { "description": "Block Start Date", "type": "string", "format": "date", "maxLength": 8 }, "endDate": { "description": "Block End Date", "type": "string", "format": "date", "maxLength": 8 }, "shoulderStartDate": { "description": "Block Shoulder Start Date.", "type": "string", "format": "date", "maxLength": 8 }, "shoulderEndDate": { "description": "Block Shoulder End Date.", "type": "string", "format": "date", "maxLength": 8 }, "rateCode": { "description": "Block Rate Code.", "type": "string", "minLength": 0, "maxLength": 20 }, "blockStatus": { "description": "Block Status.", "type": "string", "minLength": 0, "maxLength": 20 }, "inventoryControl": { "description": "Indicates if the block is elastic or not.", "$ref": "#/definitions/blockInventoryControlType" } } }, "roomTypes": { "description": "List of all room types for the hotel.", "type": "array", "maxItems": 4000, "items": { "type": "string", "minLength": 0, "maxLength": 20 } } } }, "blockAvailability": { "type": "object", "description": "Response for FetchBlockAvailability operation.", "properties": { "blockAvailability": { "description": "Block Availability details.", "$ref": "#/definitions/blockAvailabilityType" }, "links": { "$ref": "#/definitions/links" }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "blockAvailabilityType": { "type": "object", "description": "Holds block availability information.", "properties": { "blockAvailabilityMasterInfo": { "description": "Master info for the block availability.", "$ref": "#/definitions/blockAvailabilityMasterInfoType" }, "blockHeaderInfo": { "description": "Block header information.", "$ref": "#/definitions/blockHeaderInfoType" }, "blockAvailability": { "description": "Provides room allocation/availability information for a stay date.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/blockAvailabilityInfoType" } }, "blockTotalAvailability": { "description": "Provides total room allocation/availability information by room type for the entire stay.", "$ref": "#/definitions/blockTotalAvailabilityInfoType" }, "blockTotalAvailabilityRooms": { "description": "Provides total room allocation/availability information by room type for the entire stay for the number of rooms requested.", "$ref": "#/definitions/blockTotalAvailabilityInfoType" } } }, "blockAvailabilityMasterInfoType": { "type": "object", "description": "Holds master information for block availability.", "properties": { "masterRoomTypes": { "description": "All room types available within the hotel.", "$ref": "#/definitions/codeListType" }, "fetchedRoomTypes": { "description": "Details pertaining to a room type.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/blockAvailabilityRoomTypeInfo" } }, "ratePlans": { "description": "Rate plan code details for the block.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/blockAvailabilityRatePlanInfo" } }, "currencyExchangeRates": { "description": "Currency exchange rate information.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/currencyExchangeRateType" } } } }, "blockAvailabilityRoomTypeInfo": { "type": "object", "description": "Room type information including packages and basic room type details.", "properties": { "packages": { "description": "Package information.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/packageElementType" } }, "roomTypeInfo": { "description": "Holds complete room type information.", "$ref": "#/definitions/roomTypeInfoType" }, "available": { "description": "Indicates whether the room type is defined in the rate code for which availability is fetched.", "type": "boolean" }, "roomType": { "description": "Room type for which the details can be found in this node.", "type": "string", "minLength": 0, "maxLength": 20 } } }, "roomTypeInfoType": { "type": "object", "properties": { "longDescription": { "description": "Detail description of the Room Type.", "type": "string", "minLength": 0, "maxLength": 2000 }, "webName": { "description": "Name corresponding to a RoomType.", "type": "string", "minLength": 0, "maxLength": 80 }, "webPage": { "description": "URL providing more information about the Room Type.", "type": "string", "minLength": 0, "maxLength": 2000 }, "roomFeatures": { "description": "Collection of room features.", "$ref": "#/definitions/roomFeaturesType" }, "roomTypeAttributes": { "description": "Room type attributes.", "$ref": "#/definitions/roomTypeAttributesType" }, "bookingChannelMappings": { "description": "Booking Channels mapping for the Room Type.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/bookingChannelMappingType" } }, "bedTypeCodes": { "description": "Bed type code associated with room.", "type": "array", "maxItems": 4000, "items": { "type": "string", "minLength": 0, "maxLength": 20 } }, "roomType": { "type": "string", "minLength": 0, "maxLength": 20 }, "hotelId": { "type": "string", "minLength": 0, "maxLength": 20 }, "roomClass": { "type": "string", "minLength": 0, "maxLength": 20 }, "description": { "type": "string", "minLength": 0, "maxLength": 2000 }, "suite": { "description": "Indicates room type is a suite.", "type": "boolean" }, "component": { "description": "Indicates room type is a Component Room.", "type": "boolean" }, "invBlockCode": { "description": "Block code.", "type": "string", "minLength": 0, "maxLength": 40 }, "roomViewCode": { "description": "Represents the room view code like City view, River view, Ocean view etc.", "type": "string", "minLength": 0, "maxLength": 40 }, "promotionCode": { "description": "Represents the promotional code.", "type": "string", "minLength": 0, "maxLength": 40 }, "roomQualifierCode": { "description": "Represents the room qualifier code like Deluxe,Economy,Suite etc.", "type": "string", "minLength": 0, "maxLength": 40 }, "roomQualifierMatchIndicator": { "description": "Represents the match indicator of room qualifier code returned in the response with the requested room qualifier code.", "type": "string", "minLength": 0, "maxLength": 20 } } }, "blockAvailabilityRatePlanInfo": { "type": "object", "description": "Rate plan information including package details.", "properties": { "ratePlanInfo": { "description": "Rate Plan details.", "type": "object", "properties": { "shortInfo": { "description": "Brief Information of the Rate Code.", "type": "string", "minLength": 0, "maxLength": 2000 }, "longInfo": { "description": "Detail Information of the Rate Code.", "type": "string", "minLength": 0, "maxLength": 2000 }, "webPage": { "description": "URL providing more information about the Rate Code.", "type": "string", "minLength": 0, "maxLength": 2000 }, "description": { "description": "Description of the Rate Code.", "type": "string", "minLength": 0, "maxLength": 2000 }, "ratePlanChannelInfo": { "description": "To populate RatePlanLevel, RatePlanWebName, and RatePlanID according to the setup made under channel.", "$ref": "#/definitions/ratePlanChannelInfoType" }, "currencyCode": { "description": "Currency Code of the rate code.", "type": "string", "minLength": 0, "maxLength": 20 }, "bookingChannelMappings": { "description": "Booking Channel mapping for the Rate Plan Code.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/bookingChannelMappingType" } }, "ratePlanLevel": { "description": "All rate codes are associated with rate plan level ( or rate category )for Channels. So if rate plans are given in the request, get all rate codes associated with the rate plan level.", "type": "string", "minLength": 0, "maxLength": 20 }, "guarantee": { "description": "Guarantee details for rate plan code.", "$ref": "#/definitions/guaranteeType" }, "cancelPenalty": { "description": "Cancellation details for rate plan code.", "$ref": "#/definitions/cancelPenaltyType" }, "mealPlans": { "description": "Meal plan codes for rate plan code.", "$ref": "#/definitions/mealPlansType" }, "ratePlanCode": { "type": "string", "minLength": 0, "maxLength": 20 }, "hotelId": { "type": "string", "minLength": 0, "maxLength": 20 }, "ratePlanCategory": { "type": "string", "minLength": 0, "maxLength": 20 }, "taxInclusive": { "description": "Indicates if tax is included in the rate code amount.", "type": "boolean" }, "serviceFeeInclusive": { "description": "Indicates if service fee is included in the rate code amount.", "type": "boolean" }, "rateCommission": { "description": "Commission details for Rate plan code.", "$ref": "#/definitions/ratePlanCommissionType" }, "negotiatedBy": { "description": "If Rate plan is negotiated by Guest or any attached profiles, this indicates how negotiated it. Applicable values are Guest, Company, Agent and Source.", "$ref": "#/definitions/profileTypeType" } } } } }, "ratePlanChannelInfoType": { "type": "object", "properties": { "ratePlanLevel": { "description": "All rate codes are associated with rate plan level ( or rate category )for Channels. So if rate plans are given in the request, get all rate codes associated with the rate plan level.", "type": "string", "minLength": 0, "maxLength": 20 }, "ratePlanId": { "description": "An identifier used to uniquely reference an object in a system (e.g. an airline reservation reference, customer profile reference, booking confirmation number, or a reference to a previous availability quote).", "type": "object", "properties": { "url": { "description": "URL that identifies the location associated with the record identified by the UniqueID.", "type": "string" }, "type": { "description": "A reference to the type of object defined by the UniqueID element.", "type": "string", "minLength": 0, "maxLength": 20 }, "instance": { "description": "The identification of a record as it exists at a point in time. An instance is used in update messages where the sender must assure the server that the update sent refers to the most recent modification level of the object being updated.", "type": "string", "minLength": 0, "maxLength": 80 }, "idContext": { "description": "Used to identify the source of the identifier (e.g., IATA, ABTA).", "type": "string", "minLength": 0, "maxLength": 80 }, "id": { "description": "A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.", "type": "string", "minLength": 0, "maxLength": 80 }, "idExtension": { "description": "Additional identifying value assigned by the creating system.", "type": "integer" } } }, "ratePlanWebName": { "description": "To populate the RatePlanName, setup for the channel.", "type": "string", "minLength": 0, "maxLength": 80 } } }, "ratePlanCommissionType": { "type": "object", "properties": { "commissionCode": { "description": "commission code used by the rate plan.", "type": "string", "minLength": 0, "maxLength": 20 }, "commissionPercentage": { "description": "commission percentage used by the rate plan.", "type": "number" }, "commissionAmount": { "description": "commission amount used by the rate plan.", "type": "number" } } }, "currencyExchangeRateType": { "type": "object", "description": "Currency code configuration.", "properties": { "currencyCode": { "description": "The code specifying a monetary unit. Use ISO 4217, three alpha code.", "type": "string", "minLength": 0, "maxLength": 20 }, "currencySymbol": { "description": "The symbol for the currency, e.g, for currencyCode USD the symbol is $.", "type": "string", "minLength": 0, "maxLength": 10 }, "decimalPlaces": { "description": "Indicates the number of decimal places for a particular currency. This is equivalent to the ISO 4217 standard \"minor unit\". Typically used when the amount provided includes the minor unit of currency without a decimal point (e.g., USD 8500 needs DecimalPlaces=\"2\" to represent $85).", "type": "integer" }, "description": { "description": "Description of the currency code.", "type": "string", "minLength": 0, "maxLength": 2000 }, "exchangeRate": { "description": "Exchange Rate for the currency code. Exchange rate is based on the current business date of the property.", "$ref": "#/definitions/currencyAmountType" } } }, "blockHeaderInfoType": { "type": "object", "description": "Holds block header details.", "properties": { "hotelId": { "description": "Hotel code to which the block belongs to.", "type": "string", "minLength": 0, "maxLength": 20 }, "hotelName": { "description": "Name of the hotel.", "type": "string", "minLength": 0, "maxLength": 80 }, "blockName": { "description": "Block description.", "type": "string", "minLength": 0, "maxLength": 2000 }, "blockCode": { "description": "Unique code for the block.", "type": "string", "minLength": 0, "maxLength": 20 }, "blockId": { "description": "Specifies the Block ID which is the unique identifier for the Block for both internal and external systems.", "$ref": "#/definitions/blockId" }, "currencyCode": { "description": "Default currency code of the block.", "type": "string", "minLength": 0, "maxLength": 20 }, "rateCode": { "description": "Primary rate code of the block.", "type": "string", "minLength": 0, "maxLength": 20 }, "shoulderStartDate": { "description": "Shoulder start date of the block, applicable if the block is elastic.", "type": "string", "format": "date", "maxLength": 8 }, "shoulderEndDate": { "description": "Shoulder end date of the block, applicable if the block is elastic.", "type": "string", "format": "date", "maxLength": 8 }, "startDate": { "description": "Start date of the block.", "type": "string", "format": "date", "maxLength": 8 }, "endDate": { "description": "End date of the block.", "type": "string", "format": "date", "maxLength": 8 }, "inventoryControl": { "description": "Indicates whether the block is elastic.", "$ref": "#/definitions/blockInventoryControlType" }, "marketCode": { "description": "Market code for the block.", "type": "string", "minLength": 0, "maxLength": 20 }, "sourceOfSale": { "description": "Source for the block.", "$ref": "#/definitions/blockSourceOfSaleType" }, "guaranteeCode": { "description": "Guarantee Code for the block.", "type": "string", "minLength": 0, "maxLength": 20 }, "blockStatus": { "description": "Booking Status of the block.", "$ref": "#/definitions/codeDescriptionType" }, "suppressRate": { "description": "Indicates whether rates are suppressed.", "type": "boolean" } } }, "blockAvailabilityInfoType": { "type": "object", "description": "Captures room availability information for the block.", "properties": { "roomInfo": { "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/blockAvailabilityRoomInfoType" } }, "stayDate": { "type": "string", "format": "date", "maxLength": 8 }, "extendedStay": { "type": "boolean" } } }, "blockAvailabilityRoomInfoType": { "type": "object", "description": "Captures occupancy and rate information for a room type.", "properties": { "inventory": { "description": "Total occupancy allotted for the room type and stay date.", "type": "integer" }, "rate": { "description": "The derived rate amount for the room type, stay date and number of adults.", "type": "number" }, "roomType": { "type": "string", "minLength": 0, "maxLength": 20 }, "roomTypeAttributes": { "description": "Room type attributes.", "$ref": "#/definitions/roomTypeAttributesType" }, "sellLimit": { "description": "Sell Limit rooms for a Sell Limit block.", "type": "integer" }, "availableSellLimit": { "description": "Available Sell Limit rooms for a Sell Limit block.", "type": "integer" }, "package": { "description": "Amount of an additional product or service that is sold as part of the rate or in addition to the rate.", "type": "number" }, "tax": { "description": "Amount of tax generated separately on the revenue and package.", "type": "number" }, "taxBreakdown": { "description": "A detailed list of tax breakdowns.", "$ref": "#/definitions/taxesType" }, "gross": { "description": "Amount of revenue and package excluding tax.", "type": "number" }, "net": { "description": "Amount of revenue and package including tax.", "type": "number" }, "depositPolicy": { "description": "Deposit policy details.", "$ref": "#/definitions/depositPolicyType" }, "cancelPenalty": { "description": "Cancellation Penalty details.", "$ref": "#/definitions/cancelPenaltyType" } } }, "blockToCancel": { "type": "object", "description": "Request object for block cancelation. This object contains unique identifiers (Block unique id, Block Code and Block Start Date ) to identify the block to be Canceled and the standard optional Opera Context element.", "properties": { "cancelBlock": { "description": "Cancelled block identifier information.", "$ref": "#/definitions/cancelBlockType" }, "links": { "$ref": "#/definitions/links" }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "cancelBlockType": { "type": "object", "description": "ID information of the cancelled Block.", "properties": { "hotelId": { "description": "Opera Hotel code for the cancel block operation.", "type": "string", "minLength": 0, "maxLength": 20 }, "blockIdList": { "description": "Collection of unique block identifiers for both internal and external systems.", "$ref": "#/definitions/blockIdList" }, "startDate": { "description": "Start date of the block to be cancelled.", "type": "string", "format": "date", "maxLength": 8 }, "cancellationDetails": { "description": "Information related to cancel block like cancel reason, destination and lost to property.", "$ref": "#/definitions/cancellationDetailsType" }, "pMReservationsCancellationDetails": { "description": "Information related to PM reservations cancel like cancel reason and description.", "$ref": "#/definitions/cancellationDetailsType" } } }, "blockPostingMaster": { "type": "object", "description": "Request object for creating a new Posting Master Reservation.", "properties": { "criteria": { "description": "Criteria for creating a Posting Master.", "$ref": "#/definitions/createBlockPostingMasterCriteria" }, "links": { "$ref": "#/definitions/links" }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "createBlockPostingMasterCriteria": { "type": "object", "description": "Criteria to create a new posting master reservation.", "properties": { "hotelId": { "description": "Hotel Code of the business block.", "type": "string", "minLength": 0, "maxLength": 20 }, "blockId": { "description": "Unique block ID for which the posting master needs to be created.", "$ref": "#/definitions/blockId" }, "responseInstruction": { "description": "Dictates the response structure of the returned posting master reservation object.", "type": "object", "properties": { "fetchFullReservation": { "description": "Whether the response should contain only the ReservationID or full posting master reservation info.", "type": "boolean" } } } } }, "blockPMReservations": { "type": "object", "description": "The response object that contains the PM reservations belonging to a block.", "properties": { "reservations": { "description": "Collection of the PM reservations belonging to a block.", "$ref": "#/definitions/reservationSnapshotsType" }, "links": { "$ref": "#/definitions/links" }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "reservationSnapshotsType": { "type": "object", "description": "A collection of Reservation snapshot objects.", "properties": { "reservation": { "description": "A reservation snapshot object.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/reservationSnapshotType" } }, "hasMore": { "description": "Indicates whether all the records are included in the response or not. Absence of the attribute values should be consider as all rows fetched in the response.", "type": "boolean" }, "totalResults": { "description": "Total number of rows queried", "type": "integer" }, "count": { "description": "Total number of rows returned", "type": "integer" } } }, "rateOverride": { "type": "object", "description": "Request object of change block rate override operation.", "properties": { "hotelId": { "description": "Hotel code of the block.", "$ref": "#/definitions/codeType" }, "blockIdList": { "description": "Unique id of the block for which the rates need to be refreshed.", "$ref": "#/definitions/blockIdList" }, "allowRateOverride": { "description": "Indicates whether rates of a block can be overridden. Applicable only for blocks with a Rate Code.", "type": "boolean" }, "rateOverrideReason": { "description": "Indicates the reason for overriding the rate amounts on a block.", "$ref": "#/definitions/codeDescriptionType" }, "links": { "$ref": "#/definitions/links" }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "rateOverrideStatus": { "type": "object", "description": "Response Body.", "properties": { "links": { "$ref": "#/definitions/links" }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "blockToShift": { "type": "object", "description": "Request object to shift business block starting date.", "properties": { "criteria": { "description": "Contains details of the block to be shifted along with the new start date to be applied.", "$ref": "#/definitions/shiftBlockCriteriaType" }, "links": { "$ref": "#/definitions/links" }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "shiftBlockCriteriaType": { "type": "object", "properties": { "hotelId": { "description": "Hotel code of the business block.", "type": "string", "minLength": 0, "maxLength": 20 }, "blockId": { "description": "Business Block Id for which the start date is to be changed.", "$ref": "#/definitions/blockId" }, "newStartDate": { "description": "New start date of the business block.", "type": "string", "format": "date", "maxLength": 8 }, "removeAlternateDates": { "description": "When true, this will remove alternate dates for this block before shifting dates.", "type": "boolean" }, "validateAlternateDates": { "description": "When true, this will validate alternate dates for this block before shifting dates.", "type": "boolean" }, "overbookAll": { "description": "When true, this will overbook allocated rooms if needed.", "type": "boolean" }, "ignorePreAllocatedRooms": { "description": "When true, this will shift the block even if there are rooms pre-allocated.", "type": "boolean" }, "ignoreTraces": { "description": "When true, this will shift the block even if there are active traces.", "type": "boolean" }, "overrideEventsProcessingWarnings": { "description": "Indicates whether to ignore any warning during applying the changes to the events associated with the current block.", "type": "boolean" } } }, "shiftedBlock": { "type": "object", "description": "Response object for shift block operation.", "properties": { "cateringEventsProcessedInfo": { "description": "Status/Info of the processed events.", "$ref": "#/definitions/cateringEventsProcessedInfoList" }, "links": { "$ref": "#/definitions/links" }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "blockStatusToChange": { "type": "object", "description": "Request object for changing the booking status of the business block.", "properties": { "blocksStatus": { "description": "Contains the booking status of the business block." }, "changeBlockStatus": { "description": "Information on the block status change.", "$ref": "#/definitions/changeBlockStatusType" }, "verificationOnly": { "description": "Indicator if the request is a verification on whether the block status can be changed.", "type": "boolean" }, "backgroundProcessMode": { "description": "Indicator if the request is to be submitted as a background process.", "type": "boolean" }, "links": { "$ref": "#/definitions/links" }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "changeBlockStatusType": { "type": "object", "description": "This holds the information required to change the booking status of the business block.", "properties": { "hotelId": { "description": "Opera Hotel code for the change block status operation.", "type": "string", "minLength": 0, "maxLength": 20 }, "blockId": { "description": "Specifies the Block ID which is the unique identifier for the Block for both internal and external systems.", "$ref": "#/definitions/blockId" }, "currentBlockStatus": { "description": "Current booking status of the business block.", "type": "string", "minLength": 0, "maxLength": 20 }, "newBlockStatus": { "description": "New booking status of the business block.", "type": "string", "minLength": 0, "maxLength": 20 }, "reservationType": { "description": "Reservation type of the business block.", "type": "string", "minLength": 0, "maxLength": 20 }, "cancellationDetails": { "description": "Information related to cancel block like cancel reason, destination and lost to property.", "$ref": "#/definitions/cancellationDetailsType" }, "pMReservationsCancellationDetails": { "description": "Information related to PM reservations cancel like cancel reason and description.", "$ref": "#/definitions/cancellationDetailsType" }, "masterSubBlockInfo": { "description": "Basic information of master and sub blocks structure in tree manner, this element only used while retrieving Block Type.", "$ref": "#/definitions/masterBlockInfoType" }, "overbookAll": { "description": "Indicates whether to overbook when transitioning from a non-deduct to deduct inventory status.", "type": "boolean" }, "cancelAllPMReservations": { "description": "Indicates whether to cancel all PM reservations when canceling a block, if any.", "type": "boolean" }, "applyChangesToCateringSatus": { "description": "Indicates to apply block status code to catering status if existing values are same.", "type": "boolean" }, "overrideEventsProcessingWarnings": { "description": "Indicates whether to ignore any warning during applying the changes to the events associated with the current block.", "type": "boolean" } } }, "changedBlockStatus": { "type": "object", "description": "Response object for the request to change block status. Response contains information on the block whose status was successfully changed.", "properties": { "processId": { "description": "Unique ID of the submitted background process.", "$ref": "#/definitions/uniqueID_Type" }, "block": { "description": "Provides detailed information regarding a block.", "$ref": "#/definitions/blockType" }, "cancellationDetails": { "description": "Information on the block that was canceled.", "$ref": "#/definitions/cancellationDetailsType" }, "blockNextStatusList": { "description": "List of possible next booking statuses of the business block.", "$ref": "#/definitions/blockNextStatusListType" }, "blockStatusChangeHistory": { "description": "List of booking status changes.", "$ref": "#/definitions/blockStatusChangeHistoryType" }, "anyActivePMReservations": { "description": "Indicates whether block has any active PM reservations.", "type": "boolean" }, "cateringEventsProcessedInfo": { "description": "Status of the processed events after the block catering status change.", "$ref": "#/definitions/cateringEventsProcessedInfoList" }, "links": { "$ref": "#/definitions/links" }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "subBlock": { "type": "object", "description": "Request object to create new sub block.", "properties": { "criteria": { "description": "Criteria to create new sub block.", "type": "object", "properties": { "blockIdList": { "description": "Collection of unique block identifiers.", "$ref": "#/definitions/blockIdList" }, "masterBlockHotelCode": { "description": "Master Block's Hotel Code.", "$ref": "#/definitions/codeType" }, "subBlockInfo": { "description": "Sub Block Information for creating Sub Blocks.", "type": "array", "items": { "$ref": "#/definitions/createSubBlockBaseInfoType" } } } }, "links": { "$ref": "#/definitions/links" }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "createSubBlockBaseInfoType": { "type": "object", "properties": { "hotelId": { "description": "Sub Block's Hotel Code.", "type": "string", "minLength": 0, "maxLength": 20 }, "blockName": { "description": "Block description.", "type": "string", "minLength": 0, "maxLength": 2000 }, "blockCode": { "description": "Block code for the sub block.", "type": "string", "minLength": 0, "maxLength": 20 }, "blockOrigin": { "description": "Origin information of the block PMS/ORS/SC/SFA", "type": "string", "minLength": 0, "maxLength": 20 }, "timeSpan": { "description": "TimeSpan reflects the Start, End of the sub block.", "$ref": "#/definitions/timeSpanType" } } }, "tracesByDateRange": { "type": "object", "description": "Fetch traces response.", "properties": { "tracesInfoList": { "description": "List of all of the block and reservation traces based on the request search criteria.", "$ref": "#/definitions/tracesType" }, "links": { "$ref": "#/definitions/links" }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "tracesType": { "type": "array", "description": "List of the traces", "maxItems": 4000, "items": { "$ref": "#/definitions/miscTraceType" } }, "miscTraceType": { "type": "object", "description": "A collection of retrieved blocks and reservations traces.", "properties": { "trace": { "description": "List of common information from block or reservation trace.", "$ref": "#/definitions/traceType" }, "blockInfo": { "description": "Block information related to the trace, if it is a block trace.", "$ref": "#/definitions/traceBlockInfoType" }, "reservationInfo": { "description": "Reservation information related to the trace, if it is a reservation trace.", "$ref": "#/definitions/traceResvInfoType" } } }, "traceType": { "type": "object", "properties": { "timeInfo": { "description": "Date of the trace.", "$ref": "#/definitions/traceTimeInfoType" }, "reservationId": { "description": "Reservation ID of the reservation for which the traces are to be retrieved.", "$ref": "#/definitions/reservationId" }, "departmentId": { "description": "Indicates the Department code.", "type": "string", "minLength": 0, "maxLength": 20 }, "traceText": { "description": "The information this trace contains.", "type": "string" }, "resolveInfo": { "description": "Information regarding the status of the trace", "$ref": "#/definitions/traceResolveType" }, "url": { "description": "URL that identifies the location associated with the record identified by the UniqueID.", "type": "string" }, "type": { "description": "A reference to the type of object defined by the UniqueID element.", "type": "string", "minLength": 0, "maxLength": 20 }, "instance": { "description": "The identification of a record as it exists at a point in time. An instance is used in update messages where the sender must assure the server that the update sent refers to the most recent modification level of the object being updated.", "type": "string", "minLength": 0, "maxLength": 80 }, "idContext": { "description": "Used to identify the source of the identifier (e.g., IATA, ABTA).", "type": "string", "minLength": 0, "maxLength": 80 }, "id": { "description": "A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.", "type": "string", "minLength": 0, "maxLength": 80 }, "idExtension": { "description": "Additional identifying value assigned by the creating system.", "type": "integer" }, "createDateTime": { "description": "Time stamp of the creation.", "type": "string", "format": "date-time" }, "creatorId": { "description": "ID of creator. The creator could be a software system identifier or an identifier of an employee responsible for the creation.", "type": "string", "minLength": 0, "maxLength": 200 }, "lastModifyDateTime": { "description": "Time stamp of last modification.", "type": "string", "format": "date-time" }, "lastModifierId": { "description": "Identifies the last software system or person to modify a record.", "type": "string", "minLength": 0, "maxLength": 200 }, "purgeDate": { "description": "Date an item will be purged from a database (e.g., from a live database to an archive).", "type": "string", "format": "date", "maxLength": 8 } } }, "traceBlockInfoType": { "type": "object", "description": "Block information related to the trace.", "properties": { "blockIdList": { "description": "Collection of unique block identifiers, which contains BlockID and BlockCode.", "$ref": "#/definitions/blockIdList" }, "hotelId": { "description": "Hotel Code where trace is set.", "type": "string", "minLength": 0, "maxLength": 20 }, "blockName": { "description": "Name of the block.", "type": "string", "minLength": 0, "maxLength": 2000 }, "timeSpan": { "description": "The Time Span(Arrival, Departure) which covers the Block Span.", "$ref": "#/definitions/timeSpanType" } } }, "traceResvInfoType": { "type": "object", "description": "Reservation information related to the trace.", "properties": { "reservationIdList": { "description": "Used to provide PMS and/or CRS identifiers that trace is associated with.", "$ref": "#/definitions/reservationIdList" }, "hotelId": { "description": "Hotel Code where trace is set.", "type": "string", "minLength": 0, "maxLength": 20 }, "timeSpan": { "description": "The Time Span which covers the Room Stay.", "$ref": "#/definitions/timeSpanType" }, "roomId": { "description": "Room Id", "type": "string", "minLength": 0, "maxLength": 20 }, "roomStatus": { "description": "Current Room Status.", "type": "string", "minLength": 0, "maxLength": 2000 }, "reservationStatus": { "description": "Current Reservation Status.", "type": "string", "minLength": 0, "maxLength": 2000 }, "reservationGuests": { "description": "Collection of guests associated with the reservation.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/resGuestType" } }, "traceFrequency": { "description": "Information regarding the trace frequency", "$ref": "#/definitions/traceFrequencyType" } } }, "inventoryToBorrow": { "type": "object", "description": "The standard optional Opera Context element is also included.", "properties": { "hotelId": { "description": "Opera Hotel code for the Borrow Inventory request.", "$ref": "#/definitions/codeType" }, "blockId": { "description": "Specifies the Block ID which is the unique identifier for the Block for both internal and external systems.", "$ref": "#/definitions/blockId" }, "existingReservationId": { "description": "The unique id of an existing reservation. This should be supplied when borrowing inventory when an existing reservation is being edited.", "$ref": "#/definitions/uniqueID_Type" }, "roomType": { "description": "The Room type for which the rooms need to be borrowed.", "$ref": "#/definitions/codeType" }, "adultCount": { "description": "The number of adults that are expected to stay in a room.", "type": "integer" }, "overbookSalesAllowance": { "description": "Indicates whether to overbook the Sales Allowance in case there are no rooms left at the Generic Sales Allowance level.", "type": "boolean" }, "borrowInventoryList": { "description": "The date and number of rooms to borrow from either room type or House.", "type": "array", "items": { "$ref": "#/definitions/borrowInventoryType" } }, "links": { "$ref": "#/definitions/links" }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "borrowInventoryType": { "type": "object", "description": "This holds the number of rooms for each date that will be borrowed from the candidate room type provided.", "properties": { "blockId": { "description": "Specifies the Block ID which is the unique identifier for the Block for both internal and external systems.", "$ref": "#/definitions/blockId" }, "borrowDate": { "description": "The date on which rooms need to be borrowed for the block either from another room type in the block or from House if the block is elastic.", "type": "string", "format": "date", "maxLength": 8 }, "borrowRooms": { "description": "Specifies the number of rooms to be borrowed from the room type or House.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/borrowRoomType" } } } }, "borrowRoomType": { "type": "object", "description": "Specifies the number of rooms to be borrowed from the room type or House.", "properties": { "house": { "description": "Indicates if the rooms are to be borrowed from the House.", "$ref": "#/definitions/houseType" }, "roomType": { "description": "Indicates the room type from which the rooms will be borrowed.", "type": "string", "minLength": 0, "maxLength": 20 }, "roomsToBorrow": { "description": "The number of rooms that need to be borrowed.", "type": "integer" } } }, "houseType": { "type": "object", "description": "Returning an empty element of this type indicates the this is a House type. This is used in conjunction with the Borrow operations for Blocks where rooms are to be borrowed from House.", "properties": {} }, "borrowedInventoryToReturn": { "type": "object", "description": "The standard optional Opera Context element is also included.", "properties": { "hotelId": { "description": "Opera Hotel code for the Borrow Inventory request.", "$ref": "#/definitions/codeType" }, "blockId": { "description": "Specifies the Block ID which is the unique identifier for the Block for both internal and external systems.", "$ref": "#/definitions/blockId" }, "existingReservationId": { "description": "The unique id of an existing reservation. This should be supplied when returning borrowed inventory when an existing reservation is being edited.", "$ref": "#/definitions/uniqueID_Type" }, "roomType": { "description": "The source Room type from which the borrowed rooms need to be returned.", "$ref": "#/definitions/codeType" }, "adultCount": { "description": "The number of adults that are expected to stay in a room.", "type": "integer" }, "inventoryToReturnList": { "description": "The date and number of rooms to return to either a room type or House.", "type": "array", "items": { "$ref": "#/definitions/inventoryToReturnType" } }, "links": { "$ref": "#/definitions/links" }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "inventoryToReturnType": { "type": "object", "description": "This holds the number of rooms for each date that will be returned to the room destination type provided.", "properties": { "blockId": { "description": "Specifies the Block ID which is the unique identifier for the Block for both internal and external systems.", "$ref": "#/definitions/blockId" }, "returnDate": { "description": "The date on which rooms need to be returned for the block either to another room type in the block or to House if the borrowed room was from House.", "type": "string", "format": "date", "maxLength": 8 }, "returnRooms": { "description": "Specifies the collection of number of rooms to be returned to room types or House.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/returnRoomType" } } } }, "returnRoomType": { "type": "object", "description": "Specifies the number of rooms to be returned to a room type or House.", "properties": { "house": { "description": "Indicates if the rooms are to be returned to House.", "$ref": "#/definitions/houseType" }, "roomType": { "description": "Indicates the room type to which the rooms will be returned.", "type": "string", "minLength": 0, "maxLength": 20 }, "roomsToReturn": { "description": "The number of rooms that need to be returned.", "type": "integer" } } }, "inventoryToBorrowInfo": { "type": "object", "description": "Response object that returns the candidate room types on which inventory is available to borrow. The standard optional Opera Context element is also included.", "properties": { "borrowCandidates": { "description": "Contains the dates and rooms that can be borrowed from room types or House if the block is elastic.", "type": "array", "items": { "$ref": "#/definitions/borrowCandidateType" } }, "links": { "$ref": "#/definitions/links" }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "borrowCandidateType": { "type": "object", "description": "This contains a collection of all dates and required rooms. It also contains the borrow candidates which could be room types or house.", "properties": { "blockId": { "description": "Collection of unique block identifiers", "$ref": "#/definitions/blockId" }, "borrowDate": { "description": "The date on which rooms need to be borrowed for the block.", "type": "string", "format": "date", "maxLength": 8 }, "existingReservationId": { "description": "The unique id of an existing reservation.", "$ref": "#/definitions/uniqueID_Type" }, "requiredRooms": { "description": "The number of rooms that need to be borrowed.", "type": "integer" }, "borrowableInventoryList": { "description": "Holds the information about a borrowable room type and available rooms for each borrow date.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/borrowableInventoryType" } }, "hotelId": { "description": "Specifies the hotel that the block belongs to.", "type": "string", "minLength": 0, "maxLength": 20 } } }, "borrowableInventoryType": { "type": "object", "description": "This provides a collection of all borrowable room types by date.", "properties": { "house": { "description": "This indicates that the room will be borrowed from House.", "$ref": "#/definitions/houseType" }, "roomType": { "description": "The room type that contains rooms that can be borrowed.", "type": "string", "minLength": 0, "maxLength": 20 }, "availableRooms": { "description": "The number of rooms that are available to be borrowed from the room type or house.", "type": "integer" }, "availableSellLimit": { "description": "The number of sell limit rooms that are available for the room type.", "type": "integer" }, "errors": { "description": "The collection of error messages. These are the message associated with the room type that will prevent it from being borrowed.", "$ref": "#/definitions/errorsType" }, "warning": { "description": "The collection of warning messages. These are the messages associated with the borrowable room type that will require some user overrides if rooms are to be borrowed.", "$ref": "#/definitions/warningsType" } } }, "recentlyAccessedBlocks": { "type": "object", "properties": { "blocks": { "description": "List of recently accessed blocks.", "$ref": "#/definitions/recentlyAccessedBlocksType" }, "links": { "$ref": "#/definitions/links" }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "recentlyAccessedBlocksType": { "type": "array", "description": "A single recently accessed block.", "maxItems": 10, "items": { "$ref": "#/definitions/recentlyAccessedBlockType" } }, "recentlyAccessedBlockType": { "type": "object", "description": "A recently used block record.", "properties": { "blockIdList": { "description": "Collection of unique block identifiers.", "$ref": "#/definitions/blockIdList" }, "blockCode": { "description": "Business Block Code", "type": "string", "minLength": 0, "maxLength": 20 }, "blockName": { "description": "The name of the business block.", "type": "string", "minLength": 0, "maxLength": 2000 }, "timeSpan": { "description": "Business block start date and end date.", "$ref": "#/definitions/timeSpanType" }, "hotelId": { "type": "string", "minLength": 0, "maxLength": 20 }, "hotelName": { "description": "A text field used to communicate the proper name of the hotel.", "type": "string", "minLength": 0, "maxLength": 80 }, "accessDate": { "type": "string", "format": "date", "maxLength": 8 } } }, "salesAllowances": { "type": "object", "description": "Response returned by fetch corrected sales allowances.", "properties": { "salesAllowances": { "description": "All corrected sales allowances that meet the criteria.", "$ref": "#/definitions/salesAllowancesType" }, "links": { "$ref": "#/definitions/links" }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "salesAllowancesType": { "type": "array", "description": "Collection of Sales Allowances.", "maxItems": 4000, "items": { "$ref": "#/definitions/salesAllowanceType" } }, "salesAllowanceType": { "type": "object", "description": "A single sales allowances.", "properties": { "ceilingId": { "description": "ID of sales allowance.", "$ref": "#/definitions/salesAllowanceIDType" }, "hotelId": { "description": "Properties for which sales allowances exist.", "type": "string", "minLength": 0, "maxLength": 20 }, "allotmentDeductQty": { "description": "Number of Room nights booked at a deduct status for the date.", "type": "integer" }, "ceilingDate": { "description": "Ceiling date for the Sales Allowance.", "type": "string", "format": "date", "maxLength": 8 }, "salesAllowance": { "description": "Number of Rooms allotted for the Sales Allowance.", "type": "integer" }, "booked": { "description": "Number of Rooms booked against the Sales Allowance.", "type": "integer" }, "overBooked": { "description": "Number of rooms booked that is more than the allotted Sales Allowance.", "type": "integer" }, "available": { "description": "Number of rooms still available on the Sales Allowance.", "type": "integer" } } }, "salesAllowanceIDType": { "type": "object", "description": "Unique identifier of a single sales allowance.", "properties": { "ceilingId": { "description": "ID of sales allowance.", "type": "number" } } }, "centralSalesLeadsType": { "type": "object", "properties": { "centralLead": { "description": "Basic information about the Central Lead.", "$ref": "#/definitions/leadInfoType" }, "propertyLeads": { "description": "Basic information about the Property Leads.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/leadInfoType" } } }, "description": "Basic information about the Central Lead and its linked Property Leads." }, "leadInfoType": { "type": "object", "properties": { "blockIdList": { "description": "Collection of unique block identifiers.", "$ref": "#/definitions/blockIdList" }, "hotelId": { "description": "Hotel Id.", "type": "string", "minLength": 0, "maxLength": 20 }, "blockType": { "description": "Indicate Block Classification.", "$ref": "#/definitions/blockClassificationType" }, "timeSpan": { "description": "The Time Span of the block.", "$ref": "#/definitions/timeSpanType" }, "blockName": { "description": "Lead description.", "type": "string", "minLength": 0, "maxLength": 2000 }, "blockStatus": { "description": "Current block status of the lead.", "$ref": "#/definitions/bookingStatusType" }, "cateringStatus": { "description": "Current catering status of the lead.", "$ref": "#/definitions/bookingStatusType" }, "roomNightsBlocked": { "description": "Number of blocked rooms for the lead.", "type": "integer", "minimum": 0 }, "roomNightsPickedup": { "description": "Number of reserved rooms for the lead.", "type": "integer", "minimum": 0 } } }, "blockTotalAvailabilityInfoType": { "type": "object", "description": "Captures total room availability information for the block by room type for the entire stay.", "properties": { "stayStartDate": { "description": "Stay Start Date.", "type": "string", "format": "date" }, "stayEndDate": { "description": "Stay End Date.", "type": "string", "format": "date" }, "rooms": { "description": "Total number of rooms.", "type": "number" }, "roomInfo": { "description": "Total Block Availability per room type.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/blockAvailabilityRoomInfoType" } } } }, "externalIdType": { "type": "object", "properties": { "externalSystem": { "description": "This is the Interface Id of the System which sent/Received the Business Block", "type": "string", "maxLength": 40 }, "externalId": { "description": "Id on external system.", "type": "string", "minLength": 0, "maxLength": 120 } } }, "transactionActionEnumType": { "type": "string", "enum": [ "CREATE", "UPDATE", "DELETE", "NONE" ] }, "blockChangesByDateTimeSummary": { "type": "object", "allOf": [ { "$ref": "#/definitions/rESTPaginationGroup" } ], "properties": { "blockList": { "description": "Collection of Business Block changes by date and time.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/blockChangesByDateTimeSummaryType" } } } }, "blockChangesByDateTimeSummaryType": { "description": "Block information for changed blocks by date time", "type": "object", "properties": { "hotelId": { "description": "The hotel code for changed block by date time.", "type": "string", "minLength": 0, "maxLength": 20 }, "blockId": { "description": "Specifies the Block ID for changed block by date time.", "$ref": "#/definitions/blockId" }, "blockCode": { "description": "The block code for changed block by date time.", "type": "string", "minLength": 0, "maxLength": 20 }, "externalIdList": { "type": "array", "description": "List of external references.", "maxItems": 4000, "items": { "$ref": "#/definitions/externalIdType" } }, "startDate": { "description": "The start date for changed block by date time.", "type": "string", "format": "date", "maxLength": 8 }, "endDate": { "description": "The end date for changed block by date time.", "type": "string", "format": "date", "maxLength": 8 }, "roomStatus": { "description": "The booking status of the block.", "type": "string", "minLength": 0, "maxLength": 20 }, "cateringStatus": { "description": "Status of the block and all its events.", "type": "string", "minLength": 0, "maxLength": 20 }, "lastChangeDateTime": { "description": "Last change date and time for this block.", "type": "string", "format": "date-time" }, "actionType": { "type": "string", "description": "Action performed on the Business Block - CREATE, UPDATE, DELETE, NONE. When block is created/updated/deleted, then CREATE/UPDATE/DELETE will be set to actionType. In case of no changes to the business block, but there are only catering event changes, then NONE will be set to actionType.", "$ref": "#/definitions/transactionActionEnumType" }, "eventsChanged": { "description": "Indicates whether there are any catering events, linked to the business block, that have been changed, deleted, or created within the timeframe.", "type": "boolean" } } }, "rESTPaginationGroup": { "type": "object", "description": "Provides Pagination Information for the REST API.", "properties": { "offset": { "description": "Indicates the index of the next applicable set(page).", "type": "integer" }, "limit": { "description": "Indicates number of records the API can return as per the API request limit sent. A maximum of 200 records can be only returned at a time.", "type": "integer" }, "count": { "description": "Indicates number of records the API has returned actually as per the API request criteria.", "type": "integer" }, "hasMore": { "description": "Indicates whether there are more records available to be returned as per the API request criteria or not.", "type": "boolean" }, "totalResults": { "description": "Indicates total number of records available that can be returned as per the API request criteria.", "type": "integer" } } }, "cateringRevenueToChange": { "type": "object", "description": "Request object for changing the catering revenue for a business block.", "properties": { "eventId": { "description": "Unique ID on a catering event for which the catering revenue will be recalculated. If empty, all events belonging to the block will be processed.", "$ref": "#/definitions/eventId" }, "expectedRevenue": { "description": "Indicates if the expected revenue will be corrected.", "type": "boolean" }, "guaranteedRevenue": { "description": "Indicates if the guaranteed revenue will be corrected.", "type": "boolean" }, "actualRevenue": { "description": "Indicates if the actual revenue will be corrected.", "type": "boolean" }, "billedRevenue": { "description": "Indicates if the billed revenue will be corrected.", "type": "boolean" }, "links": { "$ref": "#/definitions/links" }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "propertyLeadsType": { "type": "object", "description": "Request object to create Property Leads.", "properties": { "hotelCodeList": { "description": "List of hotel codes for which property leads will be created.", "$ref": "#/definitions/hotelCodeListType" } } }, "blockBasicInfo": { "type": "object", "description": "Common Type used to store basic information of a block", "properties": { "blockName": { "type": "string", "description": "Name of the block. This is used for generating the default block code", "minLength": 1 }, "startDate": { "type": "string", "format": "date", "description": "Start date of the block. This is used for generatting the default block code" }, "hotelId": { "type": "string", "minLength": 1, "maxLength": 20, "description": "Hotel where the block will be created" }, "blockCodeTemplate": { "type": "string", "description": "Format in which the Block Code should be generated.", "maxLength": 20 }, "blockCode": { "type": "string", "maxLength": 20, "description": "Response object that returns a default block code based on template" } } }, "blockBasicInfos": { "type": "object", "description": "Collection of basic block informatioin", "properties": { "blocks": { "description": "Contains a collection of basic block information", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/blockBasicInfo" } } } }, "copySubBlockDetail": { "type": "object", "description": "Details of sub blocks that will be copied along with the Source Master Block.", "properties": { "sourceSubBlockId": { "description": "The unique identifier of the source sub block.", "$ref": "#/definitions/uniqueID_Type" }, "startDate": { "description": "The start date of the new sub block.", "type": "string", "format": "date" }, "hotelId": { "description": "The hotel code of the new sub block.", "type": "string", "minLength": 0, "maxLength": 20 }, "blockcode": { "description": "The block code of the new sub block.", "type": "string", "minLength": 0, "maxLength": 20 } } }, "gridRoomAllocations": { "type": "object", "properties": { "roomAllocationType": { "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/roomAllocationTypeType" } }, "masterInfo": { "description": "Room Allocations Master Information contains all the room types in the property.", "$ref": "#/definitions/roomAllocationMasterInfoType" }, "startDate": { "type": "string", "format": "date", "maxLength": 8 }, "numberOfDays": { "type": "number" } } }, "blockGridType": { "type": "object", "properties": { "blockIdList": { "description": "Collection of unique block identifiers.", "$ref": "#/definitions/blockIdList" }, "roomAllocations": { "description": "Grid details of block.", "$ref": "#/definitions/gridRoomAllocations" }, "totalPages": { "description": "Evaluated total page count based on the requested max fetch count.", "type": "integer" }, "offset": { "description": "Index or initial index of the set(page) being requested. If the index goes out of the bounds of the total set count then no data will be returned.", "type": "integer" }, "limit": { "description": "Indicates maximum number of records a Web Service should return.", "type": "integer" }, "hasMore": { "description": "Indicates whether all the records are included in the response or not. Absence of the attribute values should be consider as all rows fetched in the response.", "type": "boolean" }, "totalResults": { "description": "Total number of rows queried", "type": "integer" } } }, "getBlockExchangeInterfacesResponse": { "type": "object", "properties": { "externalSystemsList": { "description": "List of external systems to be used for this block for exchange.", "type": "array", "maxItems": 50, "items": { "$ref": "#/definitions/externalIdType" } } } }, "setBlockExchangeInterfacesRequest": { "type": "object", "properties": { "externalSystemsList": { "description": "List of external systems to be used for this block for exchange.", "type": "array", "maxItems": 50, "items": { "$ref": "#/definitions/externalIdType" } } } }, "blockDailyRevenueType": { "type": "object", "description": "Base abstraction defining all details needed to create a statistical report.", "properties": { "hotelId": { "description": "The code that uniquely identifies a single hotel property. The hotel code is decided between vendors.", "type": "string", "minLength": 0, "maxLength": 20 }, "statisticsDate": { "description": "Statistical date of the requested report.", "type": "string", "format": "date" }, "currencyCode": { "description": "The Currency code for the given hotelId.", "type": "string", "minLength": 0, "maxLength": 20 }, "cateringCurrencyCode": { "description": "The Catering Currency code for the given hotelId.", "type": "string", "minLength": 0, "maxLength": 20 }, "activeBlocks": { "description": "Number of Active Blocks", "type": "number" }, "activeEvents": { "description": "Number of Active Events", "type": "number" }, "rooms": { "description": "Number of Rooms", "type": "number" }, "attendees": { "description": "Number of attendees", "type": "number" }, "blocksRevenue": { "description": "Block Revenue on the given date.", "type": "number" }, "cateringRevenue": { "description": "Revenue on Events for given date.", "type": "number" }, "revenueDetails": { "type": "array", "maxItems": 100, "items": { "$ref": "#/definitions/revenueDetailType" } } } }, "blockDailyRevenueStatistics": { "type": "object", "properties": { "blockDailyRevenue": { "$ref": "#/definitions/blockDailyRevenueType" }, "links": { "$ref": "#/definitions/links" }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "revenueDetailType": { "type": "object", "description": "Since the statistical value can be represented in different measure of units, this element will provide a flexible definition for the supported Opera9 statistical units.", "properties": { "unitType": { "description": "Unit of measurement or the actual code that defines the value. Eg. CurrencyCode for the Amount Category.", "type": "string", "minLength": 1, "maxLength": 100 }, "unitValue": { "description": "Statistical value.", "type": "number" } } }, "operaVersionNumberType": { "type": "string", "description": "Current Opera Version Number", "minLength": 0, "maxLength": 40 }, "operaVersion": { "type": "object", "description": "Response for Ping operation.", "properties": { "operaVersion": { "description": "Opera version number.", "$ref": "#/definitions/operaVersionNumberType" }, "links": { "$ref": "#/definitions/links" }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "validateToursRS": { "type": "object", "description": "A response collection of tour series after validation.", "properties": { "toursInfo": { "description": "A response collection of tour series.", "type": "array", "maxItems": 4000, "items": { "$ref": "#/definitions/validateTourRS" } } } }, "validateTourRS": { "type": "object", "properties": { "hotelId": { "description": "This is the hotel code or resort.", "type": "string", "minLength": 0, "maxLength": 20 }, "blockCode": { "description": "Block code.", "type": "string", "minLength": 0, "maxLength": 20 }, "warningMsg": { "description": "Warning message associated.", "$ref": "#/definitions/warningType" } } }, "hotelConfigDetails": { "type": "object", "description": "Response object for fetching lists of Property summary information.", "properties": { "hotelSummaryList": { "type": "array", "description": "Lists of Hotel summary information.", "items": { "$ref": "#/definitions/hotelSummaryType" } }, "totalPages": { "description": "Evaluated total page count based on the requested max fetch count.", "type": "integer" }, "offset": { "description": "Index or initial index of the set(page) being requested. If the index goes out of the bounds of the total set count then no data will be returned.", "type": "integer" }, "limit": { "description": "Indicates maximum number of records a Web Service should return.", "type": "integer" }, "hasMore": { "description": "Indicates whether all the records are included in the response or not. Absence of the attribute values should be consider as all rows fetched in the response.", "type": "boolean" }, "totalResults": { "description": "Total number of rows queried", "type": "integer" }, "count": { "description": "Total number of rows returned", "type": "integer" }, "links": { "$ref": "#/definitions/links" }, "warnings": { "$ref": "#/definitions/warningsType" } } }, "hotelSummaryType": { "type": "object", "description": "A brief summary of information about a hotel.", "properties": { "hotelId": { "description": "Code identifying the hotel.", "type": "string", "minLength": 0, "maxLength": 20 }, "hotelName": { "description": "The name of the hotel.", "type": "string", "minLength": 0, "maxLength": 80 }, "activeDate": { "description": "Date when the hotel becomes valid for use.", "type": "string", "format": "date", "maxLength": 8 }, "inactiveDate": { "description": "Date when the hotel becomes invalid for use.", "type": "string", "format": "date", "maxLength": 8 }, "chainCode": { "description": "Hotels Chain Code. This attribute uniquely assign Hotel to a single chain.", "type": "string", "minLength": 0, "maxLength": 20 }, "propertyType": { "description": "Property Type Description. The property type defined for the hotel", "type": "string", "minLength": 0, "maxLength": 2000 }, "brandCode": { "description": "Property brand code.", "type": "string", "minLength": 0, "maxLength": 20 } } }, "searchBlocksRequest": { "type": "object", "properties": { "hotelId": { "type": "string", "description": "" }, "markAsRecentlyAccessed": { "type": "boolean", "description": "Mark this block as recently accessed." }, "limit": { "type": "integer", "maximum": 200, "description": "Indicates maximum number of records a Web Service should return." }, "offset": { "type": "integer", "default": 0, "description": "Index or initial index of the set(page) being requested. If the index goes out of the bounds of the total set count then no data will be returned." }, "multipleHotelsSearchHotelIds": { "type": "array", "items": { "type": "string" }, "maxItems": 4000, "description": "Hotel code." }, "superSearch": { "type": "string", "description": "Free form text field for searching block fields" }, "blockIdList": { "type": "array", "items": { "type": "string" }, "description": "A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation." }, "blockIdType": { "type": "array", "items": { "type": "string" }, "description": "A reference to the type of object defined by the UniqueID element." }, "externalReferenceIds": { "type": "array", "items": { "type": "string" }, "description": "A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation." }, "externalSystemCodes": { "type": "array", "items": { "type": "string" }, "description": "Used to identify the source of the identifier (e.g., IATA, ABTA)." }, "blockCode": { "type": "string", "description": "Block code" }, "blockName": { "type": "string", "description": "Block Name" }, "blockOwner": { "type": "array", "items": { "type": "string" }, "maxItems": 4000, "description": "Block Owner." }, "blockStatus": { "type": "array", "items": { "type": "string" }, "maxItems": 4000, "description": "Block Status." }, "cateringStatus": { "type": "array", "items": { "type": "string" }, "maxItems": 4000, "description": "Catering Status." }, "reservationMethod": { "type": "array", "items": { "type": "string", "maxLength": 20 }, "maxItems": 50, "description": "Mode of reservation (e.g. EML, TEL, FRTDSK )." }, "createdByUser": { "type": "string", "description": "user who created the Block(s)." }, "blockStartEndDate": { "type": "string", "format": "date", "description": "The ending value of the date range." }, "blockStartStartDate": { "type": "string", "format": "date", "description": "The starting value of the date range." }, "blockEndEndDate": { "type": "string", "format": "date", "description": "The ending value of the date range." }, "blockEndStartDate": { "type": "string", "format": "date", "description": "The starting value of the date range." }, "reservationArrival": { "type": "string", "format": "date", "description": "Date when guests plan to arrive(first night stay date)." }, "reservationDeparture": { "type": "string", "format": "date", "description": "Date when guests plan to leave(last stay day date)." }, "includeShoulderDates": { "type": "boolean", "description": "Whether to include shoulder dates when considering stay date." }, "stayDate": { "type": "string", "format": "date" }, "blockCreatedOnEndDate": { "type": "string", "format": "date", "description": "The ending value of the date range." }, "blockCreatedOnStartDate": { "type": "string", "format": "date", "description": "The starting value of the date range." }, "decisionEndDate": { "type": "string", "format": "date", "description": "The ending value of the date range." }, "decisionStartDate": { "type": "string", "format": "date", "description": "The starting value of the date range." }, "cutOffEndDate": { "type": "string", "format": "date", "description": "The ending value of the date range." }, "cutOffStartDate": { "type": "string", "format": "date", "description": "The starting value of the date range." }, "category": { "type": "array", "items": { "$ref": "#/definitions/categoryEnum" }, "description": "Simple type for block instructions to be used in requests for fetching blocks. Valid status values are Group, Source, TravelAgent, Contact, Company." }, "name": { "type": "array", "items": { "type": "string" }, "description": "Attached profile name" }, "attachedProfileId": { "type": "string", "description": "A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation." }, "attachedProfileIdType": { "type": "string", "description": "A reference to the type of object defined by the UniqueID element." }, "leads": { "type": "boolean", "description": "Show Leads in the search result." }, "tourSeries": { "type": "boolean", "description": "Show tour series in the search result." }, "onlyPickupBlocks": { "type": "boolean", "description": "Fetch only blocks which are open for pickup, if true. If the value is false, fetch all block statuses." }, "onlyOpportunities": { "type": "boolean", "description": "Indicates that only Opportunity blocks will be fetched." }, "excludeMasterBlocks": { "type": "boolean", "description": "Indicates that all master blocks will be excluded from the results. (Master Blocks, Master Allocations, Master Tours, and Master Itineraries)." }, "ratePlanCode": { "type": "array", "items": { "type": "string" }, "maxItems": 4000, "description": "Rate Plan Code." }, "tourCode": { "type": "string", "description": "Tour code for the block." }, "attributeName": { "type": "array", "items": { "type": "string" } }, "orderType": { "type": "array", "items": { "$ref": "#/definitions/orderTypeEnum" } }, "returnEligibleMasterAllocations": { "type": "boolean", "description": "Return only master allocations that are eligible to be the master for the business block to be converted to sub allocation specified in `targetSubAllocationBlockId`." }, "targetSubAllocationBlockId": { "type": "string", "description": "The ID of the regular business block that is being converted to sub allocation." }, "returnEligibleMasterTours": { "type": "boolean", "description": "Return only master tours or master itineraries that are eligible to be the master for the business block being converted to either a sub tour or a sub itinerary." }, "fetchInstructions": { "type": "array", "items": { "$ref": "#/definitions/fetchInstructionsEnum" }, "description": "Type for block instructions that can be used in requests for partial operations." }, "fetchAllocatedRoomTypes": { "type": "boolean", "description": "Indicates whether to fetch only those room types that have rooms allocated. If this flag is true then only those room types with rooms allocated for the block are fetched. Only applicable to fetch instruction RateGrid." }, "additionalCriteriaStartDate": { "type": "string", "format": "date", "description": "Start Date for the rate grid data. Only applicable to fetch instruction RateGrid." }, "numberOfDays": { "type": "number", "description": "Number of days to fetch for the rate grid data. Only applicable to fetch instruction RateGrid." }, "adults": { "type": "integer", "description": "Defines the number of Adults." }, "children": { "type": "integer", "description": "Defines the number of Children." }, "childAge": { "type": "array", "items": { "type": "integer" }, "description": "Age of a child in years." }, "bucket1Count": { "type": "integer", "description": "Number of children classified under the first Age Qualifying Group(Child Bucket#1)." }, "bucket2Count": { "type": "integer", "description": "Number of children classified under the second Age Qualifying Group(Child Bucket#2)." }, "bucket3Count": { "type": "integer", "description": "Number of children classified under the third Age Qualifying Group(Child Bucket#3)." }, "bucket4Count": { "type": "integer", "description": "Number of children classified under the fourth Age Qualifying Group(Child Bucket#4)." }, "bucket5Count": { "type": "integer", "description": "Number of children classified under the fifth Age Qualifying Group(Child Bucket#5)." }, "existingReservationId": { "type": "string", "description": "A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation." }, "existingReservationIdType": { "type": "string", "description": "A reference to the type of object defined by the UniqueID element." }, "roomAllocationCriteria": { "type": "array", "items": { "$ref": "#/definitions/roomAllocationCriteriaEnum" }, "description": "Simple type for block allocation used in room rate grid." }, "roomType": { "type": "array", "items": { "type": "string" }, "maxItems": 4000, "description": "The Room Types that need to be fetched for the rate room grid data. If these values are not provided, all room types for the block will be fetched." }, "additionalCriteriaRatePlanCode": { "type": "string", "description": "Rate Plan to use for fetching rates." }, "currencyCode": { "type": "string", "description": "Curency in which the grid rates should be fetched." }, "accessRestriction": { "type": "array", "items": { "$ref": "#/definitions/accessRestrictionEnum" }, "description": "Simple type for block access exclusion/restriction types." }, "cateringOnly": { "type": "boolean", "description": "Filter blocks which are marked as Catering only. Only Catering only blocks are returned when true." }, "marketCode": { "type": "array", "items": { "type": "string" }, "maxItems": 40, "description": "Filter blocks based on market code, If not provided all the blocks will be returned." }, "sourceCode": { "type": "array", "items": { "type": "string" }, "maxItems": 40, "description": "Filter blocks based on source code, If not provided all the blocks will be returned." } } }, "categoryEnum": { "type": "string", "enum": [ "Group", "Source", "Agent", "Contact", "Company", "Account" ] }, "orderTypeEnum": { "type": "string", "enum": [ "Asc", "Desc" ] }, "fetchInstructionsEnum": { "type": "string", "enum": [ "AccessExclusions", "Aliases", "AlternateDates", "Attachments", "Block", "BlockNextStatuses", "BlockStatusHistory", "CatNextStatuses", "CatStatusHistory", "CentralSalesLeads", "Comments", "DateProtect", "ExternalReferences", "GenericRateGrid", "Header", "Indicators", "InventoryItems", "Owners", "Packages", "Policies", "PrimaryOwners", "PrimaryProfiles", "PrimaryRates", "Profiles", "RateGrid", "RateProgram", "Rates", "Restrictions", "SellMessages", "Statistics", "SummaryStatistics", "Traces", "WashSchedules", "IncludeSubBlocks" ] }, "roomAllocationCriteriaEnum": { "type": "string", "enum": [ "Initial", "Actual", "Rates", "Pickup", "Contract", "Available", "Pickupperc", "Changes", "Released", "Houseavailability", "SellLimit", "AvailableSellLimit", "MasterAllocInitial", "Allocated", "SubAllocResv", "CutoffDate" ] }, "accessRestrictionEnum": { "type": "string", "enum": [ "Availability", "Create", "Modify", "Cancel" ] }, "traceFrequencyType": { "type": "object", "description": "Defines the trace frequency settings and associated parameters for creating reservation traces. Fields are conditionally required depending on the selected traceFrequencyPattern value.", "properties": { "traceFrequencyPattern": { "description": "Selects how frequently the trace should be generated.", "$ref": "#/definitions/traceFrequencyPatternType" }, "startOnDayY": { "description": "Applicable to 'Every X Nights Starting Night Y' frequency pattern. Specifies which day the trace should first be generated.", "type": "integer", "minimum": 1, "maximum": 99 }, "everyXDays": { "description": "Applicable to 'Every X Nights Starting Night Y' frequency pattern. Determines how often the trace recurs after the start day.", "type": "integer", "minimum": 1, "maximum": 99 }, "certainNightsOfTheWeek": { "description": "Applicable to 'Certain Nights Of The Week' frequency pattern. Represents which weekdays a trace should be generated for.", "$ref": "#/definitions/certainNightsOfTheWeek" }, "daysPriorToArrival": { "description": "Applicable to 'X Days Prior To Arrival' frequency pattern. Represents the days prior to arrival on which a trace should be generated.", "type": "integer", "minimum": 1, "maximum": 99 } } }, "traceFrequencyPatternType": { "type": "string", "description": "Defines the Trace Frequency for the created trace. Traces created with a defined trace frequency will have the trace dates automatically updated when a reservation changes based on selected frequency and corresponding configuration.", "enum": [ "ArrivalNight", "EveryXNightsStartingNightY", "CertainNightsOfTheWeek", "DepartureNight", "EveryNight", "XDaysPriorToArrival" ] }, "certainNightsOfTheWeek": { "description": "Supports the 'Certain Nights Of The Week' trace frequency option by indicating on which days traces should be generated.", "type": "object", "properties": { "sunday": { "description": "If true, a trace will be created for every Sunday on the reservation.", "type": "boolean" }, "monday": { "description": "If true, a trace will be created for every Monday on the reservation.", "type": "boolean" }, "tuesday": { "description": "If true, a trace will be created for every Tuesday on the reservation.", "type": "boolean" }, "wednesday": { "description": "If true, a trace will be created for every Wednesday on the reservation.", "type": "boolean" }, "thursday": { "description": "If true, a trace will be created for every Thursday on the reservation.", "type": "boolean" }, "friday": { "description": "If true, a trace will be created for every Friday on the reservation.", "type": "boolean" }, "saturday": { "description": "If true, a trace will be created for every Saturday on the reservation.", "type": "boolean" } } } }, "tags": [ { "name": "BlockExternal", "description": "The Block External module provides operations for OPERA Cloud to access blocks from an external interfaces. It also offers capability for downloading external blocks into OPERA Cloud." }, { "name": "Block", "description": "These APIs will allow you to completely create and manage your block in OPERA Cloud - including all related functionalities of a block such as manage Room allocation, Status update, block reservations.You can search for a block, get a Block, update and create new Blocks." }, { "name": "BlockStats", "description": "Block Statistics provide statistical data of blocks that exist in OPERA Cloud." } ], "externalDocs": { "description": "Find out more about Oracle Hospitality", "url": "https://docs.oracle.com/en/industries/hospitality/integration_platforms.html" } }