Batch Update Measure Thresholds

put

/api/restapi/measureThreshold/batch

Send a request to this endpoint to update one or more measure thresholds. 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<ApiEntityMeasureThresholdInput>
Type: array
Title: List<ApiEntityMeasureThresholdInput>
Show Source
Nested Schema : ApiEntityMeasureThresholdInput
Type: object
Title: ApiEntityMeasureThresholdInput
Show Source
Nested Schema : measureThresholdItems
Type: array
The items that define the threshold for the measure.
Show Source
Nested Schema : ApiEntityMeasureThresholdItemInput
Type: object
Title: ApiEntityMeasureThresholdItemInput
Show Source
  • Maximum Length: 20
    The color representation of the threshold state.
  • Allowed Values: [ "THREE_D", "CHECK", "CIRCLE", "CONTENT", "CORRECT", "DIAMOND", "ERROR", "EXCLAMATION", "FLAG", "HAPPY", "OK", "POP_UP", "SAD", "SQUARE", "STAR", "TARGET", "TRIANGLE", "WARNING", "X" ]
    The pictorial representation of the threshold state.
  • The unique identifier of a threshold.
  • Allowed Values: [ "EQUALS", "GREATER_THAN", "GREATER_THAN_EQUALS", "LESS_THAN_EQUALS", "NOT_EQUALS", "LESS_THAN", "BETWEEN", "NOT_BETWEEN" ]
    The logical operator for the threshold used for measuring values.
  • High Value enables you to set a maximum value other threshold values can be measured against.
    The High Value is only editable if Value is selected and the threshold operator is set to "within range" or "not within range".
  • The measurement used for the threshold range.
  • The unique identifier of a threshold item.
  • Read Only: true
    Deprecated. As of 23.10.
    Date when the record was last updated.
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 a baseline threshold.
Back to Top