All URIs are relative to http://docdokuplm.net/eplmp-server-rest/api
Method | HTTP request | Description |
---|---|---|
getWorkspaceSpecificUserGroupMemberShips | GET /workspaces/{workspaceId}/memberships/usergroups/me | Get workspace's group membership for authenticated user |
getWorkspaceSpecificUserMemberShips | GET /workspaces/{workspaceId}/memberships/users/me | Get workspace's user membership for authenticated user |
getWorkspaceUserGroupMemberShips | GET /workspaces/{workspaceId}/memberships/usergroups | Get workspace's group membership for authenticated user |
getWorkspaceUserMemberShips | GET /workspaces/{workspaceId}/memberships/users | Get workspace's user memberships |
[WorkspaceUserGroupMemberShipDTO] getWorkspaceSpecificUserGroupMemberShips(workspaceId)
Get workspace's group membership for authenticated user
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.WorkspaceMembershipsApi();
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.getWorkspaceSpecificUserGroupMemberShips(workspaceId, callback);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id |
[WorkspaceUserGroupMemberShipDTO]
WorkspaceUserMemberShipDTO getWorkspaceSpecificUserMemberShips(workspaceId)
Get workspace's user membership for authenticated user
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.WorkspaceMembershipsApi();
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.getWorkspaceSpecificUserMemberShips(workspaceId, callback);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id |
[WorkspaceUserGroupMemberShipDTO] getWorkspaceUserGroupMemberShips(workspaceId)
Get workspace's group membership for authenticated user
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.WorkspaceMembershipsApi();
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.getWorkspaceUserGroupMemberShips(workspaceId, callback);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id |
[WorkspaceUserGroupMemberShipDTO]
[WorkspaceUserMemberShipDTO] getWorkspaceUserMemberShips(workspaceId)
Get workspace's user memberships
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.WorkspaceMembershipsApi();
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.getWorkspaceUserMemberShips(workspaceId, callback);
Name | Type | Description | Notes |
---|---|---|---|
workspaceId | String | Workspace id |