How to get modified records from the Schedules,Jobs,Quotes etc?

Wish the API had something it doesn't? Post here!
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.
Ashishs
Posts: 47
Joined: Tue Apr 16, 2019 11:14 pm

Re: How to get modified records from the Schedules,Jobs,Quotes etc?

Post by Ashishs » Thu Apr 30, 2020 6:50 am

Back to the drawing board. Thanks Muqeet. By the way, what other REST client do you recommend?
Muqeet
Posts: 772
Joined: Mon Dec 03, 2018 3:24 am

Re: How to get modified records from the Schedules,Jobs,Quotes etc?

Post by Muqeet » Thu Apr 30, 2020 1:07 pm

There are so many out there you could use. Top choices would be Guzzle or Symfony' HTTP Client, very well maintained and up to date packages.
Muqeet
API Developer | simPRO Software Group
Ashishs
Posts: 47
Joined: Tue Apr 16, 2019 11:14 pm

Re: How to get modified records from the Schedules,Jobs,Quotes etc?

Post by Ashishs » Thu Apr 30, 2020 10:41 pm

Thanks Muqeet. Much appreciated.
Ashishs
Posts: 47
Joined: Tue Apr 16, 2019 11:14 pm

Re: How to get modified records from the Schedules,Jobs,Quotes etc?

Post by Ashishs » Sun Apr 11, 2021 11:38 pm

Hi Muqeet,

A quick one for you. What does a request with If-Modified-Since header actually return? What I mean to ask is what does "if-modified-since" actually entail? Does it include every single changes or is there a criteria? I was looking for jobs that might modification (invoices) and think it missed few. Does every endpoint support this header?

Regards,
Ash
Muqeet
Posts: 772
Joined: Mon Dec 03, 2018 3:24 am

Re: How to get modified records from the Schedules,Jobs,Quotes etc?

Post by Muqeet » Mon Apr 12, 2021 2:13 am

What does a request with If-Modified-Since header actually return?
Returns a list of resources (having a DateModified field) which were modified after the given date in the header.
Does every endpoint support this header?
Only the ones which has a DateModified field.
I was looking for jobs that might modification (invoices)
Changes in a job does not update date modified value on invoice.
Muqeet
API Developer | simPRO Software Group
Ashishs
Posts: 47
Joined: Tue Apr 16, 2019 11:14 pm

Re: How to get modified records from the Schedules,Jobs,Quotes etc?

Post by Ashishs » Mon Apr 12, 2021 4:30 am

Thanks Muqeet.
Only the ones which has a DateModified field.
So, not all endpoints have DateModified field in the returned object. I need to refer to documentation probably.
Changes in a job does not update date modified value on invoice.
How about changes in invoice, will that update date modified value in job?

Regards,
Ash
Muqeet
Posts: 772
Joined: Mon Dec 03, 2018 3:24 am

Re: How to get modified records from the Schedules,Jobs,Quotes etc?

Post by Muqeet » Mon Apr 12, 2021 11:41 pm

Job's modified date will not have any affect when an invoice gets updated.
Muqeet
API Developer | simPRO Software Group
Ashishs
Posts: 47
Joined: Tue Apr 16, 2019 11:14 pm

Re: How to get modified records from the Schedules,Jobs,Quotes etc?

Post by Ashishs » Sat May 04, 2024 2:53 am

Feature Request - Please add DateMOdified filed to "Catalog Groups" so it supports If-Modified-Since header.
SimproAPITeam
Posts: 17
Joined: Wed May 01, 2024 2:31 am

Re: How to get modified records from the Schedules,Jobs,Quotes etc?

Post by SimproAPITeam » Mon May 06, 2024 11:17 pm

Hi Ashish,
Thank you for your suggestion. I have moved your post to the feature request channel.

We have created a ticket and will evaluate this for future development. Please note that I can not give a timeline on new development but we are prioritising changes that can give the most benefit to most of our users.

Regards
Simpro API Team | Simpro Software Group
Post Reply