STAJ2060 - Export eCAF OS-HELP Details

Purpose To export OS-HELP Students' data from Callista SMS to eCAF Portal using the API provided by the Government
SubSystem Statistics
Normally Run By Statistics specialist
Anticipated Frequency On demand, when the files are required for statistics processing.
Structure No Parameters
 

This job exports the OS-HELP External Study Loans for eligible students’ course enrolment data from Callista SMS to the Government eCAF Site using the API provided by the Department.

The process only exports students when all of the following conditions are met for the Student Course External Study Loan record:

  • The Loan Scheme is mapped to a Government Student Status of 240, 241 or 242
  • The 'OS-HELP eCAF Eligible' indicator is selected in ENRF3900
  • The 'OS-HELP Exported to eCAF' checkbox is not selected in ENRF3900
  • The Study Loan Status in ENRF3900 maps to the System Study Loan Status of ECAF-READY.

STAJ2060 is only available to all HE, VET and cross sector institutions.

This job is accessed via the main menu.

 

Parameters

  • No parameter form is displayed

Notes

No parameter exist for this job. The following message displays:

'No parameters exist for this job. Do you wish to schedule the job to run as soon as possible?'
Selecting “Yes” will schedule the job to run immediately.
Selecting “No” will not run the job nor schedule the job to run.

Processing Overview

The basic processing steps for STAJ2060 are as follows:

  1. Set up eCAF communication configuration.
  2. Filter out the loan records for export to eCAF.
  3. Loop through the list and process information from each one.
  4. When all records from the list are processed or skipped, create the job summary.

Initial Set Up

Determine which Records to Export

Source Details for Export for OS-HELP Loan

For records which pass all validations, a JSON object is constructed and sent to the eCAF Portal via the eCAF REST service URL recorded within the System Job Control (JBSF4600).

If the HTTP response has no errors, then the ‘OS-HELP Exported to eCAF’ indicator in ENRF3900 is selected (also occurs for a linked record, if one exists).

An S_LOG_ENTRY record, 'The student <p_person_id – p_course_cd> has been successfully transferred to the Government eCAF site for their OS-HELP loan application.', is created.

The ID (Identifier for the enrolment) returned by the eCAF Portal API is stored in the Callista database.

Summary Information

  • The following is output to the job run log: “STAJ2060 completed successfully. XX records processed. Check S_LOG_ENTRY for any processing errors.”

    osStudyType and Related Derivations

    Derive the osStudyType field based on the retrieved Government Student statusIf the retrieved value is:

    Technical Information

    The Government eCAF application is accessed by calling a Web Service provided by the Government. The Web Service provided follows the industry standard RESTful design.
    Tribal Callista's code interacts with the Government Web Service and this code manages all aspects of dealing with an external API, including authentication when calling the API and managing the response details to correctly record audit details and process error details appropriately.
    The Government API uses HTTP status codes to indicate the success or failure of a request. Error codes are returned with a JSON object in the body containing a message providing further details on the error.
    If any errors are returned by the API, they are logged and these log entries are extracted to the S_LOG_ENTRY table with the log type OSECAF-EXP.

    The POST /enrolment version 3 (1291A-2018) API for the OS-HELP eCAF type, provided by the Government eCAF site, is used to export the enrolment details of the student.

    Last Modified on 07-Feb-2019 4:33 PM

    History Information

    Release Version Project Change to Document
    19.1.0.3, 20.0.0.3 & 21.0.0.2 2368 - OS-HELP eCAF New Online Help page.