API DocsRESTCalculated channel service

GetCalculatedChannel

Retrieve the latest version of a calculated channel.

GET
/api/v2/calculated-channels/{calculatedChannelId}

Path Parameters

calculatedChannelId
Required
string

Query Parameters

clientKeystring

organizationIdstring

curl -X GET "<API_URL>/api/v2/calculated-channels/string?clientKey=string&organizationId=string" \
  -H "Authorization: Bearer <API_KEY>"

A successful response.

{
  "calculatedChannel": {
    "calculatedChannelId": "string",
    "organizationId": "string",
    "clientKey": "string",
    "archivedDate": "2019-08-24T14:15:22Z",
    "versionId": "string",
    "version": 0,
    "name": "string",
    "description": "string",
    "changeMessage": "string",
    "userNotes": "string",
    "units": "string",
    "createdDate": "2019-08-24T14:15:22Z",
    "modifiedDate": "2019-08-24T14:15:22Z",
    "calculatedChannelConfiguration": {
      "assetConfiguration": {
        "allAssets": true,
        "selection": {
          "assetIds": [
            "string"
          ],
          "tagIds": [
            "string"
          ]
        }
      },
      "queryConfiguration": {
        "sel": {
          "expression": "string",
          "expressionChannelReferences": [
            {
              "channelReference": "string",
              "channelIdentifier": "string"
            }
          ]
        }
      }
    },
    "createdByUserId": "string",
    "modifiedByUserId": "string"
  }
}