HomeRecipesAPI ReferenceChangelogDiscussions
Log In
Discussions

Discussions

Ask a Question
Back to All

Asset Tree By Child - Returns no rows

Client: Salesforce

Env: ISTest

Payload below:

{
"QueryExpression": {
"Criteria": {
"Conditions": [
{
"PropertyName": "Id",
"Operator": "Equal",
"Values": [
151937 //pass asset id fetch in Customer response - Value is Workzone.Asset.Id
]
},
{
"PropertyName": "Child.ModelId",
"Operator": "Equal",
"Values": [
"3143"
]
}
],
"FilterOperator": "And"
},
"Distinct": true,
"PropertySet": {
"Properties": [
"",
"Child.
"
]
},
"Count": 10,
"FirstResultIndex": 0
}
}