View All Code Values by Code
get
/api/restapi/codeValue/byItemCode
Send a request to this endpoint to view all code values with codes matching the code fields in query parameters.
Request
Query Parameters
-
codeTypeCode(required): string
The user-specified identifier of a code type.
This is a required field. -
codeValueCode(required): string
The user-specified identifier of a code value.
This is a required field. -
workspaceCode(required): string
The user-specified identifier of a workspace.
This is a required field.
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Successful operation
Root Schema : List<ApiEntityCodeValue>
Type:
arrayTitle:
Show Source
List<ApiEntityCodeValue>-
Array of:
object ApiEntityCodeValue
Title:
ApiEntityCodeValue
Nested Schema : ApiEntityCodeValue
Type:
objectTitle:
Show Source
ApiEntityCodeValue-
codeTypeCode: string
Minimum Length:
0Maximum Length:60This field displays the name of a code or value. -
codeTypeId: integer
(int64)
The unique identifier for the code type.The code type object can also be identified by its unique criteria.
-
codeTypeName: string
Maximum Length:
255The name of a code or value. -
codeValueCode: string
Minimum Length:
0Maximum Length:60The unique identifier for the code value. -
codeValueId: integer
(int64)
The unique identifier for the code value.
-
codeValueName: string
Minimum Length:
0Maximum Length:255The name of the code value. -
color: string
Maximum Length:
255A color for the code value.
The hexadecimal color code (in lower case) are the allowed values for this field.
Example: #00008B -
link: string
(url)
The self-link to the object. This field is populated only in the responses generated by the batch create APIs.
-
parentCodeValueCode: string
Minimum Length:
0Maximum Length:60The parent code value code of a code value. -
parentCVCodes: array
parentCVCodes
List of parent code values in a hierarchy. This field is not populated as part of the API response since it is a write-only field, used only for the create or update APIs.
-
parentId: integer
(int64)
The unique identifier of a parent code value.
-
projectCode: string
Minimum Length:
1Maximum Length:60The code of the project of a project code type associated with the code value. -
sequenceNumber: integer
(int32)
The number that specifies the position of the code value item within the code type list.
-
updateDate: string
(date-time)
Date when the record was last updated.
-
workspaceCode: string
Minimum Length:
0Maximum Length:60The user-specified identifier of a workspace.
Nested Schema : parentCVCodes
Type:
arrayList of parent code values in a hierarchy. This field is not populated as part of the API response since it is a write-only field, used only for the create or update APIs.
Show Source
204 Response
Successful operation with no content.
404 Response
The requested object does not exist, or you do not have access to it.