Resource REST Endpoints
Resource
The Resource service enables you to create, view, update, and delete resources. Resources represent any quantifiable item you can track and assign to specific activities in a project. Update Keys : 'resourceId'
- Assign or Promote a Resource
- Method: postPath:
/primeapi/restapi/resource/replicateObjectInWorkspaces/resource/{resourceId}/workspace/{workspaceId}
- Batch Create Resources or Roles
- Method: postPath:
/primeapi/restapi/resource/batch
- Batch Delete Resources or Roles
- Method: deletePath:
/primeapi/restapi/resource/batch
- Batch Delete Workspace Resources or Roles
- Method: deletePath:
/primeapi/restapi/resource/workspaceResource/batch
- Batch Integrate Resources with an External Data Source
- Method: postPath:
/primeapi/restapi/resource/syncBatch
- Batch Update Resources or Roles
- Method: putPath:
/primeapi/restapi/resource/batch
- Delete a Resource or Role
- Method: deletePath:
/primeapi/restapi/resource/{id}
- Delete a Workspace Resource or Role
- Method: deletePath:
/primeapi/restapi/resource/workspaceResource/{workspaceResourceId}
- Integrate a Resource with an External Data Source
- Method: postPath:
/primeapi/restapi/resource/sync
- View a resource by code
- Method: getPath:
/primeapi/restapi/resource/byItemCode?workspaceCode={workspaceCode}&resourceCode={resourceCode}
- View a Resource by Code and Type
- Method: getPath:
/primeapi/restapi/resource/code/{code}/type/{type}
- View a Resource by Resource Class
- Method: getPath:
/primeapi/restapi/resource?type={type}
- View a Resource or Role
- Method: getPath:
/primeapi/restapi/resource/{id}
- View All Child Resources and Roles by Resource Hierarchy
- Method: getPath:
/primeapi/restapi/resource/{id}/type/{type}/childrenHierarchy
- View all resources by parent code
- Method: getPath:
/primeapi/restapi/resource/byParent?workspaceCode={workspaceCode}
- View Integrated Resources
- Method: getPath:
/primeapi/restapi/resource/externallySourced
- View Resources and Roles by Workspace
- Method: getPath:
/primeapi/restapi/resource/workspace/{id}
- View Resources by Assigned Code Value
- Method: getPath:
/primeapi/restapi/resource/codeType/{typeId}/codeValue/{code}
- View Resources or Roles by Project
- Method: getPath:
/primeapi/restapi/resource/projectId/{id}
- View Workspace Resources or Roles by Workspace and Resource Class
- Method: getPath:
/primeapi/restapi/resource/workspaceResource/workspace/{workspaceId}?type={type}