IPASIService2021GetStudentRecordDocument Method Provincial Approach to Student Information API
This service is used to get the data for a specific document in the Student Record for a specific student. The image of the document is not returned. All attached Problem Report(s) and Quality Assurance Result is returned.

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

List<StudentRecordDocumentResponse> GetStudentRecordDocument(
	StudentRecordDocumentRequest request
)

Parameters

request
Type: PASI.DataContract.V2018StudentRecordDocumentRequest
The request contains a list of Student Record Document RefIds the client wishes to retrieve.

Return Value

Type: ListStudentRecordDocumentResponse
The response contains a list of Student Record Documents.

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 their student record's Document(s) by passing in the Student Record Document RefId(s).The Student Record Documents that can be retrieved are limited to the Student Record Documents that PASI client has access.

The PASI Client must have access to Student Record Document based on the access rule. The PASI Client must be assigned the ViewStudentDocumentUser role before they are able to call this service.

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


Response Fields

Full Property NameTypeRequiredOther Attributes
List<StudentRecordDocumentResponse>List<StudentRecordDocumentResponse>No
List<StudentRecordDocumentResponse>.AvailabilityStatusStringNo
List<StudentRecordDocumentResponse>.StudentRecordDocumentStudentRecordDocumentInfoNo
List<StudentRecordDocumentResponse>.StudentRecordDocument.CreatedByOrganizationStringNoValue must be a valid organization code (e.g. s.1312).
List<StudentRecordDocumentResponse>.StudentRecordDocument.CreatedUtcTimeDateTimeYes
List<StudentRecordDocumentResponse>.StudentRecordDocument.DisposalOverrideDateDateTimeNo
List<StudentRecordDocumentResponse>.StudentRecordDocument.DocumentDateDateTimeNo
List<StudentRecordDocumentResponse>.StudentRecordDocument.DocumentImageHashStringYes
List<StudentRecordDocumentResponse>.StudentRecordDocument.DocumentLanguageStringYesValue must be an appropriate StudentDocumentLanguage code value
List<StudentRecordDocumentResponse>.StudentRecordDocument.DocumentTypeStringYes
List<StudentRecordDocumentResponse>.StudentRecordDocument.ExpiryDateDateTimeNo
List<StudentRecordDocumentResponse>.StudentRecordDocument.IsDeletedBooleanYes
List<StudentRecordDocumentResponse>.StudentRecordDocument.IsDigitizedBooleanYes
List<StudentRecordDocumentResponse>.StudentRecordDocument.IsExemptFromQABooleanYes
List<StudentRecordDocumentResponse>.StudentRecordDocument.IsRelevantBooleanYes
List<StudentRecordDocumentResponse>.StudentRecordDocument.IsTextSearchableBooleanYes
List<StudentRecordDocumentResponse>.StudentRecordDocument.LastUpdateUtcTimeDateTimeYes
List<StudentRecordDocumentResponse>.StudentRecordDocument.LinkedToOrganizationStringNoValue must be a valid organization code (e.g. s.1312).
List<StudentRecordDocumentResponse>.StudentRecordDocument.OriginalFileNameStringYes
List<StudentRecordDocumentResponse>.StudentRecordDocument.PASICoreVersionInt64Yes
List<StudentRecordDocumentResponse>.StudentRecordDocument.ProblemReportsList<DocumentProblemReportInfo>No
List<StudentRecordDocumentResponse>.StudentRecordDocument.ProblemReports.ProblemReportRefIdGuidYes
List<StudentRecordDocumentResponse>.StudentRecordDocument.ProblemReports.ProblemResolutionStringNoValue must be an appropriate StudentDocumentResolution code value
List<StudentRecordDocumentResponse>.StudentRecordDocument.ProblemReports.ProblemTypeStringYesValue must be an appropriate StudentDocumentProblemType code value
List<StudentRecordDocumentResponse>.StudentRecordDocument.ProblemReports.ReportedByUserStringYes
List<StudentRecordDocumentResponse>.StudentRecordDocument.ProblemReports.ReportedOnUtcTimeDateTimeYes
List<StudentRecordDocumentResponse>.StudentRecordDocument.ProblemReports.ReportingUserEmailStringNo
List<StudentRecordDocumentResponse>.StudentRecordDocument.ProblemReports.ResolvedByUserStringNo
List<StudentRecordDocumentResponse>.StudentRecordDocument.ProblemReports.ResolvedOnUtcTimeDateTimeNo
List<StudentRecordDocumentResponse>.StudentRecordDocument.QualityAssuranceInfoDocumentQualityAssuranceResultInfoNo
List<StudentRecordDocumentResponse>.StudentRecordDocument.QualityAssuranceInfo.FailedQualityAssuranceCommentsStringNo
List<StudentRecordDocumentResponse>.StudentRecordDocument.QualityAssuranceInfo.PerformedLocallyByOrganizationBooleanNo
List<StudentRecordDocumentResponse>.StudentRecordDocument.QualityAssuranceInfo.QualityAssuranceOperatorStringYes
List<StudentRecordDocumentResponse>.StudentRecordDocument.QualityAssuranceInfo.QualityAssuranceStatusStringYesValue must be an appropriate DocumentQAStatus code value
List<StudentRecordDocumentResponse>.StudentRecordDocument.QualityAssuranceInfo.QualityAssuranceUtcTimeDateTimeYes
List<StudentRecordDocumentResponse>.StudentRecordDocument.RefIdGuidYes
List<StudentRecordDocumentResponse>.StudentRecordDocument.SchoolYearNullable`1No
List<StudentRecordDocumentResponse>.StudentRecordDocument.StateProvinceIdStringYesValue must be in the form of a number between '000000001' and '999999999'
List<StudentRecordDocumentResponse>.StudentRecordDocument.StudentRecordCustodianListList<String>No
List<StudentRecordDocumentResponse>.StudentRecordDocument.TitleStringYesValue must be no more than 200 characters
See Also

Reference