IPASIService2018SubmitMarkApproval Method Provincial Approach to Student Information API
This service is used to change the approve the mark value of a Evaluated Mark or Course Enrolment Mark.

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

MultipleSubmitResponse SubmitMarkApproval(
	SubmitMarkApprovalRequest request
)

Parameters

request
Type: PASI.DataContract.V201204SubmitMarkApprovalRequest
The request contains a list of mark Ids so their mark values can be approved or unapproved for a specific mark type.

Return Value

Type: MultipleSubmitResponse
The response will contain a SubmitReponse object per mark being approved indicating its new PASI version number if the update was successful or the rejection(s) associated to the mark approval.

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, 9020, 9021, 9022, 9023, 40603, 40604, 40605, 40606, 40607, 40608, 40611, 40612
Remarks

Each record included in the request is validated individually. For a single request, some marks may be updated successfully while other mark records may not. Once the information is successfully validated, the IsApproved data element for the mark will be updated to match the request.

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
IsMarkApprovedBooleanYes
MarkApprovalsList<MarkApprovalInfo>Yes
MarkApprovals.PASICoreVersionInt64Yes
MarkApprovals.RefIdGuidYes
MarkTypeStringYesValue must be an appropriate MarkType code value


Response Fields

Full Property NameTypeRequiredOther Attributes
MultipleSubmitResponse.ResponsesList<SubmitResponse>Yes
MultipleSubmitResponse.Responses.IdStringNo
MultipleSubmitResponse.Responses.PASICoreVersionInt64No
MultipleSubmitResponse.Responses.RejectionsList<Rejection>No
MultipleSubmitResponse.Responses.Rejections.CodeStringYes
MultipleSubmitResponse.Responses.Rejections.DescriptionStringYes
See Also

Reference