curl --request POST \
--url https://api.siftstack.com/api/v2/calculated-channels/resolve:batch \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"requests": [
{
"identifier": {
"id": "<string>",
"clientKey": "<string>"
},
"organizationId": "<string>",
"assets": {},
"run": {
"id": "<string>",
"clientKey": "<string>"
}
}
]
}
'{
"responses": [
{
"resolved": [
{
"assetName": "<string>",
"expressionRequest": {
"expression": "<string>",
"channelReferences": {},
"expressionChannelReferences": [
{
"channelReference": "<string>",
"channelId": "<string>"
}
],
"functionDependencies": [
{
"userDefinedFunctionVersionId": "<string>"
}
]
},
"outputDataType": "CHANNEL_DATA_TYPE_UNSPECIFIED",
"assetId": "<string>"
}
],
"unresolved": [
{
"assetName": "<string>",
"errorMessage": "<string>"
}
],
"calculatedChannelId": "<string>"
}
]
}Resolve a batch of calculated channels into expressions with references
curl --request POST \
--url https://api.siftstack.com/api/v2/calculated-channels/resolve:batch \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"requests": [
{
"identifier": {
"id": "<string>",
"clientKey": "<string>"
},
"organizationId": "<string>",
"assets": {},
"run": {
"id": "<string>",
"clientKey": "<string>"
}
}
]
}
'{
"responses": [
{
"resolved": [
{
"assetName": "<string>",
"expressionRequest": {
"expression": "<string>",
"channelReferences": {},
"expressionChannelReferences": [
{
"channelReference": "<string>",
"channelId": "<string>"
}
],
"functionDependencies": [
{
"userDefinedFunctionVersionId": "<string>"
}
]
},
"outputDataType": "CHANNEL_DATA_TYPE_UNSPECIFIED",
"assetId": "<string>"
}
],
"unresolved": [
{
"assetName": "<string>",
"errorMessage": "<string>"
}
],
"calculatedChannelId": "<string>"
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The request of a call to CalculatedChannelService_BatchResolveCalculatedChannels.
The request of a call to CalculatedChannelService_BatchResolveCalculatedChannels.
All calculated channels to resolve.
Show child attributes
A successful response.
The response of a call to CalculatedChannelService_BatchResolveCalculatedChannels.
All calculated channels that attempted resolution.
Show child attributes
Was this page helpful?