Retrieving Date Scheduled

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
owen
Posts: 12
Joined: Tue Oct 24, 2023 4:07 pm

Retrieving Date Scheduled

Post by owen » Fri Jun 21, 2024 11:05 am

Hi,

Our SimPro is configured to have a field to store a "Scheduled Date", this is when we expect an engineer to attend a job. When I execute a GET request for a job no data comes back detailing the scheduled field, meaning i cannot find out the scheduled date through API.

I was wondering if anybody had a solution to this?

Thanks,

Owen
SimproAPITeam
Posts: 831
Joined: Wed May 01, 2024 2:31 am

Re: Retrieving Date Scheduled

Post by SimproAPITeam » Sun Jun 23, 2024 9:52 pm

Hi Owen,
Is this a custom field that you have setup yourself? If so you can retrieve the data under the custom field endpoint.

Code: Select all

/api/v1.0/companies/{companyID}/jobs/{jobID}/customFields/
If this is something that has been configured especially for you it won't be available through the public API.

If you are unsure please share a screen shot of your Job screen with the scheduled date field and build name on a private message.

Regards
Simpro API Team | Simpro Software Group
owen
Posts: 12
Joined: Tue Oct 24, 2023 4:07 pm

Re: Retrieving Date Scheduled

Post by owen » Mon Jun 24, 2024 4:06 pm

Hi there,

I didn't make clear what I wanted to find, apologies.

I want to be able to find the date / range of time, that an engineer is scheduled on a job.

For example job "2201387" has engineer X scheduled for 10-12.

Hope this is a bit clearer.

Thanks
SimproAPITeam
Posts: 831
Joined: Wed May 01, 2024 2:31 am

Re: Retrieving Date Scheduled

Post by SimproAPITeam » Tue Jun 25, 2024 4:03 am

Hi,
The schedule information is not available directly on jobs in the API.

In Simpro the schedules are created directly on each cost centre on the job. You can find the same in the API, schedules are shown on each individual cost centre.

Try this endpoint and see if it has the data you are looking for:

Code: Select all

/api/v1.0/companies/{companyID}/jobs/{jobID}/sections/{sectionID}/costCenters/{costCenterID}/schedules/
https://developer.simprogroup.com/apido ... -Schedules

Regards
Simpro API Team | Simpro Software Group
Post Reply