IPASIService2019GetResponsibleSchoolStatus Method Provincial Approach to Student Information API
This service will return the responsible school status objects based on the responsible school 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<ResponsibleSchoolStatusResponse> GetResponsibleSchoolStatus(
	ResponsibleSchoolStatusRequest request
)

Parameters

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

Return Value

Type: ListResponsibleSchoolStatusResponse
A list of ResponsibleSchoolStatusResponse 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.

11620, 11621, 11623, 11625
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 ResponsibleSchoolStatus objects. These represent the current core alerts attached to each repsonbible school 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 responsible school (calling SubmitResponsible) 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:
  • Responsible School – Submitting an update to the Responsible School
  • Enrolment – Submitting an update to the enrolment
  • Deceased Student – the submit deceased student services are called
  • Responsible School 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
ResponsibleSchoolIdsList<StatusRefIdVersionInfo>Yes
ResponsibleSchoolIds.ExpectedVersionNullable`1No
ResponsibleSchoolIds.KnownSourceVersionNullable`1No
ResponsibleSchoolIds.RefIdGuidYes


Response Fields

Full Property NameTypeRequiredOther Attributes
List<ResponsibleSchoolStatusResponse>List<ResponsibleSchoolStatusResponse>No
List<ResponsibleSchoolStatusResponse>.AvailabilityStatusStringNo
List<ResponsibleSchoolStatusResponse>.ResponsibleSchoolStatusResponsibleSchoolStatusInfoNo
List<ResponsibleSchoolStatusResponse>.ResponsibleSchoolStatus.CoreAlertsList<CoreAlert>No
List<ResponsibleSchoolStatusResponse>.ResponsibleSchoolStatus.CoreAlerts.AcknowledgementStatusStringNo
List<ResponsibleSchoolStatusResponse>.ResponsibleSchoolStatus.CoreAlerts.AlertCodeInt32Yes
List<ResponsibleSchoolStatusResponse>.ResponsibleSchoolStatus.CoreAlerts.AlertTypeStringYes
List<ResponsibleSchoolStatusResponse>.ResponsibleSchoolStatus.CoreAlerts.ArgumentsList<KeyValuePair>No
List<ResponsibleSchoolStatusResponse>.ResponsibleSchoolStatus.CoreAlerts.Arguments.KeyStringYes
List<ResponsibleSchoolStatusResponse>.ResponsibleSchoolStatus.CoreAlerts.Arguments.ValueStringYesPASI.Validation.Schema.IsNotRequired
List<ResponsibleSchoolStatusResponse>.ResponsibleSchoolStatus.CoreAlerts.DescriptionStringNo
List<ResponsibleSchoolStatusResponse>.ResponsibleSchoolStatus.PASICoreVersionInt64No
List<ResponsibleSchoolStatusResponse>.ResponsibleSchoolStatus.ResponsibleSchoolRefIdGuidNo
List<ResponsibleSchoolStatusResponse>.ResponsibleSchoolStatus.SourceResponsibleSchoolInfoResponsibleSchoolInfoNo
List<ResponsibleSchoolStatusResponse>.ResponsibleSchoolStatus.SourceResponsibleSchoolInfo.EffectiveDateDateTimeYes
List<ResponsibleSchoolStatusResponse>.ResponsibleSchoolStatus.SourceResponsibleSchoolInfo.HasResponsibleSchoolStringYesValue must be an appropriate HasResponsibleSchool code value
List<ResponsibleSchoolStatusResponse>.ResponsibleSchoolStatus.SourceResponsibleSchoolInfo.IsDeletedBooleanYes
List<ResponsibleSchoolStatusResponse>.ResponsibleSchoolStatus.SourceResponsibleSchoolInfo.LastUpdateUtcTimeDateTimeNo
List<ResponsibleSchoolStatusResponse>.ResponsibleSchoolStatus.SourceResponsibleSchoolInfo.PASICoreVersionInt64Yes
List<ResponsibleSchoolStatusResponse>.ResponsibleSchoolStatus.SourceResponsibleSchoolInfo.RefIdGuidYes
List<ResponsibleSchoolStatusResponse>.ResponsibleSchoolStatus.SourceResponsibleSchoolInfo.SchoolCityStringNoValue must be no more than 60 characters
List<ResponsibleSchoolStatusResponse>.ResponsibleSchoolStatus.SourceResponsibleSchoolInfo.SchoolCodeStringNoValue must be in the form of a number between '0001' and '9999'
List<ResponsibleSchoolStatusResponse>.ResponsibleSchoolStatus.SourceResponsibleSchoolInfo.SchoolCountryStringNoValue must be no more than 60 characters
List<ResponsibleSchoolStatusResponse>.ResponsibleSchoolStatus.SourceResponsibleSchoolInfo.SchoolNameStringNoValue must be no more than 255 characters
List<ResponsibleSchoolStatusResponse>.ResponsibleSchoolStatus.SourceResponsibleSchoolInfo.SchoolStateProvinceStringNoValue must be no more than 20 characters
List<ResponsibleSchoolStatusResponse>.ResponsibleSchoolStatus.SourceResponsibleSchoolInfo.StateProvinceIdStringYesValue must be in the form of a number between '000000001' and '999999999'
List<ResponsibleSchoolStatusResponse>.ResponsibleSchoolStatus.SourceResponsibleSchoolInfo.TransitionReasonStringYesValue must be an appropriate TransitionReason code value
See Also

Reference