{
  "opencollection": "1.0.0",
  "info": {
    "name": "Allianz Trade Claims API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "https://api.allianz-trade.com/oauth2/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Claims",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Allianz Trade List Claims",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.allianz-trade.com/v1/claims",
            "params": [
              {
                "name": "pageSize",
                "value": "20",
                "type": "query",
                "description": "Number of items per page (Allianz Trade pagination standard)"
              },
              {
                "name": "page",
                "value": "1",
                "type": "query",
                "description": "Page number starting from 1"
              },
              {
                "name": "totalRequired",
                "value": "false",
                "type": "query",
                "description": "Whether to include total count in response headers"
              },
              {
                "name": "policyId",
                "value": "POL-500123",
                "type": "query",
                "description": "Filter claims by policy identifier"
              },
              {
                "name": "claimStatus",
                "value": "submitted",
                "type": "query",
                "description": "Filter by claim status"
              }
            ]
          },
          "docs": "Retrieve a paginated list of insurance claims for your trade credit insurance policies."
        },
        {
          "info": {
            "name": "Allianz Trade Submit Claim",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.allianz-trade.com/v1/claims",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Submit a new insurance claim to Allianz Trade for a trade credit insurance policy when a debtor has defaulted on payment."
        },
        {
          "info": {
            "name": "Allianz Trade Get Claim",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.allianz-trade.com/v1/claims/:claimId",
            "params": [
              {
                "name": "claimId",
                "value": "CLM-500123",
                "type": "path",
                "description": "Unique identifier of the claim"
              }
            ]
          },
          "docs": "Retrieve details and current status for a specific insurance claim by its identifier."
        },
        {
          "info": {
            "name": "Allianz Trade Get Job Status",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.allianz-trade.com/v1/jobs/:jobId",
            "params": [
              {
                "name": "jobId",
                "value": "JOB-500789",
                "type": "path",
                "description": "Unique identifier of the async job"
              }
            ]
          },
          "docs": "Poll for the status of an asynchronous claim submission operation."
        }
      ]
    }
  ],
  "bundled": true
}