POST
/
enrollments
/
{public_id}
/
save_and_submit
curl --request POST \
  --url https://sandbox.withclasp.com/enrollments/{public_id}/save_and_submit \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "enrolled_plans": [
    {
      "plan": "<string>",
      "premium": "<string>",
      "employer_contribution": "<string>",
      "member_contribution": "<string>",
      "payroll_provider_external_id": "<string>",
      "enrolled_dependents": [
        {
          "plan": "<string>",
          "dependent": "<string>",
          "primary_care_provider": {
            "full_name": "<string>",
            "is_existing_patient": true,
            "provider_id_number": "<string>"
          }
        }
      ],
      "primary_care_provider": {
        "full_name": "<string>",
        "is_existing_patient": true,
        "provider_id_number": "<string>"
      },
      "effective_start": "2023-12-25",
      "effective_end": "2023-12-25"
    }
  ],
  "member": "<string>",
  "reason": "new_child",
  "category": "qle",
  "effective_start": "2023-12-25",
  "effective_end": "2023-12-25",
  "coverage_waivers": [
    {
      "line_of_coverage": "accident",
      "reason": "covered_as_dependent",
      "member": "<string>",
      "dependent": "<string>"
    }
  ]
}'
{
  "id": "<string>",
  "enrolled_plans": [
    {
      "id": "<string>",
      "plan": "<string>",
      "premium": "<string>",
      "employer_contribution": "<string>",
      "member_contribution": "<string>",
      "payroll_provider_external_id": "<string>",
      "enrolled_dependents": [
        {
          "id": "<string>",
          "plan": "<string>",
          "dependent": "<string>",
          "primary_care_provider": {
            "id": "<string>",
            "full_name": "<string>",
            "is_existing_patient": true,
            "provider_id_number": "<string>"
          }
        }
      ],
      "primary_care_provider": {
        "id": "<string>",
        "full_name": "<string>",
        "is_existing_patient": true,
        "provider_id_number": "<string>"
      },
      "effective_start": "2023-12-25",
      "effective_end": "2023-12-25"
    }
  ],
  "member": "<string>",
  "reason": "new_child",
  "category": "qle",
  "effective_start": "2023-12-25",
  "effective_end": "2023-12-25",
  "status": "<any>",
  "created_at": "2023-11-07T05:31:56Z",
  "coverage_waivers": [
    {
      "line_of_coverage": "accident",
      "reason": "covered_as_dependent",
      "member": "<string>",
      "dependent": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

API Key authentication with required prefix "Bearer"

Path Parameters

public_id
string
required

Body

Response

200 - application/json

The response is of type object.