Skip to main content
POST
/
api
/
v2
/
calculated-channels
/
resolve:batch
BatchResolveCalculatedChannel
curl --request POST \
  --url https://your-sift-api-url.com/api/v2/calculated-channels/resolve:batch \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "requests": [
    {
      "identifier": {
        "id": "<string>",
        "clientKey": "<string>"
      },
      "calculatedChannelConfiguration": {
        "assetConfiguration": {
          "allAssets": true,
          "selection": {
            "assetIds": [
              "<string>"
            ],
            "tagIds": [
              "<string>"
            ]
          }
        },
        "queryConfiguration": {
          "sel": {
            "expression": "<string>",
            "expressionChannelReferences": [
              {
                "channelReference": "<string>",
                "channelIdentifier": "<string>"
              }
            ]
          }
        }
      },
      "organizationId": "<string>",
      "assets": {
        "ids": {
          "ids": [
            "<string>"
          ]
        },
        "names": {
          "names": [
            "<string>"
          ]
        }
      },
      "run": {
        "id": "<string>",
        "clientKey": "<string>"
      }
    }
  ]
}'
{
  "responses": [
    {
      "calculatedChannelId": "<string>",
      "resolved": [
        {
          "assetName": "<string>",
          "expressionRequest": {
            "channelReferences": {},
            "expression": "<string>",
            "expressionChannelReferences": [
              {
                "channelReference": "<string>",
                "channelId": "<string>"
              }
            ],
            "functionDependencies": [
              {
                "userDefinedFunctionVersionId": "<string>"
              }
            ]
          },
          "outputDataType": "CHANNEL_DATA_TYPE_UNSPECIFIED",
          "assetId": "<string>"
        }
      ],
      "unresolved": [
        {
          "assetName": "<string>",
          "errorMessage": "<string>"
        }
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

The request of a call to CalculatedChannelService_BatchResolveCalculatedChannels.

requests
object[]
required

All calculated channels to resolve.

Response

A successful response.

The response of a call to CalculatedChannelService_BatchResolveCalculatedChannels.

responses
object[]
required

All calculated channels that attempted resolution.