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 |
PathDataMasterDTO addNewPathDataIteration(workspaceId, ciId, serialNumber, pathDataId, body)
Add new path-data iteration
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.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);
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 |
PathDataMasterDTO createPathDataMaster(workspaceId, ciId, serialNumber, path, body)
Create a new path-data in product-instance last iteration
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.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);
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 |
ProductInstanceMasterDTO createProductInstanceMaster(workspaceId, body)
Create a new product-instance
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
body | ProductInstanceCreationDTO | Product instance master to create |
deleteAttachedFileInPathData(workspaceId, ciId, serialNumber, pathDataId, iteration, fileName)
Delete product-instance's attached file
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
ciId | String | Configuration item id | |
serialNumber | String | Serial number | |
pathDataId | Number | Path data master id | |
iteration | Number | Product instance iteration | |
fileName | String | File name |
null (empty response body)
deletePathData(workspaceId, ciId, serialNumber, pathDataId)
Delete product-instance's path-data
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
ciId | String | Configuration item id | |
serialNumber | String | Serial number | |
pathDataId | Number | Path data master id |
null (empty response body)
deleteProductInstanceMaster(workspaceId, ciId, serialNumber)
Delete product-instance
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
ciId | String | Configuration item id | |
serialNumber | String | Serial number |
null (empty response body)
[ProductInstanceMasterDTO] getAllProductInstances(workspaceId)
Get product instances in given workspace
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id |
LightPartMasterDTO getPartFromPathLink(workspaceId, ciId, serialNumber, pathPart)
Get part from path-to-path link
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
ciId | String | Configuration item id | |
serialNumber | String | Serial number | |
pathPart | String | Complete path to the part |
PathDataMasterDTO getPathData(workspaceId, ciId, serialNumber, path)
Get product-instance's last iteration path-data
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
ciId | String | Configuration item id | |
serialNumber | String | Serial number | |
path | String | Complete path in context |
LightPathToPathLinkDTO getPathToPathLink(workspaceId, ciId, serialNumber, pathToPathLinkId)
Get path-to-path link
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
ciId | String | Configuration item id | |
serialNumber | String | Serial number | |
pathToPathLinkId | Number | Path to path link id |
[LightPathToPathLinkDTO] getPathToPathLinkTypesInProductInstance(workspaceId, ciId, serialNumber)
Get path-to-path link types
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
ciId | String | Configuration item id | |
serialNumber | String | Serial number |
[LightPathToPathLinkDTO] getPathToPathLinks(workspaceId, ciId, serialNumber)
Get path-to-path links
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
ciId | String | Configuration item id | |
serialNumber | String | Serial number |
[LightPathToPathLinkDTO] getPathToPathLinksForGivenSourceAndTarget(workspaceId, ciId, serialNumber, sourcePath, targetPath)
Get path-to-path link for given source and target
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.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);
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 |
ProductInstanceMasterDTO getProductInstance(workspaceId, ciId, serialNumber)
Get product-instance by serial number
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
ciId | String | Configuration item id | |
serialNumber | String | Serial number |
ProductInstanceIterationDTO getProductInstanceIteration(workspaceId, ciId, serialNumber, iteration)
Get product-instance's iteration
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
ciId | String | Configuration item id | |
serialNumber | String | Serial number | |
iteration | Number | Product instance iteration |
[ProductInstanceIterationDTO] getProductInstanceIterations(workspaceId, ciId, serialNumber)
Get product-instance's iterations
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
ciId | String | Configuration item id | |
serialNumber | String | Serial number |
[ProductInstanceMasterDTO] getProductInstances(workspaceId, ciId)
Get product-instance with given configuration item
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
ciId | String | Configuration item id |
[LightPathToPathLinkDTO] getRootPathToPathLinks(workspaceId, ciId, serialNumber, type)
Get root path-to-path links
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
ciId | String | Configuration item id | |
serialNumber | String | Serial number | |
type | String | Link type |
importProductInstanceAttributes(workspaceId, opts)
Import attribute into product-instance
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
autoFreezeAfterUpdate | Boolean | Auto freeze after update flag | [optional] |
permissiveUpdate | Boolean | Permissive update flag | [optional] |
revisionNote | String | Revision note to set | [optional] |
null (empty response body)
rebaseProductInstance(workspaceId, ciId, serialNumber, body)
Rebase product-instance with given baseline
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
ciId | String | Configuration item id | |
serialNumber | String | Serial number | |
body | ProductBaselineDTO | Product baseline to rebase with |
null (empty response body)
removeAttachedFileFromProductInstance(workspaceId, iteration, ciId, serialNumber, fileName)
Remove attached file from product-instance
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
iteration | Number | Product instance iteration | |
ciId | String | Configuration item id | |
serialNumber | String | Serial number | |
fileName | String | File name |
null (empty response body)
FileDTO renameAttachedFileInPathData(workspaceId, ciId, serialNumber, pathDataId, iteration, fileName, body)
Rename product-instance's attached file
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
ciId | String | Configuration item id | |
serialNumber | String | Serial number | |
pathDataId | Number | Path data master id | |
iteration | Number | Product instance iteration | |
fileName | String | File name | |
body | FileDTO | Renamed file |
FileDTO renameAttachedFileInProductInstance(workspaceId, ciId, serialNumber, iteration, fileName, body)
Rename attached file in product instance iteration
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.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);
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 |
PathDataMasterDTO updatePathData(workspaceId, ciId, serialNumber, pathDataId, iteration, body)
Update path-data
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.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);
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 |
updateProductInstanceACL(workspaceId, ciId, serialNumber, body)
Update product-instance's ACL
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.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);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
ciId | String | Configuration item id | |
serialNumber | String | Serial number | |
body | ACLDTO | ACL to set |
null (empty response body)
ProductInstanceMasterDTO updateProductInstanceMaster(workspaceId, ciId, serialNumber, iteration, body)
Update product-instance
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.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);
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 |