Skip to content

enrollmentStatus

Query

Get the status of an enrollment by enrollment ID

Query Signature

query {
enrollmentStatus(enrollmentId: String!): EnrollmentStatusResponse!
}

Example Request

query EnrollmentStatus($enrollmentId: String!) {
enrollmentStatus(enrollmentId: $enrollmentId) {
# Add fields you want to retrieve
}
}

Example Variables:

{
"enrollmentId": "enroll-abc123xyz"
}

Example Response

{
"data": {
"enrollmentStatus": {
"data": {
"qaCall": "COMPLETED",
"createContact": "COMPLETED",
"createNotes": "COMPLETED",
"createDebts": "COMPLETED",
"createBudget": "COMPLETED",
"createEnrollmentPlan": "COMPLETED",
"createBankAccount": "COMPLETED",
"createDocuments": "COMPLETED"
},
"errors": null
}
}
}

Arguments

ArgumentTypeDescription
enrollmentIdString!TBD

Response Type

Returns: EnrollmentStatusResponse!

EnrollmentStatusResponse

Response wrapper for enrollmentStatus query

FieldTypeDescription
dataEnrollmentStatusDataEnrollment status data on success
errors[EnrollmentError]List of errors if enrollment not found or processing failed

EnrollmentStatusData

Enrollment status data containing the current state

FieldTypeDescription
contactIdStringContact ID, populated once contact creation completes successfully
qaCallEnrollmentStatus!QA call status - indicates the current state of the enrollment processing
createContactEnrollmentStatus!Contact creation status
createEnrollmentPlanEnrollmentStatus!Enrollment plan creation status
createNotesEnrollmentStatus!Notes creation status
createDebtsEnrollmentStatus!Debts creation status
createBudgetEnrollmentStatus!Budget creation status
createBankAccountEnrollmentStatus!Bank account creation status
createDocumentsEnrollmentStatus!Documents creation status

EnrollmentError

Error type for enrollment operations

FieldTypeDescription
messageStringError message describing the issue

Additional Enums

EnrollmentStatus

Current status of the enrollment

ValueDescription
PENDINGThe operation has not started yet
IN_PROGRESSThe operation is currently being processed
COMPLETEDThe operation finished successfully
FAILEDThe operation encountered an error and did not complete
SKIPPEDThe operation was skipped (e.g., no data to process)

Error Types

The response may include the following error types:

EnrollmentError

Error type for enrollment operations

FieldTypeDescription
messageStringError message describing the issue

Error Details

Input Validation Errors

Error CodeDescriptionResolution
INVALID_ENROLLMENT_IDThe enrollmentId must be a valid UUID formatEnsure enrollmentId is the UUID returned from createEnrollment

Query Errors

Error CodeDescriptionResolution
Enrollment with id {id} not foundNo enrollment exists with the specified IDVerify the enrollmentId was returned from a successful createEnrollment call