DFE-Digital / ecf2

This application will replace the Manage training for early career teachers service in 2025.
5 stars 0 forks source link

Integrating the claim journey with the TRS API client #288

Open peteryates opened 1 day ago

peteryates commented 1 day ago

The claim journey was added in #265 with some FIXME and TODO notes for API client integration. The API client was just added in in #250 so we can now integrate them.

Tasks

{
  "alerts": [
    {
      "alertId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "alertType": {
        "alertTypeId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "alertCategory": {
          "alertCategoryId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
          "name": "string"
        },
        "name": "string"
      },
      "startDate": "2024-09-18",
      "endDate": "2024-09-18"
    }
  ],
  "induction": {
    "startDate": "2024-09-18",
    "endDate": "2024-09-18",
    "status": "Exempt",
    "statusDescription": "string",
    "certificateUrl": "string"
  },
  "trn": "string",
  "firstName": "string",
  "middleName": "string",
  "lastName": "string",
  "dateOfBirth": "2024-09-18",
  "nationalInsuranceNumber": "string",
  "pendingNameChange": true,
  "pendingDateOfBirthChange": true,
  "emailAddress": "string",
  "qts": {
    "awarded": "2024-09-18",
    "certificateUrl": "string",
    "statusDescription": "string"
  },
  "eyts": {
    "awarded": "2024-09-18",
    "certificateUrl": "string",
    "statusDescription": "string"
  },
  "initialTeacherTraining": [
    {
      "qualification": {
        "name": "string"
      },
      "ageRange": {
        "description": "string"
      },
      "provider": {
        "name": "string",
        "ukprn": "string"
      },
      "subjects": [
        {
          "code": "string",
          "name": "string"
        }
      ],
      "startDate": "2024-09-18",
      "endDate": "2024-09-18",
      "programmeType": "Apprenticeship",
      "programmeTypeDescription": "string",
      "result": "Pass"
    }
  ],
  "npqQualifications": [
    {
      "type": {
        "code": "NPQEL",
        "name": "string"
      },
      "awarded": "2024-09-18",
      "certificateUrl": "string"
    }
  ],
  "mandatoryQualifications": [
    {
      "awarded": "2024-09-18",
      "specialism": "string"
    }
  ],
  "higherEducationQualifications": [
    {
      "subjects": [
        {
          "code": "string",
          "name": "string"
        }
      ],
      "name": "string",
      "awarded": "2024-09-18"
    }
  ],
  "previousNames": [
    {
      "firstName": "string",
      "middleName": "string",
      "lastName": "string"
    }
  ],
  "allowIdSignInWithProhibitions": true
}
claire-hughez commented 19 hours ago

Catch up with Emily P on this ticket today. Just on fields we want to display.