All URIs are relative to http://docdokuplm.net/eplmp-server-rest/api
| Method | HTTP request | Description |
|---|---|---|
| addPartTag | POST /workspaces/{workspaceId}/parts/{partNumber}-{partVersion}/tags | Add tags to part revision |
| checkIn | PUT /workspaces/{workspaceId}/parts/{partNumber}-{partVersion}/checkin | Checkin part revision |
| checkOut | PUT /workspaces/{workspaceId}/parts/{partNumber}-{partVersion}/checkout | Checkout part revision |
| createEffectivity | POST /workspaces/{workspaceId}/parts/{partNumber}-{partVersion}/effectivities | Create an Effectivity for a given PartRevision |
| createNewPart | POST /workspaces/{workspaceId}/parts | Create a new part master and its first revision |
| createNewPartVersion | PUT /workspaces/{workspaceId}/parts/{partNumber}-{partVersion}/newVersion | Create new part version |
| createSharedPart | POST /workspaces/{workspaceId}/parts/{partNumber}-{partVersion}/share | Create a new shared part from part revision |
| deleteEffectivity | DELETE /workspaces/{workspaceId}/parts/{partNumber}-{partVersion}/effectivities/{effectivityId} | Delete effectivity from given part revision |
| deleteImport | DELETE /workspaces/{workspaceId}/parts/import/{importId} | Delete import |
| deletePartRevision | DELETE /workspaces/{workspaceId}/parts/{partNumber}-{partVersion} | Delete part revision |
| deleteQuery | DELETE /workspaces/{workspaceId}/parts/queries/{queryId} | Delete custom query |
| exportCustomQuery | POST /workspaces/{workspaceId}/parts/query-export | Run and export a custom query |
| exportExistingQuery | GET /workspaces/{workspaceId}/parts/queries/{queryId}/format/{export} | Run and export an existing query |
| filterPartMasterInBaseline | GET /workspaces/{workspaceId}/parts/{partNumber}/filter/{baselineId} | Filter part master with in baseline : resolve part iteration |
| getAbortedWorkflowListInPart | GET /workspaces/{workspaceId}/parts/{partNumber}-{partVersion}/aborted-workflows | Get part revision's aborted workflow list |
| getBaselinesWherePartRevisionHasIterations | GET /workspaces/{workspaceId}/parts/{partNumber}-{partVersion}/baselines | Get product baselines where part revision is involved |
| getCheckedOutNumberOfItems | GET /workspaces/{workspaceId}/parts/countCheckedOut | Count checked out part revisions |
| getCheckedOutPartRevisions | GET /workspaces/{workspaceId}/parts/checkedout | Get checked out part revisions |
| getConversionStatus | GET /workspaces/{workspaceId}/parts/{partNumber}-{partVersion}/iterations/{partIteration}/conversion | Get part iteration conversion status |
| getCustomQueries | GET /workspaces/{workspaceId}/parts/queries | Get custom queries in workspace |
| getEffectivities | GET /workspaces/{workspaceId}/parts/{partNumber}-{partVersion}/effectivities | Get effectivities of a given PartRevision |
| getImport | GET /workspaces/{workspaceId}/parts/import/{importId} | Get import by id |
| getImportPreview | POST /workspaces/{workspaceId}/parts/importPreview | Get import preview |
| getImports | GET /workspaces/{workspaceId}/parts/imports/{filename} | Get imports currently running for given file |
| getInstancesUnderPart | GET /workspaces/{workspaceId}/parts/{partNumber}-{partVersion}/instances | Get instances under given part revision (latest checked-in view) |
| getLatestPartRevision | GET /workspaces/{workspaceId}/parts/{partNumber}/latest-revision | Get part master latest available revision |
| getPartRevision | GET /workspaces/{workspaceId}/parts/{partNumber}-{partVersion} | Get part revision |
| getPartRevisions | GET /workspaces/{workspaceId}/parts | Get part revisions in workspace |
| getPartRevisionsByTag | GET /workspaces/{workspaceId}/parts/tags/{tagId} | Get part revisions in workspace |
| getProductInstanceMasters | GET /workspaces/{workspaceId}/parts/{partNumber}-{partVersion}/used-by-product-instance-masters | Get product instance where part revision is in use |
| getTotalNumberOfParts | GET /workspaces/{workspaceId}/parts/count | Count part revisions in workspace |
| getUsedByAsComponent | GET /workspaces/{workspaceId}/parts/{partNumber}-{partVersion}/used-by-as-component | Get part revisions where given part revision is used as a component |
| getUsedByAsSubstitute | GET /workspaces/{workspaceId}/parts/{partNumber}-{partVersion}/used-by-as-substitute | Get part revisions where given part revision is used as a substitute |
| importPartAttributes | POST /workspaces/{workspaceId}/parts/import | Import part iteration attributes from file |
| markPartRevisionAsObsolete | PUT /workspaces/{workspaceId}/parts/{partNumber}-{partVersion}/obsolete | Set part revision as obsolete |
| publishPartRevision | PUT /workspaces/{workspaceId}/parts/{partNumber}-{partVersion}/publish | Publish part revision |
| releasePartRevision | PUT /workspaces/{workspaceId}/parts/{partNumber}-{partVersion}/release | Release part revision |
| removeFile | DELETE /workspaces/{workspaceId}/parts/{partNumber}-{partVersion}/iterations/{partIteration}/files/{subType}/{fileName} | Remove file from part iteration |
| removePartTags | DELETE /workspaces/{workspaceId}/parts/{partNumber}-{partVersion}/tags/{tagName} | Delete tags from part revision |
| renameAttachedFileInPartIteration | PUT /workspaces/{workspaceId}/parts/{partNumber}-{partVersion}/iterations/{partIteration}/files/{subType}/{fileName} | Rename attached file from part iteration |
| retryConversion | PUT /workspaces/{workspaceId}/parts/{partNumber}-{partVersion}/iterations/{partIteration}/conversion | Retry part iteration conversion |
| runCustomQuery | POST /workspaces/{workspaceId}/parts/queries | Run custom query in workspace |
| savePartTags | PUT /workspaces/{workspaceId}/parts/{partNumber}-{partVersion}/tags | Save part revision tags |
| searchPartNumbers | GET /workspaces/{workspaceId}/parts/numbers | Search for available part numbers in given workspace |
| searchPartRevisions | GET /workspaces/{workspaceId}/parts/search | Search part revisions in workspace |
| searchPartsLastIterationWithReferenceOrName | GET /workspaces/{workspaceId}/parts/parts_last_iter | Search documents last iteration to link |
| unPublishPartRevision | PUT /workspaces/{workspaceId}/parts/{partNumber}-{partVersion}/unpublish | Un-publish part revision |
| undoCheckOut | PUT /workspaces/{workspaceId}/parts/{partNumber}-{partVersion}/undocheckout | Undo checkout part revision |
| updatePartIteration | PUT /workspaces/{workspaceId}/parts/{partNumber}-{partVersion}/iterations/{partIteration} | Update part iteration |
| updatePartRevisionACL | PUT /workspaces/{workspaceId}/parts/{partNumber}-{partVersion}/acl | Update part revision ACL |
PartRevisionDTO addPartTag(workspaceId, partNumber, partVersion, body)
Add tags to part revision
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.PartsApi();
var workspaceId = "workspaceId_example"; // String | Workspace id
var partNumber = "partNumber_example"; // String | Part number
var partVersion = "partVersion_example"; // String | Part version
var body = new DocdokuPlmApi.TagListDTO(); // TagListDTO | Tag list to add
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.addPartTag(workspaceId, partNumber, partVersion, body, callback);
| Name | Type | Description | Notes |
|---|---|---|---|
| workspaceId | String | Workspace id | |
| partNumber | String | Part number | |
| partVersion | String | Part version | |
| body | TagListDTO | Tag list to add |
PartRevisionDTO checkIn(workspaceId, partNumber, partVersion)
Checkin part revision
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.PartsApi();
var workspaceId = "workspaceId_example"; // String | Workspace id
var partNumber = "partNumber_example"; // String | Part number
var partVersion = "partVersion_example"; // String | Part version
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.checkIn(workspaceId, partNumber, partVersion, callback);
| Name | Type | Description | Notes |
|---|---|---|---|
| workspaceId | String | Workspace id | |
| partNumber | String | Part number | |
| partVersion | String | Part version |
PartRevisionDTO checkOut(workspaceId, partNumber, partVersion)
Checkout part revision
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.PartsApi();
var workspaceId = "workspaceId_example"; // String | Workspace id
var partNumber = "partNumber_example"; // String | Part number
var partVersion = "partVersion_example"; // String | Part version
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.checkOut(workspaceId, partNumber, partVersion, callback);
| Name | Type | Description | Notes |
|---|---|---|---|
| workspaceId | String | Workspace id | |
| partNumber | String | Part number | |
| partVersion | String | Part version |
EffectivityDTO createEffectivity(body, workspaceId, partNumber, partVersion)
Create an Effectivity for a given PartRevision
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.PartsApi();
var body = new DocdokuPlmApi.EffectivityDTO(); // EffectivityDTO | Effectivity to create
var workspaceId = "workspaceId_example"; // String | Workspace id
var partNumber = "partNumber_example"; // String | Part revision number
var partVersion = "partVersion_example"; // String | Part revision version
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.createEffectivity(body, workspaceId, partNumber, partVersion, callback);
| Name | Type | Description | Notes |
|---|---|---|---|
| body | EffectivityDTO | Effectivity to create | |
| workspaceId | String | Workspace id | |
| partNumber | String | Part revision number | |
| partVersion | String | Part revision version |
PartRevisionDTO createNewPart(workspaceId, body)
Create a new part master and its first revision
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.PartsApi();
var workspaceId = "workspaceId_example"; // String | Workspace id
var body = new DocdokuPlmApi.PartCreationDTO(); // PartCreationDTO | Part to create
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.createNewPart(workspaceId, body, callback);
| Name | Type | Description | Notes |
|---|---|---|---|
| workspaceId | String | Workspace id | |
| body | PartCreationDTO | Part to create |
createNewPartVersion(workspaceId, partNumber, partVersion, body)
Create new part version
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.PartsApi();
var workspaceId = "workspaceId_example"; // String | Workspace id
var partNumber = "partNumber_example"; // String | Part number
var partVersion = "partVersion_example"; // String | Part version
var body = new DocdokuPlmApi.PartCreationDTO(); // PartCreationDTO | New version of part to create
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
};
apiInstance.createNewPartVersion(workspaceId, partNumber, partVersion, body, callback);
| Name | Type | Description | Notes |
|---|---|---|---|
| workspaceId | String | Workspace id | |
| partNumber | String | Part number | |
| partVersion | String | Part version | |
| body | PartCreationDTO | New version of part to create |
null (empty response body)
SharedPartDTO createSharedPart(workspaceId, partNumber, partVersion, body)
Create a new shared part from part revision
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.PartsApi();
var workspaceId = "workspaceId_example"; // String | Workspace id
var partNumber = "partNumber_example"; // String | Part number
var partVersion = "partVersion_example"; // String | Part version
var body = new DocdokuPlmApi.SharedPartDTO(); // SharedPartDTO | Shared part to create
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.createSharedPart(workspaceId, partNumber, partVersion, body, callback);
| Name | Type | Description | Notes |
|---|---|---|---|
| workspaceId | String | Workspace id | |
| partNumber | String | Part number | |
| partVersion | String | Part version | |
| body | SharedPartDTO | Shared part to create |
deleteEffectivity(workspaceId, partNumber, partVersion, effectivityId)
Delete effectivity from given part revision
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.PartsApi();
var workspaceId = "workspaceId_example"; // String | Workspace id
var partNumber = "partNumber_example"; // String | Part revision number
var partVersion = "partVersion_example"; // String | Part revision version
var effectivityId = 56; // Number | Effectivity id
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
};
apiInstance.deleteEffectivity(workspaceId, partNumber, partVersion, effectivityId, callback);
| Name | Type | Description | Notes |
|---|---|---|---|
| workspaceId | String | Workspace id | |
| partNumber | String | Part revision number | |
| partVersion | String | Part revision version | |
| effectivityId | Number | Effectivity id |
null (empty response body)
deleteImport(workspaceId, importId)
Delete import
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.PartsApi();
var workspaceId = "workspaceId_example"; // String | Workspace id
var importId = "importId_example"; // String | Import id
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
};
apiInstance.deleteImport(workspaceId, importId, callback);
| Name | Type | Description | Notes |
|---|---|---|---|
| workspaceId | String | Workspace id | |
| importId | String | Import id |
null (empty response body)
deletePartRevision(workspaceId, partNumber, partVersion)
Delete part revision
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.PartsApi();
var workspaceId = "workspaceId_example"; // String | Workspace id
var partNumber = "partNumber_example"; // String | Part number
var partVersion = "partVersion_example"; // String | Part version
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
};
apiInstance.deletePartRevision(workspaceId, partNumber, partVersion, callback);
| Name | Type | Description | Notes |
|---|---|---|---|
| workspaceId | String | Workspace id | |
| partNumber | String | Part number | |
| partVersion | String | Part version |
null (empty response body)
deleteQuery(workspaceId, queryId)
Delete custom query
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.PartsApi();
var workspaceId = "workspaceId_example"; // String | Workspace id
var queryId = 56; // Number | Query id
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
};
apiInstance.deleteQuery(workspaceId, queryId, callback);
| Name | Type | Description | Notes |
|---|---|---|---|
| workspaceId | String | Workspace id | |
| queryId | Number | Query id |
null (empty response body)
File exportCustomQuery(workspaceId, body, opts)
Run and export a custom query
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.PartsApi();
var workspaceId = "workspaceId_example"; // String | Workspace id
var body = new DocdokuPlmApi.QueryDTO(); // QueryDTO | Query to export
var opts = {
'_export': "JSON" // String | Choose export type
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.exportCustomQuery(workspaceId, body, opts, callback);
| Name | Type | Description | Notes |
|---|---|---|---|
| workspaceId | String | Workspace id | |
| body | QueryDTO | Query to export | |
| _export | String | Choose export type | [optional] [default to JSON] |
File
File exportExistingQuery(workspaceId, queryId, _export)
Run and export an existing query
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.PartsApi();
var workspaceId = "workspaceId_example"; // String | Workspace id
var queryId = 56; // Number | Query id
var _export = "_export_example"; // String | Choose export type
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.exportExistingQuery(workspaceId, queryId, _export, callback);
| Name | Type | Description | Notes |
|---|---|---|---|
| workspaceId | String | Workspace id | |
| queryId | Number | Query id | |
| _export | String | Choose export type |
File
PartIterationDTO filterPartMasterInBaseline(workspaceId, partNumber, baselineId)
Filter part master with in baseline : resolve part iteration
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.PartsApi();
var workspaceId = "workspaceId_example"; // String | Workspace id
var partNumber = "partNumber_example"; // String | Part number
var baselineId = 56; // Number | Baseline id
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.filterPartMasterInBaseline(workspaceId, partNumber, baselineId, callback);
| Name | Type | Description | Notes |
|---|---|---|---|
| workspaceId | String | Workspace id | |
| partNumber | String | Part number | |
| baselineId | Number | Baseline id |
[WorkflowDTO] getAbortedWorkflowListInPart(workspaceId, partNumber, partVersion)
Get part revision's aborted workflow list
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.PartsApi();
var workspaceId = "workspaceId_example"; // String | Workspace id
var partNumber = "partNumber_example"; // String | Part number
var partVersion = "partVersion_example"; // String | Part version
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.getAbortedWorkflowListInPart(workspaceId, partNumber, partVersion, callback);
| Name | Type | Description | Notes |
|---|---|---|---|
| workspaceId | String | Workspace id | |
| partNumber | String | Part number | |
| partVersion | String | Part version |
[ProductBaselineDTO] getBaselinesWherePartRevisionHasIterations(workspaceId, partNumber, partVersion)
Get product baselines where part revision is involved
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.PartsApi();
var workspaceId = "workspaceId_example"; // String | Workspace id
var partNumber = "partNumber_example"; // String | Part number
var partVersion = "partVersion_example"; // String | Part version
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.getBaselinesWherePartRevisionHasIterations(workspaceId, partNumber, partVersion, callback);
| Name | Type | Description | Notes |
|---|---|---|---|
| workspaceId | String | Workspace id | |
| partNumber | String | Part number | |
| partVersion | String | Part version |
CountDTO getCheckedOutNumberOfItems(workspaceId)
Count checked out part revisions
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.PartsApi();
var workspaceId = "workspaceId_example"; // String | Workspace id
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.getCheckedOutNumberOfItems(workspaceId, callback);
| Name | Type | Description | Notes |
|---|---|---|---|
| workspaceId | String | Workspace id |
[PartRevisionDTO] getCheckedOutPartRevisions(workspaceId)
Get checked out part revisions
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.PartsApi();
var workspaceId = "workspaceId_example"; // String | Workspace id
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.getCheckedOutPartRevisions(workspaceId, callback);
| Name | Type | Description | Notes |
|---|---|---|---|
| workspaceId | String | Workspace id |
ConversionDTO getConversionStatus(workspaceId, partNumber, partVersion, partIteration)
Get part iteration conversion status
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.PartsApi();
var workspaceId = "workspaceId_example"; // String | Workspace id
var partNumber = "partNumber_example"; // String | Part number
var partVersion = "partVersion_example"; // String | Part version
var partIteration = 56; // Number | Part iteration
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.getConversionStatus(workspaceId, partNumber, partVersion, partIteration, callback);
| Name | Type | Description | Notes |
|---|---|---|---|
| workspaceId | String | Workspace id | |
| partNumber | String | Part number | |
| partVersion | String | Part version | |
| partIteration | Number | Part iteration |
[QueryDTO] getCustomQueries(workspaceId)
Get custom queries in workspace
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.PartsApi();
var workspaceId = "workspaceId_example"; // String | Workspace id
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.getCustomQueries(workspaceId, callback);
| Name | Type | Description | Notes |
|---|---|---|---|
| workspaceId | String | Workspace id |
[EffectivityDTO] getEffectivities(workspaceId, partNumber, partVersion)
Get effectivities of a given PartRevision
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.PartsApi();
var workspaceId = "workspaceId_example"; // String | Workspace id
var partNumber = "partNumber_example"; // String | Part revision number
var partVersion = "partVersion_example"; // String | Part revision version
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.getEffectivities(workspaceId, partNumber, partVersion, callback);
| Name | Type | Description | Notes |
|---|---|---|---|
| workspaceId | String | Workspace id | |
| partNumber | String | Part revision number | |
| partVersion | String | Part revision version |
ImportDTO getImport(workspaceId, importId)
Get import by id
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.PartsApi();
var workspaceId = "workspaceId_example"; // String | Workspace id
var importId = "importId_example"; // String | Import id
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.getImport(workspaceId, importId, callback);
| Name | Type | Description | Notes |
|---|---|---|---|
| workspaceId | String | Workspace id | |
| importId | String | Import id |
ImportPreviewDTO getImportPreview(workspaceId, importType, opts)
Get import preview
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.PartsApi();
var workspaceId = "workspaceId_example"; // String | Workspace id
var importType = "importType_example"; // String | Import type
var opts = {
'autoCheckout': true, // Boolean | Auto check out parts flag
'autoCheckin': true, // Boolean | Auto check in parts flag
'permissiveUpdate': true // Boolean | Permissive update flag
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.getImportPreview(workspaceId, importType, opts, callback);
| Name | Type | Description | Notes |
|---|---|---|---|
| workspaceId | String | Workspace id | |
| importType | String | Import type | |
| autoCheckout | Boolean | Auto check out parts flag | [optional] |
| autoCheckin | Boolean | Auto check in parts flag | [optional] |
| permissiveUpdate | Boolean | Permissive update flag | [optional] |
[ImportDTO] getImports(workspaceId, filename)
Get imports currently running for given file
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.PartsApi();
var workspaceId = "workspaceId_example"; // String | Workspace id
var filename = "filename_example"; // String | File name
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.getImports(workspaceId, filename, callback);
| Name | Type | Description | Notes |
|---|---|---|---|
| workspaceId | String | Workspace id | |
| filename | String | File name |
[LeafDTO] getInstancesUnderPart(workspaceId, partNumber, partVersion)
Get instances under given part revision (latest checked-in view)
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.PartsApi();
var workspaceId = "workspaceId_example"; // String | Workspace id
var partNumber = "partNumber_example"; // String | Part number
var partVersion = "partVersion_example"; // String | Part version
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.getInstancesUnderPart(workspaceId, partNumber, partVersion, callback);
| Name | Type | Description | Notes |
|---|---|---|---|
| workspaceId | String | Workspace id | |
| partNumber | String | Part number | |
| partVersion | String | Part version |
PartRevisionDTO getLatestPartRevision(workspaceId, partNumber)
Get part master latest available revision
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.PartsApi();
var workspaceId = "workspaceId_example"; // String | Workspace id
var partNumber = "partNumber_example"; // String | Part number
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.getLatestPartRevision(workspaceId, partNumber, callback);
| Name | Type | Description | Notes |
|---|---|---|---|
| workspaceId | String | Workspace id | |
| partNumber | String | Part number |
PartRevisionDTO getPartRevision(workspaceId, partNumber, partVersion)
Get part revision
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.PartsApi();
var workspaceId = "workspaceId_example"; // String | Workspace id
var partNumber = "partNumber_example"; // String | Part number
var partVersion = "partVersion_example"; // String | Part version
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.getPartRevision(workspaceId, partNumber, partVersion, callback);
| Name | Type | Description | Notes |
|---|---|---|---|
| workspaceId | String | Workspace id | |
| partNumber | String | Part number | |
| partVersion | String | Part version |
[PartRevisionDTO] getPartRevisions(workspaceId, opts)
Get part revisions in workspace
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.PartsApi();
var workspaceId = "workspaceId_example"; // String | Workspace id
var opts = {
'start': 0, // Number | Start offset
'length': 20 // Number | Max results
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.getPartRevisions(workspaceId, opts, callback);
| Name | Type | Description | Notes |
|---|---|---|---|
| workspaceId | String | Workspace id | |
| start | Number | Start offset | [optional] [default to 0] |
| length | Number | Max results | [optional] [default to 20] |
[PartRevisionDTO] getPartRevisionsByTag(workspaceId, tagId)
Get part revisions in workspace
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.PartsApi();
var workspaceId = "workspaceId_example"; // String | Workspace id
var tagId = "tagId_example"; // String | Tag id
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.getPartRevisionsByTag(workspaceId, tagId, callback);
| Name | Type | Description | Notes |
|---|---|---|---|
| workspaceId | String | Workspace id | |
| tagId | String | Tag id |
[ProductInstanceMasterDTO] getProductInstanceMasters(workspaceId, partNumber, partVersion)
Get product instance where part revision is in use
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.PartsApi();
var workspaceId = "workspaceId_example"; // String | Workspace id
var partNumber = "partNumber_example"; // String | Part number
var partVersion = "partVersion_example"; // String | Part version
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.getProductInstanceMasters(workspaceId, partNumber, partVersion, callback);
| Name | Type | Description | Notes |
|---|---|---|---|
| workspaceId | String | Workspace id | |
| partNumber | String | Part number | |
| partVersion | String | Part version |
CountDTO getTotalNumberOfParts(workspaceId)
Count part revisions in workspace
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.PartsApi();
var workspaceId = "workspaceId_example"; // String | Workspace id
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.getTotalNumberOfParts(workspaceId, callback);
| Name | Type | Description | Notes |
|---|---|---|---|
| workspaceId | String | Workspace id |
[PartRevisionDTO] getUsedByAsComponent(workspaceId, partNumber, partVersion)
Get part revisions where given part revision is used as a component
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.PartsApi();
var workspaceId = "workspaceId_example"; // String | Workspace id
var partNumber = "partNumber_example"; // String | Part number
var partVersion = "partVersion_example"; // String | Part version
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.getUsedByAsComponent(workspaceId, partNumber, partVersion, callback);
| Name | Type | Description | Notes |
|---|---|---|---|
| workspaceId | String | Workspace id | |
| partNumber | String | Part number | |
| partVersion | String | Part version |
[PartRevisionDTO] getUsedByAsSubstitute(workspaceId, partNumber, partVersion)
Get part revisions where given part revision is used as a substitute
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.PartsApi();
var workspaceId = "workspaceId_example"; // String | Workspace id
var partNumber = "partNumber_example"; // String | Part number
var partVersion = "partVersion_example"; // String | Part version
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.getUsedByAsSubstitute(workspaceId, partNumber, partVersion, callback);
| Name | Type | Description | Notes |
|---|---|---|---|
| workspaceId | String | Workspace id | |
| partNumber | String | Part number | |
| partVersion | String | Part version |
importPartAttributes(workspaceId, importType, opts)
Import part iteration attributes from file
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.PartsApi();
var workspaceId = "workspaceId_example"; // String | Workspace id
var importType = "importType_example"; // String | Import type
var opts = {
'autoCheckout': true, // Boolean | Auto check out parts flag
'autoCheckin': true, // Boolean | Auto check in parts flag
'permissiveUpdate': true, // Boolean | Permissive update flag
'revisionNote': "revisionNote_example" // String | Revision note to add
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
};
apiInstance.importPartAttributes(workspaceId, importType, opts, callback);
| Name | Type | Description | Notes |
|---|---|---|---|
| workspaceId | String | Workspace id | |
| importType | String | Import type | |
| autoCheckout | Boolean | Auto check out parts flag | [optional] |
| autoCheckin | Boolean | Auto check in parts flag | [optional] |
| permissiveUpdate | Boolean | Permissive update flag | [optional] |
| revisionNote | String | Revision note to add | [optional] |
null (empty response body)
PartRevisionDTO markPartRevisionAsObsolete(workspaceId, partNumber, partVersion)
Set part revision as obsolete
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.PartsApi();
var workspaceId = "workspaceId_example"; // String | Workspace id
var partNumber = "partNumber_example"; // String | Part number
var partVersion = "partVersion_example"; // String | Part version
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.markPartRevisionAsObsolete(workspaceId, partNumber, partVersion, callback);
| Name | Type | Description | Notes |
|---|---|---|---|
| workspaceId | String | Workspace id | |
| partNumber | String | Part number | |
| partVersion | String | Part version |
publishPartRevision(workspaceId, partNumber, partVersion)
Publish part revision
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.PartsApi();
var workspaceId = "workspaceId_example"; // String | Workspace id
var partNumber = "partNumber_example"; // String | Part number
var partVersion = "partVersion_example"; // String | Part version
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
};
apiInstance.publishPartRevision(workspaceId, partNumber, partVersion, callback);
| Name | Type | Description | Notes |
|---|---|---|---|
| workspaceId | String | Workspace id | |
| partNumber | String | Part number | |
| partVersion | String | Part version |
null (empty response body)
PartRevisionDTO releasePartRevision(workspaceId, partNumber, partVersion)
Release part revision
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.PartsApi();
var workspaceId = "workspaceId_example"; // String | Workspace id
var partNumber = "partNumber_example"; // String | Part number
var partVersion = "partVersion_example"; // String | Part version
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.releasePartRevision(workspaceId, partNumber, partVersion, callback);
| Name | Type | Description | Notes |
|---|---|---|---|
| workspaceId | String | Workspace id | |
| partNumber | String | Part number | |
| partVersion | String | Part version |
removeFile(workspaceId, partNumber, partVersion, partIteration, subType, fileName)
Remove file from part iteration
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.PartsApi();
var workspaceId = "workspaceId_example"; // String | Workspace id
var partNumber = "partNumber_example"; // String | Part number
var partVersion = "partVersion_example"; // String | Part version
var partIteration = 56; // Number | Part iteration
var subType = "subType_example"; // String | Sub type
var fileName = "fileName_example"; // String | File name
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
};
apiInstance.removeFile(workspaceId, partNumber, partVersion, partIteration, subType, fileName, callback);
| Name | Type | Description | Notes |
|---|---|---|---|
| workspaceId | String | Workspace id | |
| partNumber | String | Part number | |
| partVersion | String | Part version | |
| partIteration | Number | Part iteration | |
| subType | String | Sub type | |
| fileName | String | File name |
null (empty response body)
PartRevisionDTO removePartTags(workspaceId, partNumber, partVersion, tagName)
Delete tags from part revision
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.PartsApi();
var workspaceId = "workspaceId_example"; // String | Workspace id
var partNumber = "partNumber_example"; // String | Part number
var partVersion = "partVersion_example"; // String | Part version
var tagName = "tagName_example"; // String | Tag name
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.removePartTags(workspaceId, partNumber, partVersion, tagName, callback);
| Name | Type | Description | Notes |
|---|---|---|---|
| workspaceId | String | Workspace id | |
| partNumber | String | Part number | |
| partVersion | String | Part version | |
| tagName | String | Tag name |
renameAttachedFileInPartIteration(workspaceId, partNumber, partVersion, partIteration, subType, fileName, body)
Rename attached file from part iteration
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.PartsApi();
var workspaceId = "workspaceId_example"; // String | Workspace id
var partNumber = "partNumber_example"; // String | Part number
var partVersion = "partVersion_example"; // String | Part version
var partIteration = 56; // Number | Part iteration
var subType = "subType_example"; // String | Sub type
var fileName = "fileName_example"; // String | File name
var body = new DocdokuPlmApi.FileDTO(); // FileDTO | File to rename
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
};
apiInstance.renameAttachedFileInPartIteration(workspaceId, partNumber, partVersion, partIteration, subType, fileName, body, callback);
| Name | Type | Description | Notes |
|---|---|---|---|
| workspaceId | String | Workspace id | |
| partNumber | String | Part number | |
| partVersion | String | Part version | |
| partIteration | Number | Part iteration | |
| subType | String | Sub type | |
| fileName | String | File name | |
| body | FileDTO | File to rename |
null (empty response body)
retryConversion(workspaceId, partNumber, partVersion, partIteration)
Retry part iteration conversion
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.PartsApi();
var workspaceId = "workspaceId_example"; // String | Workspace id
var partNumber = "partNumber_example"; // String | Part number
var partVersion = "partVersion_example"; // String | Part version
var partIteration = 56; // Number | Part iteration
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
};
apiInstance.retryConversion(workspaceId, partNumber, partVersion, partIteration, callback);
| Name | Type | Description | Notes |
|---|---|---|---|
| workspaceId | String | Workspace id | |
| partNumber | String | Part number | |
| partVersion | String | Part version | |
| partIteration | Number | Part iteration |
null (empty response body)
File runCustomQuery(workspaceId, body, opts)
Run custom query in workspace
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.PartsApi();
var workspaceId = "workspaceId_example"; // String | Workspace id
var body = new DocdokuPlmApi.QueryDTO(); // QueryDTO | Query to run
var opts = {
'save': false, // Boolean | Save the query flag
'_export': "JSON" // String | Choose export type
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.runCustomQuery(workspaceId, body, opts, callback);
| Name | Type | Description | Notes |
|---|---|---|---|
| workspaceId | String | Workspace id | |
| body | QueryDTO | Query to run | |
| save | Boolean | Save the query flag | [optional] [default to false] |
| _export | String | Choose export type | [optional] [default to JSON] |
File
PartRevisionDTO savePartTags(workspaceId, partNumber, partVersion, body)
Save part revision tags
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.PartsApi();
var workspaceId = "workspaceId_example"; // String | Workspace id
var partNumber = "partNumber_example"; // String | Part number
var partVersion = "partVersion_example"; // String | Part version
var body = new DocdokuPlmApi.TagListDTO(); // TagListDTO | Tag list to add
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.savePartTags(workspaceId, partNumber, partVersion, body, callback);
| Name | Type | Description | Notes |
|---|---|---|---|
| workspaceId | String | Workspace id | |
| partNumber | String | Part number | |
| partVersion | String | Part version | |
| body | TagListDTO | Tag list to add |
[LightPartMasterDTO] searchPartNumbers(workspaceId, q)
Search for available part numbers in given workspace
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.PartsApi();
var workspaceId = "workspaceId_example"; // String | Workspace id
var q = "q_example"; // String | Query
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.searchPartNumbers(workspaceId, q, callback);
| Name | Type | Description | Notes |
|---|---|---|---|
| workspaceId | String | Workspace id | |
| q | String | Query |
[PartRevisionDTO] searchPartRevisions(workspaceId, opts)
Search part revisions in workspace
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.PartsApi();
var workspaceId = "workspaceId_example"; // String | Workspace id
var opts = {
'q': "q_example", // String | Query
'_number': "_number_example", // String | Part number
'name': "name_example", // String | Part name
'version': "version_example", // String | Part version
'author': "author_example", // String | Part author
'type': "type_example", // String | Part type
'createdFrom': "createdFrom_example", // String | Part created from date
'createdTo': "createdTo_example", // String | Part created to date
'modifiedFrom': "modifiedFrom_example", // String | Part modified from date
'modifiedTo': "modifiedTo_example", // String | Part modified to date
'tags': "tags_example", // String | Part tags
'content': "content_example", // String | Part files content
'attributes': "attributes_example", // String | Part files attributes
'from': 0, // Number | Start offset
'size': 10, // Number | Max results
'fetchHeadOnly': true // Boolean | Search mode (false for history / true for head only)
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.searchPartRevisions(workspaceId, opts, callback);
| Name | Type | Description | Notes |
|---|---|---|---|
| workspaceId | String | Workspace id | |
| q | String | Query | [optional] |
| _number | String | Part number | [optional] |
| name | String | Part name | [optional] |
| version | String | Part version | [optional] |
| author | String | Part author | [optional] |
| type | String | Part type | [optional] |
| createdFrom | String | Part created from date | [optional] |
| createdTo | String | Part created to date | [optional] |
| modifiedFrom | String | Part modified from date | [optional] |
| modifiedTo | String | Part modified to date | [optional] |
| tags | String | Part tags | [optional] |
| content | String | Part files content | [optional] |
| attributes | String | Part files attributes | [optional] |
| from | Number | Start offset | [optional] [default to 0] |
| size | Number | Max results | [optional] [default to 10] |
| fetchHeadOnly | Boolean | Search mode (false for history / true for head only) | [optional] |
[PartIterationDTO] searchPartsLastIterationWithReferenceOrName(workspaceId, q, opts)
Search documents last iteration to link
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.PartsApi();
var workspaceId = "workspaceId_example"; // String | Workspace id
var q = "q_example"; // String | Query
var opts = {
'l': 15 // Number | Max results
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.searchPartsLastIterationWithReferenceOrName(workspaceId, q, opts, callback);
| Name | Type | Description | Notes |
|---|---|---|---|
| workspaceId | String | Workspace id | |
| q | String | Query | |
| l | Number | Max results | [optional] [default to 15] |
unPublishPartRevision(workspaceId, partNumber, partVersion)
Un-publish part revision
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.PartsApi();
var workspaceId = "workspaceId_example"; // String | Workspace id
var partNumber = "partNumber_example"; // String | Part number
var partVersion = "partVersion_example"; // String | Part version
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
};
apiInstance.unPublishPartRevision(workspaceId, partNumber, partVersion, callback);
| Name | Type | Description | Notes |
|---|---|---|---|
| workspaceId | String | Workspace id | |
| partNumber | String | Part number | |
| partVersion | String | Part version |
null (empty response body)
PartRevisionDTO undoCheckOut(workspaceId, partNumber, partVersion)
Undo checkout part revision
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.PartsApi();
var workspaceId = "workspaceId_example"; // String | Workspace id
var partNumber = "partNumber_example"; // String | Part number
var partVersion = "partVersion_example"; // String | Part version
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.undoCheckOut(workspaceId, partNumber, partVersion, callback);
| Name | Type | Description | Notes |
|---|---|---|---|
| workspaceId | String | Workspace id | |
| partNumber | String | Part number | |
| partVersion | String | Part version |
PartRevisionDTO updatePartIteration(workspaceId, partNumber, partVersion, partIteration, body)
Update part iteration
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.PartsApi();
var workspaceId = "workspaceId_example"; // String | Workspace id
var partNumber = "partNumber_example"; // String | Part number
var partVersion = "partVersion_example"; // String | Part version
var partIteration = 56; // Number | Part iteration
var body = new DocdokuPlmApi.PartIterationDTO(); // PartIterationDTO | Part iteration to update
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.updatePartIteration(workspaceId, partNumber, partVersion, partIteration, body, callback);
| Name | Type | Description | Notes |
|---|---|---|---|
| workspaceId | String | Workspace id | |
| partNumber | String | Part number | |
| partVersion | String | Part version | |
| partIteration | Number | Part iteration | |
| body | PartIterationDTO | Part iteration to update |
updatePartRevisionACL(workspaceId, partNumber, partVersion, body)
Update part revision ACL
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.PartsApi();
var workspaceId = "workspaceId_example"; // String | Workspace id
var partNumber = "partNumber_example"; // String | Part number
var partVersion = "partVersion_example"; // String | Part version
var body = new DocdokuPlmApi.ACLDTO(); // ACLDTO | ACL rules to set
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
};
apiInstance.updatePartRevisionACL(workspaceId, partNumber, partVersion, body, callback);
| Name | Type | Description | Notes |
|---|---|---|---|
| workspaceId | String | Workspace id | |
| partNumber | String | Part number | |
| partVersion | String | Part version | |
| body | ACLDTO | ACL rules to set |
null (empty response body)