{
  "opencollection": "1.0.0",
  "info": {
    "name": "LeaseAccelerator Documents Reporting API",
    "version": "26.3"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "token",
      "value": "{{token}}",
      "placement": "query"
    }
  },
  "items": [
    {
      "info": {
        "name": "Reporting",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Generate Report or Document",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{environment}.leaseaccelerator.com/lease_accelerator/api/LeaseAccelerator/Generate",
            "body": {
              "type": "multipart-form",
              "data": [
                {
                  "name": "token",
                  "type": "text",
                  "value": ""
                },
                {
                  "name": "file",
                  "type": "text",
                  "value": ""
                }
              ]
            }
          },
          "docs": "This method consists of the set of parameters needed to generate the requested document or report. See Generate Report Asynch for additional report generation options.\n\nOperation key: `Generate`. Reference: https://docs-leaseaccelerator.insightsoftware.com/hc/en-us/articles/33895853166093-API-Methods"
        },
        {
          "info": {
            "name": "Generate Report Asynch",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{environment}.leaseaccelerator.com/lease_accelerator/api/LeaseAccelerator/GenerateAsynch",
            "body": {
              "type": "multipart-form",
              "data": [
                {
                  "name": "token",
                  "type": "text",
                  "value": ""
                },
                {
                  "name": "file",
                  "type": "text",
                  "value": ""
                }
              ]
            }
          },
          "docs": "This method is like the Generate method as it consists of the set of parameters needed to generate the requested document or report. The only difference between the Generate API and the GenerateAsynch API, is that instead of the report being returned directly to the screen, this API will just make the call and return the request id. Run Generate Report Asynch which will return a request id. Use request id returned as input to the Get Report Status operation. Rerun until Get Report Status returns"
        },
        {
          "info": {
            "name": "Get Report Status",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{environment}.leaseaccelerator.com/lease_accelerator/api/LeaseAccelerator/GetReportStatus",
            "body": {
              "type": "multipart-form",
              "data": [
                {
                  "name": "token",
                  "type": "text",
                  "value": ""
                },
                {
                  "name": "file",
                  "type": "text",
                  "value": ""
                }
              ]
            }
          },
          "docs": "The GetReportStatus operation is used to fetch the status of Generate Report Asynch based on the request id. Run Generate Report Asynch which will return a request id. Use request id returned as input to the Get Report Status operation. Rerun until Get Report Status returns a status of Success and non-null Endtime. Next retrieve the actual file using request id as input to the Get Report File operation. The request payload is as below.\n\nOperation key: `GetReportStatus`. Reference: https://docs-l"
        },
        {
          "info": {
            "name": "Get Report File",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{environment}.leaseaccelerator.com/lease_accelerator/api/LeaseAccelerator/GetReportFile",
            "body": {
              "type": "multipart-form",
              "data": [
                {
                  "name": "token",
                  "type": "text",
                  "value": ""
                },
                {
                  "name": "file",
                  "type": "text",
                  "value": ""
                }
              ]
            }
          },
          "docs": "The GetReportFile operation is used to fetch the file generated by the Generate Report Asynch operation based on the request id. Run Generate Report Asynch which will return a request id. Use request id returned as input to the Get Report Status operation. Rerun until Get Report Status returns a status of Success and non-null Endtime. Retrieve the actual file using request id as input to the Get Report File operation. The request payload is as below.\n\nOperation key: `GetReportFile`. Reference: h"
        }
      ]
    }
  ],
  "bundled": true
}