All URIs are relative to http://docdokuplm.net/eplmp-server-rest/api
Method | HTTP request | Description |
---|---|---|
acknowledgeNotification | PUT /workspaces/{workspaceId}/notifications/{notificationId} | Acknowledge a modification notification |
acknowledgeNotification(workspaceId, notificationId, body)
Acknowledge a modification notification
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.ModificationNotificationsApi();
var workspaceId = "workspaceId_example"; // String | Workspace id
var notificationId = 56; // Number | Notification id
var body = new DocdokuPlmApi.ModificationNotificationDTO(); // ModificationNotificationDTO | Modification notification to acknowledge
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
};
apiInstance.acknowledgeNotification(workspaceId, notificationId, body, callback);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id | |
notificationId | Number | Notification id | |
body | ModificationNotificationDTO | Modification notification to acknowledge |
null (empty response body)