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(workspaceId, notificationId, body)
Acknowledge a modification notification
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
notificationId | Number | Notification id | |
body | ModificationNotificationDTO | Modification notification to acknowledge |
null (empty response body)
DocumentRevisionDTO addDocTag(workspaceId, documentId, documentVersion, body)
Add tags to document revision
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
documentId | String | Document master id | |
documentVersion | String | Document version | |
body | TagListDTO | Tag list to add |
PathDataMasterDTO addNewPathDataIteration(workspaceId, ciId, serialNumber, pathDataId, body)
Add new path-data iteration
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
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 |
PartRevisionDTO addPartTag(workspaceId, partNumber, partVersion, body)
Add tags to part revision
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
partNumber | String | Part number | |
partVersion | String | Part version | |
body | TagListDTO | Tag list to add |
ChangeIssueDTO addTagToChangeIssue(workspaceId, issueId, body)
Attached a new tag to a change issue
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
issueId | Number | Issue id | |
body | TagListDTO | Tag list to add |
ChangeOrderDTO addTagToChangeOrder(workspaceId, orderId, body)
Add new tag to order
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
orderId | Number | Order id | |
body | TagListDTO | Tag list to add |
ChangeRequestDTO addTagsToChangeRequest(workspaceId, requestId, body)
Attach a new tag to a change request
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
requestId | Number | Request id | |
body | TagListDTO | Tag list to add |
addUser(workspaceId, body, opts)
Add a user to workspace
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
body | UserDTO | User to add | |
group | String | Group id | [optional] |
null (empty response body)
CascadeResult cascadeCheckin(workspaceId, ciId, path, body, opts)
Cascade part revision check in with given config spec and path
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
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] |
CascadeResult cascadeCheckout(workspaceId, ciId, path, opts)
Cascade part revision check out with given config spec and path
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
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] |
CascadeResult cascadeUndoCheckOut(workspaceId, ciId, path, opts)
Cascade part revision undo check out with given config spec and path
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
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] |
PartRevisionDTO checkIn(workspaceId, partNumber, partVersion)
Checkin part revision
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
partNumber | String | Part number | |
partVersion | String | Part version |
DocumentRevisionDTO checkInDocument(workspaceId, documentId, documentVersion)
Checkin document revision
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
documentId | String | Document master id | |
documentVersion | String | Document version |
PartRevisionDTO checkOut(workspaceId, partNumber, partVersion)
Checkout part revision
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
partNumber | String | Part number | |
partVersion | String | Part version |
DocumentRevisionDTO checkOutDocument(workspaceId, documentId, documentVersion)
Checkout document revision
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
documentId | String | Document master id | |
documentVersion | String | Document version |
[DocumentRevisionDTO] countCheckedOutDocs(workspaceId)
Count checked out document revisions
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id |
ProductConfigurationDTO createConfiguration(workspaceId, body)
Create a new product configuration
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
body | ProductConfigurationDTO | Product configuration to create |
ConfigurationItemDTO createConfigurationItem(workspaceId, body)
Create a new configuration item
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
body | ConfigurationItemDTO | Product to create |
DocumentBaselineDTO createDocumentBaseline(workspaceId, body)
Create a new document baseline
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
body | DocumentBaselineDTO | Document baseline to create |
DocumentRevisionDTO createDocumentMasterInFolder(workspaceId, body, folderId)
Create a new document revision in given folder
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
body | DocumentCreationDTO | Document to create | |
folderId | String | Folder id |
[DocumentRevisionDTO] createDocumentMasterInRootFolderWithTag(workspaceId, body, tagId)
Create a new document master and its first revision with given tag
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
body | DocumentCreationDTO | Document to create | |
tagId | String | Tag id |
DocumentMasterTemplateDTO createDocumentMasterTemplate(workspaceId, body)
Create a new document template
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
body | DocumentTemplateCreationDTO | Document master template to create |
EffectivityDTO createEffectivity(body, workspaceId, partNumber, partVersion)
Create an Effectivity for a given PartRevision
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following 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);
Name | Type | Description | Notes |
---|---|---|---|
body | EffectivityDTO | Effectivity to create | |
workspaceId | String | Workspace id | |
partNumber | String | Part revision number | |
partVersion | String | Part revision version |
UserGroupDTO createGroup(workspaceId, body)
Create a new user group
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
body | UserGroupDTO | UserGroup to create |
ChangeIssueDTO createIssue(workspaceId, body)
Create a new change issue
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
body | ChangeIssueDTO | Change issue to create |
ListOfValuesDTO createLOV(workspaceId, body)
Create a new ListOfValues
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
body | ListOfValuesDTO | LOV to create |
LayerDTO createLayer(workspaceId, ciId, body)
Create a new layer for given product
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
ciId | String | Configuration item id | |
body | LayerDTO | Layer to create |
MarkerDTO createMarker(workspaceId, ciId, layerId, body)
Create a new marker in a given layer
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
ciId | String | Configuration item id | |
layerId | Number | Layer id | |
body | MarkerDTO | Marker to create |
MilestoneDTO createMilestone(workspaceId, body)
Create a new milestone
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
body | MilestoneDTO | Milestone to create |
[DocumentRevisionDTO] createNewDocumentVersion(workspaceId, documentId, documentVersion, body)
Create a new version of the document revision
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
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 |
PartRevisionDTO createNewPart(workspaceId, body)
Create a new part master and its first revision
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
body | PartCreationDTO | Part to create |
createNewPartVersion(workspaceId, partNumber, partVersion, body)
Create new part version
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
partNumber | String | Part number | |
partVersion | String | Part version | |
body | PartCreationDTO | New version of part to create |
null (empty response body)
ChangeOrderDTO createOrder(workspaceId, body)
Create order
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
body | ChangeOrderDTO | Change order to create |
PartMasterTemplateDTO createPartMasterTemplate(workspaceId, body)
Crate a new part master template
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
body | PartTemplateCreationDTO | Part master template to create |
PathDataMasterDTO createPathDataMaster(workspaceId, ciId, serialNumber, path, body)
Create a new path-data in product-instance last iteration
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
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 |
LightPathToPathLinkDTO createPathToPathLink(workspaceId, ciId, body)
Create a new path-to-path link
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
ciId | String | Configuration item id | |
body | LightPathToPathLinkDTO | Path to path link to create |
ProductBaselineDTO createProductBaseline(workspaceId, body, opts)
Create a new product-baseline
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
body | ProductBaselineCreationDTO | Product baseline to create | |
dryRun | Boolean | Dry run flag | [optional] |
ProductInstanceMasterDTO createProductInstanceMaster(workspaceId, body)
Create a new product-instance
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
body | ProductInstanceCreationDTO | Product instance master to create |
ChangeRequestDTO createRequest(workspaceId, body)
Create request
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
body | ChangeRequestDTO | Change request to create |
RoleDTO createRole(workspaceId, body)
Create a new role
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
body | RoleDTO | Role to create |
FolderDTO createRootFolder(workspaceId, body)
Create root folder
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
body | FolderDTO | Folder to create |
SharedDocumentDTO createSharedDocument(workspaceId, documentId, documentVersion, body)
Create a shared document for given document revision
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
documentId | String | Document master id | |
documentVersion | String | Document version | |
body | SharedDocumentDTO | Shared document to create |
SharedPartDTO createSharedPart(workspaceId, partNumber, partVersion, body)
Create a new shared part from part revision
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
partNumber | String | Part number | |
partVersion | String | Part version | |
body | SharedPartDTO | Shared part to create |
FolderDTO createSubFolder(workspaceId, parentFolderPath, body)
Create a sub folder in a given folder
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
parentFolderPath | String | Parent folder id | |
body | FolderDTO | Folder to create |
TagDTO createTag(workspaceId, body)
Create a new tag in workspace
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
body | TagDTO | Tag to create |
createTags(workspaceId, body)
Create new tags in workspace
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
body | TagListDTO | Tag list to create |
null (empty response body)
WebhookDTO createWebhook(workspaceId, body)
Create a new webhook in given workspace
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
body | WebhookDTO | Webhook definition |
WorkflowModelDTO createWorkflowModel(workspaceId, body)
Create a new workflow model
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
body | WorkflowModelDTO | Workflow model to create rules to set |
WorkspaceDTO createWorkspace(body, opts)
Create a new workspace
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following 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);
Name | Type | Description | Notes |
---|---|---|---|
body | WorkspaceDTO | Workspace to create | |
userLogin | String | Login for workspace admin | [optional] |
WorkspaceWorkflowDTO createWorkspaceWorkflow(workspaceId, body)
Instantiate a workspace workflow from given workflow model
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
body | WorkspaceWorkflowCreationDTO | Workspace workflow to create |
[LightPartLinkDTO] decodePath(workspaceId, ciId, path)
Decode given path as string
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
ciId | String | Configuration item id | |
path | String | Complete path to decode |
delWorkflowModel(workspaceId, workflowModelId)
Delete a workflow model
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
workflowModelId | String | Workflow model id |
null (empty response body)
deleteAttachedFileInPathData(workspaceId, ciId, serialNumber, pathDataId, iteration, fileName)
Delete product-instance's attached file
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
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 |
null (empty response body)
deleteBaseline(workspaceId, baselineId)
Delete a document baseline
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
baselineId | Number | Baseline id |
null (empty response body)
deleteConfigurationItem(workspaceId, ciId)
Delete configuration item
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
ciId | String | Configuration item id |
null (empty response body)
deleteDocument(workspaceId, documentId, documentVersion)
Delete the document revision
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
documentId | String | Document master id | |
documentVersion | String | Document version |
null (empty response body)
deleteDocumentMasterTemplate(workspaceId, templateId)
Delete document template
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
templateId | String | Template id |
null (empty response body)
deleteEffectivity(workspaceId, partNumber, partVersion, effectivityId)
Delete effectivity from given part revision
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
partNumber | String | Part revision number | |
partVersion | String | Part revision version | |
effectivityId | Number | Effectivity id |
null (empty response body)
deleteImport(workspaceId, importId)
Delete import
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
importId | String | Import id |
null (empty response body)
deleteLOV(workspaceId, name)
Delete a ListOfValues
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
name | String | Name |
null (empty response body)
deleteLayer(workspaceId, ciId, layerId)
Delete layer
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
ciId | String | Configuration item id | |
layerId | Number | Layer id |
null (empty response body)
deleteMarker(workspaceId, ciId, layerId, markerId)
Delete marker
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
ciId | String | Configuration item id | |
layerId | Number | Layer id | |
markerId | Number | Marker id |
null (empty response body)
deletePartMasterTemplate(workspaceId, templateId)
Delete part master template
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
templateId | String | Template id |
null (empty response body)
deletePartRevision(workspaceId, partNumber, partVersion)
Delete part revision
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
partNumber | String | Part number | |
partVersion | String | Part version |
null (empty response body)
deletePathData(workspaceId, ciId, serialNumber, pathDataId)
Delete product-instance's path-data
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
ciId | String | Configuration item id | |
serialNumber | String | Serial number | |
pathDataId | Number | Path data master id |
null (empty response body)
deletePathToPathLink(workspaceId, ciId, pathToPathLinkId)
Delete path-to-path link
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
ciId | String | Configuration item id | |
pathToPathLinkId | Number | Path to path link id |
null (empty response body)
deleteProductBaseline(workspaceId, ciId, baselineId)
Delete product-baseline
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
ciId | String | Configuration item id | |
baselineId | Number | Baseline id |
null (empty response body)
deleteProductConfiguration(workspaceId, ciId, productConfigurationId)
Delete product configuration
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
ciId | String | Configuration item id | |
productConfigurationId | Number | Product configuration id |
null (empty response body)
deleteProductInstanceMaster(workspaceId, ciId, serialNumber)
Delete product-instance
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
ciId | String | Configuration item id | |
serialNumber | String | Serial number |
null (empty response body)
deleteQuery(workspaceId, queryId)
Delete custom query
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
queryId | Number | Query id |
null (empty response body)
deleteRole(workspaceId, roleName)
Delete a role
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
roleName | String | Role name |
null (empty response body)
deleteRootFolder(workspaceId, folderId)
Delete root folder
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
folderId | String | Folder id |
null (empty response body)
deleteTag(workspaceId, tagId)
Delete a tag in workspace
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
tagId | String | Tag id |
null (empty response body)
deleteUserGroupSubscription(workspaceId, groupId, tagName)
Delete tag subscription of given user group
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
groupId | String | Group id id | |
tagName | String | Tag name |
null (empty response body)
deleteUserSubscription(workspaceId, login, tagName)
Delete tag subscription of user
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
login | String | User login | |
tagName | String | Tag name |
null (empty response body)
deleteWebhook(workspaceId, webhookId)
Delete a webhook
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
webhookId | Number | Webhook id |
null (empty response body)
deleteWorkspace(workspaceId)
Delete a workspace
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id |
null (empty response body)
deleteWorkspaceWorkflow(workspaceId, workspaceWorkflowId)
Delete a workspace workflow
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
workspaceWorkflowId | String | Workspace workflow id |
null (empty response body)
disableGroup(workspaceId, body)
Disable user group in workspace
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
body | UserGroupDTO | Group to disable |
null (empty response body)
disableUser(workspaceId, body)
Disable user in workspace
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
body | UserDTO | User to disable |
null (empty response body)
enableGroup(workspaceId, body)
Enable user group in workspace
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
body | UserGroupDTO | Group to enable |
null (empty response body)
enableUser(workspaceId, body)
Enable user in workspace
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
body | UserDTO | User to enable |
null (empty response body)
File exportCustomQuery(workspaceId, body, opts)
Run and export a custom query
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
body | QueryDTO | Query to export | |
_export | String | Choose export type | [optional] [default to JSON] |
File
File exportDocumentFiles(workspaceId, baselineId)
Export document baseline's files
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
baselineId | Number | Baseline id |
File
File exportExistingQuery(workspaceId, queryId, _export)
Run and export an existing query
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
queryId | Number | Query id | |
_export | String | Choose export type |
File
File exportProductFiles(workspaceId, ciId, opts)
Export files from configuration item with given config spec
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
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] |
File
[PartRevisionDTO] filterPart(workspaceId, ciId, opts)
Filter part with given config spec and path
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
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] |
PartIterationDTO filterPartMasterInBaseline(workspaceId, partNumber, baselineId)
Filter part master with in baseline : resolve part iteration
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
partNumber | String | Part number | |
baselineId | Number | Baseline id |
ComponentDTO filterProductStructure(workspaceId, ciId, opts)
Filter product structure
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
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] |
TemplateGeneratedIdDTO generateDocumentMasterId(workspaceId, templateId)
Generate document template id
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
templateId | String | Template id |
TemplateGeneratedIdDTO generatePartMasterTemplateId(workspaceId, templateId)
Generate part master template id
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
templateId | String | Template id |
[WorkflowDTO] getAbortedWorkflowListInDocument(workspaceId, documentId, documentVersion)
Get document revision aborted workflow history
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
documentId | String | Document master id | |
documentVersion | String | Document version |
[WorkflowDTO] getAbortedWorkflowListInPart(workspaceId, partNumber, partVersion)
Get part revision's aborted workflow list
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
partNumber | String | Part number | |
partVersion | String | Part version |
UserDTO getAdminInWorkspace(workspaceId)
Get admin for workspace
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id |
[ProductConfigurationDTO] getAllConfigurations(workspaceId)
Get all product configurations in workspace
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id |
[ProductBaselineDTO] getAllProductBaselines(workspaceId)
Get product-baselines in given workspace
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id |
[ProductInstanceMasterDTO] getAllProductInstances(workspaceId)
Get product instances in given workspace
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id |
[TaskDTO] getAssignedTasksForGivenUser(workspaceId, assignedUserLogin)
Get assigned tasks for given user
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
assignedUserLogin | String | Assigned user login |
DocumentBaselineDTO getBaseline(workspaceId, baselineId)
Get document baseline by id
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
baselineId | Number | Baseline id |
[PathChoiceDTO] getBaselineCreationPathChoices(workspaceId, ciId, opts)
Get baseline creation path choices
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
ciId | String | Configuration item id | |
type | String | Baseline type | [optional] |
[BaselinedPartDTO] getBaselineCreationVersionsChoices(workspaceId, ciId)
Get baseline creation version choices
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
ciId | String | Configuration item id |
DocumentBaselineDTO getBaselineLight(workspaceId, baselineId)
Get document baseline in a light format
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
baselineId | Number | Baseline id |
[ProductBaselineDTO] getBaselinesWherePartRevisionHasIterations(workspaceId, partNumber, partVersion)
Get product baselines where part revision is involved
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
partNumber | String | Part number | |
partVersion | String | Part version |
[DocumentRevisionDTO] getCheckedOutDocuments(workspaceId)
Get checked out document revisions
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id |
{'String': [{'String': 'Number'}]} getCheckedOutDocumentsStats(workspaceId)
Get checked out documents stats for workspace
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id |
{'String': [{'String': 'Number'}]}
CountDTO getCheckedOutNumberOfItems(workspaceId)
Count checked out part revisions
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id |
[PartRevisionDTO] getCheckedOutPartRevisions(workspaceId)
Get checked out part revisions
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id |
{'String': [{'String': 'Number'}]} getCheckedOutPartsStats(workspaceId)
Get checked out parts stats for workspace
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id |
{'String': [{'String': 'Number'}]}
ProductConfigurationDTO getConfiguration(workspaceId, ciId, productConfigurationId)
Get product configuration by id
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
ciId | String | Configuration item id | |
productConfigurationId | Number | Product configuration id |
ConfigurationItemDTO getConfigurationItem(workspaceId, ciId)
Get configuration item by id
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
ciId | String | Configuration item id |
[ConfigurationItemDTO] getConfigurationItems(workspaceId)
Get configuration items in given workspace
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id |
[ProductConfigurationDTO] getConfigurationsForProduct(workspaceId, ciId)
Get all product configurations for given product
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
ciId | String | Configuration item id filter |
ConversionDTO getConversionStatus(workspaceId, partNumber, partVersion, partIteration)
Get part iteration conversion status
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
partNumber | String | Part number | |
partVersion | String | Part version | |
partIteration | Number | Part iteration |
[QueryDTO] getCustomQueries(workspaceId)
Get custom queries in workspace
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id |
[WorkspaceDetailsDTO] getDetailedWorkspacesForConnectedUser()
Get detailed workspace list for authenticated user
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following 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);
This endpoint does not need any parameter.
DiskUsageSpaceDTO getDiskSpaceUsageStats(workspaceId)
Get disk usage stats for workspace
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id |
[DocumentBaselineDTO] getDocumentBaselines(workspaceId)
Get document baselines
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id |
[DocumentIterationLinkDTO] getDocumentLinksForGivenPartIteration(workspaceId, ciId, partNumber, partVersion, partIteration, configSpec)
Get document links for given part iteration
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
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 |
DocumentMasterTemplateDTO getDocumentMasterTemplate(workspaceId, templateId)
Get document template by id
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
templateId | String | Template id |
[DocumentMasterTemplateDTO] getDocumentMasterTemplates(workspaceId)
Get document templates
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id |
DocumentRevisionDTO getDocumentRevision(workspaceId, documentId, documentVersion)
Get document revision
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
documentId | String | Document master id | |
documentVersion | String | Document version |
[DocumentRevisionDTO] getDocumentsInWorkspace(workspaceId, opts)
Get document revisions in workspace
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
start | Number | Start offset | [optional] [default to 0] |
max | Number | Max results | [optional] [default to 20] |
CountDTO getDocumentsInWorkspaceCount(workspaceId)
Count document revisions
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id |
[DocumentRevisionDTO] getDocumentsWhereGivenUserHasAssignedTasks(workspaceId, assignedUserLogin, opts)
Get document revisions where user has assigned tasks
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
assignedUserLogin | String | Assigned user login | |
filter | String | Status filter | [optional] |
[DocumentRevisionDTO] getDocumentsWithGivenFolderIdAndWorkspaceId(workspaceId, folderId)
Get document revisions in given folder
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
folderId | String | Folder id |
[DocumentRevisionDTO] getDocumentsWithGivenTagIdAndWorkspaceId(workspaceId, tagId)
Get document revisions from given tag id
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
tagId | String | Tag id |
[EffectivityDTO] getEffectivities(workspaceId, partNumber, partVersion)
Get effectivities of a given PartRevision
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
partNumber | String | Part revision number | |
partVersion | String | Part revision version |
EffectivityDTO getEffectivity(workspaceId, effectivityId)
Get an effectivity from its ID
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
effectivityId | Number | Effectivity id |
[LeafDTO] getFilteredInstances(workspaceId, ciId, configSpec, path, opts)
Get instances under given path and config spec
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
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] |
[UserGroupDTO] getGroups(workspaceId)
Get user groups in given workspace
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id |
ImportDTO getImport(workspaceId, importId)
Get import by id
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
importId | String | Import id |
ImportPreviewDTO getImportPreview(workspaceId, importType, opts)
Get import preview
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
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] |
[ImportDTO] getImports(workspaceId, filename)
Get imports currently running for given file
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
filename | String | File name |
[LeafDTO] getInstancesForMultiplePath(workspaceId, ciId, body, opts)
Get instances for multiple paths
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
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] |
[LeafDTO] getInstancesUnderPart(workspaceId, partNumber, partVersion)
Get instances under given part revision (latest checked-in view)
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
partNumber | String | Part number | |
partVersion | String | Part version |
[DocumentRevisionDTO] getInverseDocumentLinks(workspaceId, documentId, documentVersion, iteration)
Get inverse document revisions links
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
documentId | String | Document master id | |
documentVersion | String | Document version | |
iteration | Number | Document iteration |
[PartRevisionDTO] getInversePartsLinks(workspaceId, documentId, documentVersion, iteration)
Get inverse part revisions links
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
documentId | String | Document master id | |
documentVersion | String | Document version | |
iteration | Number | Document iteration |
[PathDataMasterDTO] getInversePathDataLinks(workspaceId, documentId, documentVersion, iteration)
Get inverse path data links
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
documentId | String | Document master id | |
documentVersion | String | Document version | |
iteration | Number | Document iteration |
[ProductInstanceMasterDTO] getInverseProductInstancesLinks(workspaceId, documentId, documentVersion, iteration)
Get inverse product instances links
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
documentId | String | Document master id | |
documentVersion | String | Document version | |
iteration | Number | Document iteration |
ChangeIssueDTO getIssue(workspaceId, issueId)
Get change issue with given id
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
issueId | Number | Issue id |
[ChangeIssueDTO] getIssues(workspaceId)
Get change issues for given parameters
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id |
ListOfValuesDTO getLOV(workspaceId, name)
Get a ListOfValues from the given parameters
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
name | String | Name |
[ListOfValuesDTO] getLOVs(workspaceId)
Get a list of ListOfValues for given parameters
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id |
PartRevisionDTO getLastRelease(workspaceId, ciId)
Get last release of part
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
ciId | String | Configuration item id |
PartRevisionDTO getLatestPartRevision(workspaceId, partNumber)
Get part master latest available revision
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
partNumber | String | Part number |
[LayerDTO] getLayersInProduct(workspaceId, ciId)
Get layers for given product
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
ciId | String | Configuration item id |
[MarkerDTO] getMarkersInLayer(workspaceId, ciId, layerId)
Get markers of a given layer
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
ciId | String | Configuration item id | |
layerId | Number | Layer id |
MilestoneDTO getMilestone(workspaceId, milestoneId)
Get a milestone by id
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
milestoneId | Number | Milestone id |
[MilestoneDTO] getMilestones(workspaceId)
Get milestones for given parameters
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id |
ChangeOrderDTO getOrder(workspaceId, orderId)
Get order
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
orderId | Number | Order id |
[ChangeOrderDTO] getOrders(workspaceId)
Get orders for given parameters
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id |
[ChangeOrderDTO] getOrdersByMilestone(workspaceId, milestoneId)
Get change orders for a given milestone
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
milestoneId | Number | Milestone id |
LightPartMasterDTO getPartFromPathLink(workspaceId, ciId, serialNumber, pathPart)
Get part from path-to-path link
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
ciId | String | Configuration item id | |
serialNumber | String | Serial number | |
pathPart | String | Complete path to the part |
PartMasterTemplateDTO getPartMasterTemplate(workspaceId, templateId)
Get part master template
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
templateId | String | Template id |
[PartMasterTemplateDTO] getPartMasterTemplates(workspaceId)
Get part master templates
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id |
PartRevisionDTO getPartRevision(workspaceId, partNumber, partVersion)
Get part revision
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
partNumber | String | Part number | |
partVersion | String | Part version |
[PartRevisionDTO] getPartRevisions(workspaceId, opts)
Get part revisions in workspace
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
start | Number | Start offset | [optional] [default to 0] |
length | Number | Max results | [optional] [default to 20] |
[PartRevisionDTO] getPartRevisionsByTag(workspaceId, tagId)
Get part revisions in workspace
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
tagId | String | Tag id |
[PartRevisionDTO] getPartsWhereGivenUserHasAssignedTasks(workspaceId, assignedUserLogin, opts)
Get part revisions where user has assigned tasks
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
assignedUserLogin | String | Assigned user login | |
filter | String | Task status filter | [optional] |
PathDataMasterDTO getPathData(workspaceId, ciId, serialNumber, path)
Get product-instance's last iteration path-data
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
ciId | String | Configuration item id | |
serialNumber | String | Serial number | |
path | String | Complete path in context |
LightPathToPathLinkDTO getPathToPathLink(workspaceId, ciId, serialNumber, pathToPathLinkId)
Get path-to-path link
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
ciId | String | Configuration item id | |
serialNumber | String | Serial number | |
pathToPathLinkId | Number | Path to path link id |
[PathToPathLinkDTO] getPathToPathLinkInProduct(workspaceId, ciId, sourcePath, targetPath)
Get path-to-path links from source and target
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
ciId | String | Configuration item id | |
sourcePath | String | Complete source path | |
targetPath | String | Complete target path |
[LightPathToPathLinkDTO] getPathToPathLinkInProductBaseline(workspaceId, ciId, baselineId, sourcePath, targetPath)
Get product-baseline's path-to-path links for given source and target
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
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 |
[LightPathToPathLinkDTO] getPathToPathLinkTypesInBaseline(workspaceId, ciId, baselineId)
Get product-baseline's path-to-path links
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
ciId | String | Configuration item id | |
baselineId | Number | Baseline id |
[LightPathToPathLinkDTO] getPathToPathLinkTypesInProduct(workspaceId, ciId)
Get path-to-path links types
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
ciId | String | Configuration item id |
[LightPathToPathLinkDTO] getPathToPathLinkTypesInProductInstance(workspaceId, ciId, serialNumber)
Get path-to-path link types
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
ciId | String | Configuration item id | |
serialNumber | String | Serial number |
[LightPathToPathLinkDTO] getPathToPathLinks(workspaceId, ciId, serialNumber)
Get path-to-path links
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
ciId | String | Configuration item id | |
serialNumber | String | Serial number |
[LightPathToPathLinkDTO] getPathToPathLinksForGivenSourceAndTarget(workspaceId, ciId, serialNumber, sourcePath, targetPath)
Get path-to-path link for given source and target
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
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 |
ProductBaselineDTO getProductBaseline(workspaceId, ciId, baselineId)
Get product-baseline by id
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
ciId | String | Configuration item id | |
baselineId | Number | Baseline id |
[BaselinedPartDTO] getProductBaselineParts(workspaceId, ciId, baselineId, q)
Get product-baseline's baselined parts
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
ciId | String | Configuration item id | |
baselineId | Number | Baseline id | |
q | String | Query |
[ProductBaselineDTO] getProductBaselinesForProduct(workspaceId, ciId)
Get product-baseline with given configuration item
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
ciId | String | Configuration item id |
ProductInstanceMasterDTO getProductInstance(workspaceId, ciId, serialNumber)
Get product-instance by serial number
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
ciId | String | Configuration item id | |
serialNumber | String | Serial number |
ProductInstanceIterationDTO getProductInstanceIteration(workspaceId, ciId, serialNumber, iteration)
Get product-instance's iteration
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
ciId | String | Configuration item id | |
serialNumber | String | Serial number | |
iteration | Number | Product instance iteration |
[ProductInstanceIterationDTO] getProductInstanceIterations(workspaceId, ciId, serialNumber)
Get product-instance's iterations
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
ciId | String | Configuration item id | |
serialNumber | String | Serial number |
[ProductInstanceMasterDTO] getProductInstanceMasters(workspaceId, partNumber, partVersion)
Get product instance where part revision is in use
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
partNumber | String | Part number | |
partVersion | String | Part version |
[ProductInstanceMasterDTO] getProductInstances(workspaceId, ciId)
Get product-instance with given configuration item
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
ciId | String | Configuration item id |
[UserDTO] getReachableUsersForCaller()
Get online users visible by authenticated user
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following 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);
This endpoint does not need any parameter.
ChangeRequestDTO getRequest(workspaceId, requestId)
Get change request by id
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
requestId | Number | Request id |
[ChangeRequestDTO] getRequests(workspaceId)
Get requests for given parameters
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id |
[ChangeRequestDTO] getRequestsByMilestone(workspaceId, milestoneId)
Get change requests for a given milestone
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
milestoneId | Number | Milestone id |
[RoleDTO] getRolesInUseInWorkspace(workspaceId)
Get roles in use in given workspace
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id |
[RoleDTO] getRolesInWorkspace(workspaceId)
Get roles in given workspace
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id |
[FolderDTO] getRootFolders(workspaceId)
Get root folders
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id |
[LightPathToPathLinkDTO] getRootPathToPathLinks(workspaceId, ciId, serialNumber, type)
Get root path-to-path links
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
ciId | String | Configuration item id | |
serialNumber | String | Serial number | |
type | String | Link type |
StatsOverviewDTO getStatsOverview(workspaceId)
Get stats overview for workspace
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id |
[FolderDTO] getSubFolders(workspaceId, completePath)
Get sub folders of given folder
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
completePath | String | Folder id |
[TagSubscriptionDTO] getTagSubscriptionsForGroup(workspaceId, groupId)
Get tag subscriptions of given user group
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
groupId | String | Group id |
[TagSubscriptionDTO] getTagSubscriptionsForUser(workspaceId, login)
Get tag subscriptions of user
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
login | String | User login |
[TagDTO] getTagsInWorkspace(workspaceId)
Get tags in given workspace
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id |
TaskDTO getTask(workspaceId, taskId)
Get task by id
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
taskId | String | Task id |
CountDTO getTotalNumberOfParts(workspaceId)
Count part revisions in workspace
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id |
[PartRevisionDTO] getUsedByAsComponent(workspaceId, partNumber, partVersion)
Get part revisions where given part revision is used as a component
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
partNumber | String | Part number | |
partVersion | String | Part version |
[PartRevisionDTO] getUsedByAsSubstitute(workspaceId, partNumber, partVersion)
Get part revisions where given part revision is used as a substitute
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
partNumber | String | Part number | |
partVersion | String | Part version |
[UserGroupDTO] getUserGroups(workspaceId)
Get user groups in given workspace
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id |
[UserDTO] getUsersInGroup(workspaceId, groupId)
Get users of given user group
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
groupId | String | Group id |
[UserDTO] getUsersInWorkspace(workspaceId)
Get users in workspace
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id |
UserStatsDTO getUsersStats(workspaceId)
Get user stats for workspace
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id |
WebhookDTO getWebhook(workspaceId, webhookId)
Get webhook by id
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
webhookId | Number | Webhook id |
[WebhookDTO] getWebhooks(workspaceId)
Get webhooks in given workspace
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id |
[WorkflowDTO] getWorkflowAbortedWorkflowList(workspaceId, workflowId)
Get workflow's aborted workflow list
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
workflowId | Number | Workflow id |
WorkflowDTO getWorkflowInstance(workspaceId, workflowId)
Get instantiated workflow in workspace
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
workflowId | Number | Workflow id |
WorkflowModelDTO getWorkflowModelInWorkspace(workspaceId, workflowModelId)
Get workflow model by id
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
workflowModelId | String | Workflow model id |
[WorkflowModelDTO] getWorkflowModelsInWorkspace(workspaceId)
Get workflow models in given workspace
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id |
WorkspaceBackOptionsDTO getWorkspaceBackOptions(workspaceId)
Get workspace back-end options
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id |
WorkspaceFrontOptionsDTO getWorkspaceFrontOptions(workspaceId)
Get workspace front-end options
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id |
[WorkspaceUserGroupMemberShipDTO] getWorkspaceSpecificUserGroupMemberShips(workspaceId)
Get workspace's group membership for authenticated user
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id |
[WorkspaceUserGroupMemberShipDTO]
WorkspaceUserMemberShipDTO getWorkspaceSpecificUserMemberShips(workspaceId)
Get workspace's user membership for authenticated user
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id |
[WorkspaceUserGroupMemberShipDTO] getWorkspaceUserGroupMemberShips(workspaceId)
Get workspace's group membership for authenticated user
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id |
[WorkspaceUserGroupMemberShipDTO]
[WorkspaceUserMemberShipDTO] getWorkspaceUserMemberShips(workspaceId)
Get workspace's user memberships
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id |
WorkspaceWorkflowDTO getWorkspaceWorkflow(workspaceId, workspaceWorkflowId)
Get a workspace workflow by id
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
workspaceWorkflowId | String | Workspace workflow id |
[WorkspaceWorkflowDTO] getWorkspaceWorkflowList(workspaceId)
Get workspace workflow list in given workspace
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id |
WorkspaceListDTO getWorkspacesForConnectedUser()
Get workspace list for authenticated user
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following 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);
This endpoint does not need any parameter.
importPartAttributes(workspaceId, importType, opts)
Import part iteration attributes from file
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
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] |
null (empty response body)
importProductInstanceAttributes(workspaceId, opts)
Import attribute into product-instance
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
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] |
null (empty response body)
DocumentRevisionDTO markDocumentRevisionAsObsolete(workspaceId, documentId, documentVersion)
Set document revision as obsolete
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
documentId | String | Document master id | |
documentVersion | String | Document version |
PartRevisionDTO markPartRevisionAsObsolete(workspaceId, partNumber, partVersion)
Set part revision as obsolete
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
partNumber | String | Part number | |
partVersion | String | Part version |
DocumentRevisionDTO moveDocument(workspaceId, documentId, documentVersion, body)
Move document revision to given folder
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
documentId | String | Document master id | |
documentVersion | String | Document version | |
body | DocumentCreationDTO | Document revision to move |
FolderDTO moveFolder(workspaceId, folderId, body)
Move a folder to given folder
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
folderId | String | Folder id | |
body | FolderDTO | Folder to move |
processTask(workspaceId, taskId, body)
Approve or reject task on a document or part revision
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
taskId | String | Task id | |
body | TaskProcessDTO | Task process data |
null (empty response body)
publishDocumentRevision(workspaceId, documentId, documentVersion)
Publish a document revision
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
documentId | String | Document master id | |
documentVersion | String | Document version |
null (empty response body)
publishPartRevision(workspaceId, partNumber, partVersion)
Publish part revision
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
partNumber | String | Part number | |
partVersion | String | Part version |
null (empty response body)
rebaseProductInstance(workspaceId, ciId, serialNumber, body)
Rebase product-instance with given baseline
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
ciId | String | Configuration item id | |
serialNumber | String | Serial number | |
body | ProductBaselineDTO | Product baseline to rebase with |
null (empty response body)
DocumentRevisionDTO releaseDocumentRevision(workspaceId, documentId, documentVersion)
Release document revision
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
documentId | String | Document master id | |
documentVersion | String | Document version |
PartRevisionDTO releasePartRevision(workspaceId, partNumber, partVersion)
Release part revision
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
partNumber | String | Part number | |
partVersion | String | Part version |
removeAttachedFileFromDocument(workspaceId, documentId, documentVersion, docIteration, fileName)
Remove attached file from document iteration
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
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 |
null (empty response body)
removeAttachedFileFromDocumentTemplate(workspaceId, templateId, fileName)
Remove attached file from document template
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
templateId | String | Template id | |
fileName | String | File name |
null (empty response body)
removeAttachedFileFromPartTemplate(workspaceId, templateId, fileName)
Remove attached file from part master template
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
templateId | String | Template id | |
fileName | String | File name |
null (empty response body)
removeAttachedFileFromProductInstance(workspaceId, iteration, ciId, serialNumber, fileName)
Remove attached file from product-instance
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
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 |
null (empty response body)
DocumentRevisionDTO removeDocTags(workspaceId, documentId, documentVersion, tagName)
Remove tags from document revision
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
documentId | String | Document master id | |
documentVersion | String | Document version | |
tagName | String | Tag name |
removeFile(workspaceId, partNumber, partVersion, partIteration, subType, fileName)
Remove file from part iteration
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
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 |
null (empty response body)
UserGroupDTO removeGroup(workspaceId, groupId)
Remove a user group
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
groupId | String | Group id |
ChangeIssueDTO removeIssue(workspaceId, issueId)
Delete change issue
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
issueId | Number | Issue id |
removeMilestone(workspaceId, milestoneId)
Delete milestone
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
milestoneId | Number | Milestone id |
null (empty response body)
removeOrder(workspaceId, orderId)
Delete order
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
orderId | Number | Order id |
null (empty response body)
PartRevisionDTO removePartTags(workspaceId, partNumber, partVersion, tagName)
Delete tags from part revision
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
partNumber | String | Part number | |
partVersion | String | Part version | |
tagName | String | Tag name |
ChangeRequestDTO removeRequest(workspaceId, requestId)
Delete change request
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | ||
requestId | Number |
ChangeRequestDTO removeTagFromChangeRequest(workspaceId, requestId, tagName)
Delete tag attached to a change request
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
requestId | Number | Request id | |
tagName | String | Tag to remove |
ChangeIssueDTO removeTagsFromChangeIssue(workspaceId, issueId, tagName)
Delete a tag attached to a change issue
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
issueId | Number | Issue id | |
tagName | String | Tag name |
ChangeOrderDTO removeTagsFromChangeOrder(workspaceId, orderId, tagName)
Delete tag attached to order
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
orderId | Number | Order id | |
tagName | String | Tag name |
UserGroupDTO removeUserFromGroup(workspaceId, groupId, body)
Remove user from user group
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
groupId | String | Group id | |
body | UserDTO | User to remove from group |
WorkspaceDTO removeUserFromWorkspace(workspaceId, body)
Remove user from workspace
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
body | UserDTO | User to remove from workspace |
FileDTO renameAttachedFileInDocument(workspaceId, documentId, documentVersion, docIteration, fileName, body)
Rename attached files of document iteration
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
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 |
FileDTO renameAttachedFileInDocumentTemplate(workspaceId, templateId, fileName, body)
Rename attached file in document template
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
templateId | String | Template id | |
fileName | String | File name | |
body | FileDTO | File to rename |
renameAttachedFileInPartIteration(workspaceId, partNumber, partVersion, partIteration, subType, fileName, body)
Rename attached file from part iteration
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
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 |
null (empty response body)
FileDTO renameAttachedFileInPartTemplate(workspaceId, templateId, fileName, body)
Rename attached file in part master template
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
templateId | String | Template id | |
fileName | String | File name | |
body | FileDTO | File to rename |
FileDTO renameAttachedFileInPathData(workspaceId, ciId, serialNumber, pathDataId, iteration, fileName, body)
Rename product-instance's attached file
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
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 |
FileDTO renameAttachedFileInProductInstance(workspaceId, ciId, serialNumber, iteration, fileName, body)
Rename attached file in product instance iteration
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
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 |
FolderDTO renameFolder(workspaceId, folderId, body)
Rename a folder
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
folderId | String | Folder id | |
body | FolderDTO | Folder with new name |
retryConversion(workspaceId, partNumber, partVersion, partIteration)
Retry part iteration conversion
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
partNumber | String | Part number | |
partVersion | String | Part version | |
partIteration | Number | Part iteration |
null (empty response body)
File runCustomQuery(workspaceId, body, opts)
Run custom query in workspace
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
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] |
File
ChangeRequestDTO saveAffectedIssues(workspaceId, requestId, body)
Attach issue to a change request
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
requestId | Number | Request id | |
body | ChangeIssueListDTO | Change issues to save as affected |
ChangeOrderDTO saveAffectedRequests(workspaceId, orderId, body)
Attach request to order
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
orderId | Number | Order id | |
body | ChangeRequestListDTO | Change requests to save as affected |
ChangeIssueDTO saveChangeIssueAffectedDocuments(workspaceId, issueId, body)
Attach a document to a change issue
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
issueId | Number | Issue id | |
body | DocumentIterationListDTO | Document list to save as affected |
ChangeIssueDTO saveChangeIssueAffectedParts(workspaceId, issueId, body)
Attach a part to a change issue
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
issueId | Number | Issue id | |
body | PartIterationListDTO | Part list to save as affected |
ChangeIssueDTO saveChangeItemTags(workspaceId, issueId, body)
Update tags attached to a change issue
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
issueId | Number | Issue id | |
body | TagListDTO | Tag list to add |
ChangeOrderDTO saveChangeOrderAffectedDocuments(workspaceId, orderId, body)
Attach document to order
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
orderId | Number | Order id | |
body | DocumentIterationListDTO | Documents to save as affected |
ChangeOrderDTO saveChangeOrderAffectedParts(workspaceId, orderId, body)
Attach part to order
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
orderId | Number | Order id | |
body | PartIterationListDTO | Parts to save as affected |
ChangeOrderDTO saveChangeOrderTags(workspaceId, orderId, body)
Update tag attached to order
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
orderId | Number | Order id | |
body | TagListDTO | Tag list to add |
ChangeRequestDTO saveChangeRequestAffectedDocuments(workspaceId, requestId, body)
Attach document to a change request
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
requestId | Number | Request id | |
body | DocumentIterationListDTO | Document list to save as affected |
ChangeRequestDTO saveChangeRequestAffectedParts(workspaceId, requestId, body)
Attach part to a change request
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
requestId | Number | Request id | |
body | PartIterationListDTO | Parts to save as affected |
ChangeRequestDTO saveChangeRequestTags(workspaceId, requestId, body)
Update tag attached to a change request
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
requestId | Number | Request id | |
body | TagListDTO | Tag list to add |
DocumentRevisionDTO saveDocTags(workspaceId, documentId, documentVersion, body)
Set the tags of the document revision
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
documentId | String | Document master id | |
documentVersion | String | Document version | |
body | TagListDTO | Tag list to save |
PartRevisionDTO savePartTags(workspaceId, partNumber, partVersion, body)
Save part revision tags
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
partNumber | String | Part number | |
partVersion | String | Part version | |
body | TagListDTO | Tag list to add |
[ConfigurationItemDTO] searchConfigurationItemId(workspaceId, q)
Search configuration items by reference
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
q | String | Query |
[DocumentRevisionDTO] searchDocumentRevision(workspaceId, opts)
Search document revisions
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
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] |
[DocumentRevisionDTO] searchDocumentRevisionsToLink(workspaceId, q, opts)
Search document revisions by id and/or name
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
q | String | Query | |
l | Number | Max results | [optional] [default to 20] |
[ChangeIssueDTO] searchIssuesByName(workspaceId, q)
Search change issue with given name
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
q | String | Query |
[LightPartMasterDTO] searchPartNumbers(workspaceId, q)
Search for available part numbers in given workspace
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
q | String | Query |
[PartRevisionDTO] searchPartRevisions(workspaceId, opts)
Search part revisions in workspace
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
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] |
[PartIterationDTO] searchPartsLastIterationWithReferenceOrName(workspaceId, q, opts)
Search documents last iteration to link
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
q | String | Query | |
l | Number | Max results | [optional] [default to 15] |
[PathDTO] searchPaths(workspaceId, ciId, search, opts)
Search paths with part reference or name
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
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] |
[ChangeRequestDTO] searchRequestsByName(workspaceId, q)
Search request with given name
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
q | String | Query |
WorkspaceUserGroupMemberShipDTO setGroupAccess(workspaceId, body)
Set user group access in workspace
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
body | WorkspaceUserGroupMemberShipDTO | User to grant access in group |
WorkspaceUserGroupMemberShipDTO
WorkspaceDTO setNewAdmin(workspaceId, body)
Set a new admin for given workspace
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
body | UserDTO | New admin user |
UserDTO setUserAccess(workspaceId, body)
Set user access in workspace
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
body | UserDTO | User to grant access in workspace |
subscribeToIterationChangeEvent(workspaceId, documentId, documentVersion)
Subscribe to notifications on change events for given document revision
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
documentId | String | Document master id | |
documentVersion | String | Document version |
null (empty response body)
subscribeToStateChangeEvent(workspaceId, documentId, documentVersion)
Subscribe to notifications on state events for given document revision
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
documentId | String | Document master id | |
documentVersion | String | Document version |
null (empty response body)
synchronizeIndexer(workspaceId)
Re-Index a workspace
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id |
null (empty response body)
unPublishDocumentRevision(workspaceId, documentId, documentVersion)
Un-publish a document revision
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
documentId | String | Document master id | |
documentVersion | String | Document version |
null (empty response body)
unPublishPartRevision(workspaceId, partNumber, partVersion)
Un-publish part revision
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
partNumber | String | Part number | |
partVersion | String | Part version |
null (empty response body)
unSubscribeToIterationChangeEvent(workspaceId, documentId, documentVersion)
Unsubscribe from notifications on change events for given document revision
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
documentId | String | Document master id | |
documentVersion | String | Document version |
null (empty response body)
PartRevisionDTO undoCheckOut(workspaceId, partNumber, partVersion)
Undo checkout part revision
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
partNumber | String | Part number | |
partVersion | String | Part version |
DocumentRevisionDTO undoCheckOutDocument(workspaceId, documentId, documentVersion)
Undo checkout document revision
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
documentId | String | Document master id | |
documentVersion | String | Document version |
unsubscribeToStateChangeEvent(workspaceId, documentId, documentVersion)
Unsubscribe to notifications on state events for given document revision
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
documentId | String | Document master id | |
documentVersion | String | Document version |
null (empty response body)
ChangeIssueDTO updateChangeIssueACL(workspaceId, issueId, body)
Update ACL of a change issue
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
issueId | Number | Issue id | |
body | ACLDTO | ACL rules to set |
ChangeOrderDTO updateChangeOrderACL(workspaceId, orderId, body)
Update ACL of the order
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
orderId | Number | Order id | |
body | ACLDTO | ACL rules to set |
ChangeRequestDTO updateChangeRequestACL(workspaceId, requestId, body)
Update ACL of a change request
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
requestId | Number | Request id | |
body | ACLDTO | ACL rules to set |
updateConfigurationACL(workspaceId, ciId, productConfigurationId, body)
Update product configuration ACL
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
ciId | String | Configuration item id | |
productConfigurationId | Number | Product configuration id | |
body | ACLDTO | ACL rules to set |
null (empty response body)
DocumentIterationDTO updateDocumentIteration(workspaceId, documentId, documentVersion, docIteration, body)
Update document iteration
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
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 |
DocumentMasterTemplateDTO updateDocumentMasterTemplate(workspaceId, templateId, body)
Update document template
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
templateId | String | Template id | |
body | DocumentMasterTemplateDTO | Document master template to update |
updateDocumentMasterTemplateACL(workspaceId, templateId, body)
Update document template ACL
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
templateId | String | Template id | |
body | ACLDTO | ACL rules to set |
null (empty response body)
updateDocumentRevisionACL(workspaceId, documentId, documentVersion, body)
Update document revision ACL
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
documentId | String | Document master id | |
documentVersion | String | Document version | |
body | ACLDTO | ACL rules to set |
null (empty response body)
EffectivityDTO updateEffectivity(workspaceId, effectivityId, body)
Update effectivity
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
effectivityId | Number | Effectivity id | |
body | EffectivityDTO | Effectivity values to update |
ChangeIssueDTO updateIssue(workspaceId, issueId, body)
Update change issue
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
issueId | Number | Issue id | |
body | ChangeIssueDTO | Change issue to update |
ListOfValuesDTO updateLOV(workspaceId, name, body)
Update a ListOfValues
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
name | String | Name | |
body | ListOfValuesDTO | LOV to update |
LayerDTO updateLayer(workspaceId, ciId, layerId, body)
Update layer
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
ciId | String | Configuration item id | |
layerId | Number | Layer id | |
body | LayerDTO | Layer to update |
MilestoneDTO updateMilestone(workspaceId, milestoneId, body)
Update milestone
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
milestoneId | Number | Milestone id | |
body | MilestoneDTO | Milestone to update |
updateMilestoneACL(workspaceId, milestoneId, body)
Update ACL of a milestone
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
milestoneId | Number | Milestone id | |
body | ACLDTO | ACL rules to set |
null (empty response body)
ChangeOrderDTO updateOrder(workspaceId, orderId, body)
Update order
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
orderId | Number | Order id | |
body | ChangeOrderDTO | Change order to update |
PartRevisionDTO updatePartIteration(workspaceId, partNumber, partVersion, partIteration, body)
Update part iteration
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
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 |
PartMasterTemplateDTO updatePartMasterTemplate(workspaceId, templateId, body)
Update part master template
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
templateId | String | Template id | |
body | PartMasterTemplateDTO | Part master template to update |
updatePartMasterTemplateACL(workspaceId, templateId, body)
Update part master template ACL
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
templateId | String | Template id | |
body | ACLDTO | ACL rules to set |
null (empty response body)
updatePartRevisionACL(workspaceId, partNumber, partVersion, body)
Update part revision ACL
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
partNumber | String | Part number | |
partVersion | String | Part version | |
body | ACLDTO | ACL rules to set |
null (empty response body)
PathDataMasterDTO updatePathData(workspaceId, ciId, serialNumber, pathDataId, iteration, body)
Update path-data
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
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 |
LightPathToPathLinkDTO updatePathToPathLink(workspaceId, ciId, pathToPathLinkId, body)
Update path-to-path link
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
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 |
updateProductInstanceACL(workspaceId, ciId, serialNumber, body)
Update product-instance's ACL
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
ciId | String | Configuration item id | |
serialNumber | String | Serial number | |
body | ACLDTO | ACL to set |
null (empty response body)
ProductInstanceMasterDTO updateProductInstanceMaster(workspaceId, ciId, serialNumber, iteration, body)
Update product-instance
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
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 |
ChangeRequestDTO updateRequest(workspaceId, requestId, body)
Update change request
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
requestId | Number | Request id | |
body | ChangeRequestDTO | Request to update |
RoleDTO updateRole(workspaceId, roleName, body)
Update a role
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
roleName | String | Role name | |
body | RoleDTO | Role to update |
TagSubscriptionDTO updateUserGroupSubscription(workspaceId, groupId, tagName, body)
Update or create tag subscription of given user group
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
groupId | String | Group id | |
tagName | String | Tag name | |
body | TagSubscriptionDTO | Tag subscription to update or create |
TagSubscriptionDTO updateUserSubscription(workspaceId, login, tagName, body)
Update or create tag subscription of user
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
login | String | User login | |
tagName | String | Tag name | |
body | TagSubscriptionDTO | Tag subscription to update or create |
WebhookDTO updateWebhook(workspaceId, webhookId, body)
Update a webhook
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
webhookId | Number | Webhook id | |
body | WebhookDTO | Webhook definition |
WorkflowModelDTO updateWorkflowModel(workspaceId, workflowModelId, body)
Update a workflow model
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
workflowModelId | String | Workflow model id | |
body | WorkflowModelDTO | Workflow model to update |
updateWorkflowModelACL(workspaceId, workflowModelId, body)
Update workflow model ACL
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
workflowModelId | String | Workflow model id | |
body | ACLDTO | ACL rules to set |
null (empty response body)
WorkspaceDTO updateWorkspace(workspaceId, body)
Update a workspace
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
body | WorkspaceDTO | Workspace values to update |
updateWorkspaceBackOptions(workspaceId, body)
Update workspace back-end options
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
body | WorkspaceBackOptionsDTO | Option values |
null (empty response body)
updateWorkspaceFrontOptions(workspaceId, body)
Update workspace front-end options
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
body | WorkspaceFrontOptionsDTO | Option values |
null (empty response body)
UserDTO whoAmI(workspaceId)
Get authenticated user details
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the 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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id |