v3 deals api groups filters issue

Hi,

I’m trying to create a v3 api to pull deals for the fiscal year. I would like that data for each deal to include the project type.

I’m trying the following POST query. The first half of the query works and was successfully pulling the data, but is now failing after I added the second filter for project type.

I am completely new to this and hoping someone can point out my error and solution.

Thanks.

{
“filterGroups”: [{
“filters”: [
{
“propertyName”:“closedate”,
“operator”: “BETWEEN”,
“highValue”:“{date.firstMOY(“apr”).endOfYear.format(“unixtime”)}000”,
“value”:“{date.firstMOY(“apr”).startOfYear.format(“unixtime”)}000”
}],
“filters”:[
{
“propertyName”:“projecttype”,
“operator”:“EQ”,
“value”:“ProfessionalServices”
}],
“filters”:[
{
“propertyName”:“projecttype”,
“operator”:“EQ”,
“value”:“Billablebuilds”
}
]
}
],

“limit”: 100,
“after”: 0
}

Hi @CBeno

Thank you for reaching out.

I want to tag some of our experts here - @Teun @LMeert do you have any thoughts for @CBeno on this?

Thank you!

Best

Tiphaine