Code Value REST Endpoints

Code Value
Use the Code Value service to create, view, update, and delete code values. 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.
Batch Create Code Values
Method: post
Path: /api/restapi/codeValue/batch
Batch Delete Code Values
Method: delete
Path: /api/restapi/codeValue/batch
Batch Sync Code Values
Method: post
Path: /api/restapi/codeValue/syncBatch
Batch Update Code Values
Method: put
Path: /api/restapi/codeValue/batch
Create a Code Value
Method: post
Path: /api/restapi/codeValue
Delete a Code Value
Method: delete
Path: /api/restapi/codeValue/{codeValueId}
Delete Code Value Assignments from an Object
Method: delete
Path: /api/restapi/codeValue/objectType/{codeValueObjectType}
Update a Code Value
Method: put
Path: /api/restapi/codeValue
View a Code Value
Method: get
Path: /api/restapi/codeValue/{codeValueId}
View All Child Code Values in a Code Value Hierarchy
Method: get
Path: /api/restapi/codeValue/{codeValueId}/childrenHierarchy
View All Code Values by Code
Method: get
Path: /api/restapi/codeValue/byItemCode
View All Code Values by Parent
Method: get
Path: /api/restapi/codeValue/byParent
View Code Values by Code Type
Method: get
Path: /api/restapi/codeValue/codeType/{codeTypeId}
View Code Values by Code Type and Code
Method: get
Path: /api/restapi/codeValue/code/{codeValueCode}/codeType/{codeTypeId}
View Code Values by Code Type Name
Method: get
Path: /api/restapi/codeValue/codeType/name/{codeTypeName}
View Code Values by Project, Workspace and CodeType
Method: get
Path: /api/restapi/codeValue/projectCodeTypes