Skip to content

LocationId Criterion

The LocationId Search Criterion searches for content based in the Location ID.

Arguments

  • value - int(s) representing the Location ID(s)

Example

PHP

1
$query->query = new Criterion\LocationId(62);

REST API

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