Discussions
Need API details for Apply/Filter in WO feedList
4 months ago by Venkatesh
Please share endpoint for Apply/Filter in WO feedList.
4 months ago by Ali Abdullah
Please check the below API curl or search QueryExpression WorkOrder in postman collection
curl --location 'https://am-ce99c.corrigo.com/api/v1/query/WorkOrder' \
--header 'CompanyName: Corrigo Demo' \
--header 'Authorization: Bearer your token' \
--header 'Content-Type: application/json' \
--data '{
"QueryExpression": {
"Criteria": {
"Conditions": [
{
"PropertyName": "property name",
"Operator": "Equal",
"Values": [
"value"
]
}
],
"FilterOperator": "And"
},
"Distinct": true,
"PropertySet": {
"Properties": [
"*"
]
},
"Count": 2,
"FirstResultIndex": 0
}
}'