Homepage
Get location rankings via POST
Retrieves a paginated ranking of locations based on their scores, using a POST body for filter criteria.
post/home/locations/ranks
Query parameters
sortstring required
Sort direction (asc or desc)
pageinteger required
Page number (zero-based)
pageSizeinteger required
Number of results per page
scoreMininteger required
Minimum score filter (inclusive)
scoreMaxinteger required
Maximum score filter (inclusive)
normalisedScoreMininteger nullable
Minimum normalised score filter (inclusive). When set, results are ordered by normalised score.
normalisedScoreMaxinteger nullable
Maximum normalised score filter (inclusive). When set, results are ordered by normalised score.
Request body
Example request
{
"filterCategory": "business"
}Response
Successfully retrieved location rankings
Example response
{
"ranks": [
{
"locationId": 98765,
"identifier": "LOC-001",
"name": "Main Street Store",
"address": "123 Main St, Berlin",
"score": 85,
"normalisedScore": 85
}
],
"pageSize": 10,
"size": 10,
"totalCount": 150
}