IPASIService2019GetCourseEnrolment Method Provincial Approach to Student Information API
This service will return the Course Enrolment(s) based on the Course Enrolment Id(s) passed in.

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

List<CourseEnrolmentResponse> GetCourseEnrolment(
	CourseEnrolmentRequest request
)

Parameters

request
Type: PASI.DataContract.V201204CourseEnrolmentRequest
The request contains a list of Course Enrolment Ids the client wishes to retrieve.

Return Value

Type: ListCourseEnrolmentResponse
The response contains a list of Course Enrolments.

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.

This service allows the PASI Client to retrieve their students' Course Enrolment(s) by passing in the Course Enrolment RefId(s).The Course Enrolments that can be retrieved are limited to the Course Enrolments created by schools that PASI client represents.

The PASI Client must be associated to the Organization who owns the record. The PASI Client must be assigned the ViewAcademicRecordUser role before they are able to call this service.

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
CourseEnrolmentIdsList<EntityRefIdVersionInfo>Yes
CourseEnrolmentIds.ExpectedVersionNullable`1No
CourseEnrolmentIds.RefIdGuidYes


Response Fields

Full Property NameTypeRequiredOther Attributes
List<CourseEnrolmentResponse>List<CourseEnrolmentResponse>No
List<CourseEnrolmentResponse>.AvailabilityStatusStringNo
List<CourseEnrolmentResponse>.CourseEnrolmentCourseEnrolmentInfoNo
List<CourseEnrolmentResponse>.CourseEnrolment.ArePrerequisitesWaivedBooleanYes
List<CourseEnrolmentResponse>.CourseEnrolment.CourseCodeStringYesValue must be 7 characters
List<CourseEnrolmentResponse>.CourseEnrolment.CourseEnrolmentMarkCourseEnrolmentMarkInfoNo
List<CourseEnrolmentResponse>.CourseEnrolment.CourseEnrolmentMark.AssignmentDateDateTimeYes
List<CourseEnrolmentResponse>.CourseEnrolment.CourseEnrolmentMark.IsMarkApprovedBooleanYes
List<CourseEnrolmentResponse>.CourseEnrolment.CourseEnrolmentMark.MarkFormatStringYesValue must be an appropriate MarkFormat code value
List<CourseEnrolmentResponse>.CourseEnrolment.CourseEnrolmentMark.MarkValueStringYesValue must be no more than 3 characters
List<CourseEnrolmentResponse>.CourseEnrolment.CourseEnrolmentStatusStringYesValue must be an appropriate CourseEnrolmentStatus code value
List<CourseEnrolmentResponse>.CourseEnrolment.CreditsAttemptedInt16Yes
List<CourseEnrolmentResponse>.CourseEnrolment.EffectiveUtcDateTimeNo
List<CourseEnrolmentResponse>.CourseEnrolment.EntryDateDateTimeNo
List<CourseEnrolmentResponse>.CourseEnrolment.ExitDateDateTimeNo
List<CourseEnrolmentResponse>.CourseEnrolment.InstructionalMinutesReceivedNullable`1NoValue must be between 0 and 2147483647
List<CourseEnrolmentResponse>.CourseEnrolment.IsDeletedBooleanYes
List<CourseEnrolmentResponse>.CourseEnrolment.IsDualEnrolmentBooleanYes
List<CourseEnrolmentResponse>.CourseEnrolment.IsFundingRequestedBooleanYes
List<CourseEnrolmentResponse>.CourseEnrolment.PASICoreVersionInt64Yes
List<CourseEnrolmentResponse>.CourseEnrolment.ProviderNumberStringNoValue must be no more than 100 characters
List<CourseEnrolmentResponse>.CourseEnrolment.RefIdGuidYes
List<CourseEnrolmentResponse>.CourseEnrolment.SectionRefIdGuidYes
List<CourseEnrolmentResponse>.CourseEnrolment.StateProvinceIdStringYesValue must be in the form of a number between '000000001' and '999999999'
List<CourseEnrolmentResponse>.CourseEnrolment.StudentSchoolEnrolmentRefIdGuidNo
See Also

Reference