{
  "opencollection": "1.0.0",
  "info": {
    "name": "OPERA Cloud CRM Asynchronous API",
    "version": "26.2.0.0"
  },
  "items": [
    {
      "info": {
        "name": "CRMAsync",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "This API facilitates uploading stage records to LCS.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/stayRecords",
            "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": "Accept-Language",
                "value": ""
              }
            ]
          },
          "docs": "A user can upload various stay records to OPERA by specifying stay record column details in the request.<p><strong>OperationId:</strong>stayRecords</p>"
        },
        {
          "info": {
            "name": "This API facilitates fetching the status for stay records uploaded.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/stayRecords/:requestId",
            "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": "Accept-Language",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "requestId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Use this to check whether the request sent have been processed. <p><strong>OperationId:</strong>getStayRecordsProcess</p>"
        },
        {
          "info": {
            "name": "This API returns the status of asynchronous process scheduled for given id.",
            "type": "http"
          },
          "http": {
            "method": "HEAD",
            "url": "{{baseUrl}}/stayRecords/:requestId",
            "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": "Accept-Language",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "requestId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Use this to check whether the request sent have been processed. <p><strong>OperationId:</strong>getStayRecordsProcessStatus</p>"
        },
        {
          "info": {
            "name": "This API facilitates deleting multiple suspended stay records based on criteria.",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/deleteSuspendedStays",
            "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": "Accept-Language",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "hotelId",
                "value": "",
                "type": "query",
                "description": "Hotel code."
              },
              {
                "name": "reservationStatus",
                "value": "",
                "type": "query",
                "description": "Status of reservation."
              },
              {
                "name": "importDate",
                "value": "",
                "type": "query",
                "description": "Date of creation or import of stay."
              },
              {
                "name": "importDateFrom",
                "value": "",
                "type": "query",
                "description": "From date of creation or import of stay."
              },
              {
                "name": "importDateTo",
                "value": "",
                "type": "query",
                "description": "To date of creation or import of stay."
              },
              {
                "name": "arrivalDateFrom",
                "value": "",
                "type": "query",
                "description": "From date of arrival of reservation."
              },
              {
                "name": "arrivalDateTo",
                "value": "",
                "type": "query",
                "description": "To date of arrival of reservation."
              },
              {
                "name": "departureDateFrom",
                "value": "",
                "type": "query",
                "description": "From date of departure of reservation."
              },
              {
                "name": "departureDateTo",
                "value": "",
                "type": "query",
                "description": "To date of departure of reservation."
              },
              {
                "name": "pmsResvConfNo",
                "value": "",
                "type": "query",
                "description": "Reservation confirmation number in PMS."
              },
              {
                "name": "clientID",
                "value": "",
                "type": "query",
                "description": "Client ID/Corp/IATA of the profile in central."
              },
              {
                "name": "pmsNameID",
                "value": "",
                "type": "query",
                "description": "Profile number in PMS."
              },
              {
                "name": "membershipType",
                "value": "",
                "type": "query",
                "description": "Membership type of the profile."
              },
              {
                "name": "membershipNo",
                "value": "",
                "type": "query",
                "description": "Membership number of the profile."
              },
              {
                "name": "errorDescription",
                "value": "",
                "type": "query",
                "description": "Suspended reason description."
              }
            ]
          },
          "docs": "This API can be used to delete multiple suspended stay records based on the available criteria. <p><strong>OperationId:</strong>deleteSuspendedStays</p>"
        },
        {
          "info": {
            "name": "This API facilitates fetching the status for suspended stay records deleted.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/deleteSuspendedStays/:requestId",
            "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": "Accept-Language",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "requestId",
                "value": "",
                "type": "path",
                "description": "Request Id for polling."
              }
            ]
          },
          "docs": "Use this to check whether the request sent has been processed. <p><strong>OperationId:</strong>getSuspendedStaysDelete</p>"
        },
        {
          "info": {
            "name": "This API retrieves the status of the delete suspended stays asynchronous process based on unique request id.",
            "type": "http"
          },
          "http": {
            "method": "HEAD",
            "url": "{{baseUrl}}/deleteSuspendedStays/:requestId",
            "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": "Accept-Language",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "requestId",
                "value": "",
                "type": "path",
                "description": "Request Id for polling."
              }
            ]
          },
          "docs": "Use the API to retrieve the status of the delete suspended stays process job associated with the unique request ID obtained from the 'Location' header in the deleteSuspendedStays API response. <p><strong>OperationId:</strong>getSuspendedStaysDeleteStatus</p>"
        }
      ]
    }
  ],
  "bundled": true
}