This service operation will retrieve school information that matches the school code(s) provided in the request.
Namespace: PASI.ServiceContract
Assembly: PASI.ServiceContract (in PASI.ServiceContract.dll) Version: 9.25.26.0 (9.25.26.0)
Syntax
Parameters
- request
- Type: PASI.DataContract.V201204SchoolInformationRequest
An instance of the SchoolInformationRequest data contract.
Return Value
Type: ListSchoolInformationResponseSchoolInformationResponse class which contains information about the school(s) on which the school 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 operation will retrieve school information that matches the school code(s) provided in the request. The operation takes in a list of school codes as part of the SchoolInformationRequest data contract and returns a list of SchoolInformationResult data contract containing the 'Status' and the School Information for each requested school code. School information such as Name, Status, School Authority Code, Addresses, and Phone Number etc is returned in the response.
The Status property will indicate (for each school code requested) whether school data is available. This property will return a DataAvailabilityStatus.Normal if a school was found or DataAvailabilityStatus.Unknown if no data was found.
Request and Response Class Diagram
Request Fields
Full Property Name | Type | Required | Other Attributes |
---|---|---|---|
CallerInfo | CallerInfo | Yes | |
CallerInfo.ClientMessageID | String | Yes | Value 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.SentUtcTime | DateTime | Yes | |
CallerInfo.Software | Software | Yes | |
CallerInfo.Software.BuildNumber | String | Yes | Value 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.Manufacturer | String | Yes | Value 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.Product | String | Yes | Value 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.Version | String | Yes | Value 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.User | User | Yes | |
CallerInfo.User.IPAddress | String | Yes | Value 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.LocalID | String | Yes | Value 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.Name | String | Yes | Value 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.OrganizationCode | String | Yes | Value must be no more than 6 characters |
SchoolCodes | List<EntityKeyVersionInfo> | Yes | |
SchoolCodes.ExpectedVersion | Nullable`1 | No | |
SchoolCodes.Key | String | Yes |
Response Fields
Full Property Name | Type | Required | Other Attributes |
---|---|---|---|
List<SchoolInformationResponse> | List<SchoolInformationResponse> | No | |
List<SchoolInformationResponse>.AvailabilityStatus | String | No | |
List<SchoolInformationResponse>.School | SchoolInformation | No | |
List<SchoolInformationResponse>.School.Addresses | List<Address> | No | |
List<SchoolInformationResponse>.School.Addresses.AddressType | String | Yes | Value must be an appropriate AddressType code value |
List<SchoolInformationResponse>.School.Addresses.City | String | No | Value 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<SchoolInformationResponse>.School.Addresses.Country | String | Yes | Value 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<SchoolInformationResponse>.School.Addresses.EffectiveDate | DateTime | Yes | |
List<SchoolInformationResponse>.School.Addresses.ExpiryDate | DateTime | No | |
List<SchoolInformationResponse>.School.Addresses.LastUpdateUtcTime | DateTime | No | |
List<SchoolInformationResponse>.School.Addresses.PostalCode | String | No | Value 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<SchoolInformationResponse>.School.Addresses.RefId | Int32 | Yes | |
List<SchoolInformationResponse>.School.Addresses.StateProvince | String | No | Value 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<SchoolInformationResponse>.School.Addresses.Street | String | Yes | Value 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<SchoolInformationResponse>.School.Classifications | List<SchoolClassification> | No | |
List<SchoolInformationResponse>.School.Classifications.ClassificationType | String | Yes | Value must be an appropriate SchoolClassificationType code value |
List<SchoolInformationResponse>.School.Classifications.EffectiveDate | DateTime | Yes | |
List<SchoolInformationResponse>.School.Classifications.IsActive | Boolean | Yes | |
List<SchoolInformationResponse>.School.Code | String | Yes | Value must be in the form of a number between '0001' and '9999' |
List<SchoolInformationResponse>.School.EmailAddress | String | No | |
List<SchoolInformationResponse>.School.FaxNumber | String | No | |
List<SchoolInformationResponse>.School.Name | List<OrganizationName> | Yes | |
List<SchoolInformationResponse>.School.Name.EffectiveDate | DateTime | Yes | |
List<SchoolInformationResponse>.School.Name.Name | String | Yes | |
List<SchoolInformationResponse>.School.PasiCoreVersion | Int64 | Yes | |
List<SchoolInformationResponse>.School.PhoneNumber | String | No | |
List<SchoolInformationResponse>.School.SchoolAuthorityCode | List<SchoolAuthorityCodeInfo> | Yes | |
List<SchoolInformationResponse>.School.SchoolAuthorityCode.AuthorityCode | String | Yes | Value must be in the form of a number between '0001' and '9999' |
List<SchoolInformationResponse>.School.SchoolAuthorityCode.EffectiveDate | DateTime | Yes | |
List<SchoolInformationResponse>.School.SourceVersion | Int64 | Yes | |
List<SchoolInformationResponse>.School.Status | List<OrganizationStatus> | Yes | |
List<SchoolInformationResponse>.School.Status.EffectiveDate | DateTime | Yes | |
List<SchoolInformationResponse>.School.Status.IsActive | Boolean | Yes |
See Also