All URIs are relative to http://docdokuplm.net/eplmp-server-rest/api
Method | HTTP request | Description |
---|---|---|
addTagToChangeOrder | POST /workspaces/{workspaceId}/changes/orders/{orderId}/tags | Add new tag to order |
createOrder | POST /workspaces/{workspaceId}/changes/orders | Create order |
getOrder | GET /workspaces/{workspaceId}/changes/orders/{orderId} | Get order |
getOrders | GET /workspaces/{workspaceId}/changes/orders | Get orders for given parameters |
removeOrder | DELETE /workspaces/{workspaceId}/changes/orders/{orderId} | Delete order |
removeTagsFromChangeOrder | DELETE /workspaces/{workspaceId}/changes/orders/{orderId}/tags/{tagName} | Delete tag attached to order |
saveAffectedRequests | PUT /workspaces/{workspaceId}/changes/orders/{orderId}/affected-requests | Attach request to order |
saveChangeOrderAffectedDocuments | PUT /workspaces/{workspaceId}/changes/orders/{orderId}/affected-documents | Attach document to order |
saveChangeOrderAffectedParts | PUT /workspaces/{workspaceId}/changes/orders/{orderId}/affected-parts | Attach part to order |
saveChangeOrderTags | PUT /workspaces/{workspaceId}/changes/orders/{orderId}/tags | Update tag attached to order |
updateChangeOrderACL | PUT /workspaces/{workspaceId}/changes/orders/{orderId}/acl | Update ACL of the order |
updateOrder | PUT /workspaces/{workspaceId}/changes/orders/{orderId} | Update order |
ChangeOrderDTO addTagToChangeOrder(workspaceId, orderId, body)
Add new tag to order
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.OrdersApi();
var workspaceId = "workspaceId_example"; // String | Workspace id
var orderId = 56; // Number | Order 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.addTagToChangeOrder(workspaceId, orderId, body, callback);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
orderId | Number | Order id | |
body | TagListDTO | Tag list to add |
ChangeOrderDTO createOrder(workspaceId, body)
Create order
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.OrdersApi();
var workspaceId = "workspaceId_example"; // String | Workspace id
var body = new DocdokuPlmApi.ChangeOrderDTO(); // ChangeOrderDTO | Change order to create
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.createOrder(workspaceId, body, callback);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
body | ChangeOrderDTO | Change order to create |
ChangeOrderDTO getOrder(workspaceId, orderId)
Get order
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.OrdersApi();
var workspaceId = "workspaceId_example"; // String | Workspace id
var orderId = 56; // Number | Order id
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.getOrder(workspaceId, orderId, callback);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
orderId | Number | Order id |
[ChangeOrderDTO] getOrders(workspaceId)
Get orders 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.OrdersApi();
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.getOrders(workspaceId, callback);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id |
removeOrder(workspaceId, orderId)
Delete order
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.OrdersApi();
var workspaceId = "workspaceId_example"; // String | Workspace id
var orderId = 56; // Number | Order id
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
};
apiInstance.removeOrder(workspaceId, orderId, callback);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
orderId | Number | Order id |
null (empty response body)
ChangeOrderDTO removeTagsFromChangeOrder(workspaceId, orderId, tagName)
Delete tag attached to order
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.OrdersApi();
var workspaceId = "workspaceId_example"; // String | Workspace id
var orderId = 56; // Number | Order 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.removeTagsFromChangeOrder(workspaceId, orderId, tagName, callback);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
orderId | Number | Order id | |
tagName | String | Tag name |
ChangeOrderDTO saveAffectedRequests(workspaceId, orderId, body)
Attach request to order
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.OrdersApi();
var workspaceId = "workspaceId_example"; // String | Workspace id
var orderId = 56; // Number | Order id
var body = new DocdokuPlmApi.ChangeRequestListDTO(); // ChangeRequestListDTO | Change requests 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.saveAffectedRequests(workspaceId, orderId, body, callback);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
orderId | Number | Order id | |
body | ChangeRequestListDTO | Change requests to save as affected |
ChangeOrderDTO saveChangeOrderAffectedDocuments(workspaceId, orderId, body)
Attach document to order
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.OrdersApi();
var workspaceId = "workspaceId_example"; // String | Workspace id
var orderId = 56; // Number | Order id
var body = new DocdokuPlmApi.DocumentIterationListDTO(); // DocumentIterationListDTO | Documents 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.saveChangeOrderAffectedDocuments(workspaceId, orderId, body, callback);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
orderId | Number | Order id | |
body | DocumentIterationListDTO | Documents to save as affected |
ChangeOrderDTO saveChangeOrderAffectedParts(workspaceId, orderId, body)
Attach part to order
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.OrdersApi();
var workspaceId = "workspaceId_example"; // String | Workspace id
var orderId = 56; // Number | Order id
var body = new DocdokuPlmApi.PartIterationListDTO(); // PartIterationListDTO | Parts 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.saveChangeOrderAffectedParts(workspaceId, orderId, body, callback);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
orderId | Number | Order id | |
body | PartIterationListDTO | Parts to save as affected |
ChangeOrderDTO saveChangeOrderTags(workspaceId, orderId, body)
Update tag attached to order
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.OrdersApi();
var workspaceId = "workspaceId_example"; // String | Workspace id
var orderId = 56; // Number | Order 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.saveChangeOrderTags(workspaceId, orderId, body, callback);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
orderId | Number | Order id | |
body | TagListDTO | Tag list to add |
ChangeOrderDTO updateChangeOrderACL(workspaceId, orderId, body)
Update ACL of the order
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.OrdersApi();
var workspaceId = "workspaceId_example"; // String | Workspace id
var orderId = 56; // Number | Order 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.updateChangeOrderACL(workspaceId, orderId, body, callback);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
orderId | Number | Order id | |
body | ACLDTO | ACL rules to set |
ChangeOrderDTO updateOrder(workspaceId, orderId, body)
Update order
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.OrdersApi();
var workspaceId = "workspaceId_example"; // String | Workspace id
var orderId = 56; // Number | Order id
var body = new DocdokuPlmApi.ChangeOrderDTO(); // ChangeOrderDTO | Change order to update
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.updateOrder(workspaceId, orderId, body, callback);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
orderId | Number | Order id | |
body | ChangeOrderDTO | Change order to update |