{
  "opencollection": "1.0.0",
  "info": {
    "name": "Aflac Enterprise Connect Claims Enrollment API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "https://auth.enterprise-connect.aflac.com/oauth/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Enrollment",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Aflac List Enrollments",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.enterprise-connect.aflac.com/v1/enrollments",
            "params": [
              {
                "name": "group_id",
                "value": "GRP-123456",
                "type": "query",
                "description": "Filter enrollments by employer group ID."
              },
              {
                "name": "employee_id",
                "value": "EMP-789012",
                "type": "query",
                "description": "Filter enrollments by employee ID."
              },
              {
                "name": "status",
                "value": "active",
                "type": "query",
                "description": "Filter by enrollment status (active, pending, terminated)."
              },
              {
                "name": "limit",
                "value": "50",
                "type": "query",
                "description": "Maximum number of results to return."
              },
              {
                "name": "offset",
                "value": "0",
                "type": "query",
                "description": "Number of results to skip for pagination."
              }
            ]
          },
          "docs": "Retrieve a list of benefit enrollments for a group or employee."
        },
        {
          "info": {
            "name": "Aflac Create Enrollment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.enterprise-connect.aflac.com/v1/enrollments",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Submit a new benefit enrollment for an employee into a supplemental insurance product."
        },
        {
          "info": {
            "name": "Aflac Get Enrollment",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.enterprise-connect.aflac.com/v1/enrollments/:enrollment_id",
            "params": [
              {
                "name": "enrollment_id",
                "value": "ENR-500123",
                "type": "path",
                "description": "Unique enrollment identifier."
              }
            ]
          },
          "docs": "Retrieve a specific enrollment record by ID."
        },
        {
          "info": {
            "name": "Aflac Update Enrollment",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.enterprise-connect.aflac.com/v1/enrollments/:enrollment_id",
            "params": [
              {
                "name": "enrollment_id",
                "value": "ENR-500123",
                "type": "path",
                "description": "Unique enrollment identifier."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update an existing enrollment record (e.g., change coverage level or dependents)."
        },
        {
          "info": {
            "name": "Aflac Terminate Enrollment",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.enterprise-connect.aflac.com/v1/enrollments/:enrollment_id",
            "params": [
              {
                "name": "enrollment_id",
                "value": "ENR-500123",
                "type": "path",
                "description": "Unique enrollment identifier."
              }
            ]
          },
          "docs": "Terminate an active enrollment for an employee (e.g., upon employment termination)."
        }
      ]
    }
  ],
  "bundled": true
}