Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
The shortest form of my question is - is it possible to apply an Advanced Search on a field via the NPrinting API? For example, a date range.
Here is a filter applied to a report. This works great.
But obviously we use the API for some other integrations and on demand report creation from other applications. I've tried a few variations of our API calls to mimic this, but I can't seem to nail down the right one. I actually wrote an even longer post just a few minutes ago, and when I went to post it the website gave me an auth error and lost my post. So this is a much shorter one.
I've been through the API documentation, and I can see that there is a FilterField and FilterFieldValue, but can't quite figure out how to use them the right way. All of our current requests take the following form:
{
"config": {
"reportId": "report-guid-id",
"outputFormat": "PDF"
},
"filters": null,
"selections": [{
"fieldName": "SOME_TEXT_FIELD",
"selectedCount": 1,
"selectedValues": ["this_value"],
"isNumeric": false
}],
"connectionId": "connection-guid-id",
"type": "report"
}
I have attempted a few variations, but I'm not getting it right.
Any ideas?
oh, right!
What a bummer. This seems like something common that we'd want to do. Select a range. 🤔
Hi,
Could the following work for you?
Via PUT you can change the advanced search parameters:
Best Regards,
Ruggero