SetCustomTableDataResult

Prev Next

The result of a SetCustomTableDataRequest. When Succeeded is false, nothing was stored and InvalidRows contains the rows that failed validation.

Example

{
  "succeeded": false,
  "message": "Validation failed.",
  "invalidRows": [
    {
      "rowId": "r1",
      "cells": [
        {
          "columnId": "width",
          "value": "abc",
          "isValid": false,
          "message": "Value must be a number."
        }
      ]
    }
  ]
}

Properties

Property Type Description Details
InvalidRows CustomTableRowValidationResult[] Rows that failed validation together with their per-cell validation results. Empty on success.
Message string? Optional message describing why the call did not succeed, e.g. the edit lock is held by another user or the data source is not supported.
Succeeded boolean Value indicating whether the content was replaced successfully. If false, no change was persisted.

Usage in the API

Input: The caller sends the type to the API. Output: The API returns the type.

Method Endpoint Usage of the type
PUT /api/orderManager/configurationDataManagement/libraries/{libraryId}/customTables/{customTableId}/data Output

Package: HomagGroup.HomagConnect.OrderManager.Contracts 2.2.5-preview.98

Source: SetCustomTableDataResult.cs

Samples: OrderManager samples