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: post
Path: /primeapi/restapi/codeType/replicateObjectInWorkspaces/codeType/{codeTypeId}/workspace/{workspaceId}
Batch Create Code Types
Method: post
Path: /primeapi/restapi/codeType/batch
Batch Delete Code Types
Method: delete
Path: /primeapi/restapi/codeType/batch
Delete a Code Type
Method: delete
Path: /primeapi/restapi/codeType/{id}
Update Code Types
Method: put
Path: /primeapi/restapi/codeType/batch
View a Code Type
Method: get
Path: /primeapi/restapi/codeType/{id}
View a code type by code
Method: get
Path: /primeapi/restapi/codeType/byItemCode?workspaceCode={workspaceCode}&codeTypeCode={codeTypeCode}
View all code types by parent
Method: get
Path: /primeapi/restapi/codeType/byParent?workspaceCode={workspaceCode}
View Code Types by Associated Object
Method: get
Path: /primeapi/restapi/codeType?type={type}
View Code Types by Workspace
Method: get
Path: /primeapi/restapi/codeType/workspace/{id}