Page 1 of 1

[Released] Retrieve all Contractor Jobs By Providing Contractor ID

Posted: Mon Aug 31, 2020 3:42 am
by sunny
Upon checking the documentation, i need to loop all job first and go to section > section id > costcenter > cost center id to get the contractor jobs.

Is there any easy way to retrieving all of the Contractor Jobs by using an API V1.0 using a contractor id? we have an app integrated to simpro and we want to list of all Contractor Jobs easily.

Re: Retrieve all Contractor Jobs By Providing Contractor ID

Posted: Mon Aug 31, 2020 4:07 am
by Muqeet
Hello Sunny,

We are working on top level contractor jobs endpoint, and it will release soon. I ll update this post when it gets out.
Moving this topic to feature requests.

Thanks

Re: [API-832] Retrieve all Contractor Jobs By Providing Contractor ID

Posted: Mon Aug 31, 2020 6:18 am
by gavinhodge
+1 happy to hear that this is being worked on.

Gavin.

Re: [API-832] Retrieve all Contractor Jobs By Providing Contractor ID

Posted: Sun Sep 20, 2020 11:55 pm
by sunny
Hi Guys, any update on this one?

Re: [API-832] Retrieve all Contractor Jobs By Providing Contractor ID

Posted: Mon Sep 21, 2020 1:44 am
by Muqeet
Hello Sunny,

Top level contractor endpoint has now been released with simPRO version 20.3.6. Please follow the documentation link below.
http://developer.simprogroup.com/apidoc ... 183edd1449

You should be able to get contractor jobs by contractor Id now.

Code: Select all

https://{buildUrl}/api/v1.0/companies/{companyID}/contractorJobs/?Contractor.ID=X

Re: [Released] Retrieve all Contractor Jobs By Providing Contractor ID

Posted: Tue Nov 10, 2020 7:17 am
by sunny
Hi Muqeet,

Thanks a lot, I have another question, is it possible to get the Attachment of a contractor job using API?

https://tinyurl.com/yyolwz8g


Regards,
Sunny

Re: [Released] Retrieve all Contractor Jobs By Providing Contractor ID

Posted: Tue Nov 10, 2020 7:57 am
by sunny
Sorry wrong screenshot link

Here's what I meant.

Contractor Jobs > Forms > View (It will download the PDF)
https://tinyurl.com/y6bovbgl

Cheers

Re: [Released] Retrieve all Contractor Jobs By Providing Contractor ID

Posted: Tue Nov 10, 2020 11:04 pm
by rick.lan
Hi sunny,

Unfortunately API does not support "form" feature at the moment (including jobs/quotes/leads etc), we currently do not have any plan for it.

cheers,