Retrieve cost of scheduled work on a job

Posts about the simPRO API. Help/support/how-to etc.
Forum rules
  • Check the documentation first. Before posting questions, please check the documentation to ensure it doesn't already cover what you need.
  • No spam. All automated messages, advertisements, and links to competitor websites will be deleted immediately.
  • Post in relevant sub-forums only. Messages posted in the wrong topic area will be removed and placed in the correct sub-forum by moderators.
  • Respect other users. No flaming or abusing fellow forum members. Users who continue to post inflammatory, abusive comments will be deleted from the forum after two warnings are issued by moderators.
  • Harassment. No threats or harassment of other users will be tolerated. Any instance of threatening or harassing behavior is grounds for deletion from the forums.
  • Adult content. No profanity or pornography is allowed. Posts containing adult material will be deleted.
  • Bandwidth. All images and signatures must be 500 x 500 pixels or smaller. Posts containing over-sized images and signatures will be removed.
  • Illegal content. No re-posting of copyrighted materials or other illegal content is allowed. Any posts containing illegal content or copyrighted materials will be deleted.
Post Reply
JackEcuyer
Posts: 5
Joined: Tue Mar 12, 2024 3:32 pm

Retrieve cost of scheduled work on a job

Post by JackEcuyer » Tue Apr 02, 2024 3:09 pm

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
dan.zhang
Posts: 10
Joined: Fri Mar 01, 2024 4:20 am

Re: Retrieve cost of scheduled work on a job

Post by dan.zhang » Wed Apr 03, 2024 4:00 am

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
Dan
API Developer | Simpro Software Group
JackEcuyer
Posts: 5
Joined: Tue Mar 12, 2024 3:32 pm

Re: Retrieve cost of scheduled work on a job

Post by JackEcuyer » Wed Apr 03, 2024 8:31 am

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
AidenTew
Posts: 25
Joined: Fri Mar 01, 2024 4:15 am

Re: Retrieve cost of scheduled work on a job

Post by AidenTew » Sun Apr 14, 2024 11:52 pm

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
Aiden
API Developer | Simpro Software Group
Post Reply