Hi,
I made a GET request to get Quotes Cost Centers using following endpoint:
/api/v1.0/companies/{companyID}/quoteCostCenters/
It returned around 40K results.
After that I made the same request but with "If-Modified-Since" header trying to pull data modified in last few hours and it returned around 30K results.
On inspection, I found out that "DateModified" field on those records were all updated. Is this expected because all I did was make GET request?
DateModified updated on GET request
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.
-
SimproAPITeam
- Posts: 831
- Joined: Wed May 01, 2024 2:31 am
Re: DateModified updated on GET request
Hi Ashishs,
This would not be expected behaviour, GET requests should not make updates or change the status or date modified on records.
If you have any specific examples of this please create a case with our helpdesk and include the build url, company ID and id's of the affected records.
https://helpdesk.simprogroup.com/
Thank you!
Regards
This would not be expected behaviour, GET requests should not make updates or change the status or date modified on records.
If you have any specific examples of this please create a case with our helpdesk and include the build url, company ID and id's of the affected records.
https://helpdesk.simprogroup.com/
Thank you!
Regards
Simpro API Team | Simpro Software Group
DEVELOPER CENTER