South Connectors

Get item last value

Changed on

Retrieves the last cached value for a specific item, and its group's last tracked value when grouped

get/api/south/{southId}/items/{itemId}/last-value

Request

  • Base URL: http://localhost:2223
  • URL: http://localhost:2223/api/south/{southId}/items/{itemId}/last-value
  • Auth: none required

Path parameters

southIdstring required
itemIdstring required

Response

The item's own last cached value, plus the group's last value when grouped

Example response

{
  "itemLastValue": {
    "itemId": "item-123",
    "itemName": "Temperature Sensor 1",
    "groupId": "group-123",
    "groupName": "Temperature Group",
    "queryTime": "2023-10-31T12:34:56.789Z",
    "trackedInstant": "2023-10-31T12:34:56.789Z"
  },
  "groupLastValue": {
    "itemId": "item-123",
    "itemName": "Temperature Sensor 1",
    "groupId": "group-123",
    "groupName": "Temperature Group",
    "queryTime": "2023-10-31T12:34:56.789Z",
    "trackedInstant": "2023-10-31T12:34:56.789Z"
  }
}

Changes

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status