{
  "opencollection": "1.0.0",
  "info": {
    "name": "TD SYNNEX StreamOne Ion Partner Authentication Reports API",
    "version": "3"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "https://ion.tdsynnex.com/oauth/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Reports",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Reports",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://ion.tdsynnex.com/v3/accounts/:accountId/reports",
            "params": [
              {
                "name": "accountId",
                "value": "",
                "type": "path",
                "description": "Partner account identifier"
              }
            ]
          },
          "docs": "List all available business intelligence reports for the account."
        },
        {
          "info": {
            "name": "Get Report Metadata",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://ion.tdsynnex.com/v3/accounts/:accountId/reports/:reportId/metadata",
            "params": [
              {
                "name": "accountId",
                "value": "",
                "type": "path",
                "description": "Partner account identifier"
              },
              {
                "name": "reportId",
                "value": "",
                "type": "path",
                "description": "Report identifier"
              }
            ]
          },
          "docs": "Retrieve structure and schema information for a specific report."
        },
        {
          "info": {
            "name": "Get Report Data",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://ion.tdsynnex.com/v3/accounts/:accountId/reports/:reportId/data",
            "params": [
              {
                "name": "accountId",
                "value": "",
                "type": "path",
                "description": "Partner account identifier"
              },
              {
                "name": "reportId",
                "value": "",
                "type": "path",
                "description": "Report identifier"
              },
              {
                "name": "format",
                "value": "",
                "type": "query",
                "description": "Output format (omit for JSON, use 'csv' for CSV export)"
              },
              {
                "name": "startDate",
                "value": "",
                "type": "query",
                "description": "Report start date (YYYY-MM-DD)"
              },
              {
                "name": "endDate",
                "value": "",
                "type": "query",
                "description": "Report end date (YYYY-MM-DD)"
              }
            ]
          },
          "docs": "Access report data. Use format=csv query parameter to export as CSV."
        }
      ]
    }
  ],
  "bundled": true
}