Create a Code Value

post

/api/restapi/codeValue

Send a request to this endpoint to create a code value. An application object will be created using the JSON data provided in the request body.

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

Supported Media Types

201 Response

The object was successfully created.
Body ()
Root Schema : ApiEntityCodeValue
Type: object
Title: ApiEntityCodeValue
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

400 Response

Invalid input for the Code Value service.
Back to Top