All URIs are relative to http://docdokuplm.net/eplmp-server-rest/api
Method | HTTP request | Description |
---|---|---|
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 |
createConfigurationItem | POST /workspaces/{workspaceId}/products | Create a new configuration item |
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 |
createPathToPathLink | POST /workspaces/{workspaceId}/products/{ciId}/path-to-path-links | Create a new path-to-path link |
decodePath | GET /workspaces/{workspaceId}/products/{ciId}/decode-path/{path} | Decode given path as string |
deleteConfigurationItem | DELETE /workspaces/{workspaceId}/products/{ciId} | Delete configuration item |
deleteLayer | DELETE /workspaces/{workspaceId}/products/{ciId}/layers/{layerId} | Delete layer |
deleteMarker | DELETE /workspaces/{workspaceId}/products/{ciId}/layers/{layerId}/markers/{markerId} | Delete marker |
deletePathToPathLink | DELETE /workspaces/{workspaceId}/products/{ciId}/path-to-path-links/{pathToPathLinkId} | Delete path-to-path link |
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 |
filterProductStructure | GET /workspaces/{workspaceId}/products/{ciId}/filter | Filter product structure |
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 |
getConfigurationItem | GET /workspaces/{workspaceId}/products/{ciId} | Get configuration item by id |
getConfigurationItems | GET /workspaces/{workspaceId}/products | Get configuration items in given workspace |
getDocumentLinksForGivenPartIteration | GET /workspaces/{workspaceId}/products/{ciId}/document-links/{partNumber}-{partVersion}-{partIteration}/{configSpec} | Get document links for given part iteration |
getFilteredInstances | GET /workspaces/{workspaceId}/products/{ciId}/instances | Get instances under given path and config spec |
getInstancesForMultiplePath | POST /workspaces/{workspaceId}/products/{ciId}/instances | Get instances for multiple paths |
getLastRelease | GET /workspaces/{workspaceId}/products/{ciId}/releases/last | Get last release of part |
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 |
getPathToPathLinkInProduct | GET /workspaces/{workspaceId}/products/{ciId}/path-to-path-links/source/{sourcePath}/target/{targetPath} | Get path-to-path links from source and target |
getPathToPathLinkTypesInProduct | GET /workspaces/{workspaceId}/products/{ciId}/path-to-path-links-types | Get path-to-path links types |
searchConfigurationItemId | GET /workspaces/{workspaceId}/products/numbers | Search configuration items by reference |
searchPaths | GET /workspaces/{workspaceId}/products/{ciId}/paths | Search paths with part reference or name |
updateLayer | PUT /workspaces/{workspaceId}/products/{ciId}/layers/{layerId} | Update layer |
updatePathToPathLink | PUT /workspaces/{workspaceId}/products/{ciId}/path-to-path-links/{pathToPathLinkId} | Update path-to-path link |
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.ProductsApi();
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.ProductsApi();
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.ProductsApi();
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] |
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.ProductsApi();
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 |
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.ProductsApi();
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.ProductsApi();
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 |
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.ProductsApi();
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 |
[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.ProductsApi();
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 |
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.ProductsApi();
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)
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.ProductsApi();
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.ProductsApi();
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)
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.ProductsApi();
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)
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.ProductsApi();
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.ProductsApi();
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] |
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.ProductsApi();
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] |
[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.ProductsApi();
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.ProductsApi();
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 |
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.ProductsApi();
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.ProductsApi();
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 |
[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.ProductsApi();
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 |
[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.ProductsApi();
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] |
[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.ProductsApi();
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] |
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.ProductsApi();
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 |
[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.ProductsApi();
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.ProductsApi();
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 |
[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.ProductsApi();
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] 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.ProductsApi();
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 |
[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.ProductsApi();
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 |
[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.ProductsApi();
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] |
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.ProductsApi();
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 |
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.ProductsApi();
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 |