Code Type REST Endpoints
Code Type
Use the Code Type service to create, view, update, and delete code types. Codes are user-defined data used to organize 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. Update Keys : 'codeTypeId'
- Batch Create Code Types
- Method: postPath:
/api/restapi/codeType/batch
- Batch Delete Code Types
- Method: deletePath:
/api/restapi/codeType/batch
- Batch Sync Code Types
- Method: postPath:
/api/restapi/codeType/syncBatch
- Batch Update Code Types
- Method: putPath:
/api/restapi/codeType/batch
- Create a Code Type
- Method: postPath:
/api/restapi/codeType
- Delete a Code Type
- Method: deletePath:
/api/restapi/codeType/{codeTypeId}
- Delete Code Type Assignments
- Method: deletePath:
/api/restapi/codeType/{codeTypeId}/assignments
- Promote Project Code Types To Workspace
- Method: putPath:
/api/restapi/codeType/promote
- Update a Code Type
- Method: putPath:
/api/restapi/codeType
- View a Code Type
- Method: getPath:
/api/restapi/codeType/{codeTypeId}
- View a Code Type by Code
- Method: getPath:
/api/restapi/codeType/byItemCode
- View Code Types by Associated Object
- Method: getPath:
/api/restapi/codeType
- View Code Types by Project
- Method: getPath:
/api/restapi/codeType/project/{projectId}
- View Code Types by Project and Workspace
- Method: getPath:
/api/restapi/codeType/project
- View Code Types by Workspace
- Method: getPath:
/api/restapi/codeType/workspace/{workspaceId}
- View Code Types by Workspace Code
- Method: getPath:
/api/restapi/codeType/byParent