Page 1 of 1

Task API calls

Posted: Fri Dec 17, 2021 5:17 pm
by craigm
If we do an API call to the following URL:

/api/v1.0/companies/{companyID}/tasks/

am I correct in assuming that this will return all tasks including those that would be returned from the following URLs:

/api/v1.0/companies/{companyID}/customers/{customerID}/tasks/

/api/v1.0/companies/{companyID}/jobs/{jobID}/tasks/

/api/v1.0/companies/{companyID}/jobs/{jobID}/sections/{sectionID}/costCenters/{costCenterID}/tasks/

or do we need to call all these URLS seperate in order to get all tasks within the system.

Re: Task API calls

Posted: Sun Dec 19, 2021 10:31 pm
by robbertcha
Hi,

Yes, all the tasks from customers/, jobs/, quotes/, costCenters/ can be found in the tasks/.

Re: Task API calls

Posted: Mon Dec 20, 2021 2:52 am
by craigm
Thanks, that's greats. Saves creating 4 seperate API calls!