Skip to content

SectionId Criterion

The SectionId Search Criterion searches for content based on the ID of the Section it is assigned to.

Arguments

  • value - int(s) representing the IDs of the Section(s)

Example

PHP

1
$query->query = new Criterion\SectionId(3);

REST API

1
2
3
4
5
<Query>
    <Filter>
        <SectionIdCriterion>3</SectionIdCriterion>
    </Filter>
</Query>
1
2
3
4
5
"Query": {
    "Filter": {
        "SectionIdCriterion": "3"
    }
}