IPASIService2020GetStudent 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.25.26.0 (9.25.26.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.AuditUserNameStringYes
List<StudentResponse>.Student.CitizenshipStatuses.CitizenshipStatusStringYesValue must be an appropriate CitizenshipStatus code value
List<StudentResponse>.Student.CitizenshipStatuses.CountryOfCitizenshipStringNoValue 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.CitizenshipStatuses.CreatedByOrganizationCodeStringYesValue must be a valid organization code (e.g. s.1312).
List<StudentResponse>.Student.CitizenshipStatuses.DocumentExpiryDateNullable`1No
List<StudentResponse>.Student.CitizenshipStatuses.EffectiveDateDateTimeYes
List<StudentResponse>.Student.CitizenshipStatuses.LastUpdateUtcTimeDateTimeNo
List<StudentResponse>.Student.CitizenshipStatuses.ParentGuardianCitizenshipDocumentRefIdNullable`1No
List<StudentResponse>.Student.CitizenshipStatuses.ParentGuardianCitizenshipStatusStringNoValue must be an appropriate CitizenshipStatus code value
List<StudentResponse>.Student.CitizenshipStatuses.ParentGuardianIdNullable`1No
List<StudentResponse>.Student.CitizenshipStatuses.RefIdInt32Yes
List<StudentResponse>.Student.CitizenshipStatuses.StudentCitizenshipDocumentRefIdNullable`1No
List<StudentResponse>.Student.CreatedOnUtcDateTimeYes
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.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.DocumentReferenceIdNullable`1No
List<StudentResponse>.Student.IdentificationRecord.DocumentTypeStringNoValue 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.LastUpdateUtcTimeDateTimeYes
List<StudentResponse>.Student.MaturityDateDateTimeYes
List<StudentResponse>.Student.MaturityReasonStringYesValue must be an appropriate MaturityReason code value
List<StudentResponse>.Student.MedicalAlertsList<MedicalAlertInfo>No
List<StudentResponse>.Student.MedicalAlerts.LastUpdateUtcTimeDateTimeYes
List<StudentResponse>.Student.MedicalAlerts.MedicalAlertMessageStringYes
List<StudentResponse>.Student.MedicalAlerts.MedicalAlertTypeStringYesValue must be an appropriate code value
List<StudentResponse>.Student.MedicalAlerts.RefIdInt32Yes
List<StudentResponse>.Student.OriginalNameRefIdInt32Yes
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.ParentGuardiansList<ParentGuardianInfo>No
List<StudentResponse>.Student.ParentGuardians.EmailAddressStringNo
List<StudentResponse>.Student.ParentGuardians.ExpiryDateDateTimeNo
List<StudentResponse>.Student.ParentGuardians.ExpiryDateOverrideNullable`1No
List<StudentResponse>.Student.ParentGuardians.HasSameHomePhoneNumberAsStudentBooleanYes
List<StudentResponse>.Student.ParentGuardians.HasSameMailingAddressAsStudentBooleanYes
List<StudentResponse>.Student.ParentGuardians.HomeNumberStringNo
List<StudentResponse>.Student.ParentGuardians.IsResidingWithBooleanYes
List<StudentResponse>.Student.ParentGuardians.LastUpdateUtcTimeDateTimeYes
List<StudentResponse>.Student.ParentGuardians.MailingAddressParentGuardianAddressNo
List<StudentResponse>.Student.ParentGuardians.MailingAddress.AddressFormatStringYesValue must be an appropriate AddressFormat code value
List<StudentResponse>.Student.ParentGuardians.MailingAddress.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.ParentGuardians.MailingAddress.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.ParentGuardians.MailingAddress.LatitudeNullable`1NoValue must be between -90 and 90
List<StudentResponse>.Student.ParentGuardians.MailingAddress.LongitudeNullable`1NoValue must be between -180 and 180
List<StudentResponse>.Student.ParentGuardians.MailingAddress.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.ParentGuardians.MailingAddress.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.ParentGuardians.MailingAddress.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.ParentGuardians.MobileNumberStringNo
List<StudentResponse>.Student.ParentGuardians.NameParentGuardianNameYes
List<StudentResponse>.Student.ParentGuardians.Name.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.ParentGuardians.Name.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.ParentGuardians.Name.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.ParentGuardians.Name.SuffixStringNoValue must be no more than 15 characters Value must only contain letters (A-Z), hyphens (-), apostrophes ('), periods (.), spaces ( ), or accented letters (ÀÁÂÃÄÅÇÈÉÊËÌÍÎÏÑÒÓÔÕÖÙÚÛÜÝàáâãäåçèéêëìíîïñòóôõöùúûüýÿ)
List<StudentResponse>.Student.ParentGuardians.PhysicalAddressParentGuardianAddressNo
List<StudentResponse>.Student.ParentGuardians.PhysicalAddress.AddressFormatStringYesValue must be an appropriate AddressFormat code value
List<StudentResponse>.Student.ParentGuardians.PhysicalAddress.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.ParentGuardians.PhysicalAddress.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.ParentGuardians.PhysicalAddress.LatitudeNullable`1NoValue must be between -90 and 90
List<StudentResponse>.Student.ParentGuardians.PhysicalAddress.LongitudeNullable`1NoValue must be between -180 and 180
List<StudentResponse>.Student.ParentGuardians.PhysicalAddress.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.ParentGuardians.PhysicalAddress.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.ParentGuardians.PhysicalAddress.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.ParentGuardians.PhysicalAddressSourceStringYesValue must be an appropriate GuardianPhysicalAddressSource code value
List<StudentResponse>.Student.ParentGuardians.RefIdInt32Yes
List<StudentResponse>.Student.ParentGuardians.RelationshipDescriptionStringNo
List<StudentResponse>.Student.ParentGuardians.RelationshipTypeStringYesValue must be an appropriate RelationshipType code value
List<StudentResponse>.Student.ParentGuardians.WorkExtensionStringNo
List<StudentResponse>.Student.ParentGuardians.WorkNumberStringNo
List<StudentResponse>.Student.PASICoreVersionInt64Yes
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.PrimaryLanguageSpokenAtHomeStringNoValue must be an appropriate LanguageSpoken code value
List<StudentResponse>.Student.PrimaryStateProvinceIdStringNo
List<StudentResponse>.Student.ScheduledRecordDisposalDateDateTimeNo
List<StudentResponse>.Student.SecondaryStateProvinceIdsList<String>No
List<StudentResponse>.Student.Section23EligibilityStringNoValue must be an appropriate Section23Eligibility code value
List<StudentResponse>.Student.StateProvinceIdStringYes
List<StudentResponse>.Student.StudentAddressesList<StudentAddress>No
List<StudentResponse>.Student.StudentAddresses.AddressFormatStringYesValue must be an appropriate AddressFormat code value
List<StudentResponse>.Student.StudentAddresses.AddressTypeStringYesValue must be an appropriate AddressType code value
List<StudentResponse>.Student.StudentAddresses.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.StudentAddresses.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.StudentAddresses.EffectiveDateDateTimeYes
List<StudentResponse>.Student.StudentAddresses.ExpiryDateDateTimeNo
List<StudentResponse>.Student.StudentAddresses.ExpiryDateOverrideNullable`1No
List<StudentResponse>.Student.StudentAddresses.LastUpdateUtcTimeDateTimeNo
List<StudentResponse>.Student.StudentAddresses.LatitudeNullable`1NoValue must be between -90 and 90
List<StudentResponse>.Student.StudentAddresses.LongitudeNullable`1NoValue must be between -180 and 180
List<StudentResponse>.Student.StudentAddresses.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.StudentAddresses.RefIdInt32Yes
List<StudentResponse>.Student.StudentAddresses.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.StudentAddresses.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.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