Skip to content
For AI agents: the complete documentation index is available at llms.txt; this page is also available as Markdown at index.md.

ParentLocationId Criterion

The ParentLocationId Search Criterion searches for content based on the Location ID of its parent.

Arguments

  • value - int(s) representing the parent location IDs

Example

REST API

1
2
3
4
5
<Query>
    <Filter>
        <ParentLocationIdCriterion>[81, 82]</ParentLocationIdCriterion>
    </Filter>
</Query>
1
2
3
4
5
"Query": {
    "Filter": {
        "ParentLocationIdCriterion": [69, 72]
    }
}

Use case

You can use the ParentLocationId Search Criterion to list blog posts contained in a blog, by combining it with the Visibility Criterion so that hidden posts are excluded.