Added Custom Geofence Coordinates on Get Job endpoint
The GET /jobs/{id} response now includes a custom_geofence field, giving you programmatic access to the custom geofence boundary polygon configured for a job.
What's new
custom_geofence field on job responses
- Returns an array of coordinate objects defining the boundary polygon of the job's custom geofence.
- Each coordinate object contains:
latitude(float)longitude(float)
- Returns an empty array (
[]) when no custom geofence is configured for the job.
Example
With a custom geofence configured:
"custom_geofence": [
{ "latitude": 34.74943851662813, "longitude": 135.5174337688208 },
{ "latitude": 34.74970019702474, "longitude": 135.52165364358194 },
{ "latitude": 34.74544778785267, "longitude": 135.52762516447183 }
]When no custom geofence is set:
"custom_geofence": []See the Get a job section of the API Reference for full response details.