Sites API - Primary Contact

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
jordznz
Posts: 9
Joined: Tue Mar 28, 2023 1:20 am
Location: Queenstown, New Zealand
Contact:

Sites API - Primary Contact

Post by jordznz » Mon May 26, 2025 5:52 am

There might be a bug when setting the Primary Contact on an existing site.
Scenario:
1. An existing Site in Simpro has a primary contact
2. We send a PATCH update to the Site with the Contact ID of the new Primary Contact
3. Simpro removes the old Primary Contact and links the new Contact to the Site, however, it does not set them as the Primary Contact

**See Attached Image
Attachments
Screenshot 2025-05-26 at 5.20.24 PM.png
Screenshot 2025-05-26 at 5.20.24 PM.png (140.8 KiB) Viewed 2260 times
Jordan Slappendel
Lead Integration Architect
Integration Fox
[email protected]
www.integrationfox.com
SimproAPITeam
Posts: 831
Joined: Wed May 01, 2024 2:31 am

Re: Sites API - Primary Contact

Post by SimproAPITeam » Fri May 30, 2025 5:54 am

Hi,
I can't see the primary contact from the details tab in your example. I tried recreating this on a site with an existing primary contact.

I updated the primary contact using the payload below and it was updated as expected on the site. If this is not happening in your case please raise this with our help desk who will recreate and verify the issue to create a case.

Code: Select all

{
    "PrimaryContact": {
        "Contact": {ContactID}
    }
}
Please include your build details and the site id's, contact id's and payload used.
https://helpdesk.simprogroup.com/

Regards
Simpro API Team | Simpro Software Group
Post Reply