Batch Update Custom Log Items

put

/api/restapi/customLogItem/batch

Send a request to this endpoint to update one or more custom log items. 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<ApiEntityCustomLogItemInput>
Type: array
Title: List<ApiEntityCustomLogItemInput>
Show Source
  • ApiEntityCustomLogItemInput
    Title: ApiEntityCustomLogItemInput
    This entity represents a CustomLogItem object, a unique CustomLogItem object can be identified by the following combinations of the fields.
    • customLogItemId
    • customLogItemCode,customLogTypeObjectId
    • customLogItemCode,customLogTypeObjectName,projectId
    • customLogItemCode,customLogTypeObjectName,projectCode,workspaceCode
    • customLogItemCode,customLogTypeObjectName,programId
    • customLogItemCode,customLogTypeObjectName,programCode,workspaceCode
Nested Schema : ApiEntityCustomLogItemInput
Type: object
Title: ApiEntityCustomLogItemInput
This entity represents a CustomLogItem object, a unique CustomLogItem object can be identified by the following combinations of the fields.
  • customLogItemId
  • customLogItemCode,customLogTypeObjectId
  • customLogItemCode,customLogTypeObjectName,projectId
  • customLogItemCode,customLogTypeObjectName,projectCode,workspaceCode
  • customLogItemCode,customLogTypeObjectName,programId
  • customLogItemCode,customLogTypeObjectName,programCode,workspaceCode
Show Source
Nested Schema : codeValues
Type: array
The list of code values for a custom log item. This entity can only be used to assign codeValues or create codeValues on the fly.
Show Source
  • ApiEntityCodeValueCustomLogInput
    Title: ApiEntityCodeValueCustomLogInput
    This entity represents a CodeValueCustomLog object, a unique CodeValueCustomLog object can be identified by the following combinations of the fields.
    • codeValueCustomLogId
    • codeValueId
    • codeTypeId,codeValueCode
    • codeTypeCode,codeValueCode
    • codeTypeCode,parentId,codeValueCode
    • codeValueCode,codeTypeId,parentId
    • codeTypeCode,codeValueCode,projectCode
    • codeTypeCode,codeValueCode,projectId
    • codeTypeCode,codeValueCode,parentId,projectCode
    • codeTypeCode,codeValueCode,parentId,projectId
Nested Schema : udfValues
Type: array
An object containing configured fields in the form of key-value pairs.
Show Source
  • ApiEntityCustomLogItemConfiguredFieldValueInput
    Title: ApiEntityCustomLogItemConfiguredFieldValueInput
    This entity represents a CustomLogItemConfiguredFieldValue object, a unique CustomLogItemConfiguredFieldValue object can be identified by the following combinations of the fields.
    • customLogItemConfiguredFieldValueId
    • columnDefinitionId
    • columnName
    • columnLabel
Nested Schema : ApiEntityCodeValueCustomLogInput
Type: object
Title: ApiEntityCodeValueCustomLogInput
This entity represents a CodeValueCustomLog object, a unique CodeValueCustomLog object can be identified by the following combinations of the fields.
  • codeValueCustomLogId
  • codeValueId
  • codeTypeId,codeValueCode
  • codeTypeCode,codeValueCode
  • codeTypeCode,parentId,codeValueCode
  • codeValueCode,codeTypeId,parentId
  • codeTypeCode,codeValueCode,projectCode
  • codeTypeCode,codeValueCode,projectId
  • codeTypeCode,codeValueCode,parentId,projectCode
  • codeTypeCode,codeValueCode,parentId,projectId
Show Source
Nested Schema : ApiEntityCustomLogItemConfiguredFieldValueInput
Type: object
Title: ApiEntityCustomLogItemConfiguredFieldValueInput
This entity represents a CustomLogItemConfiguredFieldValue object, a unique CustomLogItemConfiguredFieldValue object can be identified by the following combinations of the fields.
  • customLogItemConfiguredFieldValueId
  • columnDefinitionId
  • columnName
  • columnLabel
Show Source
Examples

Back to Top

Response

200 Response

A collection of object IDs mapped to a canonical link of the object with corresponding warning messages if any warnings were generated while processing the update request. For example - {"links":{"1":"https://[host]:[port]/api/restapi/[object]/1","2":"https://[host]:[port]/api/restapi/[object]/2"},"warnings":[{"primaryKeyName":"objectIdFieldName","uniqueFieldName":"object_code_01","uniqueFieldValue":"objectCodeFieldName","primaryKeyValue":1,"warningMessages":["warning_message_1","warning_message_2"]}]}

400 Response

Invalid Input.
Back to Top