Complex Usage Example
Advanced Location Filtering with Full Context
This example demonstrates advanced filtering with multiple parameters, relationship inclusion, status filtering, and sorting for retrieving locations:Headers
Bearer token for authentication
Query Parameters
Comma-separated list of related resources to include with detailed attributes. Available options: persons, companies, workspaces
Filter locations created on or after this datetime (ISO 8601 format)
Filter locations created on or before this datetime (ISO 8601 format)
Filter locations updated on or after this datetime (ISO 8601 format)
Filter locations updated on or before this datetime (ISO 8601 format)
Filter locations by workspace UUID
Filter locations by external workspace identifier
Filter locations by person UUID
Filter locations by company UUID
Filter locations by registration status (true/false)
Filter locations by primary status (true/false)
Sort locations by date field. Use '-' prefix for descending order (e.g., '-created_at' for newest first)
created_at
, updated_at
, -created_at
Number of locations per page (1-100)
1 <= x <= 100
Cursor for pagination to get next set of results
Response
Locations retrieved successfully