CodeType REST Endpoints
CodeType
Use the Code Type service to create, view, update, and delete code types. Codes are user-defined data used to oraganize and filter objects. Codes are defined as combinations of types and values. For example, you can define a "Priority" code type that contains text values, and create a set of potential values for the type for use across projects.
- Assign or Promote a Code Type
- Method: postPath:
/primeapi/restapi/codeType/replicateObjectInWorkspaces/codeType/{codeTypeId}/workspace/{workspaceId} - Batch Create Code Types
- Method: postPath:
/primeapi/restapi/codeType/batch - Batch Delete Code Types
- Method: deletePath:
/primeapi/restapi/codeType/batch - Delete a Code Type
- Method: deletePath:
/primeapi/restapi/codeType/{id} - Update Code Types
- Method: putPath:
/primeapi/restapi/codeType/batch - View a Code Type
- Method: getPath:
/primeapi/restapi/codeType/{id} - View a code type by code
- Method: getPath:
/primeapi/restapi/codeType/byItemCode?workspaceCode={workspaceCode}&codeTypeCode={codeTypeCode} - View all code types by parent
- Method: getPath:
/primeapi/restapi/codeType/byParent?workspaceCode={workspaceCode} - View Code Types by Associated Object
- Method: getPath:
/primeapi/restapi/codeType?type={type} - View Code Types by Workspace
- Method: getPath:
/primeapi/restapi/codeType/workspace/{id}