Page 1 of 1
Site Contacts Array
Posted: Mon May 26, 2025 6:04 am
by jordznz
Would it be possible to add an array of Contacts to a Site, like you can for Customers? Currently, we can only set the Primary Contact when creating or updating Sites.
URL: /api/v1.0/companies/{companyID}/sites/{siteID}
Current Customer Array:
"Customers": [
0
],
Re: Site Contacts Array
Posted: Mon Jun 16, 2025 11:33 am
Hi Jordznz
Would this be the endpoint you are looking for /api/v1.0/companies/{companyID}/sites/{siteID}/contacts/{contactID}?
Re: Site Contacts Array
Posted: Mon Jun 23, 2025 3:04 am
by jordznz
Hey KPRO,
Thanks for the reply. Preferably not, I would prefer to just provide an array of Contact IDs like you can with the Customers, rather than have to cycle through and do separate API calls for each Contact we want to associate with the Site.
Cheers
Jordan
Re: Site Contacts Array
Posted: Wed Jul 02, 2025 2:39 am
by SimproAPITeam
Hi Jordan,
This is a good suggestion to reduce the required calls to the API and improve efficiency. Can you please post this suggestion in our Product Portal section in Simpro found with the help guide.
Regards