IPASIService2017GetCourse Method Provincial Approach to Student Information API
This service is used to get Courses.

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

List<CourseResponse> GetCourse(
	CourseRequest request
)

Parameters

request
Type: PASI.DataContract.V201204CourseRequest
Identifies the Courses to return

Return Value

Type: ListCourseResponse
A list of Courses

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


Response Fields

Full Property NameTypeRequiredOther Attributes
List<CourseResponse>List<CourseResponse>No
List<CourseResponse>.AvailabilityStatusStringYes
List<CourseResponse>.CourseCourseInfoYes
List<CourseResponse>.Course.CategoryStringYes
List<CourseResponse>.Course.CourseCodeStringYes
List<CourseResponse>.Course.CourseSequenceCourseSequenceInfoYes
List<CourseResponse>.Course.CourseSequence.SequenceLevelStringYes
List<CourseResponse>.Course.CourseSequence.SequenceSeriesStringYes
List<CourseResponse>.Course.CreditEquivalentsList<CourseCreditEquivalentInfo>No
List<CourseResponse>.Course.CreditEquivalents.CourseCodeStringYes
List<CourseResponse>.Course.CreditEquivalents.IsCreditAllowedBooleanYes
List<CourseResponse>.Course.CreditsList<CourseCreditInfo>No
List<CourseResponse>.Course.Credits.CreditInt16Yes
List<CourseResponse>.Course.Credits.EffectiveDateDateTimeYes
List<CourseResponse>.Course.Credits.ExpiryDateDateTimeYes
List<CourseResponse>.Course.CtsCourseCtsCourseInfoNo
List<CourseResponse>.Course.CtsCourse.InstructionLevelCodeStringYes
List<CourseResponse>.Course.CtsCourse.StrandCodeStringYes
List<CourseResponse>.Course.DescriptionsList<CourseDescriptionInfo>Yes
List<CourseResponse>.Course.Descriptions.DescriptionStringYes
List<CourseResponse>.Course.Descriptions.DescriptionLanguageStringYes
List<CourseResponse>.Course.Descriptions.EffectiveDateDateTimeYes
List<CourseResponse>.Course.Descriptions.ExpiryDateDateTimeYes
List<CourseResponse>.Course.EffectiveDateDateTimeYes
List<CourseResponse>.Course.EvaluationStringYes
List<CourseResponse>.Course.ExpiryDateDateTimeYes
List<CourseResponse>.Course.IntendedGradeStringYes
List<CourseResponse>.Course.IsLocallyDevelopedBooleanYes
List<CourseResponse>.Course.LastModifiedDateDateTimeYes
List<CourseResponse>.Course.LocallyDevelopedAuthorizationsList<LocallyDevelopedAuthorizationInfo>No
List<CourseResponse>.Course.LocallyDevelopedAuthorizations.CourseAuthorizationCourseAuthorizationInfoYes
List<CourseResponse>.Course.LocallyDevelopedAuthorizations.CourseAuthorization.EffectiveDateDateTimeYes
List<CourseResponse>.Course.LocallyDevelopedAuthorizations.CourseAuthorization.ExpiryDateDateTimeYes
List<CourseResponse>.Course.LocallyDevelopedAuthorizations.CourseAuthorization.OrganizationCodeStringYes
List<CourseResponse>.Course.LocallyDevelopedAuthorizations.CourseAuthorization.OrganizationTypeStringYes
List<CourseResponse>.Course.LocallyDevelopedAuthorizations.CourseCreditInt32Yes
List<CourseResponse>.Course.PASICoreVersionInt64Yes
List<CourseResponse>.Course.PilotsList<CourseAuthorizationInfo>No
List<CourseResponse>.Course.Pilots.EffectiveDateDateTimeYes
List<CourseResponse>.Course.Pilots.ExpiryDateDateTimeYes
List<CourseResponse>.Course.Pilots.OrganizationCodeStringYes
List<CourseResponse>.Course.Pilots.OrganizationTypeStringYes
List<CourseResponse>.Course.PrerequisitesList<CoursePrerequisiteInfo>No
List<CourseResponse>.Course.Prerequisites.CourseCodeStringYes
List<CourseResponse>.Course.Prerequisites.EffectiveDateDateTimeYes
List<CourseResponse>.Course.Prerequisites.ExpiryDateDateTimeYes
List<CourseResponse>.Course.Prerequisites.IsPrerequisiteRequiredBooleanYes
List<CourseResponse>.Course.SubjectStringYes
See Also

Reference