Updated Asset Webhooks

Posts about the simPRO API. Help/support/how-to etc.
Forum rules
  • Check the documentation first. Before posting questions, please check the documentation to ensure it doesn't already cover what you need.
  • No spam. All automated messages, advertisements, and links to competitor websites will be deleted immediately.
  • Post in relevant sub-forums only. Messages posted in the wrong topic area will be removed and placed in the correct sub-forum by moderators.
  • Respect other users. No flaming or abusing fellow forum members. Users who continue to post inflammatory, abusive comments will be deleted from the forum after two warnings are issued by moderators.
  • Harassment. No threats or harassment of other users will be tolerated. Any instance of threatening or harassing behavior is grounds for deletion from the forums.
  • Adult content. No profanity or pornography is allowed. Posts containing adult material will be deleted.
  • Bandwidth. All images and signatures must be 500 x 500 pixels or smaller. Posts containing over-sized images and signatures will be removed.
  • Illegal content. No re-posting of copyrighted materials or other illegal content is allowed. Any posts containing illegal content or copyrighted materials will be deleted.
Post Reply
User avatar
michelle
Posts: 132
Joined: Tue Jul 03, 2018 12:30 pm
Location: Brighton
Contact:

Updated Asset Webhooks

Post by michelle » Wed Feb 15, 2023 11:31 am

Hi team,

The asset webhooks have recently been updated. Could you confirm please exactly which changes on an asset will now trigger the asset.updated webhook?

In particular, does it cover changes in:

customFields
LastTest.Result
LastTest.Date
ServiceLevels

Thanks
Michelle
Sindre
Posts: 493
Joined: Wed Apr 20, 2022 4:51 am
Location: Brisbane

Re: Updated Asset Webhooks

Post by Sindre » Thu Feb 16, 2023 2:55 am

Hi Michelle,
After the recent release webhooks are triggered when assets on work orders are added, removed and tested on jobs and quotes.

It is not triggered by updates to custom fields but that is something that we can look into.

Regards
Sindre
API Developer | Simpro Software Group
User avatar
michelle
Posts: 132
Joined: Tue Jul 03, 2018 12:30 pm
Location: Brighton
Contact:

Re: Updated Asset Webhooks

Post by michelle » Fri Feb 24, 2023 10:57 am

Thank you Sindre. I believe having custom fields updated was part of the changes discussed for the asset webhook. Perhaps it got missed off?

Something else, you said a webhook will be triggered when assets are tested on job. If the job test history ends up as No Test and the admin team update the Service Levels Next Service Date will that trigger a webhook?

Thanks
Michele
Sindre
Posts: 493
Joined: Wed Apr 20, 2022 4:51 am
Location: Brisbane

Re: Updated Asset Webhooks

Post by Sindre » Mon Feb 27, 2023 12:00 am

Hi Michelle,
We will create a new ticket for the custom fields webhook for work orders.

Could you please leave a comment here or on a private message the workflow you have when you want the assets custom fields to trigger a webhook. Also include your expected results and what information should be included in the webhook and we can include your insight i our ticket.

For the asset test result, registering an asset with No Test will trigger a job.asset.tested webhook the test result "NoTest" and the details for the asset.

Regards
Sindre
API Developer | Simpro Software Group
User avatar
michelle
Posts: 132
Joined: Tue Jul 03, 2018 12:30 pm
Location: Brighton
Contact:

Re: Updated Asset Webhooks

Post by michelle » Fri Mar 03, 2023 6:07 pm

Hi Sindre,

I think for the custom fields on an asset, when a custom field value is changed that should trigger a DateModified which in turn will hopefully trigger an asset.updated.

The new job.asset.tested webhook is working well for simpro suite users but I noticed it hasn't been rolled out to all cloud builds yet. Do you know when that will be completed? Typically the cloud builds are for the larger simpro users who have a lot of assets so just running an overnight cron update on the DateModified value isn't ideal.

I'll leave a list of my cloud build clients in a private message so that you can advise on dates.

Thanks
Michelle
Post Reply