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: post
Path: /api/restapi/codeType/batch
Batch Delete Code Types
Method: delete
Path: /api/restapi/codeType/batch
Batch Sync Code Types
Method: post
Path: /api/restapi/codeType/syncBatch
Batch Update Code Types
Method: put
Path: /api/restapi/codeType/batch
Create a Code Type
Method: post
Path: /api/restapi/codeType
Delete a Code Type
Method: delete
Path: /api/restapi/codeType/{codeTypeId}
Delete Code Type Assignments
Method: delete
Path: /api/restapi/codeType/{codeTypeId}/assignments
Promote Project Code Types To Workspace
Method: put
Path: /api/restapi/codeType/promote
Update a Code Type
Method: put
Path: /api/restapi/codeType
View a Code Type
Method: get
Path: /api/restapi/codeType/{codeTypeId}
View a Code Type by Code
Method: get
Path: /api/restapi/codeType/byItemCode
View Code Types by Associated Object
Method: get
Path: /api/restapi/codeType
View Code Types by Project
Method: get
Path: /api/restapi/codeType/project/{projectId}
View Code Types by Project and Workspace
Method: get
Path: /api/restapi/codeType/project
View Code Types by Workspace
Method: get
Path: /api/restapi/codeType/workspace/{workspaceId}
View Code Types by Workspace Code
Method: get
Path: /api/restapi/codeType/byParent