All URIs are relative to http://docdokuplm.net/eplmp-server-rest/api
Method | HTTP request | Description |
---|---|---|
addTagToChangeIssue | POST /workspaces/{workspaceId}/changes/issues/{issueId}/tags | Attached a new tag to a change issue |
createIssue | POST /workspaces/{workspaceId}/changes/issues | Create a new change issue |
getIssue | GET /workspaces/{workspaceId}/changes/issues/{issueId} | Get change issue with given id |
getIssues | GET /workspaces/{workspaceId}/changes/issues | Get change issues for given parameters |
removeIssue | DELETE /workspaces/{workspaceId}/changes/issues/{issueId} | Delete change issue |
removeTagsFromChangeIssue | DELETE /workspaces/{workspaceId}/changes/issues/{issueId}/tags/{tagName} | Delete a tag attached to a change issue |
saveChangeIssueAffectedDocuments | PUT /workspaces/{workspaceId}/changes/issues/{issueId}/affected-documents | Attach a document to a change issue |
saveChangeIssueAffectedParts | PUT /workspaces/{workspaceId}/changes/issues/{issueId}/affected-parts | Attach a part to a change issue |
saveChangeItemTags | PUT /workspaces/{workspaceId}/changes/issues/{issueId}/tags | Update tags attached to a change issue |
searchIssuesByName | GET /workspaces/{workspaceId}/changes/issues/link | Search change issue with given name |
updateChangeIssueACL | PUT /workspaces/{workspaceId}/changes/issues/{issueId}/acl | Update ACL of a change issue |
updateIssue | PUT /workspaces/{workspaceId}/changes/issues/{issueId} | Update change issue |
ChangeIssueDTO addTagToChangeIssue(workspaceId, issueId, body)
Attached a new tag to a change issue
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.IssuesApi();
var workspaceId = "workspaceId_example"; // String | Workspace id
var issueId = 56; // Number | Issue id
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.addTagToChangeIssue(workspaceId, issueId, body, callback);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
issueId | Number | Issue id | |
body | TagListDTO | Tag list to add |
ChangeIssueDTO createIssue(workspaceId, body)
Create a new change issue
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.IssuesApi();
var workspaceId = "workspaceId_example"; // String | Workspace id
var body = new DocdokuPlmApi.ChangeIssueDTO(); // ChangeIssueDTO | Change issue to create
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.createIssue(workspaceId, body, callback);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
body | ChangeIssueDTO | Change issue to create |
ChangeIssueDTO getIssue(workspaceId, issueId)
Get change issue with given 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.IssuesApi();
var workspaceId = "workspaceId_example"; // String | Workspace id
var issueId = 56; // Number | Issue id
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.getIssue(workspaceId, issueId, callback);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
issueId | Number | Issue id |
[ChangeIssueDTO] getIssues(workspaceId)
Get change issues for given parameters
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.IssuesApi();
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.getIssues(workspaceId, callback);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id |
ChangeIssueDTO removeIssue(workspaceId, issueId)
Delete change issue
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.IssuesApi();
var workspaceId = "workspaceId_example"; // String | Workspace id
var issueId = 56; // Number | Issue id
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.removeIssue(workspaceId, issueId, callback);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
issueId | Number | Issue id |
ChangeIssueDTO removeTagsFromChangeIssue(workspaceId, issueId, tagName)
Delete a tag attached to a change issue
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.IssuesApi();
var workspaceId = "workspaceId_example"; // String | Workspace id
var issueId = 56; // Number | Issue id
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.removeTagsFromChangeIssue(workspaceId, issueId, tagName, callback);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
issueId | Number | Issue id | |
tagName | String | Tag name |
ChangeIssueDTO saveChangeIssueAffectedDocuments(workspaceId, issueId, body)
Attach a document to a change issue
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.IssuesApi();
var workspaceId = "workspaceId_example"; // String | Workspace id
var issueId = 56; // Number | Issue id
var body = new DocdokuPlmApi.DocumentIterationListDTO(); // DocumentIterationListDTO | Document list to save as affected
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.saveChangeIssueAffectedDocuments(workspaceId, issueId, body, callback);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
issueId | Number | Issue id | |
body | DocumentIterationListDTO | Document list to save as affected |
ChangeIssueDTO saveChangeIssueAffectedParts(workspaceId, issueId, body)
Attach a part to a change issue
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.IssuesApi();
var workspaceId = "workspaceId_example"; // String | Workspace id
var issueId = 56; // Number | Issue id
var body = new DocdokuPlmApi.PartIterationListDTO(); // PartIterationListDTO | Part list to save as affected
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.saveChangeIssueAffectedParts(workspaceId, issueId, body, callback);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
issueId | Number | Issue id | |
body | PartIterationListDTO | Part list to save as affected |
ChangeIssueDTO saveChangeItemTags(workspaceId, issueId, body)
Update tags attached to a change issue
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.IssuesApi();
var workspaceId = "workspaceId_example"; // String | Workspace id
var issueId = 56; // Number | Issue id
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.saveChangeItemTags(workspaceId, issueId, body, callback);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
issueId | Number | Issue id | |
body | TagListDTO | Tag list to add |
[ChangeIssueDTO] searchIssuesByName(workspaceId, q)
Search change issue with given name
var DocdokuPlmApi = require('docdoku-plm-api');
var defaultClient = DocdokuPlmApi.ApiClient.instance;
// Configure API key authorization: authorization
var authorization = defaultClient.authentications['authorization'];
authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorization.apiKeyPrefix = 'Token';
var apiInstance = new DocdokuPlmApi.IssuesApi();
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.searchIssuesByName(workspaceId, q, callback);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
q | String | Query |
ChangeIssueDTO updateChangeIssueACL(workspaceId, issueId, body)
Update ACL of a change issue
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.IssuesApi();
var workspaceId = "workspaceId_example"; // String | Workspace id
var issueId = 56; // Number | Issue id
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. Returned data: ' + data);
}
};
apiInstance.updateChangeIssueACL(workspaceId, issueId, body, callback);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
issueId | Number | Issue id | |
body | ACLDTO | ACL rules to set |
ChangeIssueDTO updateIssue(workspaceId, issueId, body)
Update change issue
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.IssuesApi();
var workspaceId = "workspaceId_example"; // String | Workspace id
var issueId = 56; // Number | Issue id
var body = new DocdokuPlmApi.ChangeIssueDTO(); // ChangeIssueDTO | Change issue to update
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.updateIssue(workspaceId, issueId, body, callback);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
issueId | Number | Issue id | |
body | ChangeIssueDTO | Change issue to update |