DocdokuPlmApi.ProductInstancesApi

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

Method HTTP request Description
addNewPathDataIteration POST /workspaces/{workspaceId}/product-instances/{ciId}/instances/{serialNumber}/pathdata/{pathDataId} Add new path-data iteration
createPathDataMaster POST /workspaces/{workspaceId}/product-instances/{ciId}/instances/{serialNumber}/pathdata/{path}/new Create a new path-data in product-instance last iteration
createProductInstanceMaster POST /workspaces/{workspaceId}/product-instances Create a new product-instance
deleteAttachedFileInPathData DELETE /workspaces/{workspaceId}/product-instances/{ciId}/instances/{serialNumber}/pathdata/{pathDataId}/iterations/{iteration}/files/{fileName} Delete product-instance's attached file
deletePathData DELETE /workspaces/{workspaceId}/product-instances/{ciId}/instances/{serialNumber}/pathdata/{pathDataId} Delete product-instance's path-data
deleteProductInstanceMaster DELETE /workspaces/{workspaceId}/product-instances/{ciId}/instances/{serialNumber} Delete product-instance
getAllProductInstances GET /workspaces/{workspaceId}/product-instances Get product instances in given workspace
getPartFromPathLink GET /workspaces/{workspaceId}/product-instances/{ciId}/instances/{serialNumber}/link-path-part/{pathPart} Get part from path-to-path link
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
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
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
getProductInstances GET /workspaces/{workspaceId}/product-instances/{ciId}/instances Get product-instance with given configuration item
getRootPathToPathLinks GET /workspaces/{workspaceId}/product-instances/{ciId}/instances/{serialNumber}/path-to-path-links-roots/{type} Get root path-to-path links
importProductInstanceAttributes POST /workspaces/{workspaceId}/product-instances/import Import attribute into product-instance
rebaseProductInstance PUT /workspaces/{workspaceId}/product-instances/{ciId}/instances/{serialNumber}/rebase Rebase product-instance with given baseline
removeAttachedFileFromProductInstance DELETE /workspaces/{workspaceId}/product-instances/{ciId}/instances/{serialNumber}/iterations/{iteration}/files/{fileName} Remove attached file from product-instance
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
updatePathData PUT /workspaces/{workspaceId}/product-instances/{ciId}/instances/{serialNumber}/pathdata/{pathDataId}/iterations/{iteration} Update path-data
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

addNewPathDataIteration

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

Add new path-data iteration

Example

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

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

var apiInstance = new DocdokuPlmApi.ProductInstancesApi();

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

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

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

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

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


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

Parameters

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

Return type

PathDataMasterDTO

Authorization

authorization

HTTP request headers

createPathDataMaster

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

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

Example

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

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

var apiInstance = new DocdokuPlmApi.ProductInstancesApi();

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

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

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

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

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


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

Parameters

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

Return type

PathDataMasterDTO

Authorization

authorization

HTTP request headers

createProductInstanceMaster

ProductInstanceMasterDTO createProductInstanceMaster(workspaceId, body)

Create a new product-instance

Example

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

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

var apiInstance = new DocdokuPlmApi.ProductInstancesApi();

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

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


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

Parameters

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

Return type

ProductInstanceMasterDTO

Authorization

authorization

HTTP request headers

deleteAttachedFileInPathData

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

Delete product-instance's attached file

Example

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

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

var apiInstance = new DocdokuPlmApi.ProductInstancesApi();

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

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

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

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

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

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


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

Parameters

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

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

deletePathData

deletePathData(workspaceId, ciId, serialNumber, pathDataId)

Delete product-instance's path-data

Example

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

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

var apiInstance = new DocdokuPlmApi.ProductInstancesApi();

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

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

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

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


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

Parameters

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

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

deleteProductInstanceMaster

deleteProductInstanceMaster(workspaceId, ciId, serialNumber)

Delete product-instance

Example

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

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

var apiInstance = new DocdokuPlmApi.ProductInstancesApi();

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

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

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


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

Parameters

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

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

getAllProductInstances

[ProductInstanceMasterDTO] getAllProductInstances(workspaceId)

Get product instances in given workspace

Example

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

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

var apiInstance = new DocdokuPlmApi.ProductInstancesApi();

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


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

Parameters

Name Type Description Notes
workspaceId String Workspace id

Return type

[ProductInstanceMasterDTO]

Authorization

authorization

HTTP request headers

getPartFromPathLink

LightPartMasterDTO getPartFromPathLink(workspaceId, ciId, serialNumber, pathPart)

Get part from path-to-path link

Example

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

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

var apiInstance = new DocdokuPlmApi.ProductInstancesApi();

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

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

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

var pathPart = "pathPart_example"; // String | Complete path to the part


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

Parameters

Name Type Description Notes
workspaceId String Workspace id
ciId String Configuration item id
serialNumber String Serial number
pathPart String Complete path to the part

Return type

LightPartMasterDTO

Authorization

authorization

HTTP request headers

getPathData

PathDataMasterDTO getPathData(workspaceId, ciId, serialNumber, path)

Get product-instance's last iteration path-data

Example

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

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

var apiInstance = new DocdokuPlmApi.ProductInstancesApi();

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

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

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

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


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

Parameters

Name Type Description Notes
workspaceId String Workspace id
ciId String Configuration item id
serialNumber String Serial number
path String Complete path in context

Return type

PathDataMasterDTO

Authorization

authorization

HTTP request headers

getPathToPathLink

LightPathToPathLinkDTO getPathToPathLink(workspaceId, ciId, serialNumber, pathToPathLinkId)

Get path-to-path link

Example

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

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

var apiInstance = new DocdokuPlmApi.ProductInstancesApi();

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

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

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

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


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

Parameters

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

Return type

LightPathToPathLinkDTO

Authorization

authorization

HTTP request headers

getPathToPathLinkTypesInProductInstance

[LightPathToPathLinkDTO] getPathToPathLinkTypesInProductInstance(workspaceId, ciId, serialNumber)

Get path-to-path link types

Example

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

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

var apiInstance = new DocdokuPlmApi.ProductInstancesApi();

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

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

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


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

Parameters

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

Return type

[LightPathToPathLinkDTO]

Authorization

authorization

HTTP request headers

getPathToPathLinks

[LightPathToPathLinkDTO] getPathToPathLinks(workspaceId, ciId, serialNumber)

Get path-to-path links

Example

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

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

var apiInstance = new DocdokuPlmApi.ProductInstancesApi();

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

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

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


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

Parameters

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

Return type

[LightPathToPathLinkDTO]

Authorization

authorization

HTTP request headers

getPathToPathLinksForGivenSourceAndTarget

[LightPathToPathLinkDTO] getPathToPathLinksForGivenSourceAndTarget(workspaceId, ciId, serialNumber, sourcePath, targetPath)

Get path-to-path link for given source and target

Example

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

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

var apiInstance = new DocdokuPlmApi.ProductInstancesApi();

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

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

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

var sourcePath = "sourcePath_example"; // String | Complete source path

var targetPath = "targetPath_example"; // String | Complete target path


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

Parameters

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

Return type

[LightPathToPathLinkDTO]

Authorization

authorization

HTTP request headers

getProductInstance

ProductInstanceMasterDTO getProductInstance(workspaceId, ciId, serialNumber)

Get product-instance by serial number

Example

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

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

var apiInstance = new DocdokuPlmApi.ProductInstancesApi();

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

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

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


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

Parameters

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

Return type

ProductInstanceMasterDTO

Authorization

authorization

HTTP request headers

getProductInstanceIteration

ProductInstanceIterationDTO getProductInstanceIteration(workspaceId, ciId, serialNumber, iteration)

Get product-instance's iteration

Example

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

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

var apiInstance = new DocdokuPlmApi.ProductInstancesApi();

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

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

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

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


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

Parameters

Name Type Description Notes
workspaceId String Workspace id
ciId String Configuration item id
serialNumber String Serial number
iteration Number Product instance iteration

Return type

ProductInstanceIterationDTO

Authorization

authorization

HTTP request headers

getProductInstanceIterations

[ProductInstanceIterationDTO] getProductInstanceIterations(workspaceId, ciId, serialNumber)

Get product-instance's iterations

Example

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

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

var apiInstance = new DocdokuPlmApi.ProductInstancesApi();

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

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

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


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

Parameters

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

Return type

[ProductInstanceIterationDTO]

Authorization

authorization

HTTP request headers

getProductInstances

[ProductInstanceMasterDTO] getProductInstances(workspaceId, ciId)

Get product-instance with given configuration item

Example

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

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

var apiInstance = new DocdokuPlmApi.ProductInstancesApi();

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

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


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

Parameters

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

Return type

[ProductInstanceMasterDTO]

Authorization

authorization

HTTP request headers

getRootPathToPathLinks

[LightPathToPathLinkDTO] getRootPathToPathLinks(workspaceId, ciId, serialNumber, type)

Get root path-to-path links

Example

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

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

var apiInstance = new DocdokuPlmApi.ProductInstancesApi();

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

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

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

var type = "type_example"; // String | Link type


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

Parameters

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

Return type

[LightPathToPathLinkDTO]

Authorization

authorization

HTTP request headers

importProductInstanceAttributes

importProductInstanceAttributes(workspaceId, opts)

Import attribute into product-instance

Example

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

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

var apiInstance = new DocdokuPlmApi.ProductInstancesApi();

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

var opts = { 
  'autoFreezeAfterUpdate': true, // Boolean | Auto freeze after update flag
  'permissiveUpdate': true, // Boolean | Permissive update flag
  'revisionNote': "revisionNote_example" // String | Revision note to set
};

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

Parameters

Name Type Description Notes
workspaceId String Workspace id
autoFreezeAfterUpdate Boolean Auto freeze after update flag [optional]
permissiveUpdate Boolean Permissive update flag [optional]
revisionNote String Revision note to set [optional]

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

rebaseProductInstance

rebaseProductInstance(workspaceId, ciId, serialNumber, body)

Rebase product-instance with given baseline

Example

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

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

var apiInstance = new DocdokuPlmApi.ProductInstancesApi();

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

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

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

var body = new DocdokuPlmApi.ProductBaselineDTO(); // ProductBaselineDTO | Product baseline to rebase with


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

Parameters

Name Type Description Notes
workspaceId String Workspace id
ciId String Configuration item id
serialNumber String Serial number
body ProductBaselineDTO Product baseline to rebase with

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

removeAttachedFileFromProductInstance

removeAttachedFileFromProductInstance(workspaceId, iteration, ciId, serialNumber, fileName)

Remove attached file from product-instance

Example

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

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

var apiInstance = new DocdokuPlmApi.ProductInstancesApi();

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

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

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

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

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


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

Parameters

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

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

renameAttachedFileInPathData

FileDTO renameAttachedFileInPathData(workspaceId, ciId, serialNumber, pathDataId, iteration, fileName, body)

Rename product-instance's attached file

Example

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

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

var apiInstance = new DocdokuPlmApi.ProductInstancesApi();

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

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

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

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

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

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

var body = new DocdokuPlmApi.FileDTO(); // FileDTO | Renamed file


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

Parameters

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

Return type

FileDTO

Authorization

authorization

HTTP request headers

renameAttachedFileInProductInstance

FileDTO renameAttachedFileInProductInstance(workspaceId, ciId, serialNumber, iteration, fileName, body)

Rename attached file in product instance iteration

Example

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

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

var apiInstance = new DocdokuPlmApi.ProductInstancesApi();

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

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

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

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

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

var body = new DocdokuPlmApi.FileDTO(); // FileDTO | Renamed file


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

Parameters

Name Type Description Notes
workspaceId String Workspace id
ciId String Configuration item id
serialNumber String Serial number
iteration Number Product instance iteration
fileName String File name
body FileDTO Renamed file

Return type

FileDTO

Authorization

authorization

HTTP request headers

updatePathData

PathDataMasterDTO updatePathData(workspaceId, ciId, serialNumber, pathDataId, iteration, body)

Update path-data

Example

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

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

var apiInstance = new DocdokuPlmApi.ProductInstancesApi();

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

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

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

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

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

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


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

Parameters

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

Return type

PathDataMasterDTO

Authorization

authorization

HTTP request headers

updateProductInstanceACL

updateProductInstanceACL(workspaceId, ciId, serialNumber, body)

Update product-instance's ACL

Example

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

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

var apiInstance = new DocdokuPlmApi.ProductInstancesApi();

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

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

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

var body = new DocdokuPlmApi.ACLDTO(); // ACLDTO | ACL to set


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

Parameters

Name Type Description Notes
workspaceId String Workspace id
ciId String Configuration item id
serialNumber String Serial number
body ACLDTO ACL to set

Return type

null (empty response body)

Authorization

authorization

HTTP request headers

updateProductInstanceMaster

ProductInstanceMasterDTO updateProductInstanceMaster(workspaceId, ciId, serialNumber, iteration, body)

Update product-instance

Example

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

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

var apiInstance = new DocdokuPlmApi.ProductInstancesApi();

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

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

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

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

var body = new DocdokuPlmApi.ProductInstanceIterationDTO(); // ProductInstanceIterationDTO | Product instance master to update


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

Parameters

Name Type Description Notes
workspaceId String Workspace id
ciId String Configuration item id
serialNumber String Serial number
iteration Number Product instance iteration
body ProductInstanceIterationDTO Product instance master to update

Return type

ProductInstanceMasterDTO

Authorization

authorization

HTTP request headers