Update a Code Value

put

/api/restapi/codeValue

Send a request to this endpoint to update a code value. An application object with an ID value that matches the ID value provided in the JSON object in the request body will be updated to reflect the JSON contents.

Request

There are no request parameters for this operation.

Supported Media Types
Request Body - application/json ()
Root Schema : ApiEntityCodeValueInput
Type: object
Title: ApiEntityCodeValueInput
This entity represents a CodeValue object, a unique CodeValue object can be identified by the following combinations of the fields.
  • codeValueId
  • codeValueCode,codeTypeId
  • codeValueCode,codeTypeCode,projectCode,workspaceCode
  • codeValueCode,codeTypeCode,workspaceCode
Show Source
Nested Schema : parentCVCodes
Type: array
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.
Show Source
Examples

Back to Top

Response

204 Response

Successful operation with no content.

400 Response

Invalid input for the Code Value service.
Back to Top