{
  "opencollection": "1.0.0",
  "info": {
    "name": "App Marketplace accounting-entries Export API (v1) API",
    "version": "39.4.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Export API (v1)",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Create an Export Job Event",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://external.pleo.io/v1/export-job-events",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "\n            The Export Job Events imply the different status of an Export Job through the export lifecycle.\n            Use this endpoint to create a new status.\n            For example, started event implies the export job is initiated.\n            The existing Export Job Events are as follows:\n            - started: An export job is initiated. This allows the integration\n                service to start processing the export job items.\n            - failed: The export job has failed when an i"
        },
        {
          "info": {
            "name": "Get a list of Export Jobs",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://external.pleo.io/v1/export-jobs",
            "params": [
              {
                "name": "company_id",
                "value": "",
                "type": "query",
                "description": "Enter the specific company ID for which you want to retrieve the list of export jobs processed before."
              },
              {
                "name": "status",
                "value": "",
                "type": "query",
                "description": "Fetch a list of jobs for a specific status."
              },
              {
                "name": "statuses",
                "value": "",
                "type": "query",
                "description": "Fetch a list of jobs for specific statuses."
              },
              {
                "name": "before",
                "value": "",
                "type": "query",
                "description": "Lower bound of the page of data to return (cannot be used together with [after] or [offset])."
              },
              {
                "name": "after",
                "value": "",
                "type": "query",
                "description": "Upper bound of the page of data to return (cannot be used together with [before] or [offset])."
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "Offset of the page of data to return (cannot be used together with [before] or [after])."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "The maximum amount of items to return."
              },
              {
                "name": "sorting_keys",
                "value": "",
                "type": "query",
                "description": "The keys to sort the results by."
              },
              {
                "name": "sorting_order",
                "value": "",
                "type": "query",
                "description": "The order to sort the results by. Must be the same length as [sortingKeys]; one order per key."
              }
            ]
          },
          "docs": "Fetch a list of export jobs"
        },
        {
          "info": {
            "name": "Create a new export job",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://external.pleo.io/v1/export-jobs",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new export job"
        },
        {
          "info": {
            "name": "Get an Export Job",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://external.pleo.io/v1/export-jobs/:jobId",
            "params": [
              {
                "name": "jobId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieve an export job for a given export job ID"
        },
        {
          "info": {
            "name": "Get Export Job Items",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://external.pleo.io/v1/export-jobs/:jobId/items",
            "params": [
              {
                "name": "jobId",
                "value": "",
                "type": "path"
              },
              {
                "name": "status",
                "value": "",
                "type": "query",
                "description": "Enter a specific status with which the list of export job items returned conforms."
              },
              {
                "name": "before",
                "value": "",
                "type": "query",
                "description": "Lower bound of the page of data to return (cannot be used together with [after] or [offset])."
              },
              {
                "name": "after",
                "value": "",
                "type": "query",
                "description": "Upper bound of the page of data to return (cannot be used together with [before] or [offset])."
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "Offset of the page of data to return (cannot be used together with [before] or [after])."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "The maximum amount of items to return."
              },
              {
                "name": "sorting_keys",
                "value": "",
                "type": "query",
                "description": "The keys to sort the results by."
              },
              {
                "name": "sorting_order",
                "value": "",
                "type": "query",
                "description": "The order to sort the results by. Must be the same length as [sortingKeys]; one order per key."
              }
            ]
          },
          "docs": "Fetch a list of export job items"
        },
        {
          "info": {
            "name": "Update Export Job Items",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://external.pleo.io/v1/export-jobs/:jobId/items",
            "params": [
              {
                "name": "jobId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update the status and other attributes of the export job items in batches of 100. This API only supports updating up to 100 items."
        }
      ]
    }
  ],
  "bundled": true
}