IPASIService2017GetStudentPersonalProfile Method Provincial Approach to Student Information API
This service returns limited or full personal information for a student.

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

StudentPersonalProfileResponse GetStudentPersonalProfile(
	StudentPersonalProfileRequest request
)

Parameters

request
Type: PASI.DataContract.V201204StudentPersonalProfileRequest
Contains StateProvinceId that is used to identify the student, IsLimitedProfileRequested flag to indicate the amount of personal student records is preferred to be returned and MinimumExpectedPASICoreVersion to specify the minimum version of the student personal profile to be returned.

Return Value

Type: StudentPersonalProfileResponse
The requested student's personal profile and AssociationTypeToStudent code type to indicate what association type a calling PASI client has with a student. If calling PASI client has no association (None) to student, a limited profile is always return. If a PASI client that has full access to student, requested a limited profile (set IsLimitedProfileRequested = True) then the AssociationTypeToStudent of None is always return.

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, 9014
Remarks

This service returns the student personal profile for a given StateProvinceId and the AssociationTypeToStudent code type to indicate what association type a calling PASI client has with a student.

If a student is associated to the calling PASI client, the client has the option to either have a full personal profile returned; or a limited personal profile returned. The IsLimitedProfileRequested flag is for use to request a limited personal profile to be returned. If a student is not associated to the calling PASI client, a limited personal profile will always be returned; regardless of what the IsLimitedProfileRequested flag is. If a limited personal profile is returned, the AssociationTypeToStudent of None is always returned.

The difference between full and limited personal profile is a limited personal profile does not returned any phone number and active disclosure restriction record for the student. The HasDisclosureRestrictions flag allow a calling PASI client to identify if a student has active disclosure restriction record when only a limited personal profile is returned.

PASI Client can only see inactive student disclosure restriction record if client is associated to the student and client's certificate has MinistryClientUser role. However, PASI client can see active disclosure restriction record if client is associated to the student even if client's certificate does not have MinistryClientUser role.

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
IsLimitedProfileRequestedBooleanYes
MinimumExpectedPASICoreVersionInt64Yes
StateProvinceIdStringYesValue must be in the form of a number between '000000001' and '999999999'


Response Fields

Full Property NameTypeRequiredOther Attributes
StudentPersonalProfileResponse.AssociationTypeToStudentStringYes
StudentPersonalProfileResponse.StudentPersonalProfileStudentPersonalProfileInfoYes
StudentPersonalProfileResponse.StudentPersonalProfile.CitizenshipStatusesList<CitizenshipStatusInfo>No
StudentPersonalProfileResponse.StudentPersonalProfile.CitizenshipStatuses.CitizenshipStatusStringYesValue must be an appropriate CitizenshipStatus code value
StudentPersonalProfileResponse.StudentPersonalProfile.CitizenshipStatuses.DocumentExpiryDateDateTimeNo
StudentPersonalProfileResponse.StudentPersonalProfile.CitizenshipStatuses.EffectiveDateDateTimeYes
StudentPersonalProfileResponse.StudentPersonalProfile.CitizenshipStatuses.LastUpdateUtcTimeDateTimeNo
StudentPersonalProfileResponse.StudentPersonalProfile.CitizenshipStatuses.RefIdInt32Yes
StudentPersonalProfileResponse.StudentPersonalProfile.CreatedOnUtcDateTimeNo
StudentPersonalProfileResponse.StudentPersonalProfile.DateOfDeathDateTimeNo
StudentPersonalProfileResponse.StudentPersonalProfile.DisclosureRestrictionsList<StudentDisclosureRestrictionInfo>No
StudentPersonalProfileResponse.StudentPersonalProfile.DisclosureRestrictions.DisclosureRestrictionCodeStringYesValue must be an appropriate DisclosureRestriction code value
StudentPersonalProfileResponse.StudentPersonalProfile.DisclosureRestrictions.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]
StudentPersonalProfileResponse.StudentPersonalProfile.DisclosureRestrictions.EffectiveDateDateTimeYes
StudentPersonalProfileResponse.StudentPersonalProfile.DisclosureRestrictions.ExpiryDateDateTimeNo
StudentPersonalProfileResponse.StudentPersonalProfile.DisclosureRestrictions.IsActiveBooleanYes
StudentPersonalProfileResponse.StudentPersonalProfile.DisclosureRestrictions.LastUpdateUtcTimeDateTimeNo
StudentPersonalProfileResponse.StudentPersonalProfile.DisclosureRestrictions.RefIdInt32Yes
StudentPersonalProfileResponse.StudentPersonalProfile.EmailAddressesList<EmailAddress>No
StudentPersonalProfileResponse.StudentPersonalProfile.EmailAddresses.AddressStringYesValue must be no more than 255 characters Value must not contain invalid characters
StudentPersonalProfileResponse.StudentPersonalProfile.EmailAddresses.IsActiveBooleanYes
StudentPersonalProfileResponse.StudentPersonalProfile.EmailAddresses.LastUpdateUtcTimeDateTimeNo
StudentPersonalProfileResponse.StudentPersonalProfile.EmailAddresses.RefIdInt32Yes
StudentPersonalProfileResponse.StudentPersonalProfile.GenderStringYesValue must be an appropriate Gender code value
StudentPersonalProfileResponse.StudentPersonalProfile.HasDisclosureRestrictionsBooleanYes
StudentPersonalProfileResponse.StudentPersonalProfile.IdentificationRecordStudentIdentificationInfoYes
StudentPersonalProfileResponse.StudentPersonalProfile.IdentificationRecord.BirthDateDateTimeYes
StudentPersonalProfileResponse.StudentPersonalProfile.IdentificationRecord.DocumentIssueDateDateTimeNo
StudentPersonalProfileResponse.StudentPersonalProfile.IdentificationRecord.DocumentNumberStringNoValue must be 4 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]
StudentPersonalProfileResponse.StudentPersonalProfile.IdentificationRecord.DocumentTypeStringYesValue must be an appropriate SourceDocumentType code value
StudentPersonalProfileResponse.StudentPersonalProfile.IdentificationRecord.IsNameExactBooleanYes
StudentPersonalProfileResponse.StudentPersonalProfile.IdentificationRecord.RefIdInt32Yes
StudentPersonalProfileResponse.StudentPersonalProfile.IsAssociatedBooleanYes
StudentPersonalProfileResponse.StudentPersonalProfile.IsConnectedToMyPassBooleanYes
StudentPersonalProfileResponse.StudentPersonalProfile.IsDeactivatedBooleanYes
StudentPersonalProfileResponse.StudentPersonalProfile.IsDeceasedBooleanYes
StudentPersonalProfileResponse.StudentPersonalProfile.LastUpdateUtcTimeDateTimeNo
StudentPersonalProfileResponse.StudentPersonalProfile.MaturityDateDateTimeNo
StudentPersonalProfileResponse.StudentPersonalProfile.MaturityReasonStringNoValue must be an appropriate MaturityReason code value
StudentPersonalProfileResponse.StudentPersonalProfile.OriginalNameRefIdInt32Yes
StudentPersonalProfileResponse.StudentPersonalProfile.OtherAddressesList<Address>No
StudentPersonalProfileResponse.StudentPersonalProfile.OtherAddresses.AddressTypeStringYesValue must be an appropriate AddressType code value
StudentPersonalProfileResponse.StudentPersonalProfile.OtherAddresses.CityStringNoValue 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]
StudentPersonalProfileResponse.StudentPersonalProfile.OtherAddresses.CountryStringYesValue 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]
StudentPersonalProfileResponse.StudentPersonalProfile.OtherAddresses.EffectiveDateDateTimeYes
StudentPersonalProfileResponse.StudentPersonalProfile.OtherAddresses.ExpiryDateDateTimeNo
StudentPersonalProfileResponse.StudentPersonalProfile.OtherAddresses.LastUpdateUtcTimeDateTimeNo
StudentPersonalProfileResponse.StudentPersonalProfile.OtherAddresses.PostalCodeStringNoValue 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]
StudentPersonalProfileResponse.StudentPersonalProfile.OtherAddresses.RefIdInt32Yes
StudentPersonalProfileResponse.StudentPersonalProfile.OtherAddresses.StateProvinceStringNoValue 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]
StudentPersonalProfileResponse.StudentPersonalProfile.OtherAddresses.StreetStringYesValue 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]
StudentPersonalProfileResponse.StudentPersonalProfile.OtherPhoneNumbersList<PhoneNumber>No
StudentPersonalProfileResponse.StudentPersonalProfile.OtherPhoneNumbers.EffectiveDateDateTimeYes
StudentPersonalProfileResponse.StudentPersonalProfile.OtherPhoneNumbers.ExpiryDateDateTimeNo
StudentPersonalProfileResponse.StudentPersonalProfile.OtherPhoneNumbers.ExtensionStringNoValue must be no more than 7 characters
StudentPersonalProfileResponse.StudentPersonalProfile.OtherPhoneNumbers.IsListableStringYesValue must be one of (Y, N, U)
StudentPersonalProfileResponse.StudentPersonalProfile.OtherPhoneNumbers.LastUpdateUtcTimeDateTimeNo
StudentPersonalProfileResponse.StudentPersonalProfile.OtherPhoneNumbers.NumberStringYesValue must be no more than 16 characters
StudentPersonalProfileResponse.StudentPersonalProfile.OtherPhoneNumbers.RefIdInt32Yes
StudentPersonalProfileResponse.StudentPersonalProfile.OtherPhoneNumbers.TypeStringYesValue must be an appropriate PhoneType code value
StudentPersonalProfileResponse.StudentPersonalProfile.PASICoreVersionInt64No
StudentPersonalProfileResponse.StudentPersonalProfile.PreferredMailingAddressAddressNo
StudentPersonalProfileResponse.StudentPersonalProfile.PreferredMailingAddress.AddressTypeStringYesValue must be an appropriate AddressType code value
StudentPersonalProfileResponse.StudentPersonalProfile.PreferredMailingAddress.CityStringNoValue 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]
StudentPersonalProfileResponse.StudentPersonalProfile.PreferredMailingAddress.CountryStringYesValue 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]
StudentPersonalProfileResponse.StudentPersonalProfile.PreferredMailingAddress.EffectiveDateDateTimeYes
StudentPersonalProfileResponse.StudentPersonalProfile.PreferredMailingAddress.ExpiryDateDateTimeNo
StudentPersonalProfileResponse.StudentPersonalProfile.PreferredMailingAddress.LastUpdateUtcTimeDateTimeNo
StudentPersonalProfileResponse.StudentPersonalProfile.PreferredMailingAddress.PostalCodeStringNoValue 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]
StudentPersonalProfileResponse.StudentPersonalProfile.PreferredMailingAddress.RefIdInt32Yes
StudentPersonalProfileResponse.StudentPersonalProfile.PreferredMailingAddress.StateProvinceStringNoValue 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]
StudentPersonalProfileResponse.StudentPersonalProfile.PreferredMailingAddress.StreetStringYesValue 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]
StudentPersonalProfileResponse.StudentPersonalProfile.PreferredNameRefIdInt32Yes
StudentPersonalProfileResponse.StudentPersonalProfile.PreferredPhoneNumberPhoneNumberNo
StudentPersonalProfileResponse.StudentPersonalProfile.PreferredPhoneNumber.EffectiveDateDateTimeYes
StudentPersonalProfileResponse.StudentPersonalProfile.PreferredPhoneNumber.ExpiryDateDateTimeNo
StudentPersonalProfileResponse.StudentPersonalProfile.PreferredPhoneNumber.ExtensionStringNoValue must be no more than 7 characters
StudentPersonalProfileResponse.StudentPersonalProfile.PreferredPhoneNumber.IsListableStringYesValue must be one of (Y, N, U)
StudentPersonalProfileResponse.StudentPersonalProfile.PreferredPhoneNumber.LastUpdateUtcTimeDateTimeNo
StudentPersonalProfileResponse.StudentPersonalProfile.PreferredPhoneNumber.NumberStringYesValue must be no more than 16 characters
StudentPersonalProfileResponse.StudentPersonalProfile.PreferredPhoneNumber.RefIdInt32Yes
StudentPersonalProfileResponse.StudentPersonalProfile.PreferredPhoneNumber.TypeStringYesValue must be an appropriate PhoneType code value
StudentPersonalProfileResponse.StudentPersonalProfile.PrimaryStateProvinceIdStringNo
StudentPersonalProfileResponse.StudentPersonalProfile.SecondaryStateProvinceIdsList<String>No
StudentPersonalProfileResponse.StudentPersonalProfile.Section23EligibilityStringNoValue must be an appropriate Section23Eligibility code value
StudentPersonalProfileResponse.StudentPersonalProfile.StateProvinceIdStringYes
StudentPersonalProfileResponse.StudentPersonalProfile.StudentNamesList<Name>No
StudentPersonalProfileResponse.StudentPersonalProfile.StudentNames.FirstNameStringYesValue must be no more than 50 characters Value must only contain letters (A-Z), hyphens (-), apostrophes ('), periods (.), spaces ( ), or accented letters (ÀÁÂÃÄÅÇÈÉÊËÌÍÎÏÑÒÓÔÕÖÙÚÛÜÝàáâãäåçèéêëìíîïñòóôõöùúûüýÿ)
StudentPersonalProfileResponse.StudentPersonalProfile.StudentNames.LastNameStringYesValue must be no more than 50 characters Value must only contain letters (A-Z), hyphens (-), apostrophes ('), periods (.), spaces ( ), or accented letters (ÀÁÂÃÄÅÇÈÉÊËÌÍÎÏÑÒÓÔÕÖÙÚÛÜÝàáâãäåçèéêëìíîïñòóôõöùúûüýÿ)
StudentPersonalProfileResponse.StudentPersonalProfile.StudentNames.LastUpdateUtcTimeDateTimeNo
StudentPersonalProfileResponse.StudentPersonalProfile.StudentNames.MiddleNameStringNoValue must be no more than 50 characters Value must only contain letters (A-Z), hyphens (-), apostrophes ('), periods (.), spaces ( ), or accented letters (ÀÁÂÃÄÅÇÈÉÊËÌÍÎÏÑÒÓÔÕÖÙÚÛÜÝàáâãäåçèéêëìíîïñòóôõöùúûüýÿ)
StudentPersonalProfileResponse.StudentPersonalProfile.StudentNames.RefIdInt32Yes
StudentPersonalProfileResponse.StudentPersonalProfile.StudentNames.SuffixStringNoValue must be no more than 15 characters Value must only contain letters (A-Z), hyphens (-), apostrophes ('), periods (.), spaces ( ), or accented letters (ÀÁÂÃÄÅÇÈÉÊËÌÍÎÏÑÒÓÔÕÖÙÚÛÜÝàáâãäåçèéêëìíîïñòóôõöùúûüýÿ)
See Also

Reference