IPASIService2021SubmitStudentDisclosureRestriction Method Provincial Approach to Student Information API
This service will allow setting of the details for a student disclosure restriction. This includes the date the disclosure restriction starts, expires, the details of the restriction and disclosure restriction code.

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

SubmitResponse SubmitStudentDisclosureRestriction(
	SubmitStudentDisclosureRestrictionRequest request
)

Parameters

request
Type: PASI.DataContract.V2017SubmitStudentDisclosureRestrictionRequest
The request contains the details of the student disclosure restriction, the state province Id being student's Alberta Student Number. If a disclosure restriction info is to be deleted the DeleteDisclosureRestriction flag should be set along with the RefId

Return Value

Type: SubmitResponse
A SubmitResponse with the Id being the StudentDisclosureRestrictionId being modified by the current service request. The PASICoreVersion is the new version for the student.

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.

9002, 9006, 9010, 9011, 11101, 11104, 11111, 11113, 11116, 11120
Remarks

This method will allow setting of the details for a student disclosure restriction. This includes the date the disclosure restriction starts, expires, the details of the restriction and disclosure restriction code. Once a student has an active disclosure restriction, the Identify Student service will no longer return the student by default.

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
DeleteDisclosureRestrictionBooleanYes
DisclosureRestrictionStudentDisclosureRestrictionInfoYes
DisclosureRestriction.DisclosureRestrictionCodeStringYesValue must be an appropriate DisclosureRestriction code value
DisclosureRestriction.DisclosureRestrictionDetailsStringNoValue must be no more than 250 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]
DisclosureRestriction.EffectiveDateDateTimeYes
DisclosureRestriction.ExpiryDateDateTimeNo
DisclosureRestriction.IsActiveBooleanYes
DisclosureRestriction.LastUpdateUtcTimeDateTimeNo
DisclosureRestriction.RefIdInt32Yes
StateProvinceIdStringYesValue must be in the form of a number between '000000001' and '999999999'
StudentPASICoreVersionInt64Yes


Response Fields

Full Property NameTypeRequiredOther Attributes
SubmitResponse.IdStringNo
SubmitResponse.PASICoreVersionInt64No
SubmitResponse.RejectionsList<Rejection>No
SubmitResponse.Rejections.CodeStringYes
SubmitResponse.Rejections.DescriptionStringYes
See Also

Reference