Discussions
Error using customfield2 query endpoint
22 days ago by Jason Smith
When trying to query for custom fields with a specific ObjectId I get the following error:
{
"ErrorMessage": "This condition requires 2 values while only 1 values were supplied.\r\nParameter name: values",
"ErrorCode": "BUSINESS_LOGIC_ERROR",
"TimeStamp": "2024-10-30T23:53:15.980405Z"
}
POST https://am-ent-f1b.corrigo.com/api/v1/query/customfield2
CompanyName: JLL TheChurch
Authorization: Bearer XXXXXXX
content-type: application/json
data
{
"QueryExpression":
{
"Criteria": {
"Conditions": [
{
"PropertyName": "ObjectId",
"Operator": "Equals",
"Values": ["14724"]
}
]
},
"PropertySet": { "Properties" : ["*"]}
}
}