Page 1 of 1

Simpro api not fetching updated records of Vendor orders.

Posted: Thu Sep 24, 2020 10:39 pm
by pkudipudi
Hi Team,

I am trying to find the creation or updation of Simpro vendor orders using the following api convention.
But this is picking up entries only in case of creation of vendororders .
It is not picking the entries where the vendor orders are updated.

url : https://[company]/api/v1.0/companies/0/vendorOrders/?columns=ID&pageSize=250
with headers as
{"If-Modified-Since":"Thu, 24 Sep 2020 20:04:04 GMT","Content-Type":"application/json",.....

Please let me know if there is any issue with the Simpro API.

Regards,
Praveen

Re: Simpro api not fetching updated records of Vendor orders.

Posted: Fri Sep 25, 2020 1:32 am
by Muqeet
Hello Praveen,

When an update is made on the vendor order itself it will show up in modified orders. However at the moment when an update is made on other endpoints of vendor order (e.g vendor/xxx/catalog/xxx) those orders will not show up in list of modified orders.

Let me know what changes you are making and expecting orders to get modified.

Re: Simpro api not fetching updated records of Vendor orders.

Posted: Sun Sep 27, 2020 8:57 am
by pkudipudi
HI Muqeet,

Some of the lines on the vendor order were deleted. Then that vendor order did not show up in the list of modified vendor orders when the api was run.
If a new vendor order is created in simpro , only then the api is fetching the details.

Regards,
Praveen

Re: Simpro api not fetching updated records of Vendor orders.

Posted: Sun Sep 27, 2020 11:46 pm
by Muqeet
Were those order lines deleted through rest API or web UI?