I have set up a webhook subscription for when a Job Site is updated or deleted. I have discovered the output I get when I test the subscription (via the link on the subscription setup page) doesn't match the actual output I get when the webhook is triggered by an update/deletion.
Job Site Test Triggered Output:
ID: test.updated
build: xxxxxx.simprosuite.com
description: Test #1 has been updated.
name: Test
action: updated
reference testID: 1
date_triggered: 2025-04-10T15:08:32-05:00
Job Site Actual Triggered Output:
id: site.updated
build: xxxxxx.simprosuite.com
description: Site #1412 has been updated.
name: Site
action: updated
reference company_id: 0
date_triggered: 2025-04-11T08:58:16-05:00
In particular, the test output includes the job site ID (testID:1) as a reference property. However, the actual output only includes the company_ID property. While the job site ID does appear in the description, that is MUCH harder to pull out than if it is an actual property. Personally, I don't need the company ID as we only have a single company. However, I think the proper output should be like what you see for a customer webhook, which includes both the company_id and the customer_id. Having both properties allows you to build the proper API call to retrieve details for the record.
Customer Actual Triggered Output:
id: company.customer.updated
build: xxxxxx.simprosuite.com
description: Company customer #33 has been updated.
name: Company customer
action: updated
reference company_id: 0 customer_id: 33
date_triggered: 2025-04-10T10:26:55-05:00
Job Site Webhook - Test Output Doesn't Match Actual Output
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.
-
SimproAPITeam
- Posts: 831
- Joined: Wed May 01, 2024 2:31 am
Re: Job Site Webhook - Test Output Doesn't Match Actual Output
Hi JenniferM,
Thank you for your input and suggestions.
We understand what you mean and how the data would be easier to use on your end when it's assigned a property.
We will take this into account for future updates to our webhook data and see if we can add new properties in addition to the existing ones without breaking anything for current users.
Regards
Thank you for your input and suggestions.
We understand what you mean and how the data would be easier to use on your end when it's assigned a property.
We will take this into account for future updates to our webhook data and see if we can add new properties in addition to the existing ones without breaking anything for current users.
Regards
Simpro API Team | Simpro Software Group
Re: Job Site Webhook - Test Output Doesn't Match Actual Output
I appreciate the feedback. Honestly, it seems like an error/oversight as it doesn't match the webhooks for other tables (e.g. customers, contacts). As it currently exists, it's actually pretty useless.
In addition, at a minimum you need to make the test subscription (from within the webhook subscription setup) match what actually happens. As mentioned in my original post, the test output doesn't match the actual output, making it very confusing.
In addition, at a minimum you need to make the test subscription (from within the webhook subscription setup) match what actually happens. As mentioned in my original post, the test output doesn't match the actual output, making it very confusing.
-
SimproAPITeam
- Posts: 831
- Joined: Wed May 01, 2024 2:31 am
Re: Job Site Webhook - Test Output Doesn't Match Actual Output
Hi JenniferM,
Thank you for bringing this to our attention. You've made a fair point.
We've raised it internally for improvements we can make to improve the experience.
Thank you for bringing this to our attention. You've made a fair point.
We've raised it internally for improvements we can make to improve the experience.
Simpro API Team | Simpro Software Group
DEVELOPER CENTER