{
  "opencollection": "1.0.0",
  "info": {
    "name": "OPERA Cloud Integration Processor API",
    "version": "26.2.0.0"
  },
  "items": [
    {
      "info": {
        "name": "IntegrationProcessor",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Business Events by External System",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/externalSystem/:extSystemCode/businessEvents",
            "headers": [
              {
                "name": "authorization",
                "value": ""
              },
              {
                "name": "externalData",
                "value": ""
              },
              {
                "name": "x-app-key",
                "value": ""
              },
              {
                "name": "x-request-id",
                "value": ""
              },
              {
                "name": "x-originating-application",
                "value": ""
              },
              {
                "name": "x-hotelid",
                "value": ""
              },
              {
                "name": "x-externalsystem",
                "value": ""
              },
              {
                "name": "Accept-Language",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "extSystemCode",
                "value": "",
                "type": "path",
                "description": "External system code which will be used to dequeue the events"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of messages web service should dequeue from the BE queue."
              }
            ]
          },
          "docs": "Business Event messages are placed in a queue. Use this API to dequeue/fetch the Business Event messages based on the external system for all hotels within the same chain. In order to get events, you must have a unique consumer code for the External System and hotels. <p><strong>OperationId:</strong>getBusinessEventsByExternalSystem</p> <p>The maximum allowable limit for this API is <strong>20</strong>.</p>"
        },
        {
          "info": {
            "name": "Get Business Events by External System and Hotel ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/externalSystem/:extSystemCode/hotels/:hotelId/businessEvents",
            "headers": [
              {
                "name": "authorization",
                "value": ""
              },
              {
                "name": "externalData",
                "value": ""
              },
              {
                "name": "x-app-key",
                "value": ""
              },
              {
                "name": "x-request-id",
                "value": ""
              },
              {
                "name": "x-originating-application",
                "value": ""
              },
              {
                "name": "x-hotelid",
                "value": ""
              },
              {
                "name": "x-externalsystem",
                "value": ""
              },
              {
                "name": "Accept-Language",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "hotelId",
                "value": "",
                "type": "path",
                "description": "Unique OPERA Hotel code"
              },
              {
                "name": "extSystemCode",
                "value": "",
                "type": "path",
                "description": "External system code which will be used to dequeue the events."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of messages web service should dequeue from the BE queue."
              }
            ]
          },
          "docs": "Business Event messages are placed in a queue. Use this API to fetch(dequeue) the Business Event messages based on the External System and Hotel ID. In order to get property specific business event messages, you must have a unique consumer code (OPERA Cloud UI > Toolbox > External Database) for the External System and the Hotel ID. <p><strong>OperationId:</strong>getBusinessEvents</p> <p>The maximum allowable limit for this API is <strong>20</strong>.</p>"
        }
      ]
    }
  ],
  "bundled": true
}