PUT api/Conditions/Leaves

Update a ConditionLeaf

Request Information

URI Parameters

None.

Body Parameters

The ConditionLeaf to be updated

Update_ConditionLeaf
NameDescriptionTypeAdditional information
ID

Leaf ID

integer

None.

Name

Leaf Name

string

None.

BranchID

Leaf Owner ID

integer

None.

DisplayIndex

Display Index for the Leaf

integer

None.

LinkID

Leaf Link ID

integer

None.

LinkObjectType

Leaf Link Object Type

OwnerType

None.

LinkValue

Leaf Link Value

decimal number

None.

LinkCondition

Leaf Link Comparison

ConditionType

None.

Request Formats

application/json, text/json, text/html

Sample:
{
  "ID": 2,
  "Name": "sample string 3",
  "BranchID": 4,
  "DisplayIndex": 1,
  "LinkID": 1,
  "LinkObjectType": 10,
  "LinkValue": 1.0,
  "LinkCondition": 0
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Returns the updated ConditionLeaf and relevant messages

GetConditionLeafResponse
NameDescriptionTypeAdditional information
Leaves

Array of ConditionLeaves

Collection of ConditionLeafStruct_Direct

None.

Messages

Array of messages

Collection of Message

None.

ServerInformation

Relevant information regarding the Server

ServerInformation

None.

VersionInformation

Relevant information regarding the API's version

VersionInformation

None.

Response Formats

application/json, text/json, text/html

Sample:
{
  "Leaves": [
    {
      "BranchID": 1,
      "ID": 2,
      "Name": "sample string 3",
      "DisplayIndex": 1,
      "LinkID": 1,
      "LinkObjectType": 10,
      "LinkObjectTypeName": "Device",
      "LinkObjectName": "sample string 4",
      "LinkValue": 1.0,
      "LinkCondition": 0
    },
    {
      "BranchID": 1,
      "ID": 2,
      "Name": "sample string 3",
      "DisplayIndex": 1,
      "LinkID": 1,
      "LinkObjectType": 10,
      "LinkObjectTypeName": "Device",
      "LinkObjectName": "sample string 4",
      "LinkValue": 1.0,
      "LinkCondition": 0
    }
  ],
  "Messages": [
    {
      "Severity": 0,
      "MessageCode": 1,
      "CodeDesc": 2,
      "MessageText": "sample string 3",
      "RecordNumber": 4
    },
    {
      "Severity": 0,
      "MessageCode": 1,
      "CodeDesc": 2,
      "MessageText": "sample string 3",
      "RecordNumber": 4
    }
  ],
  "ServerInformation": {
    "CurrentTimeUTC": "2025-11-09T21:30:19.7000128+10:00",
    "BuildDateUTC": "2025-11-09T21:30:19.7000128+10:00"
  },
  "VersionInformation": {
    "Major": 1,
    "Minor": 8,
    "Hotfix": 0,
    "Beta": true,
    "Version": "1.8.0.BETA"
  }
}