This service will create a new student and accept all data related to the student in
a single service call. During this service the PASI core will create a State Province
Id (Alberta Student Number) for the new student which uniquely identifies a student
within the province.
After a student has been created in PASI core the additional services described in this document can be used to modify the student data. This service is only for initial creation.
After a student has been created in PASI core the additional services described in this document can be used to modify the student data. This service is only for initial creation.
Namespace: PASI.ServiceContract
Assembly: PASI.ServiceContract (in PASI.ServiceContract.dll) Version: 9.25.26.0 (9.25.26.0)
Syntax
Parameters
- request
- Type: PASI.DataContract.V2017CreateStudentRequest
This represents the entire request. During student creation the PASI will internal attempt to identify the student with the name and birthday information provided in the StudentIdentificationInfo record. If a high quality match is found the creation will be rejected. If the supplied information is indeed a new student the AcknowledgeSimilarStateProvinceIdList must be populated with all high quality StateProvinceIds found. This is to ensure that a user has verified the student they are creating doesn't exist.
The ExtendedInfo object on the request may contain additional information about a student in future releases. This field is currently not used.
Return Value
Type: SubmitResponseThe Id returned in this service will be the new StateProvinceId for the Student. If a Student could not be created the Id will be returned as zero.
The PASICoreVersion is the new version for the student. This will be zero if the student could not be created.
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.
9014, 11001, 11002, 11003, 11004, 11005, 11006, 11007, 11008, 11015, 11016, 11021, 11029, 11101, 11104, 11111, 11113, 11203, 11204, 11206, 11207, 11208, 11217, 11218, 11219, 11220, 11221, 11222, 11223, 11224, 11225, 11231, 11233, 11251, 11252, 11253, 11254, 11255, 11256, 11261, 11301, 11326, 11401, 11402, 11403, 11404, 11405, 12006, 12006Remarks
Request and Response Class Diagram
Request Fields
Full Property Name | Type | Required | Other Attributes |
---|---|---|---|
AcknowledgeSimilarStateProvinceIdList | List<String> | No | |
CallerInfo | CallerInfo | Yes | |
CallerInfo.ClientMessageID | String | Yes | Value 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.SentUtcTime | DateTime | Yes | |
CallerInfo.Software | Software | Yes | |
CallerInfo.Software.BuildNumber | String | Yes | Value 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.Manufacturer | String | Yes | Value 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.Product | String | Yes | Value 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.Version | String | Yes | Value 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.User | User | Yes | |
CallerInfo.User.IPAddress | String | Yes | Value 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.LocalID | String | Yes | Value 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.Name | String | Yes | Value 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.OrganizationCode | String | Yes | Value must be no more than 6 characters |
DisclosureRestrictionInfo | StudentDisclosureRestrictionInfo | No | |
DisclosureRestrictionInfo.DisclosureRestrictionCode | String | Yes | Value must be an appropriate DisclosureRestriction code value |
DisclosureRestrictionInfo.DisclosureRestrictionDetails | String | No | Value 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] |
DisclosureRestrictionInfo.EffectiveDate | DateTime | Yes | |
DisclosureRestrictionInfo.ExpiryDate | DateTime | No | |
DisclosureRestrictionInfo.IsActive | Boolean | Yes | |
DisclosureRestrictionInfo.LastUpdateUtcTime | DateTime | No | |
DisclosureRestrictionInfo.RefId | Int32 | Yes | |
EmailAddress | String | No | Value must not contain invalid characters |
IdentificationRecord | StudentIdentityInfo | Yes | |
IdentificationRecord.BirthDate | DateTime | Yes | |
IdentificationRecord.DocumentIssueDate | DateTime | No | |
IdentificationRecord.DocumentNumber | String | No | Value 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] |
IdentificationRecord.DocumentType | String | Yes | Value must be an appropriate SourceDocumentType code value |
IdentificationRecord.FirstName | String | Yes | Value must be no more than 50 characters Value must only contain letters (A-Z), hyphens (-), apostrophes ('), periods (.), spaces ( ), or accented letters (ÀÁÂÃÄÅÇÈÉÊËÌÍÎÏÑÒÓÔÕÖÙÚÛÜÝàáâãäåçèéêëìíîïñòóôõöùúûüýÿ) |
IdentificationRecord.IsNameExact | Boolean | Yes | |
IdentificationRecord.LastName | String | Yes | Value must be no more than 50 characters Value must only contain letters (A-Z), hyphens (-), apostrophes ('), periods (.), spaces ( ), or accented letters (ÀÁÂÃÄÅÇÈÉÊËÌÍÎÏÑÒÓÔÕÖÙÚÛÜÝàáâãäåçèéêëìíîïñòóôõöùúûüýÿ) |
IdentificationRecord.MiddleName | String | No | Value must be no more than 50 characters Value must only contain letters (A-Z), hyphens (-), apostrophes ('), periods (.), spaces ( ), or accented letters (ÀÁÂÃÄÅÇÈÉÊËÌÍÎÏÑÒÓÔÕÖÙÚÛÜÝàáâãäåçèéêëìíîïñòóôõöùúûüýÿ) |
IdentificationRecord.Suffix | String | No | Value must be no more than 15 characters Value must only contain letters (A-Z), hyphens (-), apostrophes ('), periods (.), spaces ( ), or accented letters (ÀÁÂÃÄÅÇÈÉÊËÌÍÎÏÑÒÓÔÕÖÙÚÛÜÝàáâãäåçèéêëìíîïñòóôõöùúûüýÿ) |
PersonalInfo | BasicPersonalInfo | Yes | |
PersonalInfo.Alias | Name | No | |
PersonalInfo.Alias.FirstName | String | Yes | Value must be no more than 50 characters Value must only contain letters (A-Z), hyphens (-), apostrophes ('), periods (.), spaces ( ), or accented letters (ÀÁÂÃÄÅÇÈÉÊËÌÍÎÏÑÒÓÔÕÖÙÚÛÜÝàáâãäåçèéêëìíîïñòóôõöùúûüýÿ) |
PersonalInfo.Alias.LastName | String | Yes | Value must be no more than 50 characters Value must only contain letters (A-Z), hyphens (-), apostrophes ('), periods (.), spaces ( ), or accented letters (ÀÁÂÃÄÅÇÈÉÊËÌÍÎÏÑÒÓÔÕÖÙÚÛÜÝàáâãäåçèéêëìíîïñòóôõöùúûüýÿ) |
PersonalInfo.Alias.LastUpdateUtcTime | DateTime | No | |
PersonalInfo.Alias.MiddleName | String | No | Value must be no more than 50 characters Value must only contain letters (A-Z), hyphens (-), apostrophes ('), periods (.), spaces ( ), or accented letters (ÀÁÂÃÄÅÇÈÉÊËÌÍÎÏÑÒÓÔÕÖÙÚÛÜÝàáâãäåçèéêëìíîïñòóôõöùúûüýÿ) |
PersonalInfo.Alias.RefId | Int32 | Yes | |
PersonalInfo.Alias.Suffix | String | No | Value must be no more than 15 characters Value must only contain letters (A-Z), hyphens (-), apostrophes ('), periods (.), spaces ( ), or accented letters (ÀÁÂÃÄÅÇÈÉÊËÌÍÎÏÑÒÓÔÕÖÙÚÛÜÝàáâãäåçèéêëìíîïñòóôõöùúûüýÿ) |
PersonalInfo.AlternateMailingAddress | Address | No | |
PersonalInfo.AlternateMailingAddress.AddressType | String | Yes | Value must be an appropriate AddressType code value |
PersonalInfo.AlternateMailingAddress.City | String | No | Value 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] |
PersonalInfo.AlternateMailingAddress.Country | String | Yes | Value 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] |
PersonalInfo.AlternateMailingAddress.EffectiveDate | DateTime | Yes | |
PersonalInfo.AlternateMailingAddress.ExpiryDate | DateTime | No | |
PersonalInfo.AlternateMailingAddress.LastUpdateUtcTime | DateTime | No | |
PersonalInfo.AlternateMailingAddress.PostalCode | String | No | Value 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] |
PersonalInfo.AlternateMailingAddress.RefId | Int32 | Yes | |
PersonalInfo.AlternateMailingAddress.StateProvince | String | No | Value 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] |
PersonalInfo.AlternateMailingAddress.Street | String | Yes | Value 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] |
PersonalInfo.CitizenshipStatus | String | No | Value must be an appropriate CitizenshipStatus code value |
PersonalInfo.DocumentExpiryDate | DateTime | No | |
PersonalInfo.ExtendedPersonalInfo | ExtendedInfoList | No | |
PersonalInfo.ExtendedPersonalInfo.List | List<ExtendedInfo> | Yes | |
PersonalInfo.ExtendedPersonalInfo.List.Name | String | Yes | 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] |
PersonalInfo.ExtendedPersonalInfo.List.Values | List<KeyValuePair> | Yes | |
PersonalInfo.ExtendedPersonalInfo.List.Values.Key | String | Yes | |
PersonalInfo.ExtendedPersonalInfo.List.Values.Value | String | Yes | PASI.Validation.Schema.IsNotRequired |
PersonalInfo.Gender | String | Yes | Value must be an appropriate Gender code value |
PersonalInfo.PreferredMailingAddress | Address | No | |
PersonalInfo.PreferredMailingAddress.AddressType | String | Yes | Value must be an appropriate AddressType code value |
PersonalInfo.PreferredMailingAddress.City | String | No | Value 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] |
PersonalInfo.PreferredMailingAddress.Country | String | Yes | Value 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] |
PersonalInfo.PreferredMailingAddress.EffectiveDate | DateTime | Yes | |
PersonalInfo.PreferredMailingAddress.ExpiryDate | DateTime | No | |
PersonalInfo.PreferredMailingAddress.LastUpdateUtcTime | DateTime | No | |
PersonalInfo.PreferredMailingAddress.PostalCode | String | No | Value 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] |
PersonalInfo.PreferredMailingAddress.RefId | Int32 | Yes | |
PersonalInfo.PreferredMailingAddress.StateProvince | String | No | Value 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] |
PersonalInfo.PreferredMailingAddress.Street | String | Yes | Value 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] |
PersonalInfo.PreferredPhoneNumber | PhoneNumber | No | |
PersonalInfo.PreferredPhoneNumber.EffectiveDate | DateTime | Yes | |
PersonalInfo.PreferredPhoneNumber.ExpiryDate | DateTime | No | |
PersonalInfo.PreferredPhoneNumber.Extension | String | No | Value must be no more than 7 characters |
PersonalInfo.PreferredPhoneNumber.IsListable | String | Yes | Value must be one of (Y, N, U) |
PersonalInfo.PreferredPhoneNumber.LastUpdateUtcTime | DateTime | No | |
PersonalInfo.PreferredPhoneNumber.Number | String | Yes | Value must be no more than 16 characters |
PersonalInfo.PreferredPhoneNumber.RefId | Int32 | Yes | |
PersonalInfo.PreferredPhoneNumber.Type | String | Yes | Value must be an appropriate PhoneType code value |
PersonalInfo.Section23Eligibility | String | No | Value must be an appropriate Section23Eligibility code value |
Response Fields
Full Property Name | Type | Required | Other Attributes |
---|---|---|---|
SubmitResponse.Id | String | No | |
SubmitResponse.PASICoreVersion | Int64 | No | |
SubmitResponse.Rejections | List<Rejection> | No | |
SubmitResponse.Rejections.Code | String | Yes | |
SubmitResponse.Rejections.Description | String | Yes |
See Also