{
  "opencollection": "1.0.0",
  "info": {
    "name": "Infor ION API Gateway ION Documents API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "https://inforos.infor.com/INFOR_DEV/as/token.oauth2",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "ION Documents",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List ION documents",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{os}/{tenant}/{product}/ion-api/documents",
            "params": [
              {
                "name": "documentType",
                "value": "",
                "type": "query",
                "description": "ION document type filter (e.g., \"SyncSalesOrder\")"
              },
              {
                "name": "status",
                "value": "",
                "type": "query"
              },
              {
                "name": "from",
                "value": "",
                "type": "query"
              },
              {
                "name": "to",
                "value": "",
                "type": "query"
              },
              {
                "name": "pageSize",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Returns ION business document routing records including status, sender, receiver, and document type."
        },
        {
          "info": {
            "name": "Get ION document",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{os}/{tenant}/{product}/ion-api/documents/:documentId",
            "params": [
              {
                "name": "documentId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Returns a specific ION document by its document ID including payload and routing history."
        }
      ]
    }
  ],
  "bundled": true
}