Autodesk Vault ProfessionalVault API

AddChangeOrder Method

Autodesk.Connectivity.WebServicesChangeOrderService

Create a new change order.

Required Permissions

ChangeOrderCreate

Syntax

public override ChangeOrder AddChangeOrder(
   System.long routingId,
   System.string changeOrderNumber,
   System.string title,
   System.string description,
   System.DateTime approveDeadline,
   System.long[] itemMasterIds,
   System.long[] attachmentIds,
   System.long[] fileMasterIds,
   PropInst[] properties,
   AssocPropItem[] assocProperties,
   MsgGroup[] comments,
   Email[] notifyEmails
)
Public Overrides NotOverridable Function AddChangeOrder( _
   ByVal routingId As System.Long, _
   ByVal changeOrderNumber As System.String, _
   ByVal title As System.String, _
   ByVal description As System.String, _
   ByVal approveDeadline As System.Date, _
   ByVal itemMasterIds() As System.Long, _
   ByVal attachmentIds() As System.Long, _
   ByVal fileMasterIds() As System.Long, _
   ByVal properties() As PropInst, _
   ByVal assocProperties() As AssocPropItem, _
   ByVal comments() As MsgGroup, _
   ByVal notifyEmails() As Email _
) As ChangeOrder

Parameters

NameDescription
routingIdThe Routing to use.
changeOrderNumberA unique change order number. Use GetChangeOrderNumberBySchemeId to have the server generate the next available number.
titleChange Order's title.
descriptionChange Order's description.
approveDeadlineThe due date that the Change Order has to be approved by.
itemMasterIdsMaster IDs of Items to be tracked by the Change Order.
attachmentIdsIDs of Files to be attached to the current ChangeOrder.
fileMasterIdsMaster IDs of Files to be tracked by the Change Order.
propertiesProperties on the ChangeOrder.
assocPropertiesAn array of properties for the ChangeOrder. The 'From ID' is the Change Order ID and the 'To ID' is the Item ID.
commentsA list of comments for the ChangeOrder.
notifyEmailsAn array of emails to send out upon completion.

Return Value

The newly created Change Order.

See Also