IPASIService2020GetClassroomAccommodationStatus Method Provincial Approach to Student Information API
This service operation will return a list of classroom accommodation status object that are requested by the client.

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

List<ClassroomAccommodationStatusResponse> GetClassroomAccommodationStatus(
	ClassroomAccommodationStatusRequest request
)

Parameters

request
Type: PASI.DataContract.V2018ClassroomAccommodationStatusRequest
Contains a list of ClassroomAccommodationRefIds to retrieve a classroom accommodation status record(s).

Return Value

Type: ListClassroomAccommodationStatusResponse
A list of ClassroomAccommodationStatusResponse object. Each response object may contain one or more CoreAlerts. Each CoreAlert represents a piece of Classroom Accommodation 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.

13004, 13011, 13013, 13014
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 ClassroomAccommodationStatus objects. These represent the current core alerts attached to each classroom accommodation record in the PASI core. This information can then be used to create end user work items when data changes are required. If a CoreAlert have been previously been acknowledged this service will return that information as well.

The process that generates the Status object in PASI core is asynchronous. This process is initiated by submitting any change to a classroom accommodation but the completion is dependent on the number of updates 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 a student a status object will still be generated.

A PASI client is limited to seeing only students they are associated with.

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
ClassroomAccommodationRefIdsList<StatusRefIdVersionInfo>Yes
ClassroomAccommodationRefIds.ExpectedVersionNullable`1No
ClassroomAccommodationRefIds.KnownSourceVersionNullable`1No
ClassroomAccommodationRefIds.RefIdGuidYes


Response Fields

Full Property NameTypeRequiredOther Attributes
List<ClassroomAccommodationStatusResponse>List<ClassroomAccommodationStatusResponse>No
List<ClassroomAccommodationStatusResponse>.AvailabilityStatusStringNo
List<ClassroomAccommodationStatusResponse>.ClassroomAccommodationStatusClassroomAccommodationStatusInfoNo
List<ClassroomAccommodationStatusResponse>.ClassroomAccommodationStatus.ClassroomAccommodationRefIdGuidNo
List<ClassroomAccommodationStatusResponse>.ClassroomAccommodationStatus.CoreAlertsList<CoreAlert>No
List<ClassroomAccommodationStatusResponse>.ClassroomAccommodationStatus.CoreAlerts.AcknowledgementStatusStringNo
List<ClassroomAccommodationStatusResponse>.ClassroomAccommodationStatus.CoreAlerts.AlertCodeInt32Yes
List<ClassroomAccommodationStatusResponse>.ClassroomAccommodationStatus.CoreAlerts.AlertTypeStringYes
List<ClassroomAccommodationStatusResponse>.ClassroomAccommodationStatus.CoreAlerts.ArgumentsList<KeyValuePair>No
List<ClassroomAccommodationStatusResponse>.ClassroomAccommodationStatus.CoreAlerts.Arguments.KeyStringYes
List<ClassroomAccommodationStatusResponse>.ClassroomAccommodationStatus.CoreAlerts.Arguments.ValueStringYesPASI.Validation.Schema.IsNotRequired
List<ClassroomAccommodationStatusResponse>.ClassroomAccommodationStatus.CoreAlerts.DescriptionStringNo
List<ClassroomAccommodationStatusResponse>.ClassroomAccommodationStatus.PASICoreVersionInt64No
List<ClassroomAccommodationStatusResponse>.ClassroomAccommodationStatus.SourceClassroomAccommodationClassroomAccommodationInfoNo
List<ClassroomAccommodationStatusResponse>.ClassroomAccommodationStatus.SourceClassroomAccommodation.AccommodationDetailStringNoValue must be no more than 1000 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<ClassroomAccommodationStatusResponse>.ClassroomAccommodationStatus.SourceClassroomAccommodation.AccommodationFormatStringNoValue must be an appropriate AccommodationFormat code value
List<ClassroomAccommodationStatusResponse>.ClassroomAccommodationStatus.SourceClassroomAccommodation.AccommodationTypeStringYesValue must be an appropriate AccommodationType code value
List<ClassroomAccommodationStatusResponse>.ClassroomAccommodationStatus.SourceClassroomAccommodation.EndDateDateTimeNo
List<ClassroomAccommodationStatusResponse>.ClassroomAccommodationStatus.SourceClassroomAccommodation.EndDateOverrideNullable`1No
List<ClassroomAccommodationStatusResponse>.ClassroomAccommodationStatus.SourceClassroomAccommodation.IsDeletedBooleanYes
List<ClassroomAccommodationStatusResponse>.ClassroomAccommodationStatus.SourceClassroomAccommodation.LastUpdateUtcTimeDateTimeYes
List<ClassroomAccommodationStatusResponse>.ClassroomAccommodationStatus.SourceClassroomAccommodation.PASICoreVersionInt64Yes
List<ClassroomAccommodationStatusResponse>.ClassroomAccommodationStatus.SourceClassroomAccommodation.RefIdGuidYes
List<ClassroomAccommodationStatusResponse>.ClassroomAccommodationStatus.SourceClassroomAccommodation.SchoolStringYesValue must be in the form of a number between '0001' and '9999'
List<ClassroomAccommodationStatusResponse>.ClassroomAccommodationStatus.SourceClassroomAccommodation.StartDateDateTimeYes
List<ClassroomAccommodationStatusResponse>.ClassroomAccommodationStatus.SourceClassroomAccommodation.StateProvinceIdStringYesValue must be in the form of a number between '000000001' and '999999999'
See Also

Reference