Batch Update Code Values

put

/api/restapi/codeValue/batch

Send a request to this endpoint to update one or more code values. For each JSON object provided in the request body, an application object with a matching ID value 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 : List<ApiEntityCodeValueInput>
Type: array
Title: List<ApiEntityCodeValueInput>
Show Source
  • ApiEntityCodeValueInput
    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
Nested 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

200 Response

A collection of object IDs mapped to a canonical link of the object. For example - {"links":{"1":"https://[host]:[port]/api/restapi/[object]/1","2":"https://[host]:[port]/api/restapi/[object]/2"}}

400 Response

Invalid input for the Code Value service.
Back to Top