admin管理员组

文章数量:1129074

I’m currently using the ServiceM8 API to create and update jobs via Make. While the API successfully updates the job address using the POST method, I’ve noticed that the Location Insights (e.g., driving time, property details, etc.) do not appear automatically after the address is updated programmatically.

However, if I manually edit the job address within the ServiceM8 dashboard (e.g., deleting a character and retyping it), the Location Insights are triggered correctly. This indicates that some form of address validation is happening when editing manually, but it’s not triggered via API.

Here are the details of what I’ve tried:

Updating the job address with properly formatted fields (e.g., "6 Wilga Ct, Ashmore QLD 4214, Australia").
Including latitude (job_lat) and longitude (job_lng) values in the API payload.
Sending a POST request to reapply the address after updating it.
Testing POST method to see if Location Insights are triggered.
Despite these efforts, the Location Insights only appear when I manually edit the address in the UI.

Could you please advise:

Is there a way to trigger the Location Insights programmatically via the API after updating the job address?
Are there any additional parameters or endpoints I should be using to force address validation and fetch Location Insights automatically?
Is this a known limitation of the ServiceM8 API?
I’d appreciate any guidance or suggestions you can provide to resolve this.

本文标签: servicem8Triggering Location Insights via APIStack Overflow