Page 1 of 1

Job -> Primary Customer Contact

Posted: Mon Mar 21, 2022 12:03 am
by bgur
In the Project Job Setup, we specify a "Primary Customer Contact". Is this contact details available through the API? It seems to be neither the "Customer Contact" or the "Site Contact".

Re: Job -> Primary Customer Contact

Posted: Mon Mar 21, 2022 5:21 am
by PremMarkeli
Hi,

CustomerContact column should give you info about "Primary Customer Contact" which set up in the Project Job setup. And it is working as expected on our QA environment. If this does not work for you as expected would you please share your build details, job number and screenshots of the info as a private message.

Regards.

Re: Job -> Primary Customer Contact

Posted: Thu Nov 16, 2023 12:13 am
by casey
I am having a similar problem getting the API to access sites-details-primary contact
Some info is retrieved using: https://{company}.simprosuite.com/api/v1.0/companies/0/sites/274?columns=Name,ID
But i also need Name Email and mobile phone number.
Can you please provide an example?

Also is there a site where the various fields and the directory structure required to pull them is outlined?
Thanks.

Re: Job -> Primary Customer Contact

Posted: Thu Nov 16, 2023 4:00 am
by Sindre
Hi Casey,
You can find our documentation describing all endpoints and their data here:
https://developer.simprogroup.com/apido ... c13f15e201

To get primary contact with the query you have you can add the columns name like this to get the data:

Code: Select all

api/v1.0/companies/0/sites/274?columns=Name,ID,PrimaryContact
Regards