IPASIService2018GetSchoolAuthorityInformation Method Provincial Approach to Student Information API
This service will retrieve school authority information that matches the school authority code(s) provided in the request.

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

List<SchoolAuthorityInformationResponse> GetSchoolAuthorityInformation(
	SchoolAuthorityInformationRequest request
)

Parameters

request
Type: PASI.DataContract.V201204SchoolAuthorityInformationRequest
An instance of the SchoolAuthorityRequest data contract.

Return Value

Type: ListSchoolAuthorityInformationResponse
SchoolAuthorityResponse class which contains information about the school authorities on which the school authority code(s) had matched on the request.

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 operation will retrieve school authority information that matches the school authority code(s) provided in the request. The operation takes in a list of school authority codes as part of the SchoolAuthorityRequest data contract and returns a list of SchoolAuthorityResult data contract containing the 'Status' and the School Authority Information for each requested school authority code. School Authority information such as Name, Status, Addresses, and Phone Number etc is returned in the response.

The Status property will indicate (for each school authority code requested) whether school authority data is available. This property will return a DataAvailabilityStatus.Normal if a school authority was found or DataAvailabilityStatus.Unknown if no data was found.

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
SchoolAuthorityCodesList<EntityKeyVersionInfo>Yes
SchoolAuthorityCodes.ExpectedVersionNullable`1No
SchoolAuthorityCodes.KeyStringYes


Response Fields

Full Property NameTypeRequiredOther Attributes
List<SchoolAuthorityInformationResponse>List<SchoolAuthorityInformationResponse>No
List<SchoolAuthorityInformationResponse>.AvailabilityStatusStringNo
List<SchoolAuthorityInformationResponse>.SchoolAuthoritySchoolAuthorityInformationNo
List<SchoolAuthorityInformationResponse>.SchoolAuthority.AddressesList<Address>No
List<SchoolAuthorityInformationResponse>.SchoolAuthority.Addresses.AddressTypeStringYesValue must be an appropriate AddressType code value
List<SchoolAuthorityInformationResponse>.SchoolAuthority.Addresses.CityStringNoValue must be no more than 60 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]
List<SchoolAuthorityInformationResponse>.SchoolAuthority.Addresses.CountryStringYesValue must be no more than 60 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]
List<SchoolAuthorityInformationResponse>.SchoolAuthority.Addresses.EffectiveDateDateTimeYes
List<SchoolAuthorityInformationResponse>.SchoolAuthority.Addresses.ExpiryDateDateTimeNo
List<SchoolAuthorityInformationResponse>.SchoolAuthority.Addresses.LastUpdateUtcTimeDateTimeNo
List<SchoolAuthorityInformationResponse>.SchoolAuthority.Addresses.PostalCodeStringNoValue must be no more than 15 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]
List<SchoolAuthorityInformationResponse>.SchoolAuthority.Addresses.RefIdInt32Yes
List<SchoolAuthorityInformationResponse>.SchoolAuthority.Addresses.StateProvinceStringNoValue must be no more than 20 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]
List<SchoolAuthorityInformationResponse>.SchoolAuthority.Addresses.StreetStringYesValue must be no more than 140 characters Value must not have control characters, leading, trailing or multiple embedded spaces. Value must not contain empty lines and each line must be delimited with a carriage return and line feed. Content must not match regular expression: [\x00-\x08]|[\x0E-\x19]|[\x7F-\x9F]|[^\x00-\xFF]|(^|\n)\s*\r|\n\s*(\r|$)|[^\r]\n|\r[^\n]
List<SchoolAuthorityInformationResponse>.SchoolAuthority.AuthorityCodeStringYesValue must be in the form of a number between '0001' and '9999'
List<SchoolAuthorityInformationResponse>.SchoolAuthority.ClassificationList<AuthorityClassification>No
List<SchoolAuthorityInformationResponse>.SchoolAuthority.Classification.ClassificationTypeInt32YesValue must be an appropriate SchoolAuthorityType code value
List<SchoolAuthorityInformationResponse>.SchoolAuthority.Classification.EffectiveDateDateTimeYes
List<SchoolAuthorityInformationResponse>.SchoolAuthority.EmailAddressStringNo
List<SchoolAuthorityInformationResponse>.SchoolAuthority.FaxNumberStringNo
List<SchoolAuthorityInformationResponse>.SchoolAuthority.NameList<OrganizationName>Yes
List<SchoolAuthorityInformationResponse>.SchoolAuthority.Name.EffectiveDateDateTimeYes
List<SchoolAuthorityInformationResponse>.SchoolAuthority.Name.NameStringYes
List<SchoolAuthorityInformationResponse>.SchoolAuthority.PasiCoreVersionInt64Yes
List<SchoolAuthorityInformationResponse>.SchoolAuthority.PhoneNumberStringNo
List<SchoolAuthorityInformationResponse>.SchoolAuthority.SourceVersionInt64Yes
List<SchoolAuthorityInformationResponse>.SchoolAuthority.StatusList<OrganizationStatus>Yes
List<SchoolAuthorityInformationResponse>.SchoolAuthority.Status.EffectiveDateDateTimeYes
List<SchoolAuthorityInformationResponse>.SchoolAuthority.Status.IsActiveBooleanYes
See Also

Reference