IPASISystemConstructDocumentOrder Method Provincial Approach to Student Information API
Ministry only service. This service updates the document order.

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

DocumentOrderConstructResponse ConstructDocumentOrder(
	DocumentOrderConstructRequest request
)

Parameters

request
Type: PASI.DataContract.SystemDocumentOrderConstructRequest
The DocumentOrderConstructRequest specifying the document order Id, and Arguments to use for the document order update.

Return Value

Type: DocumentOrderConstructResponse
A DocumentOrderConstructResponse with the new PASICoreVersion value after a successful update, or with Rejections after an unsuccessful update.

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.

9002, 9009, 9010, 9019, 9023, 60002, 60101, 60102, 60105, 60106, 60107, 60108, 60109, 60110, 60111, 60112, 60113, 60114, 60116, 60124, 60125, 60126, 60128, 60129, 60130, 60131, 60132, 60315, 60316, 60318, 82007
Remarks

If the service encounters any errors during the submission process, it returns a list of rejections and does not save the document order. Document Order items are only deleted if they are not in the document order item list. Just setting IsDeleted = true will not deleted the items

Request and Response Class Diagram



Request Fields

Full Property NameTypeRequiredOther Attributes
BillingInformationIdInt32YesValue must be greater than or equal to 0
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
DocumentOrderIdInt32YesValue must be greater than or equal to 0
DocumentOrderItemsList<DocumentOrderConstructRequestItem>No
DocumentOrderItems.AddressLinesStringNoValue must be no more than 246 characters Value must not have control characters or non-European characters.
DocumentOrderItems.AmountCollectedDecimalYesDecimal number must have precision of at most 7 and scale of at most 2 Value must be greater than or equal to 0 Value must be less than or equal to 99999.99
DocumentOrderItems.CityNameStringNoValue 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]
DocumentOrderItems.CountryNameStringNoValue 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]
DocumentOrderItems.CredentialNumberNullable`1No
DocumentOrderItems.DocumentDeliveryMethodStringYesValue must be an appropriate DocumentDeliveryMethod code value
DocumentOrderItems.DocumentLanguageStringYesValue must be an appropriate DocumentLanguage code value
DocumentOrderItems.DocumentTypeStringYesValue must be an appropriate DocumentType code value
DocumentOrderItems.EducationAccountConnectionIdInt32No
DocumentOrderItems.FaxNumberStringNoValue 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]
DocumentOrderItems.NumberOfCopiesInt16YesValue must be between 1 and 10
DocumentOrderItems.OperationControlScheduleIdInt32NoValue must be greater than or equal to 0
DocumentOrderItems.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]
DocumentOrderItems.ProcessExpectationStringYesValue must be an appropriate DocumentProcessingTimeframe code value
DocumentOrderItems.ProvidedConsentForSchoolReleaseStringNoValue must be an appropriate SchoolCodeConsentProvided code value
DocumentOrderItems.RecipientClientIdInt32NoValue must be greater than or equal to 0
DocumentOrderItems.RecipientInstitutionIdStringNo
DocumentOrderItems.RecipientIsStudentBooleanYes
DocumentOrderItems.RecipientNameStringYesValue 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]
DocumentOrderItems.RecipientOfficialDocumentConsumerNullable`1No
DocumentOrderItems.ReorderDocumentOrderIdInt32No
DocumentOrderItems.ReorderDocumentOrderItemNumberInt16No
DocumentOrderItems.ReorderReasonStringNoValue must be an appropriate ReorderReason code value
DocumentOrderItems.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]
DocumentOrderItems.StateProvinceIdStringYesValue must be in the form of a number between '000000001' and '999999999'
DocumentOrderItems.TranscriptRequestIdInt32NoValue must be greater than or equal to 0
EducationAccountIdentifierInt32NoValue must be greater than or equal to 0
EducationAccountOrganizationStringNoValue must be a valid organization code (e.g. s.1312).
IsDeletedBooleanYes
OrderPlacedUtcTimeDateTimeNo
OrderReceivedMethodStringYesValue must be an appropriate OrderReceivedMethod code value
OrderStatusStringYesValue must be an appropriate OrderStatus code value
PASICoreVersionInt64YesValue must be greater than or equal to 0
PaymentMethodStringNoValue must be an appropriate PaymentMethod code value
PaymentTransactionIdStringNoValue 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]
RequestorNameStringNoValue must be no more than 120 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]


Response Fields

Full Property NameTypeRequiredOther Attributes
DocumentOrderConstructResponse.DocumentOrderIdInt32Yes
DocumentOrderConstructResponse.PASICoreVersionInt64Yes
DocumentOrderConstructResponse.RejectionsList<Rejection>No
DocumentOrderConstructResponse.Rejections.CodeStringYes
DocumentOrderConstructResponse.Rejections.DescriptionStringYes
See Also

Reference