IPASISystemSubmitAuthorizedUser Method Provincial Approach to Student Information API
Ministry only service. This service add or update a student's Authorized User on myPass.

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

SubmitStudentAuthorizedUserResponse SubmitAuthorizedUser(
	SubmitStudentAuthorizedUserRequest request
)

Parameters

request
Type: PASI.DataContract.SystemSubmitStudentAuthorizedUserRequest
The request includes the name, relationship type, email of the Authorized User and the StateProviceId of the student that it should be associated to.

Return Value

Type: SubmitStudentAuthorizedUserResponse
Submit response includes the ID of the Authorized User record, and the new PASI Core Version of the record.

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.

60087, 60089, 60091, 60093, 69005
Remarks

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
EmailAddressStringYes
ExpiryDateDateTimeYes
IsDeletedBooleanYes
NameStringYes
PASICoreVersionInt64Yes
RefIdInt32Yes
RelationshipTypeStringYesValue must be an appropriate AuthorizedUserRelationship code value
StateProvinceIdStringYesValue must be in the form of a number between '000000001' and '999999999'


Response Fields

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

Reference