API Script - Multiple markedAsExported

Hello,
Is there any way for me to filter out multiple "markedAsExported" in my rest script?
"filters": {
"reportIDList":"52142659,51540998",
"startDate":"2020-01-01",
"endDate":"2020-12-31",
"markedAsExported":"NetSuite",
"policyIDList":"XXXXXXXXX",
"reportState":"REIMBURSED"
}
Currently it's set up as above ^
However, I want it to say
"filters": {
"reportIDList":"52142659,51540998",
"startDate":"2020-01-01",
"endDate":"2020-12-31",
"markedAsExported":"NetSuite" AND "SAP Exported",
"policyIDList":"XXXXXXXXX",
"reportState":"REIMBURSED"
}
Is this possible?
Thanks,
Peter. L.
Best Answer
-
Hi @Peter_Lay,
We do not support multiple filter labels at the request level at the moment, though you can filter reports in the
template
as well, using theallExportsLabels
key, for example:<#if !report.allExportsLabels?seq_contains("NetSuite") && !report.allExportsLabels?seq_contains("SAP Exported")> ... </#if>
Answers
-
Thank you @Francois Laithier