Page 1 of 1

Retrieve cost of scheduled work on a job

Posted: Tue Apr 02, 2024 3:09 pm
by JackEcuyer
Hi,
I'm trying to retrieve details attaining to the cost of scheduled work by staff on a job at this endpoint however there is no info retrievable for the cost of this labour. The cost of scheduled labour for an employee is fixed once the schedule is submitted on the job therefore there is no reason why this information shouldn't be retrievable from the schedule endpoint (correct me if I'm wrong). Is this information accessible anywhere elsewhere in the API?
Thanks, Jack

Re: Retrieve cost of scheduled work on a job

Posted: Wed Apr 03, 2024 4:00 am
by dan.zhang
Hi Jack,
The Cost is currently not available in the job cost center API endpoint (/api/v1.0/companies/{companyID}/jobs/{jobID}/sections/{sectionID}/costCenters/{costCenterID}/schedules/)
Please submit a feature request if you want more info added to the endpoint.
The employee timesheets endpoint (/api/v1.0/companies/{companyID}/employees/{employeeID}/timesheets/) could get the cost and hope this helps.

https://developer.simprogroup.com/apido ... 78514c218d

Regards

Re: Retrieve cost of scheduled work on a job

Posted: Wed Apr 03, 2024 8:31 am
by JackEcuyer
Hi Dan,
There are no records returned at the timesheets endpoint for the employee even though there is work scheduled for this employee on a job.
I'll put in a feature request for the cost center endpoint.
Thanks, Jack

Re: Retrieve cost of scheduled work on a job

Posted: Sun Apr 14, 2024 11:52 pm
by AidenTew
Hi Jack,

Depending if it's for an Employee or Contractor, you'd have to use:

For Employees:
https://developer.simprogroup.com/apido ... Timesheets

For Contractors;
https://developer.simprogroup.com/apido ... Timesheets

if you are trying to get the timesheets for an Employee, try using the employee timesheets endpoint.

Hope that helps.

Thank you