IPASIService2017GetStudent Method Provincial Approach to Student Information API
This service operation will return a list of students that are requested by the client.

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

List<StudentResponse> GetStudent(
	StudentRequest request
)

Parameters

request
Type: PASI.DataContract.V201204StudentRequest
Contains a list of StateProvinceIds that the client wishes to retrieve

Return Value

Type: ListStudentResponse
A list of StudentResponse objects. DisclosureRestrictions will only include inactive student disclosure restriction records for Ministry users.

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.

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
StateProvinceIdsList<EntityKeyVersionInfo>Yes
StateProvinceIds.ExpectedVersionNullable`1No
StateProvinceIds.KeyStringYes


Response Fields

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