DocdokuPlmApi.IssuesApi

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

addTagToChangeIssue

ChangeIssueDTO addTagToChangeIssue(workspaceId, issueId, body)

Attached a new tag to a change issue

Example

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

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

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

Parameters

Name Type Description Notes
workspaceId String Workspace id
issueId Number Issue id
body TagListDTO Tag list to add

Return type

ChangeIssueDTO

Authorization

authorization

HTTP request headers

createIssue

ChangeIssueDTO createIssue(workspaceId, body)

Create a new change issue

Example

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

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

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

Parameters

Name Type Description Notes
workspaceId String Workspace id
body ChangeIssueDTO Change issue to create

Return type

ChangeIssueDTO

Authorization

authorization

HTTP request headers

getIssue

ChangeIssueDTO getIssue(workspaceId, issueId)

Get change issue with given id

Example

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

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

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

Parameters

Name Type Description Notes
workspaceId String Workspace id
issueId Number Issue id

Return type

ChangeIssueDTO

Authorization

authorization

HTTP request headers

getIssues

[ChangeIssueDTO] getIssues(workspaceId)

Get change issues for given parameters

Example

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

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

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

Parameters

Name Type Description Notes
workspaceId String Workspace id

Return type

[ChangeIssueDTO]

Authorization

authorization

HTTP request headers

removeIssue

ChangeIssueDTO removeIssue(workspaceId, issueId)

Delete change issue

Example

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

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

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

Parameters

Name Type Description Notes
workspaceId String Workspace id
issueId Number Issue id

Return type

ChangeIssueDTO

Authorization

authorization

HTTP request headers

removeTagsFromChangeIssue

ChangeIssueDTO removeTagsFromChangeIssue(workspaceId, issueId, tagName)

Delete a tag attached to a change issue

Example

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

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

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

Parameters

Name Type Description Notes
workspaceId String Workspace id
issueId Number Issue id
tagName String Tag name

Return type

ChangeIssueDTO

Authorization

authorization

HTTP request headers

saveChangeIssueAffectedDocuments

ChangeIssueDTO saveChangeIssueAffectedDocuments(workspaceId, issueId, body)

Attach a document to a change issue

Example

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

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

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

Parameters

Name Type Description Notes
workspaceId String Workspace id
issueId Number Issue id
body DocumentIterationListDTO Document list to save as affected

Return type

ChangeIssueDTO

Authorization

authorization

HTTP request headers

saveChangeIssueAffectedParts

ChangeIssueDTO saveChangeIssueAffectedParts(workspaceId, issueId, body)

Attach a part to a change issue

Example

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

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

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

Parameters

Name Type Description Notes
workspaceId String Workspace id
issueId Number Issue id
body PartIterationListDTO Part list to save as affected

Return type

ChangeIssueDTO

Authorization

authorization

HTTP request headers

saveChangeItemTags

ChangeIssueDTO saveChangeItemTags(workspaceId, issueId, body)

Update tags attached to a change issue

Example

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

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

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

Parameters

Name Type Description Notes
workspaceId String Workspace id
issueId Number Issue id
body TagListDTO Tag list to add

Return type

ChangeIssueDTO

Authorization

authorization

HTTP request headers

searchIssuesByName

[ChangeIssueDTO] searchIssuesByName(workspaceId, q)

Search change issue with given name

Example

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

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

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

Parameters

Name Type Description Notes
workspaceId String Workspace id
q String Query

Return type

[ChangeIssueDTO]

Authorization

authorization

HTTP request headers

updateChangeIssueACL

ChangeIssueDTO updateChangeIssueACL(workspaceId, issueId, body)

Update ACL of a change issue

Example

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

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

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

Parameters

Name Type Description Notes
workspaceId String Workspace id
issueId Number Issue id
body ACLDTO ACL rules to set

Return type

ChangeIssueDTO

Authorization

authorization

HTTP request headers

updateIssue

ChangeIssueDTO updateIssue(workspaceId, issueId, body)

Update change issue

Example

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

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

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

Parameters

Name Type Description Notes
workspaceId String Workspace id
issueId Number Issue id
body ChangeIssueDTO Change issue to update

Return type

ChangeIssueDTO

Authorization

authorization

HTTP request headers