IPASIService2018GetStudentSchoolEnrolmentStatus Method Provincial Approach to Student Information API
This service will return the enrolment status objects based on the enrolment Id(s) passed in.

Namespace: PASI.ServiceContract
Assembly: PASI.ServiceContract (in PASI.ServiceContract.dll) Version: 9.23.3.0 (9.23.3.0)
Syntax

List<StudentSchoolEnrolmentStatusResponse> GetStudentSchoolEnrolmentStatus(
	StudentSchoolEnrolmentStatusRequest request
)

Parameters

request
Type: PASI.DataContract.V201204StudentSchoolEnrolmentStatusRequest
The request contains a list of enrolment RefIds the client wishes to retrieve status object for.

Return Value

Type: ListStudentSchoolEnrolmentStatusResponse
A list of StudentSchoolEnrolmentStatusResponse object. Each response object may contain one or more CoreAlerts. Each CoreAlert represents a piece of enrolment information that may need correction. For more information on CoreAlerts see the overview section here.

Service Validations

The following codes can be returned from the service operation. This list also shows core alerts that could be generated as a result calling this service. These codes are in addition to the standard set of codes that can be returned defined as in the Approach to Error Reporting. Click the link for the details.

10002, 10003, 10004, 10005, 10006, 10007, 10008, 10010, 10011, 10012, 10013, 10014, 10015, 10017, 10018, 10019, 10021, 10023, 10024, 10025, 10026, 10027, 10028, 10029, 10030, 10031, 10032, 10035, 10037, 10038, 10039, 10040, 10041, 10042, 10043, 10044, 10045, 10046, 10047, 10048, 10049, 10050, 10052, 10053, 10054, 10055, 10060, 10063, 10065, 10067, 10068, 10069, 10070, 10071, 10072, 10074, 10076, 10077, 10078, 10081, 10082, 10085, 10086, 10090, 10091, 10092, 10093, 10100, 10102, 10106, 10108, 10110, 10111, 10112, 10113, 10114, 10116, 10119, 10120, 10121, 10122, 10123, 10124, 10125, 10128, 10129, 10135, 10142
Remarks

This service is intended to be used during the data synchronization process using the IsDataAvailable service. See the Expected Versions section for important details on how this service will return data.

This service will return one or more StudentSchoolEnrolmentStatus objects. These represent the current core alerts attached to each student school enrolment record in the PASI core. This information can then be used to create end user work items when data changes are required.

The process that generates the Status object in PASI core is asynchronous. This process is initiated by submitting an enrolment (calling SubmitStudentSchoolEnrolment) but the completion is dependent on the number of enrolments being submitted at the time by all PASI clients. With this in mind the best strategy for obtaining the status object as soon as available is through the use of the IsDataAvailable service. Even if there are no issues with an enrolment a status object will still be generated.

Since the business rules surrounding an enrolment are dependent on more than just the information supplied by the enrolment an enrolment status object can change even if the enrolment doesn't. Below is a list of actions that can trigger an enrolment status to be updated in PASI core:
  • Enrolment – Submitting an update to the enrolment
  • Student – Any of the submit student services are called
  • SchoolCalendarYear – PASI core receives an update to a calendar from the Ministry
  • School – PASI core receives an update to a School from the Ministry
  • SchoolAuthority – PASI core receives an update to a School Authority from the Ministry
  • Enrolment Status Acknowledgment - By Acknowledging a core alert the status object is regenerated so the version number is increase and it will be synchronized.

Request and Response Class Diagram



Request Fields

Full Property NameTypeRequiredOther Attributes
CallerInfoCallerInfoYes
CallerInfo.ClientMessageIDStringYesValue must be no more than 50 characters Value must not have control characters, leading, trailing or multiple embedded spaces. Content must not match regular expression: ^\s|\s{2,}|\s$|[\x00-\x19]|[\x7F-\x9F]|[^\x00-\xFF]
CallerInfo.SentUtcTimeDateTimeYes
CallerInfo.SoftwareSoftwareYes
CallerInfo.Software.BuildNumberStringYesValue must be no more than 30 characters Value must not have control characters, leading, trailing or multiple embedded spaces. Content must not match regular expression: ^\s|\s{2,}|\s$|[\x00-\x19]|[\x7F-\x9F]|[^\x00-\xFF]
CallerInfo.Software.ManufacturerStringYesValue must be no more than 100 characters Value must not have control characters, leading, trailing or multiple embedded spaces. Content must not match regular expression: ^\s|\s{2,}|\s$|[\x00-\x19]|[\x7F-\x9F]|[^\x00-\xFF]
CallerInfo.Software.ProductStringYesValue must be no more than 100 characters Value must not have control characters, leading, trailing or multiple embedded spaces. Content must not match regular expression: ^\s|\s{2,}|\s$|[\x00-\x19]|[\x7F-\x9F]|[^\x00-\xFF]
CallerInfo.Software.VersionStringYesValue must be no more than 30 characters Value must not have control characters, leading, trailing or multiple embedded spaces. Content must not match regular expression: ^\s|\s{2,}|\s$|[\x00-\x19]|[\x7F-\x9F]|[^\x00-\xFF]
CallerInfo.UserUserYes
CallerInfo.User.IPAddressStringYesValue must be no more than 50 characters Value must not have control characters, leading, trailing or multiple embedded spaces. Content must not match regular expression: ^\s|\s{2,}|\s$|[\x00-\x19]|[\x7F-\x9F]|[^\x00-\xFF]
CallerInfo.User.LocalIDStringYesValue must be no more than 50 characters Value must not have control characters, leading, trailing or multiple embedded spaces. Content must not match regular expression: ^\s|\s{2,}|\s$|[\x00-\x19]|[\x7F-\x9F]|[^\x00-\xFF]
CallerInfo.User.NameStringYesValue must be no more than 100 characters Value must not have control characters, leading, trailing or multiple embedded spaces. Content must not match regular expression: ^\s|\s{2,}|\s$|[\x00-\x19]|[\x7F-\x9F]|[^\x00-\xFF]
CallerInfo.User.OrganizationCodeStringYesValue must be no more than 6 characters
StudentSchoolEnrolmentIdsList<StatusRefIdVersionInfo>Yes
StudentSchoolEnrolmentIds.ExpectedVersionNullable`1No
StudentSchoolEnrolmentIds.KnownSourceVersionNullable`1No
StudentSchoolEnrolmentIds.RefIdGuidYes


Response Fields

Full Property NameTypeRequiredOther Attributes
List<StudentSchoolEnrolmentStatusResponse>List<StudentSchoolEnrolmentStatusResponse>No
List<StudentSchoolEnrolmentStatusResponse>.AvailabilityStatusStringNo
List<StudentSchoolEnrolmentStatusResponse>.EnrolmentStatusStudentSchoolEnrolmentStatusInfoNo
List<StudentSchoolEnrolmentStatusResponse>.EnrolmentStatus.CoreAlertsList<CoreAlert>No
List<StudentSchoolEnrolmentStatusResponse>.EnrolmentStatus.CoreAlerts.AcknowledgementStatusStringNo
List<StudentSchoolEnrolmentStatusResponse>.EnrolmentStatus.CoreAlerts.AlertCodeInt32Yes
List<StudentSchoolEnrolmentStatusResponse>.EnrolmentStatus.CoreAlerts.AlertTypeStringYes
List<StudentSchoolEnrolmentStatusResponse>.EnrolmentStatus.CoreAlerts.ArgumentsList<KeyValuePair>No
List<StudentSchoolEnrolmentStatusResponse>.EnrolmentStatus.CoreAlerts.Arguments.KeyStringYes
List<StudentSchoolEnrolmentStatusResponse>.EnrolmentStatus.CoreAlerts.Arguments.ValueStringYesPASI.Validation.Schema.IsNotRequired
List<StudentSchoolEnrolmentStatusResponse>.EnrolmentStatus.CoreAlerts.DescriptionStringNo
List<StudentSchoolEnrolmentStatusResponse>.EnrolmentStatus.MaxSourcePASIVersionInt64No
List<StudentSchoolEnrolmentStatusResponse>.EnrolmentStatus.PASICoreVersionInt64No
List<StudentSchoolEnrolmentStatusResponse>.EnrolmentStatus.SourceStudentSchoolEnrolmentStudentSchoolEnrolmentNo
List<StudentSchoolEnrolmentStatusResponse>.EnrolmentStatus.SourceStudentSchoolEnrolment.EffectiveUtcDateTimeNo
List<StudentSchoolEnrolmentStatusResponse>.EnrolmentStatus.SourceStudentSchoolEnrolment.ExtendedSchoolEnrolmentInfoExtendedInfoListYesName: SISV1
KeyRequiredMaxElementsAttributes
LocalStudentIdNo1Value must contain between 1 and 15 characters
ResidentBoardNo1Value must be in the form of a number between '0001' and '9999'
FrancophoneBoardNo1Value must be in the form of a number between '0001' and '9999'
FNMIDeclarationNo1Value must be an appropriate FNMIDeclaration code value
FrenchHoursOfInstructionNo1Value must be in the form of a number between '1' and '9999'
EnrolmentTypeCodesNo3Value must be an appropriate EnrolmentTypeCodes code value
ExceptionCodesNo2Value must be an appropriate ExceptionCodes code value
GrantsProgramCodesNo3Value must be an appropriate GrantsProgramCodes code value
RegistrationEntryStatusNo1Value must be an appropriate RegistrationEntryStatus code value
List<StudentSchoolEnrolmentStatusResponse>.EnrolmentStatus.SourceStudentSchoolEnrolment.ExtendedSchoolEnrolmentInfo.ListList<ExtendedInfo>Yes
List<StudentSchoolEnrolmentStatusResponse>.EnrolmentStatus.SourceStudentSchoolEnrolment.ExtendedSchoolEnrolmentInfo.List.NameStringYesValue must not have control characters, leading, trailing or multiple embedded spaces. Content must not match regular expression: ^\s|\s{2,}|\s$|[\x00-\x19]|[\x7F-\x9F]|[^\x00-\xFF]
List<StudentSchoolEnrolmentStatusResponse>.EnrolmentStatus.SourceStudentSchoolEnrolment.ExtendedSchoolEnrolmentInfo.List.ValuesList<KeyValuePair>Yes
List<StudentSchoolEnrolmentStatusResponse>.EnrolmentStatus.SourceStudentSchoolEnrolment.ExtendedSchoolEnrolmentInfo.List.Values.KeyStringYes
List<StudentSchoolEnrolmentStatusResponse>.EnrolmentStatus.SourceStudentSchoolEnrolment.ExtendedSchoolEnrolmentInfo.List.Values.ValueStringYesPASI.Validation.Schema.IsNotRequired
List<StudentSchoolEnrolmentStatusResponse>.EnrolmentStatus.SourceStudentSchoolEnrolment.GradeStringYesValue must be an appropriate GradeCode code value
List<StudentSchoolEnrolmentStatusResponse>.EnrolmentStatus.SourceStudentSchoolEnrolment.PASICoreVersionInt64Yes
List<StudentSchoolEnrolmentStatusResponse>.EnrolmentStatus.SourceStudentSchoolEnrolment.RefIdGuidYes
List<StudentSchoolEnrolmentStatusResponse>.EnrolmentStatus.SourceStudentSchoolEnrolment.RegistrationExitDateDateTimeNo
List<StudentSchoolEnrolmentStatusResponse>.EnrolmentStatus.SourceStudentSchoolEnrolment.RegistrationStartDateDateTimeYes
List<StudentSchoolEnrolmentStatusResponse>.EnrolmentStatus.SourceStudentSchoolEnrolment.RegistrationStatusStringYesValue must be an appropriate RegistrationStatus code value
List<StudentSchoolEnrolmentStatusResponse>.EnrolmentStatus.SourceStudentSchoolEnrolment.RegistrationTypeStringYesValue must be an appropriate RegistrationType code value
List<StudentSchoolEnrolmentStatusResponse>.EnrolmentStatus.SourceStudentSchoolEnrolment.SchoolCodeStringYesValue must be in the form of a number between '0001' and '9999'
List<StudentSchoolEnrolmentStatusResponse>.EnrolmentStatus.SourceStudentSchoolEnrolment.SchoolProvidedProgramPercentageNullable`1No
List<StudentSchoolEnrolmentStatusResponse>.EnrolmentStatus.SourceStudentSchoolEnrolment.SchoolYearInt16YesValue must be between 1900 and 2100
List<StudentSchoolEnrolmentStatusResponse>.EnrolmentStatus.SourceStudentSchoolEnrolment.StateProvinceIdStringYesValue must be in the form of a number between '000000001' and '999999999'
List<StudentSchoolEnrolmentStatusResponse>.EnrolmentStatus.StudentSchoolEnrolmentRefIdGuidNo
See Also

Reference