IPASIService2019GetResponsibleSchool Method Provincial Approach to Student Information API
This service will return the Responsible School(s) based on the Responsible School RefId(s) passed in.

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

List<ResponsibleSchoolResponse> GetResponsibleSchool(
	ResponsibleSchoolRequest request
)

Parameters

request
Type: PASI.DataContract.V2019ResponsibleSchoolRequest
The request contains a list of Responsible School RefIds and expected versions the client wishes to retrieve.

Return Value

Type: ListResponsibleSchoolResponse
The response contains a list of Responsible School.

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.

No additional errors for this service.
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 allows the PASI Client to retrieve Responsible School(s) by passing in the Responsible School RefId(s). This service can be used to:
  1. Retrieve information about a Responsible School from the PASI Core, and
  2. Obtain updates about a Responsible School from the PASI Core as part of the data synchronization processes.
This service can be used to get a single record or a list of records.

The PASI Client must be assigned the ViewEnrolmentUser role.

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<EntityRefIdVersionInfo>Yes
ResponsibleSchoolIds.ExpectedVersionNullable`1No
ResponsibleSchoolIds.RefIdGuidYes


Response Fields

Full Property NameTypeRequiredOther Attributes
List<ResponsibleSchoolResponse>List<ResponsibleSchoolResponse>No
List<ResponsibleSchoolResponse>.AvailabilityStatusStringNo
List<ResponsibleSchoolResponse>.ResponsibleSchoolResponsibleSchoolInfoNo
List<ResponsibleSchoolResponse>.ResponsibleSchool.EffectiveDateDateTimeYes
List<ResponsibleSchoolResponse>.ResponsibleSchool.HasResponsibleSchoolStringYesValue must be an appropriate HasResponsibleSchool code value
List<ResponsibleSchoolResponse>.ResponsibleSchool.IsDeletedBooleanYes
List<ResponsibleSchoolResponse>.ResponsibleSchool.LastUpdateUtcTimeDateTimeNo
List<ResponsibleSchoolResponse>.ResponsibleSchool.PASICoreVersionInt64Yes
List<ResponsibleSchoolResponse>.ResponsibleSchool.RefIdGuidYes
List<ResponsibleSchoolResponse>.ResponsibleSchool.SchoolCityStringNoValue must be no more than 60 characters
List<ResponsibleSchoolResponse>.ResponsibleSchool.SchoolCodeStringNoValue must be in the form of a number between '0001' and '9999'
List<ResponsibleSchoolResponse>.ResponsibleSchool.SchoolCountryStringNoValue must be no more than 60 characters
List<ResponsibleSchoolResponse>.ResponsibleSchool.SchoolNameStringNoValue must be no more than 255 characters
List<ResponsibleSchoolResponse>.ResponsibleSchool.SchoolStateProvinceStringNoValue must be no more than 20 characters
List<ResponsibleSchoolResponse>.ResponsibleSchool.StateProvinceIdStringYesValue must be in the form of a number between '000000001' and '999999999'
List<ResponsibleSchoolResponse>.ResponsibleSchool.TransitionReasonStringYesValue must be an appropriate TransitionReason code value
See Also

Reference