DocdokuPlmApi.WorkspacesApi

All URIs are relative to http://docdokuplm.net/eplmp-server-rest/api

Method HTTP request Description
acknowledgeNotification PUT /workspaces/{workspaceId}/notifications/{notificationId} Acknowledge a modification notification
addDocTag POST /workspaces/{workspaceId}/documents/{documentId}-{documentVersion}/tags Add tags to document revision
addNewPathDataIteration POST /workspaces/{workspaceId}/product-instances/{ciId}/instances/{serialNumber}/pathdata/{pathDataId} Add new path-data iteration
addPartTag POST /workspaces/{workspaceId}/parts/{partNumber}-{partVersion}/tags Add tags to part revision
addTagToChangeIssue POST /workspaces/{workspaceId}/changes/issues/{issueId}/tags Attached a new tag to a change issue
addTagToChangeOrder POST /workspaces/{workspaceId}/changes/orders/{orderId}/tags Add new tag to order
addTagsToChangeRequest POST /workspaces/{workspaceId}/changes/requests/{requestId}/tags Attach a new tag to a change request
addUser PUT /workspaces/{workspaceId}/add-user Add a user to workspace
cascadeCheckin PUT /workspaces/{workspaceId}/products/{ciId}/cascade-checkin Cascade part revision check in with given config spec and path
cascadeCheckout PUT /workspaces/{workspaceId}/products/{ciId}/cascade-checkout Cascade part revision check out with given config spec and path
cascadeUndoCheckOut PUT /workspaces/{workspaceId}/products/{ciId}/cascade-undocheckout Cascade part revision undo check out with given config spec and path
checkIn PUT /workspaces/{workspaceId}/parts/{partNumber}-{partVersion}/checkin Checkin part revision
checkInDocument PUT /workspaces/{workspaceId}/documents/{documentId}-{documentVersion}/checkin Checkin document revision
checkOut PUT /workspaces/{workspaceId}/parts/{partNumber}-{partVersion}/checkout Checkout part revision
checkOutDocument PUT /workspaces/{workspaceId}/documents/{documentId}-{documentVersion}/checkout Checkout document revision
countCheckedOutDocs GET /workspaces/{workspaceId}/documents/countCheckedOut Count checked out document revisions
createConfiguration POST /workspaces/{workspaceId}/product-configurations Create a new product configuration
createConfigurationItem POST /workspaces/{workspaceId}/products Create a new configuration item
createDocumentBaseline POST /workspaces/{workspaceId}/document-baselines Create a new document baseline
createDocumentMasterInFolder POST /workspaces/{workspaceId}/folders/{folderId}/documents Create a new document revision in given folder
createDocumentMasterInRootFolderWithTag POST /workspaces/{workspaceId}/tags/{tagId}/documents Create a new document master and its first revision with given tag
createDocumentMasterTemplate POST /workspaces/{workspaceId}/document-templates Create a new document template
createEffectivity POST /workspaces/{workspaceId}/parts/{partNumber}-{partVersion}/effectivities Create an Effectivity for a given PartRevision
createGroup POST /workspaces/{workspaceId}/user-group Create a new user group
createIssue POST /workspaces/{workspaceId}/changes/issues Create a new change issue
createLOV POST /workspaces/{workspaceId}/lov Create a new ListOfValues
createLayer POST /workspaces/{workspaceId}/products/{ciId}/layers Create a new layer for given product
createMarker POST /workspaces/{workspaceId}/products/{ciId}/layers/{layerId}/markers Create a new marker in a given layer
createMilestone POST /workspaces/{workspaceId}/changes/milestones Create a new milestone
createNewDocumentVersion PUT /workspaces/{workspaceId}/documents/{documentId}-{documentVersion}/newVersion Create a new version of the document revision
createNewPart POST /workspaces/{workspaceId}/parts Create a new part master and its first revision
createNewPartVersion PUT /workspaces/{workspaceId}/parts/{partNumber}-{partVersion}/newVersion Create new part version
createOrder POST /workspaces/{workspaceId}/changes/orders Create order
createPartMasterTemplate POST /workspaces/{workspaceId}/part-templates Crate a new part master template
createPathDataMaster POST /workspaces/{workspaceId}/product-instances/{ciId}/instances/{serialNumber}/pathdata/{path}/new Create a new path-data in product-instance last iteration
createPathToPathLink POST /workspaces/{workspaceId}/products/{ciId}/path-to-path-links Create a new path-to-path link
createProductBaseline POST /workspaces/{workspaceId}/product-baselines Create a new product-baseline
createProductInstanceMaster POST /workspaces/{workspaceId}/product-instances Create a new product-instance
createRequest POST /workspaces/{workspaceId}/changes/requests Create request
createRole POST /workspaces/{workspaceId}/roles Create a new role
createRootFolder POST /workspaces/{workspaceId}/folders Create root folder
createSharedDocument POST /workspaces/{workspaceId}/documents/{documentId}-{documentVersion}/share Create a shared document for given document revision
createSharedPart POST /workspaces/{workspaceId}/parts/{partNumber}-{partVersion}/share Create a new shared part from part revision
createSubFolder POST /workspaces/{workspaceId}/folders/{parentFolderPath}/folders Create a sub folder in a given folder
createTag POST /workspaces/{workspaceId}/tags Create a new tag in workspace
createTags POST /workspaces/{workspaceId}/tags/multiple Create new tags in workspace
createWebhook POST /workspaces/{workspaceId}/webhooks Create a new webhook in given workspace
createWorkflowModel POST /workspaces/{workspaceId}/workflow-models Create a new workflow model
createWorkspace POST /workspaces Create a new workspace
createWorkspaceWorkflow POST /workspaces/{workspaceId}/workspace-workflows Instantiate a workspace workflow from given workflow model
decodePath GET /workspaces/{workspaceId}/products/{ciId}/decode-path/{path} Decode given path as string
delWorkflowModel DELETE /workspaces/{workspaceId}/workflow-models/{workflowModelId} Delete a workflow model
deleteAttachedFileInPathData DELETE /workspaces/{workspaceId}/product-instances/{ciId}/instances/{serialNumber}/pathdata/{pathDataId}/iterations/{iteration}/files/{fileName} Delete product-instance's attached file
deleteBaseline DELETE /workspaces/{workspaceId}/document-baselines/{baselineId} Delete a document baseline
deleteConfigurationItem DELETE /workspaces/{workspaceId}/products/{ciId} Delete configuration item
deleteDocument DELETE /workspaces/{workspaceId}/documents/{documentId}-{documentVersion} Delete the document revision
deleteDocumentMasterTemplate DELETE /workspaces/{workspaceId}/document-templates/{templateId} Delete document template
deleteEffectivity DELETE /workspaces/{workspaceId}/parts/{partNumber}-{partVersion}/effectivities/{effectivityId} Delete effectivity from given part revision
deleteImport DELETE /workspaces/{workspaceId}/parts/import/{importId} Delete import
deleteLOV DELETE /workspaces/{workspaceId}/lov/{name} Delete a ListOfValues
deleteLayer DELETE /workspaces/{workspaceId}/products/{ciId}/layers/{layerId} Delete layer
deleteMarker DELETE /workspaces/{workspaceId}/products/{ciId}/layers/{layerId}/markers/{markerId} Delete marker
deletePartMasterTemplate DELETE /workspaces/{workspaceId}/part-templates/{templateId} Delete part master template
deletePartRevision DELETE /workspaces/{workspaceId}/parts/{partNumber}-{partVersion} Delete part revision
deletePathData DELETE /workspaces/{workspaceId}/product-instances/{ciId}/instances/{serialNumber}/pathdata/{pathDataId} Delete product-instance's path-data
deletePathToPathLink DELETE /workspaces/{workspaceId}/products/{ciId}/path-to-path-links/{pathToPathLinkId} Delete path-to-path link
deleteProductBaseline DELETE /workspaces/{workspaceId}/product-baselines/{ciId}/baselines/{baselineId} Delete product-baseline
deleteProductConfiguration DELETE /workspaces/{workspaceId}/product-configurations/{ciId}/configurations/{productConfigurationId} Delete product configuration
deleteProductInstanceMaster DELETE /workspaces/{workspaceId}/product-instances/{ciId}/instances/{serialNumber} Delete product-instance
deleteQuery DELETE /workspaces/{workspaceId}/parts/queries/{queryId} Delete custom query
deleteRole DELETE /workspaces/{workspaceId}/roles/{roleName} Delete a role
deleteRootFolder DELETE /workspaces/{workspaceId}/folders/{folderId} Delete root folder
deleteTag DELETE /workspaces/{workspaceId}/tags/{tagId} Delete a tag in workspace
deleteUserGroupSubscription DELETE /workspaces/{workspaceId}/groups/{groupId}/tag-subscriptions/{tagName} Delete tag subscription of given user group
deleteUserSubscription DELETE /workspaces/{workspaceId}/users/{login}/tag-subscriptions/{tagName} Delete tag subscription of user
deleteWebhook DELETE /workspaces/{workspaceId}/webhooks/{webhookId} Delete a webhook
deleteWorkspace DELETE /workspaces/{workspaceId} Delete a workspace
deleteWorkspaceWorkflow DELETE /workspaces/{workspaceId}/workspace-workflows/{workspaceWorkflowId} Delete a workspace workflow
disableGroup PUT /workspaces/{workspaceId}/disable-group Disable user group in workspace
disableUser PUT /workspaces/{workspaceId}/disable-user Disable user in workspace
enableGroup PUT /workspaces/{workspaceId}/enable-group Enable user group in workspace
enableUser PUT /workspaces/{workspaceId}/enable-user Enable user in workspace
exportCustomQuery POST /workspaces/{workspaceId}/parts/query-export Run and export a custom query
exportDocumentFiles GET /workspaces/{workspaceId}/document-baselines/{baselineId}/export-files Export document baseline's files
exportExistingQuery GET /workspaces/{workspaceId}/parts/queries/{queryId}/format/{export} Run and export an existing query
exportProductFiles GET /workspaces/{workspaceId}/products/{ciId}/export-files Export files from configuration item with given config spec
filterPart GET /workspaces/{workspaceId}/products/{ciId}/bom Filter part with given config spec and path
filterPartMasterInBaseline GET /workspaces/{workspaceId}/parts/{partNumber}/filter/{baselineId} Filter part master with in baseline : resolve part iteration
filterProductStructure GET /workspaces/{workspaceId}/products/{ciId}/filter Filter product structure
generateDocumentMasterId GET /workspaces/{workspaceId}/document-templates/{templateId}/generate_id Generate document template id
generatePartMasterTemplateId GET /workspaces/{workspaceId}/part-templates/{templateId}/generate_id Generate part master template id
getAbortedWorkflowListInDocument GET /workspaces/{workspaceId}/documents/{documentId}-{documentVersion}/aborted-workflows Get document revision aborted workflow history
getAbortedWorkflowListInPart GET /workspaces/{workspaceId}/parts/{partNumber}-{partVersion}/aborted-workflows Get part revision's aborted workflow list
getAdminInWorkspace GET /workspaces/{workspaceId}/users/admin Get admin for workspace
getAllConfigurations GET /workspaces/{workspaceId}/product-configurations Get all product configurations in workspace
getAllProductBaselines GET /workspaces/{workspaceId}/product-baselines Get product-baselines in given workspace
getAllProductInstances GET /workspaces/{workspaceId}/product-instances Get product instances in given workspace
getAssignedTasksForGivenUser GET /workspaces/{workspaceId}/tasks/{assignedUserLogin}/assigned Get assigned tasks for given user
getBaseline GET /workspaces/{workspaceId}/document-baselines/{baselineId} Get document baseline by id
getBaselineCreationPathChoices GET /workspaces/{workspaceId}/products/{ciId}/path-choices Get baseline creation path choices
getBaselineCreationVersionsChoices GET /workspaces/{workspaceId}/products/{ciId}/versions-choices Get baseline creation version choices
getBaselineLight GET /workspaces/{workspaceId}/document-baselines/{baselineId}-light Get document baseline in a light format
getBaselinesWherePartRevisionHasIterations GET /workspaces/{workspaceId}/parts/{partNumber}-{partVersion}/baselines Get product baselines where part revision is involved
getCheckedOutDocuments GET /workspaces/{workspaceId}/documents/checkedout Get checked out document revisions
getCheckedOutDocumentsStats GET /workspaces/{workspaceId}/checked-out-documents-stats Get checked out documents stats for workspace
getCheckedOutNumberOfItems GET /workspaces/{workspaceId}/parts/countCheckedOut Count checked out part revisions
getCheckedOutPartRevisions GET /workspaces/{workspaceId}/parts/checkedout Get checked out part revisions
getCheckedOutPartsStats GET /workspaces/{workspaceId}/checked-out-parts-stats Get checked out parts stats for workspace
getConfiguration GET /workspaces/{workspaceId}/product-configurations/{ciId}/configurations/{productConfigurationId} Get product configuration by id
getConfigurationItem GET /workspaces/{workspaceId}/products/{ciId} Get configuration item by id
getConfigurationItems GET /workspaces/{workspaceId}/products Get configuration items in given workspace
getConfigurationsForProduct GET /workspaces/{workspaceId}/product-configurations/{ciId}/configurations Get all product configurations for given product
getConversionStatus GET /workspaces/{workspaceId}/parts/{partNumber}-{partVersion}/iterations/{partIteration}/conversion Get part iteration conversion status
getCustomQueries GET /workspaces/{workspaceId}/parts/queries Get custom queries in workspace
getDetailedWorkspacesForConnectedUser GET /workspaces/more Get detailed workspace list for authenticated user
getDiskSpaceUsageStats GET /workspaces/{workspaceId}/disk-usage-stats Get disk usage stats for workspace
getDocumentBaselines GET /workspaces/{workspaceId}/document-baselines Get document baselines
getDocumentLinksForGivenPartIteration GET /workspaces/{workspaceId}/products/{ciId}/document-links/{partNumber}-{partVersion}-{partIteration}/{configSpec} Get document links for given part iteration
getDocumentMasterTemplate GET /workspaces/{workspaceId}/document-templates/{templateId} Get document template by id
getDocumentMasterTemplates GET /workspaces/{workspaceId}/document-templates Get document templates
getDocumentRevision GET /workspaces/{workspaceId}/documents/{documentId}-{documentVersion} Get document revision
getDocumentsInWorkspace GET /workspaces/{workspaceId}/documents Get document revisions in workspace
getDocumentsInWorkspaceCount GET /workspaces/{workspaceId}/documents/count Count document revisions
getDocumentsWhereGivenUserHasAssignedTasks GET /workspaces/{workspaceId}/tasks/{assignedUserLogin}/documents Get document revisions where user has assigned tasks
getDocumentsWithGivenFolderIdAndWorkspaceId GET /workspaces/{workspaceId}/folders/{folderId}/documents Get document revisions in given folder
getDocumentsWithGivenTagIdAndWorkspaceId GET /workspaces/{workspaceId}/tags/{tagId}/documents Get document revisions from given tag id
getEffectivities GET /workspaces/{workspaceId}/parts/{partNumber}-{partVersion}/effectivities Get effectivities of a given PartRevision
getEffectivity GET /workspaces/{workspaceId}/effectivities/{effectivityId} Get an effectivity from its ID
getFilteredInstances GET /workspaces/{workspaceId}/products/{ciId}/instances Get instances under given path and config spec
getGroups GET /workspaces/{workspaceId}/groups Get user groups in given workspace
getImport GET /workspaces/{workspaceId}/parts/import/{importId} Get import by id
getImportPreview POST /workspaces/{workspaceId}/parts/importPreview Get import preview
getImports GET /workspaces/{workspaceId}/parts/imports/{filename} Get imports currently running for given file
getInstancesForMultiplePath POST /workspaces/{workspaceId}/products/{ciId}/instances Get instances for multiple paths
getInstancesUnderPart GET /workspaces/{workspaceId}/parts/{partNumber}-{partVersion}/instances Get instances under given part revision (latest checked-in view)
getInverseDocumentLinks GET /workspaces/{workspaceId}/documents/{documentId}-{documentVersion}/{iteration}/inverse-document-link Get inverse document revisions links
getInversePartsLinks GET /workspaces/{workspaceId}/documents/{documentId}-{documentVersion}/{iteration}/inverse-part-link Get inverse part revisions links
getInversePathDataLinks GET /workspaces/{workspaceId}/documents/{documentId}-{documentVersion}/{iteration}/inverse-path-data-link Get inverse path data links
getInverseProductInstancesLinks GET /workspaces/{workspaceId}/documents/{documentId}-{documentVersion}/{iteration}/inverse-product-instances-link Get inverse product instances links
getIssue GET /workspaces/{workspaceId}/changes/issues/{issueId} Get change issue with given id
getIssues GET /workspaces/{workspaceId}/changes/issues Get change issues for given parameters
getLOV GET /workspaces/{workspaceId}/lov/{name} Get a ListOfValues from the given parameters
getLOVs GET /workspaces/{workspaceId}/lov Get a list of ListOfValues for given parameters
getLastRelease GET /workspaces/{workspaceId}/products/{ciId}/releases/last Get last release of part
getLatestPartRevision GET /workspaces/{workspaceId}/parts/{partNumber}/latest-revision Get part master latest available revision
getLayersInProduct GET /workspaces/{workspaceId}/products/{ciId}/layers Get layers for given product
getMarkersInLayer GET /workspaces/{workspaceId}/products/{ciId}/layers/{layerId}/markers Get markers of a given layer
getMilestone GET /workspaces/{workspaceId}/changes/milestones/{milestoneId} Get a milestone by id
getMilestones GET /workspaces/{workspaceId}/changes/milestones Get milestones for given parameters
getOrder GET /workspaces/{workspaceId}/changes/orders/{orderId} Get order
getOrders GET /workspaces/{workspaceId}/changes/orders Get orders for given parameters
getOrdersByMilestone GET /workspaces/{workspaceId}/changes/milestones/{milestoneId}/orders Get change orders for a given milestone
getPartFromPathLink GET /workspaces/{workspaceId}/product-instances/{ciId}/instances/{serialNumber}/link-path-part/{pathPart} Get part from path-to-path link
getPartMasterTemplate GET /workspaces/{workspaceId}/part-templates/{templateId} Get part master template
getPartMasterTemplates GET /workspaces/{workspaceId}/part-templates Get part master templates
getPartRevision GET /workspaces/{workspaceId}/parts/{partNumber}-{partVersion} Get part revision
getPartRevisions GET /workspaces/{workspaceId}/parts Get part revisions in workspace
getPartRevisionsByTag GET /workspaces/{workspaceId}/parts/tags/{tagId} Get part revisions in workspace
getPartsWhereGivenUserHasAssignedTasks GET /workspaces/{workspaceId}/tasks/{assignedUserLogin}/parts Get part revisions where user has assigned tasks
getPathData GET /workspaces/{workspaceId}/product-instances/{ciId}/instances/{serialNumber}/pathdata/{path} Get product-instance's last iteration path-data
getPathToPathLink GET /workspaces/{workspaceId}/product-instances/{ciId}/instances/{serialNumber}/path-to-path-links/{pathToPathLinkId} Get path-to-path link
getPathToPathLinkInProduct GET /workspaces/{workspaceId}/products/{ciId}/path-to-path-links/source/{sourcePath}/target/{targetPath} Get path-to-path links from source and target
getPathToPathLinkInProductBaseline GET /workspaces/{workspaceId}/product-baselines/{ciId}/baselines/{baselineId}/path-to-path-links/source/{sourcePath}/target/{targetPath} Get product-baseline's path-to-path links for given source and target
getPathToPathLinkTypesInBaseline GET /workspaces/{workspaceId}/product-baselines/{ciId}/baselines/{baselineId}/path-to-path-links-types Get product-baseline's path-to-path links
getPathToPathLinkTypesInProduct GET /workspaces/{workspaceId}/products/{ciId}/path-to-path-links-types Get path-to-path links types
getPathToPathLinkTypesInProductInstance GET /workspaces/{workspaceId}/product-instances/{ciId}/instances/{serialNumber}/path-to-path-links-types Get path-to-path link types
getPathToPathLinks GET /workspaces/{workspaceId}/product-instances/{ciId}/instances/{serialNumber}/path-to-path-links Get path-to-path links
getPathToPathLinksForGivenSourceAndTarget GET /workspaces/{workspaceId}/product-instances/{ciId}/instances/{serialNumber}/path-to-path-links/source/{sourcePath}/target/{targetPath} Get path-to-path link for given source and target
getProductBaseline GET /workspaces/{workspaceId}/product-baselines/{ciId}/baselines/{baselineId} Get product-baseline by id
getProductBaselineParts GET /workspaces/{workspaceId}/product-baselines/{ciId}/baselines/{baselineId}/parts Get product-baseline's baselined parts
getProductBaselinesForProduct GET /workspaces/{workspaceId}/product-baselines/{ciId}/baselines Get product-baseline with given configuration item
getProductInstance GET /workspaces/{workspaceId}/product-instances/{ciId}/instances/{serialNumber} Get product-instance by serial number
getProductInstanceIteration GET /workspaces/{workspaceId}/product-instances/{ciId}/instances/{serialNumber}/iterations/{iteration} Get product-instance's iteration
getProductInstanceIterations GET /workspaces/{workspaceId}/product-instances/{ciId}/instances/{serialNumber}/iterations Get product-instance's iterations
getProductInstanceMasters GET /workspaces/{workspaceId}/parts/{partNumber}-{partVersion}/used-by-product-instance-masters Get product instance where part revision is in use
getProductInstances GET /workspaces/{workspaceId}/product-instances/{ciId}/instances Get product-instance with given configuration item
getReachableUsersForCaller GET /workspaces/reachable-users Get online users visible by authenticated user
getRequest GET /workspaces/{workspaceId}/changes/requests/{requestId} Get change request by id
getRequests GET /workspaces/{workspaceId}/changes/requests Get requests for given parameters
getRequestsByMilestone GET /workspaces/{workspaceId}/changes/milestones/{milestoneId}/requests Get change requests for a given milestone
getRolesInUseInWorkspace GET /workspaces/{workspaceId}/roles/inuse Get roles in use in given workspace
getRolesInWorkspace GET /workspaces/{workspaceId}/roles Get roles in given workspace
getRootFolders GET /workspaces/{workspaceId}/folders Get root folders
getRootPathToPathLinks GET /workspaces/{workspaceId}/product-instances/{ciId}/instances/{serialNumber}/path-to-path-links-roots/{type} Get root path-to-path links
getStatsOverview GET /workspaces/{workspaceId}/stats-overview Get stats overview for workspace
getSubFolders GET /workspaces/{workspaceId}/folders/{completePath}/folders Get sub folders of given folder
getTagSubscriptionsForGroup GET /workspaces/{workspaceId}/groups/{groupId}/tag-subscriptions Get tag subscriptions of given user group
getTagSubscriptionsForUser GET /workspaces/{workspaceId}/users/{login}/tag-subscriptions Get tag subscriptions of user
getTagsInWorkspace GET /workspaces/{workspaceId}/tags Get tags in given workspace
getTask GET /workspaces/{workspaceId}/tasks/{taskId} Get task by id
getTotalNumberOfParts GET /workspaces/{workspaceId}/parts/count Count part revisions in workspace
getUsedByAsComponent GET /workspaces/{workspaceId}/parts/{partNumber}-{partVersion}/used-by-as-component Get part revisions where given part revision is used as a component
getUsedByAsSubstitute GET /workspaces/{workspaceId}/parts/{partNumber}-{partVersion}/used-by-as-substitute Get part revisions where given part revision is used as a substitute
getUserGroups GET /workspaces/{workspaceId}/user-group Get user groups in given workspace
getUsersInGroup GET /workspaces/{workspaceId}/groups/{groupId}/users Get users of given user group
getUsersInWorkspace GET /workspaces/{workspaceId}/users Get users in workspace
getUsersStats GET /workspaces/{workspaceId}/users-stats Get user stats for workspace
getWebhook GET /workspaces/{workspaceId}/webhooks/{webhookId} Get webhook by id
getWebhooks GET /workspaces/{workspaceId}/webhooks Get webhooks in given workspace
getWorkflowAbortedWorkflowList GET /workspaces/{workspaceId}/workflow-instances/{workflowId}/aborted Get workflow's aborted workflow list
getWorkflowInstance GET /workspaces/{workspaceId}/workflow-instances/{workflowId} Get instantiated workflow in workspace
getWorkflowModelInWorkspace GET /workspaces/{workspaceId}/workflow-models/{workflowModelId} Get workflow model by id
getWorkflowModelsInWorkspace GET /workspaces/{workspaceId}/workflow-models Get workflow models in given workspace
getWorkspaceBackOptions GET /workspaces/{workspaceId}/back-options Get workspace back-end options
getWorkspaceFrontOptions GET /workspaces/{workspaceId}/front-options Get workspace front-end options
getWorkspaceSpecificUserGroupMemberShips GET /workspaces/{workspaceId}/memberships/usergroups/me Get workspace's group membership for authenticated user
getWorkspaceSpecificUserMemberShips GET /workspaces/{workspaceId}/memberships/users/me Get workspace's user membership for authenticated user
getWorkspaceUserGroupMemberShips GET /workspaces/{workspaceId}/memberships/usergroups Get workspace's group membership for authenticated user
getWorkspaceUserMemberShips GET /workspaces/{workspaceId}/memberships/users Get workspace's user memberships
getWorkspaceWorkflow GET /workspaces/{workspaceId}/workspace-workflows/{workspaceWorkflowId} Get a workspace workflow by id
getWorkspaceWorkflowList GET /workspaces/{workspaceId}/workspace-workflows Get workspace workflow list in given workspace
getWorkspacesForConnectedUser GET /workspaces Get workspace list for authenticated user
importPartAttributes POST /workspaces/{workspaceId}/parts/import Import part iteration attributes from file
importProductInstanceAttributes POST /workspaces/{workspaceId}/product-instances/import Import attribute into product-instance
markDocumentRevisionAsObsolete PUT /workspaces/{workspaceId}/documents/{documentId}-{documentVersion}/obsolete Set document revision as obsolete
markPartRevisionAsObsolete PUT /workspaces/{workspaceId}/parts/{partNumber}-{partVersion}/obsolete Set part revision as obsolete
moveDocument PUT /workspaces/{workspaceId}/documents/{documentId}-{documentVersion}/move Move document revision to given folder
moveFolder PUT /workspaces/{workspaceId}/folders/{folderId}/move Move a folder to given folder
processTask PUT /workspaces/{workspaceId}/tasks/{taskId}/process Approve or reject task on a document or part revision
publishDocumentRevision PUT /workspaces/{workspaceId}/documents/{documentId}-{documentVersion}/publish Publish a document revision
publishPartRevision PUT /workspaces/{workspaceId}/parts/{partNumber}-{partVersion}/publish Publish part revision
rebaseProductInstance PUT /workspaces/{workspaceId}/product-instances/{ciId}/instances/{serialNumber}/rebase Rebase product-instance with given baseline
releaseDocumentRevision PUT /workspaces/{workspaceId}/documents/{documentId}-{documentVersion}/release Release document revision
releasePartRevision PUT /workspaces/{workspaceId}/parts/{partNumber}-{partVersion}/release Release part revision
removeAttachedFileFromDocument DELETE /workspaces/{workspaceId}/documents/{documentId}-{documentVersion}/iterations/{docIteration}/files/{fileName} Remove attached file from document iteration
removeAttachedFileFromDocumentTemplate DELETE /workspaces/{workspaceId}/document-templates/{templateId}/files/{fileName} Remove attached file from document template
removeAttachedFileFromPartTemplate DELETE /workspaces/{workspaceId}/part-templates/{templateId}/files/{fileName} Remove attached file from part master template
removeAttachedFileFromProductInstance DELETE /workspaces/{workspaceId}/product-instances/{ciId}/instances/{serialNumber}/iterations/{iteration}/files/{fileName} Remove attached file from product-instance
removeDocTags DELETE /workspaces/{workspaceId}/documents/{documentId}-{documentVersion}/tags/{tagName} Remove tags from document revision
removeFile DELETE /workspaces/{workspaceId}/parts/{partNumber}-{partVersion}/iterations/{partIteration}/files/{subType}/{fileName} Remove file from part iteration
removeGroup DELETE /workspaces/{workspaceId}/user-group/{groupId} Remove a user group
removeIssue DELETE /workspaces/{workspaceId}/changes/issues/{issueId} Delete change issue
removeMilestone DELETE /workspaces/{workspaceId}/changes/milestones/{milestoneId} Delete milestone
removeOrder DELETE /workspaces/{workspaceId}/changes/orders/{orderId} Delete order
removePartTags DELETE /workspaces/{workspaceId}/parts/{partNumber}-{partVersion}/tags/{tagName} Delete tags from part revision
removeRequest DELETE /workspaces/{workspaceId}/changes/requests/{requestId} Delete change request
removeTagFromChangeRequest DELETE /workspaces/{workspaceId}/changes/requests/{requestId}/tags/{tagName} Delete tag attached to a change request
removeTagsFromChangeIssue DELETE /workspaces/{workspaceId}/changes/issues/{issueId}/tags/{tagName} Delete a tag attached to a change issue
removeTagsFromChangeOrder DELETE /workspaces/{workspaceId}/changes/orders/{orderId}/tags/{tagName} Delete tag attached to order
removeUserFromGroup PUT /workspaces/{workspaceId}/remove-from-group/{groupId} Remove user from user group
removeUserFromWorkspace PUT /workspaces/{workspaceId}/remove-from-workspace Remove user from workspace
renameAttachedFileInDocument PUT /workspaces/{workspaceId}/documents/{documentId}-{documentVersion}/iterations/{docIteration}/files/{fileName} Rename attached files of document iteration
renameAttachedFileInDocumentTemplate PUT /workspaces/{workspaceId}/document-templates/{templateId}/files/{fileName} Rename attached file in document template
renameAttachedFileInPartIteration PUT /workspaces/{workspaceId}/parts/{partNumber}-{partVersion}/iterations/{partIteration}/files/{subType}/{fileName} Rename attached file from part iteration
renameAttachedFileInPartTemplate PUT /workspaces/{workspaceId}/part-templates/{templateId}/files/{fileName} Rename attached file in part master template
renameAttachedFileInPathData PUT /workspaces/{workspaceId}/product-instances/{ciId}/instances/{serialNumber}/pathdata/{pathDataId}/iterations/{iteration}/files/{fileName} Rename product-instance's attached file
renameAttachedFileInProductInstance PUT /workspaces/{workspaceId}/product-instances/{ciId}/instances/{serialNumber}/iterations/{iteration}/files/{fileName} Rename attached file in product instance iteration
renameFolder PUT /workspaces/{workspaceId}/folders/{folderId} Rename a folder
retryConversion PUT /workspaces/{workspaceId}/parts/{partNumber}-{partVersion}/iterations/{partIteration}/conversion Retry part iteration conversion
runCustomQuery POST /workspaces/{workspaceId}/parts/queries Run custom query in workspace
saveAffectedIssues PUT /workspaces/{workspaceId}/changes/requests/{requestId}/affected-issues Attach issue to a change request
saveAffectedRequests PUT /workspaces/{workspaceId}/changes/orders/{orderId}/affected-requests Attach request to order
saveChangeIssueAffectedDocuments PUT /workspaces/{workspaceId}/changes/issues/{issueId}/affected-documents Attach a document to a change issue
saveChangeIssueAffectedParts PUT /workspaces/{workspaceId}/changes/issues/{issueId}/affected-parts Attach a part to a change issue
saveChangeItemTags PUT /workspaces/{workspaceId}/changes/issues/{issueId}/tags Update tags attached to a change issue
saveChangeOrderAffectedDocuments PUT /workspaces/{workspaceId}/changes/orders/{orderId}/affected-documents Attach document to order
saveChangeOrderAffectedParts PUT /workspaces/{workspaceId}/changes/orders/{orderId}/affected-parts Attach part to order
saveChangeOrderTags PUT /workspaces/{workspaceId}/changes/orders/{orderId}/tags Update tag attached to order
saveChangeRequestAffectedDocuments PUT /workspaces/{workspaceId}/changes/requests/{requestId}/affected-documents Attach document to a change request
saveChangeRequestAffectedParts PUT /workspaces/{workspaceId}/changes/requests/{requestId}/affected-parts Attach part to a change request
saveChangeRequestTags PUT /workspaces/{workspaceId}/changes/requests/{requestId}/tags Update tag attached to a change request
saveDocTags PUT /workspaces/{workspaceId}/documents/{documentId}-{documentVersion}/tags Set the tags of the document revision
savePartTags PUT /workspaces/{workspaceId}/parts/{partNumber}-{partVersion}/tags Save part revision tags
searchConfigurationItemId GET /workspaces/{workspaceId}/products/numbers Search configuration items by reference
searchDocumentRevision GET /workspaces/{workspaceId}/documents/search Search document revisions
searchDocumentRevisionsToLink GET /workspaces/{workspaceId}/documents/doc_revs Search document revisions by id and/or name
searchIssuesByName GET /workspaces/{workspaceId}/changes/issues/link Search change issue with given name
searchPartNumbers GET /workspaces/{workspaceId}/parts/numbers Search for available part numbers in given workspace
searchPartRevisions GET /workspaces/{workspaceId}/parts/search Search part revisions in workspace
searchPartsLastIterationWithReferenceOrName GET /workspaces/{workspaceId}/parts/parts_last_iter Search documents last iteration to link
searchPaths GET /workspaces/{workspaceId}/products/{ciId}/paths Search paths with part reference or name
searchRequestsByName GET /workspaces/{workspaceId}/changes/requests/link Search request with given name
setGroupAccess PUT /workspaces/{workspaceId}/group-access Set user group access in workspace
setNewAdmin PUT /workspaces/{workspaceId}/admin Set a new admin for given workspace
setUserAccess PUT /workspaces/{workspaceId}/user-access Set user access in workspace
subscribeToIterationChangeEvent PUT /workspaces/{workspaceId}/documents/{documentId}-{documentVersion}/notification/iterationChange/subscribe Subscribe to notifications on change events for given document revision
subscribeToStateChangeEvent PUT /workspaces/{workspaceId}/documents/{documentId}-{documentVersion}/notification/stateChange/subscribe Subscribe to notifications on state events for given document revision
synchronizeIndexer PUT /workspaces/{workspaceId}/index Re-Index a workspace
unPublishDocumentRevision PUT /workspaces/{workspaceId}/documents/{documentId}-{documentVersion}/unpublish Un-publish a document revision
unPublishPartRevision PUT /workspaces/{workspaceId}/parts/{partNumber}-{partVersion}/unpublish Un-publish part revision
unSubscribeToIterationChangeEvent PUT /workspaces/{workspaceId}/documents/{documentId}-{documentVersion}/notification/iterationChange/unsubscribe Unsubscribe from notifications on change events for given document revision
undoCheckOut PUT /workspaces/{workspaceId}/parts/{partNumber}-{partVersion}/undocheckout Undo checkout part revision
undoCheckOutDocument PUT /workspaces/{workspaceId}/documents/{documentId}-{documentVersion}/undocheckout Undo checkout document revision
unsubscribeToStateChangeEvent PUT /workspaces/{workspaceId}/documents/{documentId}-{documentVersion}/notification/stateChange/unsubscribe Unsubscribe to notifications on state events for given document revision
updateChangeIssueACL PUT /workspaces/{workspaceId}/changes/issues/{issueId}/acl Update ACL of a change issue
updateChangeOrderACL PUT /workspaces/{workspaceId}/changes/orders/{orderId}/acl Update ACL of the order
updateChangeRequestACL PUT /workspaces/{workspaceId}/changes/requests/{requestId}/acl Update ACL of a change request
updateConfigurationACL PUT /workspaces/{workspaceId}/product-configurations/{ciId}/configurations/{productConfigurationId}/acl Update product configuration ACL
updateDocumentIteration PUT /workspaces/{workspaceId}/documents/{documentId}-{documentVersion}/iterations/{docIteration} Update document iteration
updateDocumentMasterTemplate PUT /workspaces/{workspaceId}/document-templates/{templateId} Update document template
updateDocumentMasterTemplateACL PUT /workspaces/{workspaceId}/document-templates/{templateId}/acl Update document template ACL
updateDocumentRevisionACL PUT /workspaces/{workspaceId}/documents/{documentId}-{documentVersion}/acl Update document revision ACL
updateEffectivity PUT /workspaces/{workspaceId}/effectivities/{effectivityId} Update effectivity
updateIssue PUT /workspaces/{workspaceId}/changes/issues/{issueId} Update change issue
updateLOV PUT /workspaces/{workspaceId}/lov/{name} Update a ListOfValues
updateLayer PUT /workspaces/{workspaceId}/products/{ciId}/layers/{layerId} Update layer
updateMilestone PUT /workspaces/{workspaceId}/changes/milestones/{milestoneId} Update milestone
updateMilestoneACL PUT /workspaces/{workspaceId}/changes/milestones/{milestoneId}/acl Update ACL of a milestone
updateOrder PUT /workspaces/{workspaceId}/changes/orders/{orderId} Update order
updatePartIteration PUT /workspaces/{workspaceId}/parts/{partNumber}-{partVersion}/iterations/{partIteration} Update part iteration
updatePartMasterTemplate PUT /workspaces/{workspaceId}/part-templates/{templateId} Update part master template
updatePartMasterTemplateACL PUT /workspaces/{workspaceId}/part-templates/{templateId}/acl Update part master template ACL
updatePartRevisionACL PUT /workspaces/{workspaceId}/parts/{partNumber}-{partVersion}/acl Update part revision ACL
updatePathData PUT /workspaces/{workspaceId}/product-instances/{ciId}/instances/{serialNumber}/pathdata/{pathDataId}/iterations/{iteration} Update path-data
updatePathToPathLink PUT /workspaces/{workspaceId}/products/{ciId}/path-to-path-links/{pathToPathLinkId} Update path-to-path link
updateProductInstanceACL PUT /workspaces/{workspaceId}/product-instances/{ciId}/instances/{serialNumber}/acl Update product-instance's ACL
updateProductInstanceMaster PUT /workspaces/{workspaceId}/product-instances/{ciId}/instances/{serialNumber}/iterations/{iteration} Update product-instance
updateRequest PUT /workspaces/{workspaceId}/changes/requests/{requestId} Update change request
updateRole PUT /workspaces/{workspaceId}/roles/{roleName} Update a role
updateUserGroupSubscription PUT /workspaces/{workspaceId}/groups/{groupId}/tag-subscriptions/{tagName} Update or create tag subscription of given user group
updateUserSubscription PUT /workspaces/{workspaceId}/users/{login}/tag-subscriptions/{tagName} Update or create tag subscription of user
updateWebhook PUT /workspaces/{workspaceId}/webhooks/{webhookId} Update a webhook
updateWorkflowModel PUT /workspaces/{workspaceId}/workflow-models/{workflowModelId} Update a workflow model
updateWorkflowModelACL PUT /workspaces/{workspaceId}/workflow-models/{workflowModelId}/acl Update workflow model ACL
updateWorkspace PUT /workspaces/{workspaceId} Update a workspace
updateWorkspaceBackOptions PUT /workspaces/{workspaceId}/back-options Update workspace back-end options
updateWorkspaceFrontOptions PUT /workspaces/{workspaceId}/front-options Update workspace front-end options
whoAmI GET /workspaces/{workspaceId}/users/me Get authenticated user details

acknowledgeNotification

acknowledgeNotification(workspaceId, notificationId, body)

Acknowledge a modification notification

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var notificationId = 56; // Number | Notification id

var body = new DocdokuPlmApi.ModificationNotificationDTO(); // ModificationNotificationDTO | Modification notification to acknowledge


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.acknowledgeNotification(workspaceId, notificationId, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
notificationId Number Notification id
body ModificationNotificationDTO Modification notification to acknowledge

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

addDocTag

DocumentRevisionDTO addDocTag(workspaceId, documentId, documentVersion, body)

Add tags to document revision

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var documentId = "documentId_example"; // String | Document master id

var documentVersion = "documentVersion_example"; // String | Document version

var body = new DocdokuPlmApi.TagListDTO(); // TagListDTO | Tag list to add


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.addDocTag(workspaceId, documentId, documentVersion, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
documentId String Document master id
documentVersion String Document version
body TagListDTO Tag list to add

Return type

DocumentRevisionDTO

Authorization

authorization

HTTP request headers

addNewPathDataIteration

PathDataMasterDTO addNewPathDataIteration(workspaceId, ciId, serialNumber, pathDataId, body)

Add new path-data iteration

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var ciId = "ciId_example"; // String | Configuration item id

var serialNumber = "serialNumber_example"; // String | Serial number

var pathDataId = 56; // Number | Path data master id

var body = new DocdokuPlmApi.PathDataIterationCreationDTO(); // PathDataIterationCreationDTO | Path data iteration to create


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.addNewPathDataIteration(workspaceId, ciId, serialNumber, pathDataId, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
ciId String Configuration item id
serialNumber String Serial number
pathDataId Number Path data master id
body PathDataIterationCreationDTO Path data iteration to create

Return type

PathDataMasterDTO

Authorization

authorization

HTTP request headers

addPartTag

PartRevisionDTO addPartTag(workspaceId, partNumber, partVersion, body)

Add tags to part revision

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var partNumber = "partNumber_example"; // String | Part number

var partVersion = "partVersion_example"; // String | Part version

var body = new DocdokuPlmApi.TagListDTO(); // TagListDTO | Tag list to add


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.addPartTag(workspaceId, partNumber, partVersion, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
partNumber String Part number
partVersion String Part version
body TagListDTO Tag list to add

Return type

PartRevisionDTO

Authorization

authorization

HTTP request headers

addTagToChangeIssue

ChangeIssueDTO addTagToChangeIssue(workspaceId, issueId, body)

Attached a new tag to a change issue

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var issueId = 56; // Number | Issue id

var body = new DocdokuPlmApi.TagListDTO(); // TagListDTO | Tag list to add


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.addTagToChangeIssue(workspaceId, issueId, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
issueId Number Issue id
body TagListDTO Tag list to add

Return type

ChangeIssueDTO

Authorization

authorization

HTTP request headers

addTagToChangeOrder

ChangeOrderDTO addTagToChangeOrder(workspaceId, orderId, body)

Add new tag to order

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var orderId = 56; // Number | Order id

var body = new DocdokuPlmApi.TagListDTO(); // TagListDTO | Tag list to add


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.addTagToChangeOrder(workspaceId, orderId, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
orderId Number Order id
body TagListDTO Tag list to add

Return type

ChangeOrderDTO

Authorization

authorization

HTTP request headers

addTagsToChangeRequest

ChangeRequestDTO addTagsToChangeRequest(workspaceId, requestId, body)

Attach a new tag to a change request

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var requestId = 56; // Number | Request id

var body = new DocdokuPlmApi.TagListDTO(); // TagListDTO | Tag list to add


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.addTagsToChangeRequest(workspaceId, requestId, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
requestId Number Request id
body TagListDTO Tag list to add

Return type

ChangeRequestDTO

Authorization

authorization

HTTP request headers

addUser

addUser(workspaceId, body, opts)

Add a user to workspace

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var body = new DocdokuPlmApi.UserDTO(); // UserDTO | User to add

var opts = { 
  'group': "group_example" // String | Group id
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.addUser(workspaceId, body, opts, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
body UserDTO User to add
group String Group id [optional]

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

cascadeCheckin

CascadeResult cascadeCheckin(workspaceId, ciId, path, body, opts)

Cascade part revision check in with given config spec and path

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var ciId = "ciId_example"; // String | Configuration item id

var path = "path_example"; // String | Complete path to checkin from

var body = new DocdokuPlmApi.IterationNoteDTO(); // IterationNoteDTO | Iteration note to add

var opts = { 
  'configSpec': "configSpec_example" // String | Config spec
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.cascadeCheckin(workspaceId, ciId, path, body, opts, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
ciId String Configuration item id
path String Complete path to checkin from
body IterationNoteDTO Iteration note to add
configSpec String Config spec [optional]

Return type

CascadeResult

Authorization

authorization

HTTP request headers

cascadeCheckout

CascadeResult cascadeCheckout(workspaceId, ciId, path, opts)

Cascade part revision check out with given config spec and path

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var ciId = "ciId_example"; // String | Configuration item id

var path = "path_example"; // String | Complete path to checkout from

var opts = { 
  'configSpec': "configSpec_example" // String | Config spec
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.cascadeCheckout(workspaceId, ciId, path, opts, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
ciId String Configuration item id
path String Complete path to checkout from
configSpec String Config spec [optional]

Return type

CascadeResult

Authorization

authorization

HTTP request headers

cascadeUndoCheckOut

CascadeResult cascadeUndoCheckOut(workspaceId, ciId, path, opts)

Cascade part revision undo check out with given config spec and path

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var ciId = "ciId_example"; // String | Configuration item id

var path = "path_example"; // String | Complete path to undo checkout from

var opts = { 
  'configSpec': "configSpec_example" // String | Config spec
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.cascadeUndoCheckOut(workspaceId, ciId, path, opts, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
ciId String Configuration item id
path String Complete path to undo checkout from
configSpec String Config spec [optional]

Return type

CascadeResult

Authorization

authorization

HTTP request headers

checkIn

PartRevisionDTO checkIn(workspaceId, partNumber, partVersion)

Checkin part revision

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var partNumber = "partNumber_example"; // String | Part number

var partVersion = "partVersion_example"; // String | Part version


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.checkIn(workspaceId, partNumber, partVersion, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
partNumber String Part number
partVersion String Part version

Return type

PartRevisionDTO

Authorization

authorization

HTTP request headers

checkInDocument

DocumentRevisionDTO checkInDocument(workspaceId, documentId, documentVersion)

Checkin document revision

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var documentId = "documentId_example"; // String | Document master id

var documentVersion = "documentVersion_example"; // String | Document version


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.checkInDocument(workspaceId, documentId, documentVersion, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
documentId String Document master id
documentVersion String Document version

Return type

DocumentRevisionDTO

Authorization

authorization

HTTP request headers

checkOut

PartRevisionDTO checkOut(workspaceId, partNumber, partVersion)

Checkout part revision

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var partNumber = "partNumber_example"; // String | Part number

var partVersion = "partVersion_example"; // String | Part version


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.checkOut(workspaceId, partNumber, partVersion, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
partNumber String Part number
partVersion String Part version

Return type

PartRevisionDTO

Authorization

authorization

HTTP request headers

checkOutDocument

DocumentRevisionDTO checkOutDocument(workspaceId, documentId, documentVersion)

Checkout document revision

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var documentId = "documentId_example"; // String | Document master id

var documentVersion = "documentVersion_example"; // String | Document version


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.checkOutDocument(workspaceId, documentId, documentVersion, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
documentId String Document master id
documentVersion String Document version

Return type

DocumentRevisionDTO

Authorization

authorization

HTTP request headers

countCheckedOutDocs

[DocumentRevisionDTO] countCheckedOutDocs(workspaceId)

Count checked out document revisions

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.countCheckedOutDocs(workspaceId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id

Return type

[DocumentRevisionDTO]

Authorization

authorization

HTTP request headers

createConfiguration

ProductConfigurationDTO createConfiguration(workspaceId, body)

Create a new product configuration

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var body = new DocdokuPlmApi.ProductConfigurationDTO(); // ProductConfigurationDTO | Product configuration to create


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.createConfiguration(workspaceId, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
body ProductConfigurationDTO Product configuration to create

Return type

ProductConfigurationDTO

Authorization

authorization

HTTP request headers

createConfigurationItem

ConfigurationItemDTO createConfigurationItem(workspaceId, body)

Create a new configuration item

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var body = new DocdokuPlmApi.ConfigurationItemDTO(); // ConfigurationItemDTO | Product to create


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.createConfigurationItem(workspaceId, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
body ConfigurationItemDTO Product to create

Return type

ConfigurationItemDTO

Authorization

authorization

HTTP request headers

createDocumentBaseline

DocumentBaselineDTO createDocumentBaseline(workspaceId, body)

Create a new document baseline

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var body = new DocdokuPlmApi.DocumentBaselineDTO(); // DocumentBaselineDTO | Document baseline to create


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.createDocumentBaseline(workspaceId, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
body DocumentBaselineDTO Document baseline to create

Return type

DocumentBaselineDTO

Authorization

authorization

HTTP request headers

createDocumentMasterInFolder

DocumentRevisionDTO createDocumentMasterInFolder(workspaceId, body, folderId)

Create a new document revision in given folder

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var body = new DocdokuPlmApi.DocumentCreationDTO(); // DocumentCreationDTO | Document to create

var folderId = "folderId_example"; // String | Folder id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.createDocumentMasterInFolder(workspaceId, body, folderId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
body DocumentCreationDTO Document to create
folderId String Folder id

Return type

DocumentRevisionDTO

Authorization

authorization

HTTP request headers

createDocumentMasterInRootFolderWithTag

[DocumentRevisionDTO] createDocumentMasterInRootFolderWithTag(workspaceId, body, tagId)

Create a new document master and its first revision with given tag

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var body = new DocdokuPlmApi.DocumentCreationDTO(); // DocumentCreationDTO | Document to create

var tagId = "tagId_example"; // String | Tag id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.createDocumentMasterInRootFolderWithTag(workspaceId, body, tagId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
body DocumentCreationDTO Document to create
tagId String Tag id

Return type

[DocumentRevisionDTO]

Authorization

authorization

HTTP request headers

createDocumentMasterTemplate

DocumentMasterTemplateDTO createDocumentMasterTemplate(workspaceId, body)

Create a new document template

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var body = new DocdokuPlmApi.DocumentTemplateCreationDTO(); // DocumentTemplateCreationDTO | Document master template to create


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.createDocumentMasterTemplate(workspaceId, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
body DocumentTemplateCreationDTO Document master template to create

Return type

DocumentMasterTemplateDTO

Authorization

authorization

HTTP request headers

createEffectivity

EffectivityDTO createEffectivity(body, workspaceId, partNumber, partVersion)

Create an Effectivity for a given PartRevision

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var body = new DocdokuPlmApi.EffectivityDTO(); // EffectivityDTO | Effectivity to create

var workspaceId = "workspaceId_example"; // String | Workspace id

var partNumber = "partNumber_example"; // String | Part revision number

var partVersion = "partVersion_example"; // String | Part revision version


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.createEffectivity(body, workspaceId, partNumber, partVersion, callback);

Parameters

Name Type Description Notes
body EffectivityDTO Effectivity to create
workspaceId String Workspace id
partNumber String Part revision number
partVersion String Part revision version

Return type

EffectivityDTO

Authorization

authorization

HTTP request headers

createGroup

UserGroupDTO createGroup(workspaceId, body)

Create a new user group

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var body = new DocdokuPlmApi.UserGroupDTO(); // UserGroupDTO | UserGroup to create


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.createGroup(workspaceId, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
body UserGroupDTO UserGroup to create

Return type

UserGroupDTO

Authorization

authorization

HTTP request headers

createIssue

ChangeIssueDTO createIssue(workspaceId, body)

Create a new change issue

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var body = new DocdokuPlmApi.ChangeIssueDTO(); // ChangeIssueDTO | Change issue to create


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.createIssue(workspaceId, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
body ChangeIssueDTO Change issue to create

Return type

ChangeIssueDTO

Authorization

authorization

HTTP request headers

createLOV

ListOfValuesDTO createLOV(workspaceId, body)

Create a new ListOfValues

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var body = new DocdokuPlmApi.ListOfValuesDTO(); // ListOfValuesDTO | LOV to create


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.createLOV(workspaceId, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
body ListOfValuesDTO LOV to create

Return type

ListOfValuesDTO

Authorization

authorization

HTTP request headers

createLayer

LayerDTO createLayer(workspaceId, ciId, body)

Create a new layer for given product

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var ciId = "ciId_example"; // String | Configuration item id

var body = new DocdokuPlmApi.LayerDTO(); // LayerDTO | Layer to create


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.createLayer(workspaceId, ciId, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
ciId String Configuration item id
body LayerDTO Layer to create

Return type

LayerDTO

Authorization

authorization

HTTP request headers

createMarker

MarkerDTO createMarker(workspaceId, ciId, layerId, body)

Create a new marker in a given layer

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var ciId = "ciId_example"; // String | Configuration item id

var layerId = 56; // Number | Layer id

var body = new DocdokuPlmApi.MarkerDTO(); // MarkerDTO | Marker to create


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.createMarker(workspaceId, ciId, layerId, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
ciId String Configuration item id
layerId Number Layer id
body MarkerDTO Marker to create

Return type

MarkerDTO

Authorization

authorization

HTTP request headers

createMilestone

MilestoneDTO createMilestone(workspaceId, body)

Create a new milestone

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var body = new DocdokuPlmApi.MilestoneDTO(); // MilestoneDTO | Milestone to create


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.createMilestone(workspaceId, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
body MilestoneDTO Milestone to create

Return type

MilestoneDTO

Authorization

authorization

HTTP request headers

createNewDocumentVersion

[DocumentRevisionDTO] createNewDocumentVersion(workspaceId, documentId, documentVersion, body)

Create a new version of the document revision

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var documentId = "documentId_example"; // String | Document master id

var documentVersion = "documentVersion_example"; // String | Document version

var body = new DocdokuPlmApi.DocumentCreationDTO(); // DocumentCreationDTO | New version of document to create


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.createNewDocumentVersion(workspaceId, documentId, documentVersion, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
documentId String Document master id
documentVersion String Document version
body DocumentCreationDTO New version of document to create

Return type

[DocumentRevisionDTO]

Authorization

authorization

HTTP request headers

createNewPart

PartRevisionDTO createNewPart(workspaceId, body)

Create a new part master and its first revision

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var body = new DocdokuPlmApi.PartCreationDTO(); // PartCreationDTO | Part to create


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.createNewPart(workspaceId, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
body PartCreationDTO Part to create

Return type

PartRevisionDTO

Authorization

authorization

HTTP request headers

createNewPartVersion

createNewPartVersion(workspaceId, partNumber, partVersion, body)

Create new part version

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var partNumber = "partNumber_example"; // String | Part number

var partVersion = "partVersion_example"; // String | Part version

var body = new DocdokuPlmApi.PartCreationDTO(); // PartCreationDTO | New version of part to create


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.createNewPartVersion(workspaceId, partNumber, partVersion, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
partNumber String Part number
partVersion String Part version
body PartCreationDTO New version of part to create

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

createOrder

ChangeOrderDTO createOrder(workspaceId, body)

Create order

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var body = new DocdokuPlmApi.ChangeOrderDTO(); // ChangeOrderDTO | Change order to create


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.createOrder(workspaceId, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
body ChangeOrderDTO Change order to create

Return type

ChangeOrderDTO

Authorization

authorization

HTTP request headers

createPartMasterTemplate

PartMasterTemplateDTO createPartMasterTemplate(workspaceId, body)

Crate a new part master template

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var body = new DocdokuPlmApi.PartTemplateCreationDTO(); // PartTemplateCreationDTO | Part master template to create


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.createPartMasterTemplate(workspaceId, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
body PartTemplateCreationDTO Part master template to create

Return type

PartMasterTemplateDTO

Authorization

authorization

HTTP request headers

createPathDataMaster

PathDataMasterDTO createPathDataMaster(workspaceId, ciId, serialNumber, path, body)

Create a new path-data in product-instance last iteration

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var ciId = "ciId_example"; // String | Configuration item id

var serialNumber = "serialNumber_example"; // String | Serial number

var path = "path_example"; // String | Complete path in context

var body = new DocdokuPlmApi.PathDataIterationCreationDTO(); // PathDataIterationCreationDTO | Path data iteration create


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.createPathDataMaster(workspaceId, ciId, serialNumber, path, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
ciId String Configuration item id
serialNumber String Serial number
path String Complete path in context
body PathDataIterationCreationDTO Path data iteration create

Return type

PathDataMasterDTO

Authorization

authorization

HTTP request headers

createPathToPathLink

LightPathToPathLinkDTO createPathToPathLink(workspaceId, ciId, body)

Create a new path-to-path link

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var ciId = "ciId_example"; // String | Configuration item id

var body = new DocdokuPlmApi.LightPathToPathLinkDTO(); // LightPathToPathLinkDTO | Path to path link to create


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.createPathToPathLink(workspaceId, ciId, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
ciId String Configuration item id
body LightPathToPathLinkDTO Path to path link to create

Return type

LightPathToPathLinkDTO

Authorization

authorization

HTTP request headers

createProductBaseline

ProductBaselineDTO createProductBaseline(workspaceId, body, opts)

Create a new product-baseline

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var body = new DocdokuPlmApi.ProductBaselineCreationDTO(); // ProductBaselineCreationDTO | Product baseline to create

var opts = { 
  'dryRun': true // Boolean | Dry run flag
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.createProductBaseline(workspaceId, body, opts, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
body ProductBaselineCreationDTO Product baseline to create
dryRun Boolean Dry run flag [optional]

Return type

ProductBaselineDTO

Authorization

authorization

HTTP request headers

createProductInstanceMaster

ProductInstanceMasterDTO createProductInstanceMaster(workspaceId, body)

Create a new product-instance

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var body = new DocdokuPlmApi.ProductInstanceCreationDTO(); // ProductInstanceCreationDTO | Product instance master to create


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.createProductInstanceMaster(workspaceId, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
body ProductInstanceCreationDTO Product instance master to create

Return type

ProductInstanceMasterDTO

Authorization

authorization

HTTP request headers

createRequest

ChangeRequestDTO createRequest(workspaceId, body)

Create request

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var body = new DocdokuPlmApi.ChangeRequestDTO(); // ChangeRequestDTO | Change request to create


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.createRequest(workspaceId, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
body ChangeRequestDTO Change request to create

Return type

ChangeRequestDTO

Authorization

authorization

HTTP request headers

createRole

RoleDTO createRole(workspaceId, body)

Create a new role

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var body = new DocdokuPlmApi.RoleDTO(); // RoleDTO | Role to create


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.createRole(workspaceId, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
body RoleDTO Role to create

Return type

RoleDTO

Authorization

authorization

HTTP request headers

createRootFolder

FolderDTO createRootFolder(workspaceId, body)

Create root folder

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var body = new DocdokuPlmApi.FolderDTO(); // FolderDTO | Folder to create


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.createRootFolder(workspaceId, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
body FolderDTO Folder to create

Return type

FolderDTO

Authorization

authorization

HTTP request headers

createSharedDocument

SharedDocumentDTO createSharedDocument(workspaceId, documentId, documentVersion, body)

Create a shared document for given document revision

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var documentId = "documentId_example"; // String | Document master id

var documentVersion = "documentVersion_example"; // String | Document version

var body = new DocdokuPlmApi.SharedDocumentDTO(); // SharedDocumentDTO | Shared document to create


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.createSharedDocument(workspaceId, documentId, documentVersion, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
documentId String Document master id
documentVersion String Document version
body SharedDocumentDTO Shared document to create

Return type

SharedDocumentDTO

Authorization

authorization

HTTP request headers

createSharedPart

SharedPartDTO createSharedPart(workspaceId, partNumber, partVersion, body)

Create a new shared part from part revision

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var partNumber = "partNumber_example"; // String | Part number

var partVersion = "partVersion_example"; // String | Part version

var body = new DocdokuPlmApi.SharedPartDTO(); // SharedPartDTO | Shared part to create


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.createSharedPart(workspaceId, partNumber, partVersion, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
partNumber String Part number
partVersion String Part version
body SharedPartDTO Shared part to create

Return type

SharedPartDTO

Authorization

authorization

HTTP request headers

createSubFolder

FolderDTO createSubFolder(workspaceId, parentFolderPath, body)

Create a sub folder in a given folder

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var parentFolderPath = "parentFolderPath_example"; // String | Parent folder id

var body = new DocdokuPlmApi.FolderDTO(); // FolderDTO | Folder to create


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.createSubFolder(workspaceId, parentFolderPath, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
parentFolderPath String Parent folder id
body FolderDTO Folder to create

Return type

FolderDTO

Authorization

authorization

HTTP request headers

createTag

TagDTO createTag(workspaceId, body)

Create a new tag in workspace

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var body = new DocdokuPlmApi.TagDTO(); // TagDTO | Tag to create


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.createTag(workspaceId, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
body TagDTO Tag to create

Return type

TagDTO

Authorization

authorization

HTTP request headers

createTags

createTags(workspaceId, body)

Create new tags in workspace

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var body = new DocdokuPlmApi.TagListDTO(); // TagListDTO | Tag list to create


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.createTags(workspaceId, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
body TagListDTO Tag list to create

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

createWebhook

WebhookDTO createWebhook(workspaceId, body)

Create a new webhook in given workspace

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var body = new DocdokuPlmApi.WebhookDTO(); // WebhookDTO | Webhook definition


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.createWebhook(workspaceId, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
body WebhookDTO Webhook definition

Return type

WebhookDTO

Authorization

authorization

HTTP request headers

createWorkflowModel

WorkflowModelDTO createWorkflowModel(workspaceId, body)

Create a new workflow model

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var body = new DocdokuPlmApi.WorkflowModelDTO(); // WorkflowModelDTO | Workflow model to create rules to set


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.createWorkflowModel(workspaceId, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
body WorkflowModelDTO Workflow model to create rules to set

Return type

WorkflowModelDTO

Authorization

authorization

HTTP request headers

createWorkspace

WorkspaceDTO createWorkspace(body, opts)

Create a new workspace

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var body = new DocdokuPlmApi.WorkspaceDTO(); // WorkspaceDTO | Workspace to create

var opts = { 
  'userLogin': "userLogin_example" // String | Login for workspace admin
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.createWorkspace(body, opts, callback);

Parameters

Name Type Description Notes
body WorkspaceDTO Workspace to create
userLogin String Login for workspace admin [optional]

Return type

WorkspaceDTO

Authorization

authorization

HTTP request headers

createWorkspaceWorkflow

WorkspaceWorkflowDTO createWorkspaceWorkflow(workspaceId, body)

Instantiate a workspace workflow from given workflow model

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var body = new DocdokuPlmApi.WorkspaceWorkflowCreationDTO(); // WorkspaceWorkflowCreationDTO | Workspace workflow to create


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.createWorkspaceWorkflow(workspaceId, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
body WorkspaceWorkflowCreationDTO Workspace workflow to create

Return type

WorkspaceWorkflowDTO

Authorization

authorization

HTTP request headers

decodePath

[LightPartLinkDTO] decodePath(workspaceId, ciId, path)

Decode given path as string

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var ciId = "ciId_example"; // String | Configuration item id

var path = "path_example"; // String | Complete path to decode


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.decodePath(workspaceId, ciId, path, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
ciId String Configuration item id
path String Complete path to decode

Return type

[LightPartLinkDTO]

Authorization

authorization

HTTP request headers

delWorkflowModel

delWorkflowModel(workspaceId, workflowModelId)

Delete a workflow model

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var workflowModelId = "workflowModelId_example"; // String | Workflow model id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.delWorkflowModel(workspaceId, workflowModelId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
workflowModelId String Workflow model id

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

deleteAttachedFileInPathData

deleteAttachedFileInPathData(workspaceId, ciId, serialNumber, pathDataId, iteration, fileName)

Delete product-instance's attached file

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var ciId = "ciId_example"; // String | Configuration item id

var serialNumber = "serialNumber_example"; // String | Serial number

var pathDataId = 56; // Number | Path data master id

var iteration = 56; // Number | Product instance iteration

var fileName = "fileName_example"; // String | File name


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.deleteAttachedFileInPathData(workspaceId, ciId, serialNumber, pathDataId, iteration, fileName, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
ciId String Configuration item id
serialNumber String Serial number
pathDataId Number Path data master id
iteration Number Product instance iteration
fileName String File name

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

deleteBaseline

deleteBaseline(workspaceId, baselineId)

Delete a document baseline

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var baselineId = 56; // Number | Baseline id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.deleteBaseline(workspaceId, baselineId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
baselineId Number Baseline id

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

deleteConfigurationItem

deleteConfigurationItem(workspaceId, ciId)

Delete configuration item

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var ciId = "ciId_example"; // String | Configuration item id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.deleteConfigurationItem(workspaceId, ciId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
ciId String Configuration item id

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

deleteDocument

deleteDocument(workspaceId, documentId, documentVersion)

Delete the document revision

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var documentId = "documentId_example"; // String | Document master id

var documentVersion = "documentVersion_example"; // String | Document version


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.deleteDocument(workspaceId, documentId, documentVersion, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
documentId String Document master id
documentVersion String Document version

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

deleteDocumentMasterTemplate

deleteDocumentMasterTemplate(workspaceId, templateId)

Delete document template

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var templateId = "templateId_example"; // String | Template id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.deleteDocumentMasterTemplate(workspaceId, templateId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
templateId String Template id

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

deleteEffectivity

deleteEffectivity(workspaceId, partNumber, partVersion, effectivityId)

Delete effectivity from given part revision

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var partNumber = "partNumber_example"; // String | Part revision number

var partVersion = "partVersion_example"; // String | Part revision version

var effectivityId = 56; // Number | Effectivity id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.deleteEffectivity(workspaceId, partNumber, partVersion, effectivityId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
partNumber String Part revision number
partVersion String Part revision version
effectivityId Number Effectivity id

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

deleteImport

deleteImport(workspaceId, importId)

Delete import

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var importId = "importId_example"; // String | Import id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.deleteImport(workspaceId, importId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
importId String Import id

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

deleteLOV

deleteLOV(workspaceId, name)

Delete a ListOfValues

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var name = "name_example"; // String | Name


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.deleteLOV(workspaceId, name, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
name String Name

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

deleteLayer

deleteLayer(workspaceId, ciId, layerId)

Delete layer

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var ciId = "ciId_example"; // String | Configuration item id

var layerId = 56; // Number | Layer id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.deleteLayer(workspaceId, ciId, layerId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
ciId String Configuration item id
layerId Number Layer id

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

deleteMarker

deleteMarker(workspaceId, ciId, layerId, markerId)

Delete marker

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var ciId = "ciId_example"; // String | Configuration item id

var layerId = 56; // Number | Layer id

var markerId = 56; // Number | Marker id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.deleteMarker(workspaceId, ciId, layerId, markerId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
ciId String Configuration item id
layerId Number Layer id
markerId Number Marker id

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

deletePartMasterTemplate

deletePartMasterTemplate(workspaceId, templateId)

Delete part master template

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var templateId = "templateId_example"; // String | Template id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.deletePartMasterTemplate(workspaceId, templateId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
templateId String Template id

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

deletePartRevision

deletePartRevision(workspaceId, partNumber, partVersion)

Delete part revision

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var partNumber = "partNumber_example"; // String | Part number

var partVersion = "partVersion_example"; // String | Part version


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.deletePartRevision(workspaceId, partNumber, partVersion, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
partNumber String Part number
partVersion String Part version

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

deletePathData

deletePathData(workspaceId, ciId, serialNumber, pathDataId)

Delete product-instance's path-data

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var ciId = "ciId_example"; // String | Configuration item id

var serialNumber = "serialNumber_example"; // String | Serial number

var pathDataId = 56; // Number | Path data master id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.deletePathData(workspaceId, ciId, serialNumber, pathDataId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
ciId String Configuration item id
serialNumber String Serial number
pathDataId Number Path data master id

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

deletePathToPathLink

deletePathToPathLink(workspaceId, ciId, pathToPathLinkId)

Delete path-to-path link

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var ciId = "ciId_example"; // String | Configuration item id

var pathToPathLinkId = 56; // Number | Path to path link id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.deletePathToPathLink(workspaceId, ciId, pathToPathLinkId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
ciId String Configuration item id
pathToPathLinkId Number Path to path link id

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

deleteProductBaseline

deleteProductBaseline(workspaceId, ciId, baselineId)

Delete product-baseline

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var ciId = "ciId_example"; // String | Configuration item id

var baselineId = 56; // Number | Baseline id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.deleteProductBaseline(workspaceId, ciId, baselineId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
ciId String Configuration item id
baselineId Number Baseline id

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

deleteProductConfiguration

deleteProductConfiguration(workspaceId, ciId, productConfigurationId)

Delete product configuration

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var ciId = "ciId_example"; // String | Configuration item id

var productConfigurationId = 56; // Number | Product configuration id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.deleteProductConfiguration(workspaceId, ciId, productConfigurationId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
ciId String Configuration item id
productConfigurationId Number Product configuration id

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

deleteProductInstanceMaster

deleteProductInstanceMaster(workspaceId, ciId, serialNumber)

Delete product-instance

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var ciId = "ciId_example"; // String | Configuration item id

var serialNumber = "serialNumber_example"; // String | Serial number


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.deleteProductInstanceMaster(workspaceId, ciId, serialNumber, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
ciId String Configuration item id
serialNumber String Serial number

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

deleteQuery

deleteQuery(workspaceId, queryId)

Delete custom query

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var queryId = 56; // Number | Query id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.deleteQuery(workspaceId, queryId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
queryId Number Query id

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

deleteRole

deleteRole(workspaceId, roleName)

Delete a role

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var roleName = "roleName_example"; // String | Role name


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.deleteRole(workspaceId, roleName, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
roleName String Role name

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

deleteRootFolder

deleteRootFolder(workspaceId, folderId)

Delete root folder

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var folderId = "folderId_example"; // String | Folder id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.deleteRootFolder(workspaceId, folderId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
folderId String Folder id

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

deleteTag

deleteTag(workspaceId, tagId)

Delete a tag in workspace

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var tagId = "tagId_example"; // String | Tag id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.deleteTag(workspaceId, tagId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
tagId String Tag id

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

deleteUserGroupSubscription

deleteUserGroupSubscription(workspaceId, groupId, tagName)

Delete tag subscription of given user group

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var groupId = "groupId_example"; // String | Group id id

var tagName = "tagName_example"; // String | Tag name


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.deleteUserGroupSubscription(workspaceId, groupId, tagName, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
groupId String Group id id
tagName String Tag name

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

deleteUserSubscription

deleteUserSubscription(workspaceId, login, tagName)

Delete tag subscription of user

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var login = "login_example"; // String | User login

var tagName = "tagName_example"; // String | Tag name


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.deleteUserSubscription(workspaceId, login, tagName, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
login String User login
tagName String Tag name

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

deleteWebhook

deleteWebhook(workspaceId, webhookId)

Delete a webhook

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var webhookId = 56; // Number | Webhook id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.deleteWebhook(workspaceId, webhookId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
webhookId Number Webhook id

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

deleteWorkspace

deleteWorkspace(workspaceId)

Delete a workspace

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.deleteWorkspace(workspaceId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

deleteWorkspaceWorkflow

deleteWorkspaceWorkflow(workspaceId, workspaceWorkflowId)

Delete a workspace workflow

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var workspaceWorkflowId = "workspaceWorkflowId_example"; // String | Workspace workflow id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.deleteWorkspaceWorkflow(workspaceId, workspaceWorkflowId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
workspaceWorkflowId String Workspace workflow id

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

disableGroup

disableGroup(workspaceId, body)

Disable user group in workspace

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var body = new DocdokuPlmApi.UserGroupDTO(); // UserGroupDTO | Group to disable


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.disableGroup(workspaceId, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
body UserGroupDTO Group to disable

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

disableUser

disableUser(workspaceId, body)

Disable user in workspace

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var body = new DocdokuPlmApi.UserDTO(); // UserDTO | User to disable


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.disableUser(workspaceId, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
body UserDTO User to disable

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

enableGroup

enableGroup(workspaceId, body)

Enable user group in workspace

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var body = new DocdokuPlmApi.UserGroupDTO(); // UserGroupDTO | Group to enable


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.enableGroup(workspaceId, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
body UserGroupDTO Group to enable

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

enableUser

enableUser(workspaceId, body)

Enable user in workspace

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var body = new DocdokuPlmApi.UserDTO(); // UserDTO | User to enable


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.enableUser(workspaceId, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
body UserDTO User to enable

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

exportCustomQuery

File exportCustomQuery(workspaceId, body, opts)

Run and export a custom query

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var body = new DocdokuPlmApi.QueryDTO(); // QueryDTO | Query to export

var opts = { 
  '_export': "JSON" // String | Choose export type
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.exportCustomQuery(workspaceId, body, opts, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
body QueryDTO Query to export
_export String Choose export type [optional] [default to JSON]

Return type

File

Authorization

authorization

HTTP request headers

exportDocumentFiles

File exportDocumentFiles(workspaceId, baselineId)

Export document baseline's files

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var baselineId = 56; // Number | Baseline id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.exportDocumentFiles(workspaceId, baselineId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
baselineId Number Baseline id

Return type

File

Authorization

authorization

HTTP request headers

exportExistingQuery

File exportExistingQuery(workspaceId, queryId, _export)

Run and export an existing query

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var queryId = 56; // Number | Query id

var _export = "_export_example"; // String | Choose export type


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.exportExistingQuery(workspaceId, queryId, _export, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
queryId Number Query id
_export String Choose export type

Return type

File

Authorization

authorization

HTTP request headers

exportProductFiles

File exportProductFiles(workspaceId, ciId, opts)

Export files from configuration item with given config spec

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var ciId = "ciId_example"; // String | Configuration item id

var opts = { 
  'configSpecType': "configSpecType_example", // String | Config spec
  'exportNativeCADFiles': true, // Boolean | Export native cad files flag
  'exportDocumentLinks': true // Boolean | Export linked documents attached files flag
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.exportProductFiles(workspaceId, ciId, opts, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
ciId String Configuration item id
configSpecType String Config spec [optional]
exportNativeCADFiles Boolean Export native cad files flag [optional]
exportDocumentLinks Boolean Export linked documents attached files flag [optional]

Return type

File

Authorization

authorization

HTTP request headers

filterPart

[PartRevisionDTO] filterPart(workspaceId, ciId, opts)

Filter part with given config spec and path

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var ciId = "ciId_example"; // String | Configuration item id

var opts = { 
  'configSpec': "wip", // String | Config spec
  'path': "path_example", // String | Complete path of part
  'diverge': false // Boolean | Discover substitute links
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.filterPart(workspaceId, ciId, opts, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
ciId String Configuration item id
configSpec String Config spec [optional] [default to wip]
path String Complete path of part [optional]
diverge Boolean Discover substitute links [optional] [default to false]

Return type

[PartRevisionDTO]

Authorization

authorization

HTTP request headers

filterPartMasterInBaseline

PartIterationDTO filterPartMasterInBaseline(workspaceId, partNumber, baselineId)

Filter part master with in baseline : resolve part iteration

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var partNumber = "partNumber_example"; // String | Part number

var baselineId = 56; // Number | Baseline id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.filterPartMasterInBaseline(workspaceId, partNumber, baselineId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
partNumber String Part number
baselineId Number Baseline id

Return type

PartIterationDTO

Authorization

authorization

HTTP request headers

filterProductStructure

ComponentDTO filterProductStructure(workspaceId, ciId, opts)

Filter product structure

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var ciId = "ciId_example"; // String | Configuration item id

var opts = { 
  'configSpec': "configSpec_example", // String | Config spec
  'path': "path_example", // String | Complete path of part
  'depth': 56, // Number | Depth to stop at
  'linkType': "linkType_example", // String | Type link to filter
  'diverge': true // Boolean | Discover substitute links
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.filterProductStructure(workspaceId, ciId, opts, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
ciId String Configuration item id
configSpec String Config spec [optional]
path String Complete path of part [optional]
depth Number Depth to stop at [optional]
linkType String Type link to filter [optional]
diverge Boolean Discover substitute links [optional]

Return type

ComponentDTO

Authorization

authorization

HTTP request headers

generateDocumentMasterId

TemplateGeneratedIdDTO generateDocumentMasterId(workspaceId, templateId)

Generate document template id

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var templateId = "templateId_example"; // String | Template id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.generateDocumentMasterId(workspaceId, templateId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
templateId String Template id

Return type

TemplateGeneratedIdDTO

Authorization

authorization

HTTP request headers

generatePartMasterTemplateId

TemplateGeneratedIdDTO generatePartMasterTemplateId(workspaceId, templateId)

Generate part master template id

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var templateId = "templateId_example"; // String | Template id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.generatePartMasterTemplateId(workspaceId, templateId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
templateId String Template id

Return type

TemplateGeneratedIdDTO

Authorization

authorization

HTTP request headers

getAbortedWorkflowListInDocument

[WorkflowDTO] getAbortedWorkflowListInDocument(workspaceId, documentId, documentVersion)

Get document revision aborted workflow history

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var documentId = "documentId_example"; // String | Document master id

var documentVersion = "documentVersion_example"; // String | Document version


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getAbortedWorkflowListInDocument(workspaceId, documentId, documentVersion, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
documentId String Document master id
documentVersion String Document version

Return type

[WorkflowDTO]

Authorization

authorization

HTTP request headers

getAbortedWorkflowListInPart

[WorkflowDTO] getAbortedWorkflowListInPart(workspaceId, partNumber, partVersion)

Get part revision's aborted workflow list

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var partNumber = "partNumber_example"; // String | Part number

var partVersion = "partVersion_example"; // String | Part version


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getAbortedWorkflowListInPart(workspaceId, partNumber, partVersion, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
partNumber String Part number
partVersion String Part version

Return type

[WorkflowDTO]

Authorization

authorization

HTTP request headers

getAdminInWorkspace

UserDTO getAdminInWorkspace(workspaceId)

Get admin for workspace

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getAdminInWorkspace(workspaceId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id

Return type

UserDTO

Authorization

authorization

HTTP request headers

getAllConfigurations

[ProductConfigurationDTO] getAllConfigurations(workspaceId)

Get all product configurations in workspace

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getAllConfigurations(workspaceId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id

Return type

[ProductConfigurationDTO]

Authorization

authorization

HTTP request headers

getAllProductBaselines

[ProductBaselineDTO] getAllProductBaselines(workspaceId)

Get product-baselines in given workspace

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getAllProductBaselines(workspaceId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id

Return type

[ProductBaselineDTO]

Authorization

authorization

HTTP request headers

getAllProductInstances

[ProductInstanceMasterDTO] getAllProductInstances(workspaceId)

Get product instances in given workspace

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getAllProductInstances(workspaceId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id

Return type

[ProductInstanceMasterDTO]

Authorization

authorization

HTTP request headers

getAssignedTasksForGivenUser

[TaskDTO] getAssignedTasksForGivenUser(workspaceId, assignedUserLogin)

Get assigned tasks for given user

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var assignedUserLogin = "assignedUserLogin_example"; // String | Assigned user login


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getAssignedTasksForGivenUser(workspaceId, assignedUserLogin, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
assignedUserLogin String Assigned user login

Return type

[TaskDTO]

Authorization

authorization

HTTP request headers

getBaseline

DocumentBaselineDTO getBaseline(workspaceId, baselineId)

Get document baseline by id

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var baselineId = 56; // Number | Baseline id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getBaseline(workspaceId, baselineId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
baselineId Number Baseline id

Return type

DocumentBaselineDTO

Authorization

authorization

HTTP request headers

getBaselineCreationPathChoices

[PathChoiceDTO] getBaselineCreationPathChoices(workspaceId, ciId, opts)

Get baseline creation path choices

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var ciId = "ciId_example"; // String | Configuration item id

var opts = { 
  'type': "type_example" // String | Baseline type
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getBaselineCreationPathChoices(workspaceId, ciId, opts, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
ciId String Configuration item id
type String Baseline type [optional]

Return type

[PathChoiceDTO]

Authorization

authorization

HTTP request headers

getBaselineCreationVersionsChoices

[BaselinedPartDTO] getBaselineCreationVersionsChoices(workspaceId, ciId)

Get baseline creation version choices

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var ciId = "ciId_example"; // String | Configuration item id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getBaselineCreationVersionsChoices(workspaceId, ciId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
ciId String Configuration item id

Return type

[BaselinedPartDTO]

Authorization

authorization

HTTP request headers

getBaselineLight

DocumentBaselineDTO getBaselineLight(workspaceId, baselineId)

Get document baseline in a light format

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var baselineId = 56; // Number | Baseline id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getBaselineLight(workspaceId, baselineId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
baselineId Number Baseline id

Return type

DocumentBaselineDTO

Authorization

authorization

HTTP request headers

getBaselinesWherePartRevisionHasIterations

[ProductBaselineDTO] getBaselinesWherePartRevisionHasIterations(workspaceId, partNumber, partVersion)

Get product baselines where part revision is involved

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var partNumber = "partNumber_example"; // String | Part number

var partVersion = "partVersion_example"; // String | Part version


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getBaselinesWherePartRevisionHasIterations(workspaceId, partNumber, partVersion, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
partNumber String Part number
partVersion String Part version

Return type

[ProductBaselineDTO]

Authorization

authorization

HTTP request headers

getCheckedOutDocuments

[DocumentRevisionDTO] getCheckedOutDocuments(workspaceId)

Get checked out document revisions

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getCheckedOutDocuments(workspaceId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id

Return type

[DocumentRevisionDTO]

Authorization

authorization

HTTP request headers

getCheckedOutDocumentsStats

{'String': [{'String': 'Number'}]} getCheckedOutDocumentsStats(workspaceId)

Get checked out documents stats for workspace

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getCheckedOutDocumentsStats(workspaceId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id

Return type

{'String': [{'String': 'Number'}]}

Authorization

authorization

HTTP request headers

getCheckedOutNumberOfItems

CountDTO getCheckedOutNumberOfItems(workspaceId)

Count checked out part revisions

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getCheckedOutNumberOfItems(workspaceId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id

Return type

CountDTO

Authorization

authorization

HTTP request headers

getCheckedOutPartRevisions

[PartRevisionDTO] getCheckedOutPartRevisions(workspaceId)

Get checked out part revisions

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getCheckedOutPartRevisions(workspaceId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id

Return type

[PartRevisionDTO]

Authorization

authorization

HTTP request headers

getCheckedOutPartsStats

{'String': [{'String': 'Number'}]} getCheckedOutPartsStats(workspaceId)

Get checked out parts stats for workspace

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getCheckedOutPartsStats(workspaceId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id

Return type

{'String': [{'String': 'Number'}]}

Authorization

authorization

HTTP request headers

getConfiguration

ProductConfigurationDTO getConfiguration(workspaceId, ciId, productConfigurationId)

Get product configuration by id

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var ciId = "ciId_example"; // String | Configuration item id

var productConfigurationId = 56; // Number | Product configuration id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getConfiguration(workspaceId, ciId, productConfigurationId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
ciId String Configuration item id
productConfigurationId Number Product configuration id

Return type

ProductConfigurationDTO

Authorization

authorization

HTTP request headers

getConfigurationItem

ConfigurationItemDTO getConfigurationItem(workspaceId, ciId)

Get configuration item by id

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var ciId = "ciId_example"; // String | Configuration item id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getConfigurationItem(workspaceId, ciId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
ciId String Configuration item id

Return type

ConfigurationItemDTO

Authorization

authorization

HTTP request headers

getConfigurationItems

[ConfigurationItemDTO] getConfigurationItems(workspaceId)

Get configuration items in given workspace

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getConfigurationItems(workspaceId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id

Return type

[ConfigurationItemDTO]

Authorization

authorization

HTTP request headers

getConfigurationsForProduct

[ProductConfigurationDTO] getConfigurationsForProduct(workspaceId, ciId)

Get all product configurations for given product

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var ciId = "ciId_example"; // String | Configuration item id filter


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getConfigurationsForProduct(workspaceId, ciId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
ciId String Configuration item id filter

Return type

[ProductConfigurationDTO]

Authorization

authorization

HTTP request headers

getConversionStatus

ConversionDTO getConversionStatus(workspaceId, partNumber, partVersion, partIteration)

Get part iteration conversion status

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var partNumber = "partNumber_example"; // String | Part number

var partVersion = "partVersion_example"; // String | Part version

var partIteration = 56; // Number | Part iteration


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getConversionStatus(workspaceId, partNumber, partVersion, partIteration, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
partNumber String Part number
partVersion String Part version
partIteration Number Part iteration

Return type

ConversionDTO

Authorization

authorization

HTTP request headers

getCustomQueries

[QueryDTO] getCustomQueries(workspaceId)

Get custom queries in workspace

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getCustomQueries(workspaceId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id

Return type

[QueryDTO]

Authorization

authorization

HTTP request headers

getDetailedWorkspacesForConnectedUser

[WorkspaceDetailsDTO] getDetailedWorkspacesForConnectedUser()

Get detailed workspace list for authenticated user

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getDetailedWorkspacesForConnectedUser(callback);

Parameters

This endpoint does not need any parameter.

Return type

[WorkspaceDetailsDTO]

Authorization

authorization

HTTP request headers

getDiskSpaceUsageStats

DiskUsageSpaceDTO getDiskSpaceUsageStats(workspaceId)

Get disk usage stats for workspace

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getDiskSpaceUsageStats(workspaceId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id

Return type

DiskUsageSpaceDTO

Authorization

authorization

HTTP request headers

getDocumentBaselines

[DocumentBaselineDTO] getDocumentBaselines(workspaceId)

Get document baselines

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getDocumentBaselines(workspaceId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id

Return type

[DocumentBaselineDTO]

Authorization

authorization

HTTP request headers

getDocumentLinksForGivenPartIteration

[DocumentIterationLinkDTO] getDocumentLinksForGivenPartIteration(workspaceId, ciId, partNumber, partVersion, partIteration, configSpec)

Get document links for given part iteration

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var ciId = "ciId_example"; // String | Configuration item id

var partNumber = "partNumber_example"; // String | Part number

var partVersion = "partVersion_example"; // String | Part version

var partIteration = 56; // Number | Part iteration

var configSpec = "configSpec_example"; // String | Config spec


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getDocumentLinksForGivenPartIteration(workspaceId, ciId, partNumber, partVersion, partIteration, configSpec, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
ciId String Configuration item id
partNumber String Part number
partVersion String Part version
partIteration Number Part iteration
configSpec String Config spec

Return type

[DocumentIterationLinkDTO]

Authorization

authorization

HTTP request headers

getDocumentMasterTemplate

DocumentMasterTemplateDTO getDocumentMasterTemplate(workspaceId, templateId)

Get document template by id

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var templateId = "templateId_example"; // String | Template id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getDocumentMasterTemplate(workspaceId, templateId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
templateId String Template id

Return type

DocumentMasterTemplateDTO

Authorization

authorization

HTTP request headers

getDocumentMasterTemplates

[DocumentMasterTemplateDTO] getDocumentMasterTemplates(workspaceId)

Get document templates

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getDocumentMasterTemplates(workspaceId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id

Return type

[DocumentMasterTemplateDTO]

Authorization

authorization

HTTP request headers

getDocumentRevision

DocumentRevisionDTO getDocumentRevision(workspaceId, documentId, documentVersion)

Get document revision

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var documentId = "documentId_example"; // String | Document master id

var documentVersion = "documentVersion_example"; // String | Document version


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getDocumentRevision(workspaceId, documentId, documentVersion, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
documentId String Document master id
documentVersion String Document version

Return type

DocumentRevisionDTO

Authorization

authorization

HTTP request headers

getDocumentsInWorkspace

[DocumentRevisionDTO] getDocumentsInWorkspace(workspaceId, opts)

Get document revisions in workspace

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var opts = { 
  'start': 0, // Number | Start offset
  'max': 20 // Number | Max results
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getDocumentsInWorkspace(workspaceId, opts, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
start Number Start offset [optional] [default to 0]
max Number Max results [optional] [default to 20]

Return type

[DocumentRevisionDTO]

Authorization

authorization

HTTP request headers

getDocumentsInWorkspaceCount

CountDTO getDocumentsInWorkspaceCount(workspaceId)

Count document revisions

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getDocumentsInWorkspaceCount(workspaceId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id

Return type

CountDTO

Authorization

authorization

HTTP request headers

getDocumentsWhereGivenUserHasAssignedTasks

[DocumentRevisionDTO] getDocumentsWhereGivenUserHasAssignedTasks(workspaceId, assignedUserLogin, opts)

Get document revisions where user has assigned tasks

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var assignedUserLogin = "assignedUserLogin_example"; // String | Assigned user login

var opts = { 
  'filter': "filter_example" // String | Status filter
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getDocumentsWhereGivenUserHasAssignedTasks(workspaceId, assignedUserLogin, opts, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
assignedUserLogin String Assigned user login
filter String Status filter [optional]

Return type

[DocumentRevisionDTO]

Authorization

authorization

HTTP request headers

getDocumentsWithGivenFolderIdAndWorkspaceId

[DocumentRevisionDTO] getDocumentsWithGivenFolderIdAndWorkspaceId(workspaceId, folderId)

Get document revisions in given folder

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var folderId = "folderId_example"; // String | Folder id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getDocumentsWithGivenFolderIdAndWorkspaceId(workspaceId, folderId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
folderId String Folder id

Return type

[DocumentRevisionDTO]

Authorization

authorization

HTTP request headers

getDocumentsWithGivenTagIdAndWorkspaceId

[DocumentRevisionDTO] getDocumentsWithGivenTagIdAndWorkspaceId(workspaceId, tagId)

Get document revisions from given tag id

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var tagId = "tagId_example"; // String | Tag id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getDocumentsWithGivenTagIdAndWorkspaceId(workspaceId, tagId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
tagId String Tag id

Return type

[DocumentRevisionDTO]

Authorization

authorization

HTTP request headers

getEffectivities

[EffectivityDTO] getEffectivities(workspaceId, partNumber, partVersion)

Get effectivities of a given PartRevision

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var partNumber = "partNumber_example"; // String | Part revision number

var partVersion = "partVersion_example"; // String | Part revision version


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getEffectivities(workspaceId, partNumber, partVersion, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
partNumber String Part revision number
partVersion String Part revision version

Return type

[EffectivityDTO]

Authorization

authorization

HTTP request headers

getEffectivity

EffectivityDTO getEffectivity(workspaceId, effectivityId)

Get an effectivity from its ID

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var effectivityId = 56; // Number | Effectivity id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getEffectivity(workspaceId, effectivityId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
effectivityId Number Effectivity id

Return type

EffectivityDTO

Authorization

authorization

HTTP request headers

getFilteredInstances

[LeafDTO] getFilteredInstances(workspaceId, ciId, configSpec, path, opts)

Get instances under given path and config spec

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var ciId = "ciId_example"; // String | Configuration item id

var configSpec = "configSpec_example"; // String | Config spec

var path = "path_example"; // String | Complete path to start from

var opts = { 
  'diverge': true // Boolean | Discover substitute links
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getFilteredInstances(workspaceId, ciId, configSpec, path, opts, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
ciId String Configuration item id
configSpec String Config spec
path String Complete path to start from
diverge Boolean Discover substitute links [optional]

Return type

[LeafDTO]

Authorization

authorization

HTTP request headers

getGroups

[UserGroupDTO] getGroups(workspaceId)

Get user groups in given workspace

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getGroups(workspaceId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id

Return type

[UserGroupDTO]

Authorization

authorization

HTTP request headers

getImport

ImportDTO getImport(workspaceId, importId)

Get import by id

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var importId = "importId_example"; // String | Import id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getImport(workspaceId, importId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
importId String Import id

Return type

ImportDTO

Authorization

authorization

HTTP request headers

getImportPreview

ImportPreviewDTO getImportPreview(workspaceId, importType, opts)

Get import preview

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var importType = "importType_example"; // String | Import type

var opts = { 
  'autoCheckout': true, // Boolean | Auto check out parts flag
  'autoCheckin': true, // Boolean | Auto check in parts flag
  'permissiveUpdate': true // Boolean | Permissive update flag
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getImportPreview(workspaceId, importType, opts, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
importType String Import type
autoCheckout Boolean Auto check out parts flag [optional]
autoCheckin Boolean Auto check in parts flag [optional]
permissiveUpdate Boolean Permissive update flag [optional]

Return type

ImportPreviewDTO

Authorization

authorization

HTTP request headers

getImports

[ImportDTO] getImports(workspaceId, filename)

Get imports currently running for given file

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var filename = "filename_example"; // String | File name


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getImports(workspaceId, filename, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
filename String File name

Return type

[ImportDTO]

Authorization

authorization

HTTP request headers

getInstancesForMultiplePath

[LeafDTO] getInstancesForMultiplePath(workspaceId, ciId, body, opts)

Get instances for multiple paths

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var ciId = "ciId_example"; // String | Configuration item id

var body = new DocdokuPlmApi.PathListDTO(); // PathListDTO | List of paths to start from

var opts = { 
  'diverge': true // Boolean | Discover substitute links
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getInstancesForMultiplePath(workspaceId, ciId, body, opts, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
ciId String Configuration item id
body PathListDTO List of paths to start from
diverge Boolean Discover substitute links [optional]

Return type

[LeafDTO]

Authorization

authorization

HTTP request headers

getInstancesUnderPart

[LeafDTO] getInstancesUnderPart(workspaceId, partNumber, partVersion)

Get instances under given part revision (latest checked-in view)

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var partNumber = "partNumber_example"; // String | Part number

var partVersion = "partVersion_example"; // String | Part version


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getInstancesUnderPart(workspaceId, partNumber, partVersion, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
partNumber String Part number
partVersion String Part version

Return type

[LeafDTO]

Authorization

authorization

HTTP request headers

getInverseDocumentLinks

[DocumentRevisionDTO] getInverseDocumentLinks(workspaceId, documentId, documentVersion, iteration)

Get inverse document revisions links

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var documentId = "documentId_example"; // String | Document master id

var documentVersion = "documentVersion_example"; // String | Document version

var iteration = 56; // Number | Document iteration


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getInverseDocumentLinks(workspaceId, documentId, documentVersion, iteration, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
documentId String Document master id
documentVersion String Document version
iteration Number Document iteration

Return type

[DocumentRevisionDTO]

Authorization

authorization

HTTP request headers

getInversePartsLinks

[PartRevisionDTO] getInversePartsLinks(workspaceId, documentId, documentVersion, iteration)

Get inverse part revisions links

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var documentId = "documentId_example"; // String | Document master id

var documentVersion = "documentVersion_example"; // String | Document version

var iteration = 56; // Number | Document iteration


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getInversePartsLinks(workspaceId, documentId, documentVersion, iteration, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
documentId String Document master id
documentVersion String Document version
iteration Number Document iteration

Return type

[PartRevisionDTO]

Authorization

authorization

HTTP request headers

getInversePathDataLinks

[PathDataMasterDTO] getInversePathDataLinks(workspaceId, documentId, documentVersion, iteration)

Get inverse path data links

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var documentId = "documentId_example"; // String | Document master id

var documentVersion = "documentVersion_example"; // String | Document version

var iteration = 56; // Number | Document iteration


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getInversePathDataLinks(workspaceId, documentId, documentVersion, iteration, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
documentId String Document master id
documentVersion String Document version
iteration Number Document iteration

Return type

[PathDataMasterDTO]

Authorization

authorization

HTTP request headers

getInverseProductInstancesLinks

[ProductInstanceMasterDTO] getInverseProductInstancesLinks(workspaceId, documentId, documentVersion, iteration)

Get inverse product instances links

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var documentId = "documentId_example"; // String | Document master id

var documentVersion = "documentVersion_example"; // String | Document version

var iteration = 56; // Number | Document iteration


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getInverseProductInstancesLinks(workspaceId, documentId, documentVersion, iteration, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
documentId String Document master id
documentVersion String Document version
iteration Number Document iteration

Return type

[ProductInstanceMasterDTO]

Authorization

authorization

HTTP request headers

getIssue

ChangeIssueDTO getIssue(workspaceId, issueId)

Get change issue with given id

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var issueId = 56; // Number | Issue id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getIssue(workspaceId, issueId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
issueId Number Issue id

Return type

ChangeIssueDTO

Authorization

authorization

HTTP request headers

getIssues

[ChangeIssueDTO] getIssues(workspaceId)

Get change issues for given parameters

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getIssues(workspaceId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id

Return type

[ChangeIssueDTO]

Authorization

authorization

HTTP request headers

getLOV

ListOfValuesDTO getLOV(workspaceId, name)

Get a ListOfValues from the given parameters

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var name = "name_example"; // String | Name


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getLOV(workspaceId, name, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
name String Name

Return type

ListOfValuesDTO

Authorization

authorization

HTTP request headers

getLOVs

[ListOfValuesDTO] getLOVs(workspaceId)

Get a list of ListOfValues for given parameters

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getLOVs(workspaceId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id

Return type

[ListOfValuesDTO]

Authorization

authorization

HTTP request headers

getLastRelease

PartRevisionDTO getLastRelease(workspaceId, ciId)

Get last release of part

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var ciId = "ciId_example"; // String | Configuration item id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getLastRelease(workspaceId, ciId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
ciId String Configuration item id

Return type

PartRevisionDTO

Authorization

authorization

HTTP request headers

getLatestPartRevision

PartRevisionDTO getLatestPartRevision(workspaceId, partNumber)

Get part master latest available revision

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var partNumber = "partNumber_example"; // String | Part number


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getLatestPartRevision(workspaceId, partNumber, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
partNumber String Part number

Return type

PartRevisionDTO

Authorization

authorization

HTTP request headers

getLayersInProduct

[LayerDTO] getLayersInProduct(workspaceId, ciId)

Get layers for given product

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var ciId = "ciId_example"; // String | Configuration item id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getLayersInProduct(workspaceId, ciId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
ciId String Configuration item id

Return type

[LayerDTO]

Authorization

authorization

HTTP request headers

getMarkersInLayer

[MarkerDTO] getMarkersInLayer(workspaceId, ciId, layerId)

Get markers of a given layer

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var ciId = "ciId_example"; // String | Configuration item id

var layerId = 56; // Number | Layer id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getMarkersInLayer(workspaceId, ciId, layerId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
ciId String Configuration item id
layerId Number Layer id

Return type

[MarkerDTO]

Authorization

authorization

HTTP request headers

getMilestone

MilestoneDTO getMilestone(workspaceId, milestoneId)

Get a milestone by id

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var milestoneId = 56; // Number | Milestone id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getMilestone(workspaceId, milestoneId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
milestoneId Number Milestone id

Return type

MilestoneDTO

Authorization

authorization

HTTP request headers

getMilestones

[MilestoneDTO] getMilestones(workspaceId)

Get milestones for given parameters

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getMilestones(workspaceId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id

Return type

[MilestoneDTO]

Authorization

authorization

HTTP request headers

getOrder

ChangeOrderDTO getOrder(workspaceId, orderId)

Get order

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var orderId = 56; // Number | Order id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getOrder(workspaceId, orderId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
orderId Number Order id

Return type

ChangeOrderDTO

Authorization

authorization

HTTP request headers

getOrders

[ChangeOrderDTO] getOrders(workspaceId)

Get orders for given parameters

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getOrders(workspaceId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id

Return type

[ChangeOrderDTO]

Authorization

authorization

HTTP request headers

getOrdersByMilestone

[ChangeOrderDTO] getOrdersByMilestone(workspaceId, milestoneId)

Get change orders for a given milestone

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var milestoneId = 56; // Number | Milestone id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getOrdersByMilestone(workspaceId, milestoneId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
milestoneId Number Milestone id

Return type

[ChangeOrderDTO]

Authorization

authorization

HTTP request headers

getPartFromPathLink

LightPartMasterDTO getPartFromPathLink(workspaceId, ciId, serialNumber, pathPart)

Get part from path-to-path link

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var ciId = "ciId_example"; // String | Configuration item id

var serialNumber = "serialNumber_example"; // String | Serial number

var pathPart = "pathPart_example"; // String | Complete path to the part


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getPartFromPathLink(workspaceId, ciId, serialNumber, pathPart, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
ciId String Configuration item id
serialNumber String Serial number
pathPart String Complete path to the part

Return type

LightPartMasterDTO

Authorization

authorization

HTTP request headers

getPartMasterTemplate

PartMasterTemplateDTO getPartMasterTemplate(workspaceId, templateId)

Get part master template

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var templateId = "templateId_example"; // String | Template id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getPartMasterTemplate(workspaceId, templateId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
templateId String Template id

Return type

PartMasterTemplateDTO

Authorization

authorization

HTTP request headers

getPartMasterTemplates

[PartMasterTemplateDTO] getPartMasterTemplates(workspaceId)

Get part master templates

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getPartMasterTemplates(workspaceId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id

Return type

[PartMasterTemplateDTO]

Authorization

authorization

HTTP request headers

getPartRevision

PartRevisionDTO getPartRevision(workspaceId, partNumber, partVersion)

Get part revision

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var partNumber = "partNumber_example"; // String | Part number

var partVersion = "partVersion_example"; // String | Part version


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getPartRevision(workspaceId, partNumber, partVersion, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
partNumber String Part number
partVersion String Part version

Return type

PartRevisionDTO

Authorization

authorization

HTTP request headers

getPartRevisions

[PartRevisionDTO] getPartRevisions(workspaceId, opts)

Get part revisions in workspace

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var opts = { 
  'start': 0, // Number | Start offset
  'length': 20 // Number | Max results
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getPartRevisions(workspaceId, opts, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
start Number Start offset [optional] [default to 0]
length Number Max results [optional] [default to 20]

Return type

[PartRevisionDTO]

Authorization

authorization

HTTP request headers

getPartRevisionsByTag

[PartRevisionDTO] getPartRevisionsByTag(workspaceId, tagId)

Get part revisions in workspace

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var tagId = "tagId_example"; // String | Tag id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getPartRevisionsByTag(workspaceId, tagId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
tagId String Tag id

Return type

[PartRevisionDTO]

Authorization

authorization

HTTP request headers

getPartsWhereGivenUserHasAssignedTasks

[PartRevisionDTO] getPartsWhereGivenUserHasAssignedTasks(workspaceId, assignedUserLogin, opts)

Get part revisions where user has assigned tasks

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var assignedUserLogin = "assignedUserLogin_example"; // String | Assigned user login

var opts = { 
  'filter': "filter_example" // String | Task status filter
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getPartsWhereGivenUserHasAssignedTasks(workspaceId, assignedUserLogin, opts, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
assignedUserLogin String Assigned user login
filter String Task status filter [optional]

Return type

[PartRevisionDTO]

Authorization

authorization

HTTP request headers

getPathData

PathDataMasterDTO getPathData(workspaceId, ciId, serialNumber, path)

Get product-instance's last iteration path-data

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var ciId = "ciId_example"; // String | Configuration item id

var serialNumber = "serialNumber_example"; // String | Serial number

var path = "path_example"; // String | Complete path in context


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getPathData(workspaceId, ciId, serialNumber, path, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
ciId String Configuration item id
serialNumber String Serial number
path String Complete path in context

Return type

PathDataMasterDTO

Authorization

authorization

HTTP request headers

getPathToPathLink

LightPathToPathLinkDTO getPathToPathLink(workspaceId, ciId, serialNumber, pathToPathLinkId)

Get path-to-path link

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var ciId = "ciId_example"; // String | Configuration item id

var serialNumber = "serialNumber_example"; // String | Serial number

var pathToPathLinkId = 56; // Number | Path to path link id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getPathToPathLink(workspaceId, ciId, serialNumber, pathToPathLinkId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
ciId String Configuration item id
serialNumber String Serial number
pathToPathLinkId Number Path to path link id

Return type

LightPathToPathLinkDTO

Authorization

authorization

HTTP request headers

getPathToPathLinkInProduct

[PathToPathLinkDTO] getPathToPathLinkInProduct(workspaceId, ciId, sourcePath, targetPath)

Get path-to-path links from source and target

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var ciId = "ciId_example"; // String | Configuration item id

var sourcePath = "sourcePath_example"; // String | Complete source path

var targetPath = "targetPath_example"; // String | Complete target path


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getPathToPathLinkInProduct(workspaceId, ciId, sourcePath, targetPath, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
ciId String Configuration item id
sourcePath String Complete source path
targetPath String Complete target path

Return type

[PathToPathLinkDTO]

Authorization

authorization

HTTP request headers

getPathToPathLinkInProductBaseline

[LightPathToPathLinkDTO] getPathToPathLinkInProductBaseline(workspaceId, ciId, baselineId, sourcePath, targetPath)

Get product-baseline's path-to-path links for given source and target

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var ciId = "ciId_example"; // String | Configuration item id

var baselineId = 56; // Number | Baseline id

var sourcePath = "sourcePath_example"; // String | Source path

var targetPath = "targetPath_example"; // String | Target path


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getPathToPathLinkInProductBaseline(workspaceId, ciId, baselineId, sourcePath, targetPath, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
ciId String Configuration item id
baselineId Number Baseline id
sourcePath String Source path
targetPath String Target path

Return type

[LightPathToPathLinkDTO]

Authorization

authorization

HTTP request headers

getPathToPathLinkTypesInBaseline

[LightPathToPathLinkDTO] getPathToPathLinkTypesInBaseline(workspaceId, ciId, baselineId)

Get product-baseline's path-to-path links

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var ciId = "ciId_example"; // String | Configuration item id

var baselineId = 56; // Number | Baseline id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getPathToPathLinkTypesInBaseline(workspaceId, ciId, baselineId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
ciId String Configuration item id
baselineId Number Baseline id

Return type

[LightPathToPathLinkDTO]

Authorization

authorization

HTTP request headers

getPathToPathLinkTypesInProduct

[LightPathToPathLinkDTO] getPathToPathLinkTypesInProduct(workspaceId, ciId)

Get path-to-path links types

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var ciId = "ciId_example"; // String | Configuration item id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getPathToPathLinkTypesInProduct(workspaceId, ciId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
ciId String Configuration item id

Return type

[LightPathToPathLinkDTO]

Authorization

authorization

HTTP request headers

getPathToPathLinkTypesInProductInstance

[LightPathToPathLinkDTO] getPathToPathLinkTypesInProductInstance(workspaceId, ciId, serialNumber)

Get path-to-path link types

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var ciId = "ciId_example"; // String | Configuration item id

var serialNumber = "serialNumber_example"; // String | Serial number


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getPathToPathLinkTypesInProductInstance(workspaceId, ciId, serialNumber, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
ciId String Configuration item id
serialNumber String Serial number

Return type

[LightPathToPathLinkDTO]

Authorization

authorization

HTTP request headers

getPathToPathLinks

[LightPathToPathLinkDTO] getPathToPathLinks(workspaceId, ciId, serialNumber)

Get path-to-path links

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var ciId = "ciId_example"; // String | Configuration item id

var serialNumber = "serialNumber_example"; // String | Serial number


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getPathToPathLinks(workspaceId, ciId, serialNumber, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
ciId String Configuration item id
serialNumber String Serial number

Return type

[LightPathToPathLinkDTO]

Authorization

authorization

HTTP request headers

getPathToPathLinksForGivenSourceAndTarget

[LightPathToPathLinkDTO] getPathToPathLinksForGivenSourceAndTarget(workspaceId, ciId, serialNumber, sourcePath, targetPath)

Get path-to-path link for given source and target

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var ciId = "ciId_example"; // String | Configuration item id

var serialNumber = "serialNumber_example"; // String | Serial number

var sourcePath = "sourcePath_example"; // String | Complete source path

var targetPath = "targetPath_example"; // String | Complete target path


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getPathToPathLinksForGivenSourceAndTarget(workspaceId, ciId, serialNumber, sourcePath, targetPath, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
ciId String Configuration item id
serialNumber String Serial number
sourcePath String Complete source path
targetPath String Complete target path

Return type

[LightPathToPathLinkDTO]

Authorization

authorization

HTTP request headers

getProductBaseline

ProductBaselineDTO getProductBaseline(workspaceId, ciId, baselineId)

Get product-baseline by id

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var ciId = "ciId_example"; // String | Configuration item id

var baselineId = 56; // Number | Baseline id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getProductBaseline(workspaceId, ciId, baselineId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
ciId String Configuration item id
baselineId Number Baseline id

Return type

ProductBaselineDTO

Authorization

authorization

HTTP request headers

getProductBaselineParts

[BaselinedPartDTO] getProductBaselineParts(workspaceId, ciId, baselineId, q)

Get product-baseline's baselined parts

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var ciId = "ciId_example"; // String | Configuration item id

var baselineId = 56; // Number | Baseline id

var q = "q_example"; // String | Query


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getProductBaselineParts(workspaceId, ciId, baselineId, q, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
ciId String Configuration item id
baselineId Number Baseline id
q String Query

Return type

[BaselinedPartDTO]

Authorization

authorization

HTTP request headers

getProductBaselinesForProduct

[ProductBaselineDTO] getProductBaselinesForProduct(workspaceId, ciId)

Get product-baseline with given configuration item

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var ciId = "ciId_example"; // String | Configuration item id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getProductBaselinesForProduct(workspaceId, ciId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
ciId String Configuration item id

Return type

[ProductBaselineDTO]

Authorization

authorization

HTTP request headers

getProductInstance

ProductInstanceMasterDTO getProductInstance(workspaceId, ciId, serialNumber)

Get product-instance by serial number

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var ciId = "ciId_example"; // String | Configuration item id

var serialNumber = "serialNumber_example"; // String | Serial number


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getProductInstance(workspaceId, ciId, serialNumber, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
ciId String Configuration item id
serialNumber String Serial number

Return type

ProductInstanceMasterDTO

Authorization

authorization

HTTP request headers

getProductInstanceIteration

ProductInstanceIterationDTO getProductInstanceIteration(workspaceId, ciId, serialNumber, iteration)

Get product-instance's iteration

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var ciId = "ciId_example"; // String | Configuration item id

var serialNumber = "serialNumber_example"; // String | Serial number

var iteration = 56; // Number | Product instance iteration


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getProductInstanceIteration(workspaceId, ciId, serialNumber, iteration, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
ciId String Configuration item id
serialNumber String Serial number
iteration Number Product instance iteration

Return type

ProductInstanceIterationDTO

Authorization

authorization

HTTP request headers

getProductInstanceIterations

[ProductInstanceIterationDTO] getProductInstanceIterations(workspaceId, ciId, serialNumber)

Get product-instance's iterations

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var ciId = "ciId_example"; // String | Configuration item id

var serialNumber = "serialNumber_example"; // String | Serial number


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getProductInstanceIterations(workspaceId, ciId, serialNumber, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
ciId String Configuration item id
serialNumber String Serial number

Return type

[ProductInstanceIterationDTO]

Authorization

authorization

HTTP request headers

getProductInstanceMasters

[ProductInstanceMasterDTO] getProductInstanceMasters(workspaceId, partNumber, partVersion)

Get product instance where part revision is in use

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var partNumber = "partNumber_example"; // String | Part number

var partVersion = "partVersion_example"; // String | Part version


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getProductInstanceMasters(workspaceId, partNumber, partVersion, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
partNumber String Part number
partVersion String Part version

Return type

[ProductInstanceMasterDTO]

Authorization

authorization

HTTP request headers

getProductInstances

[ProductInstanceMasterDTO] getProductInstances(workspaceId, ciId)

Get product-instance with given configuration item

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var ciId = "ciId_example"; // String | Configuration item id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getProductInstances(workspaceId, ciId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
ciId String Configuration item id

Return type

[ProductInstanceMasterDTO]

Authorization

authorization

HTTP request headers

getReachableUsersForCaller

[UserDTO] getReachableUsersForCaller()

Get online users visible by authenticated user

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getReachableUsersForCaller(callback);

Parameters

This endpoint does not need any parameter.

Return type

[UserDTO]

Authorization

authorization

HTTP request headers

getRequest

ChangeRequestDTO getRequest(workspaceId, requestId)

Get change request by id

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var requestId = 56; // Number | Request id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getRequest(workspaceId, requestId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
requestId Number Request id

Return type

ChangeRequestDTO

Authorization

authorization

HTTP request headers

getRequests

[ChangeRequestDTO] getRequests(workspaceId)

Get requests for given parameters

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getRequests(workspaceId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id

Return type

[ChangeRequestDTO]

Authorization

authorization

HTTP request headers

getRequestsByMilestone

[ChangeRequestDTO] getRequestsByMilestone(workspaceId, milestoneId)

Get change requests for a given milestone

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var milestoneId = 56; // Number | Milestone id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getRequestsByMilestone(workspaceId, milestoneId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
milestoneId Number Milestone id

Return type

[ChangeRequestDTO]

Authorization

authorization

HTTP request headers

getRolesInUseInWorkspace

[RoleDTO] getRolesInUseInWorkspace(workspaceId)

Get roles in use in given workspace

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getRolesInUseInWorkspace(workspaceId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id

Return type

[RoleDTO]

Authorization

authorization

HTTP request headers

getRolesInWorkspace

[RoleDTO] getRolesInWorkspace(workspaceId)

Get roles in given workspace

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getRolesInWorkspace(workspaceId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id

Return type

[RoleDTO]

Authorization

authorization

HTTP request headers

getRootFolders

[FolderDTO] getRootFolders(workspaceId)

Get root folders

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getRootFolders(workspaceId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id

Return type

[FolderDTO]

Authorization

authorization

HTTP request headers

getRootPathToPathLinks

[LightPathToPathLinkDTO] getRootPathToPathLinks(workspaceId, ciId, serialNumber, type)

Get root path-to-path links

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var ciId = "ciId_example"; // String | Configuration item id

var serialNumber = "serialNumber_example"; // String | Serial number

var type = "type_example"; // String | Link type


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getRootPathToPathLinks(workspaceId, ciId, serialNumber, type, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
ciId String Configuration item id
serialNumber String Serial number
type String Link type

Return type

[LightPathToPathLinkDTO]

Authorization

authorization

HTTP request headers

getStatsOverview

StatsOverviewDTO getStatsOverview(workspaceId)

Get stats overview for workspace

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getStatsOverview(workspaceId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id

Return type

StatsOverviewDTO

Authorization

authorization

HTTP request headers

getSubFolders

[FolderDTO] getSubFolders(workspaceId, completePath)

Get sub folders of given folder

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var completePath = "completePath_example"; // String | Folder id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getSubFolders(workspaceId, completePath, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
completePath String Folder id

Return type

[FolderDTO]

Authorization

authorization

HTTP request headers

getTagSubscriptionsForGroup

[TagSubscriptionDTO] getTagSubscriptionsForGroup(workspaceId, groupId)

Get tag subscriptions of given user group

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var groupId = "groupId_example"; // String | Group id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getTagSubscriptionsForGroup(workspaceId, groupId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
groupId String Group id

Return type

[TagSubscriptionDTO]

Authorization

authorization

HTTP request headers

getTagSubscriptionsForUser

[TagSubscriptionDTO] getTagSubscriptionsForUser(workspaceId, login)

Get tag subscriptions of user

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var login = "login_example"; // String | User login


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getTagSubscriptionsForUser(workspaceId, login, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
login String User login

Return type

[TagSubscriptionDTO]

Authorization

authorization

HTTP request headers

getTagsInWorkspace

[TagDTO] getTagsInWorkspace(workspaceId)

Get tags in given workspace

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getTagsInWorkspace(workspaceId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id

Return type

[TagDTO]

Authorization

authorization

HTTP request headers

getTask

TaskDTO getTask(workspaceId, taskId)

Get task by id

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var taskId = "taskId_example"; // String | Task id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getTask(workspaceId, taskId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
taskId String Task id

Return type

TaskDTO

Authorization

authorization

HTTP request headers

getTotalNumberOfParts

CountDTO getTotalNumberOfParts(workspaceId)

Count part revisions in workspace

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getTotalNumberOfParts(workspaceId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id

Return type

CountDTO

Authorization

authorization

HTTP request headers

getUsedByAsComponent

[PartRevisionDTO] getUsedByAsComponent(workspaceId, partNumber, partVersion)

Get part revisions where given part revision is used as a component

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var partNumber = "partNumber_example"; // String | Part number

var partVersion = "partVersion_example"; // String | Part version


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getUsedByAsComponent(workspaceId, partNumber, partVersion, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
partNumber String Part number
partVersion String Part version

Return type

[PartRevisionDTO]

Authorization

authorization

HTTP request headers

getUsedByAsSubstitute

[PartRevisionDTO] getUsedByAsSubstitute(workspaceId, partNumber, partVersion)

Get part revisions where given part revision is used as a substitute

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var partNumber = "partNumber_example"; // String | Part number

var partVersion = "partVersion_example"; // String | Part version


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getUsedByAsSubstitute(workspaceId, partNumber, partVersion, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
partNumber String Part number
partVersion String Part version

Return type

[PartRevisionDTO]

Authorization

authorization

HTTP request headers

getUserGroups

[UserGroupDTO] getUserGroups(workspaceId)

Get user groups in given workspace

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getUserGroups(workspaceId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id

Return type

[UserGroupDTO]

Authorization

authorization

HTTP request headers

getUsersInGroup

[UserDTO] getUsersInGroup(workspaceId, groupId)

Get users of given user group

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var groupId = "groupId_example"; // String | Group id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getUsersInGroup(workspaceId, groupId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
groupId String Group id

Return type

[UserDTO]

Authorization

authorization

HTTP request headers

getUsersInWorkspace

[UserDTO] getUsersInWorkspace(workspaceId)

Get users in workspace

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getUsersInWorkspace(workspaceId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id

Return type

[UserDTO]

Authorization

authorization

HTTP request headers

getUsersStats

UserStatsDTO getUsersStats(workspaceId)

Get user stats for workspace

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getUsersStats(workspaceId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id

Return type

UserStatsDTO

Authorization

authorization

HTTP request headers

getWebhook

WebhookDTO getWebhook(workspaceId, webhookId)

Get webhook by id

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var webhookId = 56; // Number | Webhook id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getWebhook(workspaceId, webhookId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
webhookId Number Webhook id

Return type

WebhookDTO

Authorization

authorization

HTTP request headers

getWebhooks

[WebhookDTO] getWebhooks(workspaceId)

Get webhooks in given workspace

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getWebhooks(workspaceId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id

Return type

[WebhookDTO]

Authorization

authorization

HTTP request headers

getWorkflowAbortedWorkflowList

[WorkflowDTO] getWorkflowAbortedWorkflowList(workspaceId, workflowId)

Get workflow's aborted workflow list

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var workflowId = 56; // Number | Workflow id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getWorkflowAbortedWorkflowList(workspaceId, workflowId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
workflowId Number Workflow id

Return type

[WorkflowDTO]

Authorization

authorization

HTTP request headers

getWorkflowInstance

WorkflowDTO getWorkflowInstance(workspaceId, workflowId)

Get instantiated workflow in workspace

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var workflowId = 56; // Number | Workflow id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getWorkflowInstance(workspaceId, workflowId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
workflowId Number Workflow id

Return type

WorkflowDTO

Authorization

authorization

HTTP request headers

getWorkflowModelInWorkspace

WorkflowModelDTO getWorkflowModelInWorkspace(workspaceId, workflowModelId)

Get workflow model by id

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var workflowModelId = "workflowModelId_example"; // String | Workflow model id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getWorkflowModelInWorkspace(workspaceId, workflowModelId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
workflowModelId String Workflow model id

Return type

WorkflowModelDTO

Authorization

authorization

HTTP request headers

getWorkflowModelsInWorkspace

[WorkflowModelDTO] getWorkflowModelsInWorkspace(workspaceId)

Get workflow models in given workspace

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getWorkflowModelsInWorkspace(workspaceId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id

Return type

[WorkflowModelDTO]

Authorization

authorization

HTTP request headers

getWorkspaceBackOptions

WorkspaceBackOptionsDTO getWorkspaceBackOptions(workspaceId)

Get workspace back-end options

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getWorkspaceBackOptions(workspaceId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id

Return type

WorkspaceBackOptionsDTO

Authorization

authorization

HTTP request headers

getWorkspaceFrontOptions

WorkspaceFrontOptionsDTO getWorkspaceFrontOptions(workspaceId)

Get workspace front-end options

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getWorkspaceFrontOptions(workspaceId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id

Return type

WorkspaceFrontOptionsDTO

Authorization

authorization

HTTP request headers

getWorkspaceSpecificUserGroupMemberShips

[WorkspaceUserGroupMemberShipDTO] getWorkspaceSpecificUserGroupMemberShips(workspaceId)

Get workspace's group membership for authenticated user

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getWorkspaceSpecificUserGroupMemberShips(workspaceId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id

Return type

[WorkspaceUserGroupMemberShipDTO]

Authorization

authorization

HTTP request headers

getWorkspaceSpecificUserMemberShips

WorkspaceUserMemberShipDTO getWorkspaceSpecificUserMemberShips(workspaceId)

Get workspace's user membership for authenticated user

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getWorkspaceSpecificUserMemberShips(workspaceId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id

Return type

WorkspaceUserMemberShipDTO

Authorization

authorization

HTTP request headers

getWorkspaceUserGroupMemberShips

[WorkspaceUserGroupMemberShipDTO] getWorkspaceUserGroupMemberShips(workspaceId)

Get workspace's group membership for authenticated user

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getWorkspaceUserGroupMemberShips(workspaceId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id

Return type

[WorkspaceUserGroupMemberShipDTO]

Authorization

authorization

HTTP request headers

getWorkspaceUserMemberShips

[WorkspaceUserMemberShipDTO] getWorkspaceUserMemberShips(workspaceId)

Get workspace's user memberships

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getWorkspaceUserMemberShips(workspaceId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id

Return type

[WorkspaceUserMemberShipDTO]

Authorization

authorization

HTTP request headers

getWorkspaceWorkflow

WorkspaceWorkflowDTO getWorkspaceWorkflow(workspaceId, workspaceWorkflowId)

Get a workspace workflow by id

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var workspaceWorkflowId = "workspaceWorkflowId_example"; // String | Workspace workflow id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getWorkspaceWorkflow(workspaceId, workspaceWorkflowId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
workspaceWorkflowId String Workspace workflow id

Return type

WorkspaceWorkflowDTO

Authorization

authorization

HTTP request headers

getWorkspaceWorkflowList

[WorkspaceWorkflowDTO] getWorkspaceWorkflowList(workspaceId)

Get workspace workflow list in given workspace

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getWorkspaceWorkflowList(workspaceId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id

Return type

[WorkspaceWorkflowDTO]

Authorization

authorization

HTTP request headers

getWorkspacesForConnectedUser

WorkspaceListDTO getWorkspacesForConnectedUser()

Get workspace list for authenticated user

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getWorkspacesForConnectedUser(callback);

Parameters

This endpoint does not need any parameter.

Return type

WorkspaceListDTO

Authorization

authorization

HTTP request headers

importPartAttributes

importPartAttributes(workspaceId, importType, opts)

Import part iteration attributes from file

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var importType = "importType_example"; // String | Import type

var opts = { 
  'autoCheckout': true, // Boolean | Auto check out parts flag
  'autoCheckin': true, // Boolean | Auto check in parts flag
  'permissiveUpdate': true, // Boolean | Permissive update flag
  'revisionNote': "revisionNote_example" // String | Revision note to add
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.importPartAttributes(workspaceId, importType, opts, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
importType String Import type
autoCheckout Boolean Auto check out parts flag [optional]
autoCheckin Boolean Auto check in parts flag [optional]
permissiveUpdate Boolean Permissive update flag [optional]
revisionNote String Revision note to add [optional]

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

importProductInstanceAttributes

importProductInstanceAttributes(workspaceId, opts)

Import attribute into product-instance

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var opts = { 
  'autoFreezeAfterUpdate': true, // Boolean | Auto freeze after update flag
  'permissiveUpdate': true, // Boolean | Permissive update flag
  'revisionNote': "revisionNote_example" // String | Revision note to set
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.importProductInstanceAttributes(workspaceId, opts, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
autoFreezeAfterUpdate Boolean Auto freeze after update flag [optional]
permissiveUpdate Boolean Permissive update flag [optional]
revisionNote String Revision note to set [optional]

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

markDocumentRevisionAsObsolete

DocumentRevisionDTO markDocumentRevisionAsObsolete(workspaceId, documentId, documentVersion)

Set document revision as obsolete

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var documentId = "documentId_example"; // String | Document master id

var documentVersion = "documentVersion_example"; // String | Document version


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.markDocumentRevisionAsObsolete(workspaceId, documentId, documentVersion, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
documentId String Document master id
documentVersion String Document version

Return type

DocumentRevisionDTO

Authorization

authorization

HTTP request headers

markPartRevisionAsObsolete

PartRevisionDTO markPartRevisionAsObsolete(workspaceId, partNumber, partVersion)

Set part revision as obsolete

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var partNumber = "partNumber_example"; // String | Part number

var partVersion = "partVersion_example"; // String | Part version


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.markPartRevisionAsObsolete(workspaceId, partNumber, partVersion, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
partNumber String Part number
partVersion String Part version

Return type

PartRevisionDTO

Authorization

authorization

HTTP request headers

moveDocument

DocumentRevisionDTO moveDocument(workspaceId, documentId, documentVersion, body)

Move document revision to given folder

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var documentId = "documentId_example"; // String | Document master id

var documentVersion = "documentVersion_example"; // String | Document version

var body = new DocdokuPlmApi.DocumentCreationDTO(); // DocumentCreationDTO | Document revision to move


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.moveDocument(workspaceId, documentId, documentVersion, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
documentId String Document master id
documentVersion String Document version
body DocumentCreationDTO Document revision to move

Return type

DocumentRevisionDTO

Authorization

authorization

HTTP request headers

moveFolder

FolderDTO moveFolder(workspaceId, folderId, body)

Move a folder to given folder

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var folderId = "folderId_example"; // String | Folder id

var body = new DocdokuPlmApi.FolderDTO(); // FolderDTO | Folder to move


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.moveFolder(workspaceId, folderId, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
folderId String Folder id
body FolderDTO Folder to move

Return type

FolderDTO

Authorization

authorization

HTTP request headers

processTask

processTask(workspaceId, taskId, body)

Approve or reject task on a document or part revision

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var taskId = "taskId_example"; // String | Task id

var body = new DocdokuPlmApi.TaskProcessDTO(); // TaskProcessDTO | Task process data


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.processTask(workspaceId, taskId, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
taskId String Task id
body TaskProcessDTO Task process data

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

publishDocumentRevision

publishDocumentRevision(workspaceId, documentId, documentVersion)

Publish a document revision

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var documentId = "documentId_example"; // String | Document master id

var documentVersion = "documentVersion_example"; // String | Document version


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.publishDocumentRevision(workspaceId, documentId, documentVersion, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
documentId String Document master id
documentVersion String Document version

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

publishPartRevision

publishPartRevision(workspaceId, partNumber, partVersion)

Publish part revision

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var partNumber = "partNumber_example"; // String | Part number

var partVersion = "partVersion_example"; // String | Part version


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.publishPartRevision(workspaceId, partNumber, partVersion, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
partNumber String Part number
partVersion String Part version

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

rebaseProductInstance

rebaseProductInstance(workspaceId, ciId, serialNumber, body)

Rebase product-instance with given baseline

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var ciId = "ciId_example"; // String | Configuration item id

var serialNumber = "serialNumber_example"; // String | Serial number

var body = new DocdokuPlmApi.ProductBaselineDTO(); // ProductBaselineDTO | Product baseline to rebase with


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.rebaseProductInstance(workspaceId, ciId, serialNumber, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
ciId String Configuration item id
serialNumber String Serial number
body ProductBaselineDTO Product baseline to rebase with

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

releaseDocumentRevision

DocumentRevisionDTO releaseDocumentRevision(workspaceId, documentId, documentVersion)

Release document revision

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var documentId = "documentId_example"; // String | Document master id

var documentVersion = "documentVersion_example"; // String | Document version


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.releaseDocumentRevision(workspaceId, documentId, documentVersion, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
documentId String Document master id
documentVersion String Document version

Return type

DocumentRevisionDTO

Authorization

authorization

HTTP request headers

releasePartRevision

PartRevisionDTO releasePartRevision(workspaceId, partNumber, partVersion)

Release part revision

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var partNumber = "partNumber_example"; // String | Part number

var partVersion = "partVersion_example"; // String | Part version


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.releasePartRevision(workspaceId, partNumber, partVersion, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
partNumber String Part number
partVersion String Part version

Return type

PartRevisionDTO

Authorization

authorization

HTTP request headers

removeAttachedFileFromDocument

removeAttachedFileFromDocument(workspaceId, documentId, documentVersion, docIteration, fileName)

Remove attached file from document iteration

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var documentId = "documentId_example"; // String | Document master id

var documentVersion = "documentVersion_example"; // String | Document version

var docIteration = 56; // Number | Document iteration

var fileName = "fileName_example"; // String | File name


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.removeAttachedFileFromDocument(workspaceId, documentId, documentVersion, docIteration, fileName, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
documentId String Document master id
documentVersion String Document version
docIteration Number Document iteration
fileName String File name

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

removeAttachedFileFromDocumentTemplate

removeAttachedFileFromDocumentTemplate(workspaceId, templateId, fileName)

Remove attached file from document template

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var templateId = "templateId_example"; // String | Template id

var fileName = "fileName_example"; // String | File name


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.removeAttachedFileFromDocumentTemplate(workspaceId, templateId, fileName, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
templateId String Template id
fileName String File name

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

removeAttachedFileFromPartTemplate

removeAttachedFileFromPartTemplate(workspaceId, templateId, fileName)

Remove attached file from part master template

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var templateId = "templateId_example"; // String | Template id

var fileName = "fileName_example"; // String | File name


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.removeAttachedFileFromPartTemplate(workspaceId, templateId, fileName, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
templateId String Template id
fileName String File name

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

removeAttachedFileFromProductInstance

removeAttachedFileFromProductInstance(workspaceId, iteration, ciId, serialNumber, fileName)

Remove attached file from product-instance

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var iteration = 56; // Number | Product instance iteration

var ciId = "ciId_example"; // String | Configuration item id

var serialNumber = "serialNumber_example"; // String | Serial number

var fileName = "fileName_example"; // String | File name


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.removeAttachedFileFromProductInstance(workspaceId, iteration, ciId, serialNumber, fileName, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
iteration Number Product instance iteration
ciId String Configuration item id
serialNumber String Serial number
fileName String File name

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

removeDocTags

DocumentRevisionDTO removeDocTags(workspaceId, documentId, documentVersion, tagName)

Remove tags from document revision

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var documentId = "documentId_example"; // String | Document master id

var documentVersion = "documentVersion_example"; // String | Document version

var tagName = "tagName_example"; // String | Tag name


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.removeDocTags(workspaceId, documentId, documentVersion, tagName, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
documentId String Document master id
documentVersion String Document version
tagName String Tag name

Return type

DocumentRevisionDTO

Authorization

authorization

HTTP request headers

removeFile

removeFile(workspaceId, partNumber, partVersion, partIteration, subType, fileName)

Remove file from part iteration

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var partNumber = "partNumber_example"; // String | Part number

var partVersion = "partVersion_example"; // String | Part version

var partIteration = 56; // Number | Part iteration

var subType = "subType_example"; // String | Sub type

var fileName = "fileName_example"; // String | File name


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.removeFile(workspaceId, partNumber, partVersion, partIteration, subType, fileName, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
partNumber String Part number
partVersion String Part version
partIteration Number Part iteration
subType String Sub type
fileName String File name

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

removeGroup

UserGroupDTO removeGroup(workspaceId, groupId)

Remove a user group

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var groupId = "groupId_example"; // String | Group id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.removeGroup(workspaceId, groupId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
groupId String Group id

Return type

UserGroupDTO

Authorization

authorization

HTTP request headers

removeIssue

ChangeIssueDTO removeIssue(workspaceId, issueId)

Delete change issue

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var issueId = 56; // Number | Issue id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.removeIssue(workspaceId, issueId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
issueId Number Issue id

Return type

ChangeIssueDTO

Authorization

authorization

HTTP request headers

removeMilestone

removeMilestone(workspaceId, milestoneId)

Delete milestone

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var milestoneId = 56; // Number | Milestone id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.removeMilestone(workspaceId, milestoneId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
milestoneId Number Milestone id

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

removeOrder

removeOrder(workspaceId, orderId)

Delete order

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var orderId = 56; // Number | Order id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.removeOrder(workspaceId, orderId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
orderId Number Order id

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

removePartTags

PartRevisionDTO removePartTags(workspaceId, partNumber, partVersion, tagName)

Delete tags from part revision

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var partNumber = "partNumber_example"; // String | Part number

var partVersion = "partVersion_example"; // String | Part version

var tagName = "tagName_example"; // String | Tag name


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.removePartTags(workspaceId, partNumber, partVersion, tagName, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
partNumber String Part number
partVersion String Part version
tagName String Tag name

Return type

PartRevisionDTO

Authorization

authorization

HTTP request headers

removeRequest

ChangeRequestDTO removeRequest(workspaceId, requestId)

Delete change request

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | 

var requestId = 56; // Number | 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.removeRequest(workspaceId, requestId, callback);

Parameters

Name Type Description Notes
workspaceId String
requestId Number

Return type

ChangeRequestDTO

Authorization

authorization

HTTP request headers

removeTagFromChangeRequest

ChangeRequestDTO removeTagFromChangeRequest(workspaceId, requestId, tagName)

Delete tag attached to a change request

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var requestId = 56; // Number | Request id

var tagName = "tagName_example"; // String | Tag to remove


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.removeTagFromChangeRequest(workspaceId, requestId, tagName, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
requestId Number Request id
tagName String Tag to remove

Return type

ChangeRequestDTO

Authorization

authorization

HTTP request headers

removeTagsFromChangeIssue

ChangeIssueDTO removeTagsFromChangeIssue(workspaceId, issueId, tagName)

Delete a tag attached to a change issue

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var issueId = 56; // Number | Issue id

var tagName = "tagName_example"; // String | Tag name


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.removeTagsFromChangeIssue(workspaceId, issueId, tagName, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
issueId Number Issue id
tagName String Tag name

Return type

ChangeIssueDTO

Authorization

authorization

HTTP request headers

removeTagsFromChangeOrder

ChangeOrderDTO removeTagsFromChangeOrder(workspaceId, orderId, tagName)

Delete tag attached to order

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var orderId = 56; // Number | Order id

var tagName = "tagName_example"; // String | Tag name


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.removeTagsFromChangeOrder(workspaceId, orderId, tagName, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
orderId Number Order id
tagName String Tag name

Return type

ChangeOrderDTO

Authorization

authorization

HTTP request headers

removeUserFromGroup

UserGroupDTO removeUserFromGroup(workspaceId, groupId, body)

Remove user from user group

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var groupId = "groupId_example"; // String | Group id

var body = new DocdokuPlmApi.UserDTO(); // UserDTO | User to remove from group


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.removeUserFromGroup(workspaceId, groupId, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
groupId String Group id
body UserDTO User to remove from group

Return type

UserGroupDTO

Authorization

authorization

HTTP request headers

removeUserFromWorkspace

WorkspaceDTO removeUserFromWorkspace(workspaceId, body)

Remove user from workspace

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var body = new DocdokuPlmApi.UserDTO(); // UserDTO | User to remove from workspace


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.removeUserFromWorkspace(workspaceId, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
body UserDTO User to remove from workspace

Return type

WorkspaceDTO

Authorization

authorization

HTTP request headers

renameAttachedFileInDocument

FileDTO renameAttachedFileInDocument(workspaceId, documentId, documentVersion, docIteration, fileName, body)

Rename attached files of document iteration

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var documentId = "documentId_example"; // String | Document master id

var documentVersion = "documentVersion_example"; // String | Document version

var docIteration = 56; // Number | Document iteration

var fileName = "fileName_example"; // String | File name

var body = new DocdokuPlmApi.FileDTO(); // FileDTO | File to rename


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.renameAttachedFileInDocument(workspaceId, documentId, documentVersion, docIteration, fileName, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
documentId String Document master id
documentVersion String Document version
docIteration Number Document iteration
fileName String File name
body FileDTO File to rename

Return type

FileDTO

Authorization

authorization

HTTP request headers

renameAttachedFileInDocumentTemplate

FileDTO renameAttachedFileInDocumentTemplate(workspaceId, templateId, fileName, body)

Rename attached file in document template

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var templateId = "templateId_example"; // String | Template id

var fileName = "fileName_example"; // String | File name

var body = new DocdokuPlmApi.FileDTO(); // FileDTO | File to rename


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.renameAttachedFileInDocumentTemplate(workspaceId, templateId, fileName, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
templateId String Template id
fileName String File name
body FileDTO File to rename

Return type

FileDTO

Authorization

authorization

HTTP request headers

renameAttachedFileInPartIteration

renameAttachedFileInPartIteration(workspaceId, partNumber, partVersion, partIteration, subType, fileName, body)

Rename attached file from part iteration

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var partNumber = "partNumber_example"; // String | Part number

var partVersion = "partVersion_example"; // String | Part version

var partIteration = 56; // Number | Part iteration

var subType = "subType_example"; // String | Sub type

var fileName = "fileName_example"; // String | File name

var body = new DocdokuPlmApi.FileDTO(); // FileDTO | File to rename


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.renameAttachedFileInPartIteration(workspaceId, partNumber, partVersion, partIteration, subType, fileName, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
partNumber String Part number
partVersion String Part version
partIteration Number Part iteration
subType String Sub type
fileName String File name
body FileDTO File to rename

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

renameAttachedFileInPartTemplate

FileDTO renameAttachedFileInPartTemplate(workspaceId, templateId, fileName, body)

Rename attached file in part master template

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var templateId = "templateId_example"; // String | Template id

var fileName = "fileName_example"; // String | File name

var body = new DocdokuPlmApi.FileDTO(); // FileDTO | File to rename


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.renameAttachedFileInPartTemplate(workspaceId, templateId, fileName, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
templateId String Template id
fileName String File name
body FileDTO File to rename

Return type

FileDTO

Authorization

authorization

HTTP request headers

renameAttachedFileInPathData

FileDTO renameAttachedFileInPathData(workspaceId, ciId, serialNumber, pathDataId, iteration, fileName, body)

Rename product-instance's attached file

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var ciId = "ciId_example"; // String | Configuration item id

var serialNumber = "serialNumber_example"; // String | Serial number

var pathDataId = 56; // Number | Path data master id

var iteration = 56; // Number | Product instance iteration

var fileName = "fileName_example"; // String | File name

var body = new DocdokuPlmApi.FileDTO(); // FileDTO | Renamed file


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.renameAttachedFileInPathData(workspaceId, ciId, serialNumber, pathDataId, iteration, fileName, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
ciId String Configuration item id
serialNumber String Serial number
pathDataId Number Path data master id
iteration Number Product instance iteration
fileName String File name
body FileDTO Renamed file

Return type

FileDTO

Authorization

authorization

HTTP request headers

renameAttachedFileInProductInstance

FileDTO renameAttachedFileInProductInstance(workspaceId, ciId, serialNumber, iteration, fileName, body)

Rename attached file in product instance iteration

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var ciId = "ciId_example"; // String | Configuration item id

var serialNumber = "serialNumber_example"; // String | Serial number

var iteration = 56; // Number | Product instance iteration

var fileName = "fileName_example"; // String | File name

var body = new DocdokuPlmApi.FileDTO(); // FileDTO | Renamed file


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.renameAttachedFileInProductInstance(workspaceId, ciId, serialNumber, iteration, fileName, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
ciId String Configuration item id
serialNumber String Serial number
iteration Number Product instance iteration
fileName String File name
body FileDTO Renamed file

Return type

FileDTO

Authorization

authorization

HTTP request headers

renameFolder

FolderDTO renameFolder(workspaceId, folderId, body)

Rename a folder

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var folderId = "folderId_example"; // String | Folder id

var body = new DocdokuPlmApi.FolderDTO(); // FolderDTO | Folder with new name


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.renameFolder(workspaceId, folderId, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
folderId String Folder id
body FolderDTO Folder with new name

Return type

FolderDTO

Authorization

authorization

HTTP request headers

retryConversion

retryConversion(workspaceId, partNumber, partVersion, partIteration)

Retry part iteration conversion

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var partNumber = "partNumber_example"; // String | Part number

var partVersion = "partVersion_example"; // String | Part version

var partIteration = 56; // Number | Part iteration


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.retryConversion(workspaceId, partNumber, partVersion, partIteration, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
partNumber String Part number
partVersion String Part version
partIteration Number Part iteration

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

runCustomQuery

File runCustomQuery(workspaceId, body, opts)

Run custom query in workspace

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var body = new DocdokuPlmApi.QueryDTO(); // QueryDTO | Query to run

var opts = { 
  'save': false, // Boolean | Save the query flag
  '_export': "JSON" // String | Choose export type
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.runCustomQuery(workspaceId, body, opts, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
body QueryDTO Query to run
save Boolean Save the query flag [optional] [default to false]
_export String Choose export type [optional] [default to JSON]

Return type

File

Authorization

authorization

HTTP request headers

saveAffectedIssues

ChangeRequestDTO saveAffectedIssues(workspaceId, requestId, body)

Attach issue to a change request

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var requestId = 56; // Number | Request id

var body = new DocdokuPlmApi.ChangeIssueListDTO(); // ChangeIssueListDTO | Change issues to save as affected


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.saveAffectedIssues(workspaceId, requestId, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
requestId Number Request id
body ChangeIssueListDTO Change issues to save as affected

Return type

ChangeRequestDTO

Authorization

authorization

HTTP request headers

saveAffectedRequests

ChangeOrderDTO saveAffectedRequests(workspaceId, orderId, body)

Attach request to order

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var orderId = 56; // Number | Order id

var body = new DocdokuPlmApi.ChangeRequestListDTO(); // ChangeRequestListDTO | Change requests to save as affected


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.saveAffectedRequests(workspaceId, orderId, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
orderId Number Order id
body ChangeRequestListDTO Change requests to save as affected

Return type

ChangeOrderDTO

Authorization

authorization

HTTP request headers

saveChangeIssueAffectedDocuments

ChangeIssueDTO saveChangeIssueAffectedDocuments(workspaceId, issueId, body)

Attach a document to a change issue

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var issueId = 56; // Number | Issue id

var body = new DocdokuPlmApi.DocumentIterationListDTO(); // DocumentIterationListDTO | Document list to save as affected


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.saveChangeIssueAffectedDocuments(workspaceId, issueId, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
issueId Number Issue id
body DocumentIterationListDTO Document list to save as affected

Return type

ChangeIssueDTO

Authorization

authorization

HTTP request headers

saveChangeIssueAffectedParts

ChangeIssueDTO saveChangeIssueAffectedParts(workspaceId, issueId, body)

Attach a part to a change issue

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var issueId = 56; // Number | Issue id

var body = new DocdokuPlmApi.PartIterationListDTO(); // PartIterationListDTO | Part list to save as affected


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.saveChangeIssueAffectedParts(workspaceId, issueId, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
issueId Number Issue id
body PartIterationListDTO Part list to save as affected

Return type

ChangeIssueDTO

Authorization

authorization

HTTP request headers

saveChangeItemTags

ChangeIssueDTO saveChangeItemTags(workspaceId, issueId, body)

Update tags attached to a change issue

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var issueId = 56; // Number | Issue id

var body = new DocdokuPlmApi.TagListDTO(); // TagListDTO | Tag list to add


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.saveChangeItemTags(workspaceId, issueId, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
issueId Number Issue id
body TagListDTO Tag list to add

Return type

ChangeIssueDTO

Authorization

authorization

HTTP request headers

saveChangeOrderAffectedDocuments

ChangeOrderDTO saveChangeOrderAffectedDocuments(workspaceId, orderId, body)

Attach document to order

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var orderId = 56; // Number | Order id

var body = new DocdokuPlmApi.DocumentIterationListDTO(); // DocumentIterationListDTO | Documents to save as affected


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.saveChangeOrderAffectedDocuments(workspaceId, orderId, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
orderId Number Order id
body DocumentIterationListDTO Documents to save as affected

Return type

ChangeOrderDTO

Authorization

authorization

HTTP request headers

saveChangeOrderAffectedParts

ChangeOrderDTO saveChangeOrderAffectedParts(workspaceId, orderId, body)

Attach part to order

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var orderId = 56; // Number | Order id

var body = new DocdokuPlmApi.PartIterationListDTO(); // PartIterationListDTO | Parts to save as affected


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.saveChangeOrderAffectedParts(workspaceId, orderId, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
orderId Number Order id
body PartIterationListDTO Parts to save as affected

Return type

ChangeOrderDTO

Authorization

authorization

HTTP request headers

saveChangeOrderTags

ChangeOrderDTO saveChangeOrderTags(workspaceId, orderId, body)

Update tag attached to order

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var orderId = 56; // Number | Order id

var body = new DocdokuPlmApi.TagListDTO(); // TagListDTO | Tag list to add


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.saveChangeOrderTags(workspaceId, orderId, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
orderId Number Order id
body TagListDTO Tag list to add

Return type

ChangeOrderDTO

Authorization

authorization

HTTP request headers

saveChangeRequestAffectedDocuments

ChangeRequestDTO saveChangeRequestAffectedDocuments(workspaceId, requestId, body)

Attach document to a change request

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var requestId = 56; // Number | Request id

var body = new DocdokuPlmApi.DocumentIterationListDTO(); // DocumentIterationListDTO | Document list to save as affected


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.saveChangeRequestAffectedDocuments(workspaceId, requestId, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
requestId Number Request id
body DocumentIterationListDTO Document list to save as affected

Return type

ChangeRequestDTO

Authorization

authorization

HTTP request headers

saveChangeRequestAffectedParts

ChangeRequestDTO saveChangeRequestAffectedParts(workspaceId, requestId, body)

Attach part to a change request

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var requestId = 56; // Number | Request id

var body = new DocdokuPlmApi.PartIterationListDTO(); // PartIterationListDTO | Parts to save as affected


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.saveChangeRequestAffectedParts(workspaceId, requestId, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
requestId Number Request id
body PartIterationListDTO Parts to save as affected

Return type

ChangeRequestDTO

Authorization

authorization

HTTP request headers

saveChangeRequestTags

ChangeRequestDTO saveChangeRequestTags(workspaceId, requestId, body)

Update tag attached to a change request

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var requestId = 56; // Number | Request id

var body = new DocdokuPlmApi.TagListDTO(); // TagListDTO | Tag list to add


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.saveChangeRequestTags(workspaceId, requestId, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
requestId Number Request id
body TagListDTO Tag list to add

Return type

ChangeRequestDTO

Authorization

authorization

HTTP request headers

saveDocTags

DocumentRevisionDTO saveDocTags(workspaceId, documentId, documentVersion, body)

Set the tags of the document revision

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var documentId = "documentId_example"; // String | Document master id

var documentVersion = "documentVersion_example"; // String | Document version

var body = new DocdokuPlmApi.TagListDTO(); // TagListDTO | Tag list to save


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.saveDocTags(workspaceId, documentId, documentVersion, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
documentId String Document master id
documentVersion String Document version
body TagListDTO Tag list to save

Return type

DocumentRevisionDTO

Authorization

authorization

HTTP request headers

savePartTags

PartRevisionDTO savePartTags(workspaceId, partNumber, partVersion, body)

Save part revision tags

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var partNumber = "partNumber_example"; // String | Part number

var partVersion = "partVersion_example"; // String | Part version

var body = new DocdokuPlmApi.TagListDTO(); // TagListDTO | Tag list to add


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.savePartTags(workspaceId, partNumber, partVersion, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
partNumber String Part number
partVersion String Part version
body TagListDTO Tag list to add

Return type

PartRevisionDTO

Authorization

authorization

HTTP request headers

searchConfigurationItemId

[ConfigurationItemDTO] searchConfigurationItemId(workspaceId, q)

Search configuration items by reference

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var q = "q_example"; // String | Query


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.searchConfigurationItemId(workspaceId, q, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
q String Query

Return type

[ConfigurationItemDTO]

Authorization

authorization

HTTP request headers

searchDocumentRevision

[DocumentRevisionDTO] searchDocumentRevision(workspaceId, opts)

Search document revisions

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var opts = { 
  'q': "q_example", // String | Query
  'id': "id_example", // String | Document id
  'title': "title_example", // String | Document title
  'type': "type_example", // String | Document type
  'version': "version_example", // String | Document version
  'author': "author_example", // String | Document author
  'tags': "tags_example", // String | Document tags
  'content': "content_example", // String | Document files content
  'createdFrom': "createdFrom_example", // String | Document created from date
  'createdTo': "createdTo_example", // String | Document creation to date
  'modifiedFrom': "modifiedFrom_example", // String | Document modified from date
  'modifiedTo': "modifiedTo_example", // String | Document modified to date
  'attributes': "attributes_example", // String | Document attributes
  'folder': "folder_example", // String | Folder
  'from': 0, // Number | Start offset
  'size': 10, // Number | Max results
  'fetchHeadOnly': true // Boolean | Search mode (false for history/ true for head only)
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.searchDocumentRevision(workspaceId, opts, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
q String Query [optional]
id String Document id [optional]
title String Document title [optional]
type String Document type [optional]
version String Document version [optional]
author String Document author [optional]
tags String Document tags [optional]
content String Document files content [optional]
createdFrom String Document created from date [optional]
createdTo String Document creation to date [optional]
modifiedFrom String Document modified from date [optional]
modifiedTo String Document modified to date [optional]
attributes String Document attributes [optional]
folder String Folder [optional]
from Number Start offset [optional] [default to 0]
size Number Max results [optional] [default to 10]
fetchHeadOnly Boolean Search mode (false for history/ true for head only) [optional]

Return type

[DocumentRevisionDTO]

Authorization

authorization

HTTP request headers

searchDocumentRevisionsToLink

[DocumentRevisionDTO] searchDocumentRevisionsToLink(workspaceId, q, opts)

Search document revisions by id and/or name

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var q = "q_example"; // String | Query

var opts = { 
  'l': 20 // Number | Max results
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.searchDocumentRevisionsToLink(workspaceId, q, opts, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
q String Query
l Number Max results [optional] [default to 20]

Return type

[DocumentRevisionDTO]

Authorization

authorization

HTTP request headers

searchIssuesByName

[ChangeIssueDTO] searchIssuesByName(workspaceId, q)

Search change issue with given name

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var q = "q_example"; // String | Query


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.searchIssuesByName(workspaceId, q, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
q String Query

Return type

[ChangeIssueDTO]

Authorization

authorization

HTTP request headers

searchPartNumbers

[LightPartMasterDTO] searchPartNumbers(workspaceId, q)

Search for available part numbers in given workspace

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var q = "q_example"; // String | Query


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.searchPartNumbers(workspaceId, q, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
q String Query

Return type

[LightPartMasterDTO]

Authorization

authorization

HTTP request headers

searchPartRevisions

[PartRevisionDTO] searchPartRevisions(workspaceId, opts)

Search part revisions in workspace

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var opts = { 
  'q': "q_example", // String | Query
  '_number': "_number_example", // String | Part number
  'name': "name_example", // String | Part name
  'version': "version_example", // String | Part version
  'author': "author_example", // String | Part author
  'type': "type_example", // String | Part type
  'createdFrom': "createdFrom_example", // String | Part created from date
  'createdTo': "createdTo_example", // String | Part created to date
  'modifiedFrom': "modifiedFrom_example", // String | Part modified from date
  'modifiedTo': "modifiedTo_example", // String | Part modified to date
  'tags': "tags_example", // String | Part tags
  'content': "content_example", // String | Part files content
  'attributes': "attributes_example", // String | Part files attributes
  'from': 0, // Number | Start offset
  'size': 10, // Number | Max results
  'fetchHeadOnly': true // Boolean | Search mode (false for history / true for head only)
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.searchPartRevisions(workspaceId, opts, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
q String Query [optional]
_number String Part number [optional]
name String Part name [optional]
version String Part version [optional]
author String Part author [optional]
type String Part type [optional]
createdFrom String Part created from date [optional]
createdTo String Part created to date [optional]
modifiedFrom String Part modified from date [optional]
modifiedTo String Part modified to date [optional]
tags String Part tags [optional]
content String Part files content [optional]
attributes String Part files attributes [optional]
from Number Start offset [optional] [default to 0]
size Number Max results [optional] [default to 10]
fetchHeadOnly Boolean Search mode (false for history / true for head only) [optional]

Return type

[PartRevisionDTO]

Authorization

authorization

HTTP request headers

searchPartsLastIterationWithReferenceOrName

[PartIterationDTO] searchPartsLastIterationWithReferenceOrName(workspaceId, q, opts)

Search documents last iteration to link

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var q = "q_example"; // String | Query

var opts = { 
  'l': 15 // Number | Max results
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.searchPartsLastIterationWithReferenceOrName(workspaceId, q, opts, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
q String Query
l Number Max results [optional] [default to 15]

Return type

[PartIterationDTO]

Authorization

authorization

HTTP request headers

searchPaths

[PathDTO] searchPaths(workspaceId, ciId, search, opts)

Search paths with part reference or name

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var ciId = "ciId_example"; // String | Configuration item id

var search = "search_example"; // String | Search value

var opts = { 
  'configSpec': "configSpec_example", // String | Config spec
  'diverge': true // Boolean | Discover substitute links
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.searchPaths(workspaceId, ciId, search, opts, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
ciId String Configuration item id
search String Search value
configSpec String Config spec [optional]
diverge Boolean Discover substitute links [optional]

Return type

[PathDTO]

Authorization

authorization

HTTP request headers

searchRequestsByName

[ChangeRequestDTO] searchRequestsByName(workspaceId, q)

Search request with given name

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var q = "q_example"; // String | Query


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.searchRequestsByName(workspaceId, q, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
q String Query

Return type

[ChangeRequestDTO]

Authorization

authorization

HTTP request headers

setGroupAccess

WorkspaceUserGroupMemberShipDTO setGroupAccess(workspaceId, body)

Set user group access in workspace

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var body = new DocdokuPlmApi.WorkspaceUserGroupMemberShipDTO(); // WorkspaceUserGroupMemberShipDTO | User to grant access in group


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.setGroupAccess(workspaceId, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
body WorkspaceUserGroupMemberShipDTO User to grant access in group

Return type

WorkspaceUserGroupMemberShipDTO

Authorization

authorization

HTTP request headers

setNewAdmin

WorkspaceDTO setNewAdmin(workspaceId, body)

Set a new admin for given workspace

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var body = new DocdokuPlmApi.UserDTO(); // UserDTO | New admin user


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.setNewAdmin(workspaceId, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
body UserDTO New admin user

Return type

WorkspaceDTO

Authorization

authorization

HTTP request headers

setUserAccess

UserDTO setUserAccess(workspaceId, body)

Set user access in workspace

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var body = new DocdokuPlmApi.UserDTO(); // UserDTO | User to grant access in workspace


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.setUserAccess(workspaceId, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
body UserDTO User to grant access in workspace

Return type

UserDTO

Authorization

authorization

HTTP request headers

subscribeToIterationChangeEvent

subscribeToIterationChangeEvent(workspaceId, documentId, documentVersion)

Subscribe to notifications on change events for given document revision

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var documentId = "documentId_example"; // String | Document master id

var documentVersion = "documentVersion_example"; // String | Document version


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.subscribeToIterationChangeEvent(workspaceId, documentId, documentVersion, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
documentId String Document master id
documentVersion String Document version

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

subscribeToStateChangeEvent

subscribeToStateChangeEvent(workspaceId, documentId, documentVersion)

Subscribe to notifications on state events for given document revision

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var documentId = "documentId_example"; // String | Document master id

var documentVersion = "documentVersion_example"; // String | Document version


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.subscribeToStateChangeEvent(workspaceId, documentId, documentVersion, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
documentId String Document master id
documentVersion String Document version

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

synchronizeIndexer

synchronizeIndexer(workspaceId)

Re-Index a workspace

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.synchronizeIndexer(workspaceId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

unPublishDocumentRevision

unPublishDocumentRevision(workspaceId, documentId, documentVersion)

Un-publish a document revision

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var documentId = "documentId_example"; // String | Document master id

var documentVersion = "documentVersion_example"; // String | Document version


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.unPublishDocumentRevision(workspaceId, documentId, documentVersion, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
documentId String Document master id
documentVersion String Document version

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

unPublishPartRevision

unPublishPartRevision(workspaceId, partNumber, partVersion)

Un-publish part revision

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var partNumber = "partNumber_example"; // String | Part number

var partVersion = "partVersion_example"; // String | Part version


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.unPublishPartRevision(workspaceId, partNumber, partVersion, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
partNumber String Part number
partVersion String Part version

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

unSubscribeToIterationChangeEvent

unSubscribeToIterationChangeEvent(workspaceId, documentId, documentVersion)

Unsubscribe from notifications on change events for given document revision

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var documentId = "documentId_example"; // String | Document master id

var documentVersion = "documentVersion_example"; // String | Document version


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.unSubscribeToIterationChangeEvent(workspaceId, documentId, documentVersion, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
documentId String Document master id
documentVersion String Document version

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

undoCheckOut

PartRevisionDTO undoCheckOut(workspaceId, partNumber, partVersion)

Undo checkout part revision

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var partNumber = "partNumber_example"; // String | Part number

var partVersion = "partVersion_example"; // String | Part version


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.undoCheckOut(workspaceId, partNumber, partVersion, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
partNumber String Part number
partVersion String Part version

Return type

PartRevisionDTO

Authorization

authorization

HTTP request headers

undoCheckOutDocument

DocumentRevisionDTO undoCheckOutDocument(workspaceId, documentId, documentVersion)

Undo checkout document revision

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var documentId = "documentId_example"; // String | Document master id

var documentVersion = "documentVersion_example"; // String | Document version


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.undoCheckOutDocument(workspaceId, documentId, documentVersion, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
documentId String Document master id
documentVersion String Document version

Return type

DocumentRevisionDTO

Authorization

authorization

HTTP request headers

unsubscribeToStateChangeEvent

unsubscribeToStateChangeEvent(workspaceId, documentId, documentVersion)

Unsubscribe to notifications on state events for given document revision

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var documentId = "documentId_example"; // String | Document master id

var documentVersion = "documentVersion_example"; // String | Document version


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.unsubscribeToStateChangeEvent(workspaceId, documentId, documentVersion, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
documentId String Document master id
documentVersion String Document version

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

updateChangeIssueACL

ChangeIssueDTO updateChangeIssueACL(workspaceId, issueId, body)

Update ACL of a change issue

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var issueId = 56; // Number | Issue id

var body = new DocdokuPlmApi.ACLDTO(); // ACLDTO | ACL rules to set


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.updateChangeIssueACL(workspaceId, issueId, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
issueId Number Issue id
body ACLDTO ACL rules to set

Return type

ChangeIssueDTO

Authorization

authorization

HTTP request headers

updateChangeOrderACL

ChangeOrderDTO updateChangeOrderACL(workspaceId, orderId, body)

Update ACL of the order

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var orderId = 56; // Number | Order id

var body = new DocdokuPlmApi.ACLDTO(); // ACLDTO | ACL rules to set


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.updateChangeOrderACL(workspaceId, orderId, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
orderId Number Order id
body ACLDTO ACL rules to set

Return type

ChangeOrderDTO

Authorization

authorization

HTTP request headers

updateChangeRequestACL

ChangeRequestDTO updateChangeRequestACL(workspaceId, requestId, body)

Update ACL of a change request

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var requestId = 56; // Number | Request id

var body = new DocdokuPlmApi.ACLDTO(); // ACLDTO | ACL rules to set


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.updateChangeRequestACL(workspaceId, requestId, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
requestId Number Request id
body ACLDTO ACL rules to set

Return type

ChangeRequestDTO

Authorization

authorization

HTTP request headers

updateConfigurationACL

updateConfigurationACL(workspaceId, ciId, productConfigurationId, body)

Update product configuration ACL

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var ciId = "ciId_example"; // String | Configuration item id

var productConfigurationId = 56; // Number | Product configuration id

var body = new DocdokuPlmApi.ACLDTO(); // ACLDTO | ACL rules to set


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.updateConfigurationACL(workspaceId, ciId, productConfigurationId, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
ciId String Configuration item id
productConfigurationId Number Product configuration id
body ACLDTO ACL rules to set

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

updateDocumentIteration

DocumentIterationDTO updateDocumentIteration(workspaceId, documentId, documentVersion, docIteration, body)

Update document iteration

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var documentId = "documentId_example"; // String | Document master id

var documentVersion = "documentVersion_example"; // String | Document version

var docIteration = 56; // Number | Document iteration

var body = new DocdokuPlmApi.DocumentIterationDTO(); // DocumentIterationDTO | Document iteration to update


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.updateDocumentIteration(workspaceId, documentId, documentVersion, docIteration, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
documentId String Document master id
documentVersion String Document version
docIteration Number Document iteration
body DocumentIterationDTO Document iteration to update

Return type

DocumentIterationDTO

Authorization

authorization

HTTP request headers

updateDocumentMasterTemplate

DocumentMasterTemplateDTO updateDocumentMasterTemplate(workspaceId, templateId, body)

Update document template

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var templateId = "templateId_example"; // String | Template id

var body = new DocdokuPlmApi.DocumentMasterTemplateDTO(); // DocumentMasterTemplateDTO | Document master template to update


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.updateDocumentMasterTemplate(workspaceId, templateId, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
templateId String Template id
body DocumentMasterTemplateDTO Document master template to update

Return type

DocumentMasterTemplateDTO

Authorization

authorization

HTTP request headers

updateDocumentMasterTemplateACL

updateDocumentMasterTemplateACL(workspaceId, templateId, body)

Update document template ACL

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var templateId = "templateId_example"; // String | Template id

var body = new DocdokuPlmApi.ACLDTO(); // ACLDTO | ACL rules to set


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.updateDocumentMasterTemplateACL(workspaceId, templateId, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
templateId String Template id
body ACLDTO ACL rules to set

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

updateDocumentRevisionACL

updateDocumentRevisionACL(workspaceId, documentId, documentVersion, body)

Update document revision ACL

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var documentId = "documentId_example"; // String | Document master id

var documentVersion = "documentVersion_example"; // String | Document version

var body = new DocdokuPlmApi.ACLDTO(); // ACLDTO | ACL rules to set


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.updateDocumentRevisionACL(workspaceId, documentId, documentVersion, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
documentId String Document master id
documentVersion String Document version
body ACLDTO ACL rules to set

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

updateEffectivity

EffectivityDTO updateEffectivity(workspaceId, effectivityId, body)

Update effectivity

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var effectivityId = 56; // Number | Effectivity id

var body = new DocdokuPlmApi.EffectivityDTO(); // EffectivityDTO | Effectivity values to update


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.updateEffectivity(workspaceId, effectivityId, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
effectivityId Number Effectivity id
body EffectivityDTO Effectivity values to update

Return type

EffectivityDTO

Authorization

authorization

HTTP request headers

updateIssue

ChangeIssueDTO updateIssue(workspaceId, issueId, body)

Update change issue

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var issueId = 56; // Number | Issue id

var body = new DocdokuPlmApi.ChangeIssueDTO(); // ChangeIssueDTO | Change issue to update


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.updateIssue(workspaceId, issueId, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
issueId Number Issue id
body ChangeIssueDTO Change issue to update

Return type

ChangeIssueDTO

Authorization

authorization

HTTP request headers

updateLOV

ListOfValuesDTO updateLOV(workspaceId, name, body)

Update a ListOfValues

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var name = "name_example"; // String | Name

var body = new DocdokuPlmApi.ListOfValuesDTO(); // ListOfValuesDTO | LOV to update


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.updateLOV(workspaceId, name, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
name String Name
body ListOfValuesDTO LOV to update

Return type

ListOfValuesDTO

Authorization

authorization

HTTP request headers

updateLayer

LayerDTO updateLayer(workspaceId, ciId, layerId, body)

Update layer

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var ciId = "ciId_example"; // String | Configuration item id

var layerId = 56; // Number | Layer id

var body = new DocdokuPlmApi.LayerDTO(); // LayerDTO | Layer to update


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.updateLayer(workspaceId, ciId, layerId, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
ciId String Configuration item id
layerId Number Layer id
body LayerDTO Layer to update

Return type

LayerDTO

Authorization

authorization

HTTP request headers

updateMilestone

MilestoneDTO updateMilestone(workspaceId, milestoneId, body)

Update milestone

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var milestoneId = 56; // Number | Milestone id

var body = new DocdokuPlmApi.MilestoneDTO(); // MilestoneDTO | Milestone to update


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.updateMilestone(workspaceId, milestoneId, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
milestoneId Number Milestone id
body MilestoneDTO Milestone to update

Return type

MilestoneDTO

Authorization

authorization

HTTP request headers

updateMilestoneACL

updateMilestoneACL(workspaceId, milestoneId, body)

Update ACL of a milestone

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var milestoneId = 56; // Number | Milestone id

var body = new DocdokuPlmApi.ACLDTO(); // ACLDTO | ACL rules to set


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.updateMilestoneACL(workspaceId, milestoneId, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
milestoneId Number Milestone id
body ACLDTO ACL rules to set

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

updateOrder

ChangeOrderDTO updateOrder(workspaceId, orderId, body)

Update order

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var orderId = 56; // Number | Order id

var body = new DocdokuPlmApi.ChangeOrderDTO(); // ChangeOrderDTO | Change order to update


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.updateOrder(workspaceId, orderId, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
orderId Number Order id
body ChangeOrderDTO Change order to update

Return type

ChangeOrderDTO

Authorization

authorization

HTTP request headers

updatePartIteration

PartRevisionDTO updatePartIteration(workspaceId, partNumber, partVersion, partIteration, body)

Update part iteration

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var partNumber = "partNumber_example"; // String | Part number

var partVersion = "partVersion_example"; // String | Part version

var partIteration = 56; // Number | Part iteration

var body = new DocdokuPlmApi.PartIterationDTO(); // PartIterationDTO | Part iteration to update


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.updatePartIteration(workspaceId, partNumber, partVersion, partIteration, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
partNumber String Part number
partVersion String Part version
partIteration Number Part iteration
body PartIterationDTO Part iteration to update

Return type

PartRevisionDTO

Authorization

authorization

HTTP request headers

updatePartMasterTemplate

PartMasterTemplateDTO updatePartMasterTemplate(workspaceId, templateId, body)

Update part master template

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var templateId = "templateId_example"; // String | Template id

var body = new DocdokuPlmApi.PartMasterTemplateDTO(); // PartMasterTemplateDTO | Part master template to update


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.updatePartMasterTemplate(workspaceId, templateId, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
templateId String Template id
body PartMasterTemplateDTO Part master template to update

Return type

PartMasterTemplateDTO

Authorization

authorization

HTTP request headers

updatePartMasterTemplateACL

updatePartMasterTemplateACL(workspaceId, templateId, body)

Update part master template ACL

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var templateId = "templateId_example"; // String | Template id

var body = new DocdokuPlmApi.ACLDTO(); // ACLDTO | ACL rules to set


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.updatePartMasterTemplateACL(workspaceId, templateId, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
templateId String Template id
body ACLDTO ACL rules to set

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

updatePartRevisionACL

updatePartRevisionACL(workspaceId, partNumber, partVersion, body)

Update part revision ACL

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var partNumber = "partNumber_example"; // String | Part number

var partVersion = "partVersion_example"; // String | Part version

var body = new DocdokuPlmApi.ACLDTO(); // ACLDTO | ACL rules to set


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.updatePartRevisionACL(workspaceId, partNumber, partVersion, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
partNumber String Part number
partVersion String Part version
body ACLDTO ACL rules to set

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

updatePathData

PathDataMasterDTO updatePathData(workspaceId, ciId, serialNumber, pathDataId, iteration, body)

Update path-data

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var ciId = "ciId_example"; // String | Configuration item id

var serialNumber = "serialNumber_example"; // String | Serial number

var pathDataId = 56; // Number | Path data master id

var iteration = 56; // Number | Product instance iteration

var body = new DocdokuPlmApi.PathDataIterationCreationDTO(); // PathDataIterationCreationDTO | Path data iteration to update


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.updatePathData(workspaceId, ciId, serialNumber, pathDataId, iteration, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
ciId String Configuration item id
serialNumber String Serial number
pathDataId Number Path data master id
iteration Number Product instance iteration
body PathDataIterationCreationDTO Path data iteration to update

Return type

PathDataMasterDTO

Authorization

authorization

HTTP request headers

updatePathToPathLink

LightPathToPathLinkDTO updatePathToPathLink(workspaceId, ciId, pathToPathLinkId, body)

Update path-to-path link

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var ciId = "ciId_example"; // String | Configuration item id

var pathToPathLinkId = 56; // Number | Path to path link id

var body = new DocdokuPlmApi.LightPathToPathLinkDTO(); // LightPathToPathLinkDTO | Path to path link to update


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.updatePathToPathLink(workspaceId, ciId, pathToPathLinkId, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
ciId String Configuration item id
pathToPathLinkId Number Path to path link id
body LightPathToPathLinkDTO Path to path link to update

Return type

LightPathToPathLinkDTO

Authorization

authorization

HTTP request headers

updateProductInstanceACL

updateProductInstanceACL(workspaceId, ciId, serialNumber, body)

Update product-instance's ACL

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var ciId = "ciId_example"; // String | Configuration item id

var serialNumber = "serialNumber_example"; // String | Serial number

var body = new DocdokuPlmApi.ACLDTO(); // ACLDTO | ACL to set


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.updateProductInstanceACL(workspaceId, ciId, serialNumber, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
ciId String Configuration item id
serialNumber String Serial number
body ACLDTO ACL to set

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

updateProductInstanceMaster

ProductInstanceMasterDTO updateProductInstanceMaster(workspaceId, ciId, serialNumber, iteration, body)

Update product-instance

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var ciId = "ciId_example"; // String | Configuration item id

var serialNumber = "serialNumber_example"; // String | Serial number

var iteration = 56; // Number | Product instance iteration

var body = new DocdokuPlmApi.ProductInstanceIterationDTO(); // ProductInstanceIterationDTO | Product instance master to update


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.updateProductInstanceMaster(workspaceId, ciId, serialNumber, iteration, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
ciId String Configuration item id
serialNumber String Serial number
iteration Number Product instance iteration
body ProductInstanceIterationDTO Product instance master to update

Return type

ProductInstanceMasterDTO

Authorization

authorization

HTTP request headers

updateRequest

ChangeRequestDTO updateRequest(workspaceId, requestId, body)

Update change request

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var requestId = 56; // Number | Request id

var body = new DocdokuPlmApi.ChangeRequestDTO(); // ChangeRequestDTO | Request to update


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.updateRequest(workspaceId, requestId, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
requestId Number Request id
body ChangeRequestDTO Request to update

Return type

ChangeRequestDTO

Authorization

authorization

HTTP request headers

updateRole

RoleDTO updateRole(workspaceId, roleName, body)

Update a role

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var roleName = "roleName_example"; // String | Role name

var body = new DocdokuPlmApi.RoleDTO(); // RoleDTO | Role to update


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.updateRole(workspaceId, roleName, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
roleName String Role name
body RoleDTO Role to update

Return type

RoleDTO

Authorization

authorization

HTTP request headers

updateUserGroupSubscription

TagSubscriptionDTO updateUserGroupSubscription(workspaceId, groupId, tagName, body)

Update or create tag subscription of given user group

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var groupId = "groupId_example"; // String | Group id

var tagName = "tagName_example"; // String | Tag name

var body = new DocdokuPlmApi.TagSubscriptionDTO(); // TagSubscriptionDTO | Tag subscription to update or create


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.updateUserGroupSubscription(workspaceId, groupId, tagName, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
groupId String Group id
tagName String Tag name
body TagSubscriptionDTO Tag subscription to update or create

Return type

TagSubscriptionDTO

Authorization

authorization

HTTP request headers

updateUserSubscription

TagSubscriptionDTO updateUserSubscription(workspaceId, login, tagName, body)

Update or create tag subscription of user

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var login = "login_example"; // String | User login

var tagName = "tagName_example"; // String | Tag name

var body = new DocdokuPlmApi.TagSubscriptionDTO(); // TagSubscriptionDTO | Tag subscription to update or create


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.updateUserSubscription(workspaceId, login, tagName, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
login String User login
tagName String Tag name
body TagSubscriptionDTO Tag subscription to update or create

Return type

TagSubscriptionDTO

Authorization

authorization

HTTP request headers

updateWebhook

WebhookDTO updateWebhook(workspaceId, webhookId, body)

Update a webhook

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var webhookId = 56; // Number | Webhook id

var body = new DocdokuPlmApi.WebhookDTO(); // WebhookDTO | Webhook definition


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.updateWebhook(workspaceId, webhookId, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
webhookId Number Webhook id
body WebhookDTO Webhook definition

Return type

WebhookDTO

Authorization

authorization

HTTP request headers

updateWorkflowModel

WorkflowModelDTO updateWorkflowModel(workspaceId, workflowModelId, body)

Update a workflow model

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var workflowModelId = "workflowModelId_example"; // String | Workflow model id

var body = new DocdokuPlmApi.WorkflowModelDTO(); // WorkflowModelDTO | Workflow model to update


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.updateWorkflowModel(workspaceId, workflowModelId, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
workflowModelId String Workflow model id
body WorkflowModelDTO Workflow model to update

Return type

WorkflowModelDTO

Authorization

authorization

HTTP request headers

updateWorkflowModelACL

updateWorkflowModelACL(workspaceId, workflowModelId, body)

Update workflow model ACL

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var workflowModelId = "workflowModelId_example"; // String | Workflow model id

var body = new DocdokuPlmApi.ACLDTO(); // ACLDTO | ACL rules to set


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.updateWorkflowModelACL(workspaceId, workflowModelId, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
workflowModelId String Workflow model id
body ACLDTO ACL rules to set

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

updateWorkspace

WorkspaceDTO updateWorkspace(workspaceId, body)

Update a workspace

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var body = new DocdokuPlmApi.WorkspaceDTO(); // WorkspaceDTO | Workspace values to update


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.updateWorkspace(workspaceId, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
body WorkspaceDTO Workspace values to update

Return type

WorkspaceDTO

Authorization

authorization

HTTP request headers

updateWorkspaceBackOptions

updateWorkspaceBackOptions(workspaceId, body)

Update workspace back-end options

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var body = new DocdokuPlmApi.WorkspaceBackOptionsDTO(); // WorkspaceBackOptionsDTO | Option values


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.updateWorkspaceBackOptions(workspaceId, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
body WorkspaceBackOptionsDTO Option values

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

updateWorkspaceFrontOptions

updateWorkspaceFrontOptions(workspaceId, body)

Update workspace front-end options

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id

var body = new DocdokuPlmApi.WorkspaceFrontOptionsDTO(); // WorkspaceFrontOptionsDTO | Option values


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.updateWorkspaceFrontOptions(workspaceId, body, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id
body WorkspaceFrontOptionsDTO Option values

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

whoAmI

UserDTO whoAmI(workspaceId)

Get authenticated user details

Example

var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;

// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';

var apiInstance = new DocdokuPlmApi.WorkspacesApi();

var workspaceId = "workspaceId_example"; // String | Workspace id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.whoAmI(workspaceId, callback);

Parameters

Name Type Description Notes
workspaceId String Workspace id

Return type

UserDTO

Authorization

authorization

HTTP request headers