DocdokuPlmApi.ProductsApi

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

cascadeCheckin

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

Cascade part revision check in with given config spec and path

Example

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

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

var apiInstance = new DocdokuPlmApi.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);

Parameters

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

Return type

CascadeResult

Authorization

authorization

HTTP request headers

cascadeCheckout

CascadeResult cascadeCheckout(workspaceId, ciId, path, opts)

Cascade part revision check out with given config spec and path

Example

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

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

var apiInstance = new DocdokuPlmApi.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);

Parameters

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

Return type

CascadeResult

Authorization

authorization

HTTP request headers

cascadeUndoCheckOut

CascadeResult cascadeUndoCheckOut(workspaceId, ciId, path, opts)

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

Example

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

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

var apiInstance = new DocdokuPlmApi.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);

Parameters

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

Return type

CascadeResult

Authorization

authorization

HTTP request headers

createConfigurationItem

ConfigurationItemDTO createConfigurationItem(workspaceId, body)

Create a new configuration item

Example

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

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

var apiInstance = new DocdokuPlmApi.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);

Parameters

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

Return type

ConfigurationItemDTO

Authorization

authorization

HTTP request headers

createLayer

LayerDTO createLayer(workspaceId, ciId, body)

Create a new layer for given product

Example

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

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

var apiInstance = new DocdokuPlmApi.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);

Parameters

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

Return type

LayerDTO

Authorization

authorization

HTTP request headers

createMarker

MarkerDTO createMarker(workspaceId, ciId, layerId, body)

Create a new marker in a given layer

Example

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

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

var apiInstance = new DocdokuPlmApi.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);

Parameters

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

Return type

MarkerDTO

Authorization

authorization

HTTP request headers

createPathToPathLink

LightPathToPathLinkDTO createPathToPathLink(workspaceId, ciId, body)

Create a new path-to-path link

Example

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

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

var apiInstance = new DocdokuPlmApi.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);

Parameters

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

Return type

LightPathToPathLinkDTO

Authorization

authorization

HTTP request headers

decodePath

[LightPartLinkDTO] decodePath(workspaceId, ciId, path)

Decode given path as string

Example

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

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

var apiInstance = new DocdokuPlmApi.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);

Parameters

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

Return type

[LightPartLinkDTO]

Authorization

authorization

HTTP request headers

deleteConfigurationItem

deleteConfigurationItem(workspaceId, ciId)

Delete configuration item

Example

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

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

var apiInstance = new DocdokuPlmApi.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);

Parameters

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

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

deleteLayer

deleteLayer(workspaceId, ciId, layerId)

Delete layer

Example

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

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

var apiInstance = new DocdokuPlmApi.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);

Parameters

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

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

deleteMarker

deleteMarker(workspaceId, ciId, layerId, markerId)

Delete marker

Example

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

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

var apiInstance = new DocdokuPlmApi.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);

Parameters

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

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

deletePathToPathLink

deletePathToPathLink(workspaceId, ciId, pathToPathLinkId)

Delete path-to-path link

Example

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

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

var apiInstance = new DocdokuPlmApi.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);

Parameters

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

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

exportProductFiles

File exportProductFiles(workspaceId, ciId, opts)

Export files from configuration item with given config spec

Example

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

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

var apiInstance = new DocdokuPlmApi.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);

Parameters

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

Return type

File

Authorization

authorization

HTTP request headers

filterPart

[PartRevisionDTO] filterPart(workspaceId, ciId, opts)

Filter part with given config spec and path

Example

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

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

var apiInstance = new DocdokuPlmApi.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);

Parameters

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

Return type

[PartRevisionDTO]

Authorization

authorization

HTTP request headers

filterProductStructure

ComponentDTO filterProductStructure(workspaceId, ciId, opts)

Filter product structure

Example

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

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

var apiInstance = new DocdokuPlmApi.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);

Parameters

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

Return type

ComponentDTO

Authorization

authorization

HTTP request headers

getBaselineCreationPathChoices

[PathChoiceDTO] getBaselineCreationPathChoices(workspaceId, ciId, opts)

Get baseline creation path choices

Example

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

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

var apiInstance = new DocdokuPlmApi.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);

Parameters

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

Return type

[PathChoiceDTO]

Authorization

authorization

HTTP request headers

getBaselineCreationVersionsChoices

[BaselinedPartDTO] getBaselineCreationVersionsChoices(workspaceId, ciId)

Get baseline creation version choices

Example

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

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

var apiInstance = new DocdokuPlmApi.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);

Parameters

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

Return type

[BaselinedPartDTO]

Authorization

authorization

HTTP request headers

getConfigurationItem

ConfigurationItemDTO getConfigurationItem(workspaceId, ciId)

Get configuration item by id

Example

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

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

var apiInstance = new DocdokuPlmApi.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);

Parameters

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

Return type

ConfigurationItemDTO

Authorization

authorization

HTTP request headers

getConfigurationItems

[ConfigurationItemDTO] getConfigurationItems(workspaceId)

Get configuration items in given workspace

Example

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

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

var apiInstance = new DocdokuPlmApi.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);

Parameters

Name Type Description Notes
workspaceId String Workspace id

Return type

[ConfigurationItemDTO]

Authorization

authorization

HTTP request headers

getDocumentLinksForGivenPartIteration

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

Get document links for given part iteration

Example

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

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

var apiInstance = new DocdokuPlmApi.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);

Parameters

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

Return type

[DocumentIterationLinkDTO]

Authorization

authorization

HTTP request headers

getFilteredInstances

[LeafDTO] getFilteredInstances(workspaceId, ciId, configSpec, path, opts)

Get instances under given path and config spec

Example

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

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

var apiInstance = new DocdokuPlmApi.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);

Parameters

Name Type Description Notes
workspaceId String Workspace id
ciId String Configuration item id
configSpec String Config spec
path String Complete path to start from
diverge Boolean Discover substitute links [optional]

Return type

[LeafDTO]

Authorization

authorization

HTTP request headers

getInstancesForMultiplePath

[LeafDTO] getInstancesForMultiplePath(workspaceId, ciId, body, opts)

Get instances for multiple paths

Example

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

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

var apiInstance = new DocdokuPlmApi.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);

Parameters

Name Type Description Notes
workspaceId String Workspace id
ciId String Configuration item id
body PathListDTO List of paths to start from
diverge Boolean Discover substitute links [optional]

Return type

[LeafDTO]

Authorization

authorization

HTTP request headers

getLastRelease

PartRevisionDTO getLastRelease(workspaceId, ciId)

Get last release of part

Example

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

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

var apiInstance = new DocdokuPlmApi.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);

Parameters

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

Return type

PartRevisionDTO

Authorization

authorization

HTTP request headers

getLayersInProduct

[LayerDTO] getLayersInProduct(workspaceId, ciId)

Get layers for given product

Example

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

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

var apiInstance = new DocdokuPlmApi.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);

Parameters

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

Return type

[LayerDTO]

Authorization

authorization

HTTP request headers

getMarkersInLayer

[MarkerDTO] getMarkersInLayer(workspaceId, ciId, layerId)

Get markers of a given layer

Example

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

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

var apiInstance = new DocdokuPlmApi.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);

Parameters

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

Return type

[MarkerDTO]

Authorization

authorization

HTTP request headers

getPathToPathLinkInProduct

[PathToPathLinkDTO] getPathToPathLinkInProduct(workspaceId, ciId, sourcePath, targetPath)

Get path-to-path links from source and target

Example

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

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

var apiInstance = new DocdokuPlmApi.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);

Parameters

Name Type Description Notes
workspaceId String Workspace id
ciId String Configuration item id
sourcePath String Complete source path
targetPath String Complete target path

Return type

[PathToPathLinkDTO]

Authorization

authorization

HTTP request headers

getPathToPathLinkTypesInProduct

[LightPathToPathLinkDTO] getPathToPathLinkTypesInProduct(workspaceId, ciId)

Get path-to-path links types

Example

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

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

var apiInstance = new DocdokuPlmApi.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);

Parameters

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

Return type

[LightPathToPathLinkDTO]

Authorization

authorization

HTTP request headers

searchConfigurationItemId

[ConfigurationItemDTO] searchConfigurationItemId(workspaceId, q)

Search configuration items by reference

Example

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

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

var apiInstance = new DocdokuPlmApi.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);

Parameters

Name Type Description Notes
workspaceId String Workspace id
q String Query

Return type

[ConfigurationItemDTO]

Authorization

authorization

HTTP request headers

searchPaths

[PathDTO] searchPaths(workspaceId, ciId, search, opts)

Search paths with part reference or name

Example

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

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

var apiInstance = new DocdokuPlmApi.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);

Parameters

Name Type Description Notes
workspaceId String Workspace id
ciId String Configuration item id
search String Search value
configSpec String Config spec [optional]
diverge Boolean Discover substitute links [optional]

Return type

[PathDTO]

Authorization

authorization

HTTP request headers

updateLayer

LayerDTO updateLayer(workspaceId, ciId, layerId, body)

Update layer

Example

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

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

var apiInstance = new DocdokuPlmApi.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);

Parameters

Name Type Description Notes
workspaceId String Workspace id
ciId String Configuration item id
layerId Number Layer id
body LayerDTO Layer to update

Return type

LayerDTO

Authorization

authorization

HTTP request headers

updatePathToPathLink

LightPathToPathLinkDTO updatePathToPathLink(workspaceId, ciId, pathToPathLinkId, body)

Update path-to-path link

Example

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

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

var apiInstance = new DocdokuPlmApi.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);

Parameters

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

Return type

LightPathToPathLinkDTO

Authorization

authorization

HTTP request headers