API Forum

This forum is in read-only mode.
Please refer to our API support in case you have any questions.
We can be reached at api@e-conomic.com
e-conomic API developer forum

Quotation_GetAllUpdated returns all handles, not just updated ones

0

Hi! I hope this is just me misunderstanding something.

When I call Quotation_GetAllUpdated with a fromDate, it seems the date is ignored, and I get every single quotation handle (same as Quotation_GetAll).

I'm using PHP, and here is an example af one of my requests:

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://e-conomic.com">
<SOAP-ENV:Body>
<ns1:Quotation_GetAllUpdated>
<ns1:fromDate>2015-12-27T00:00:00</ns1:fromDate>
</ns1:Quotation_GetAllUpdated>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
 
Shouldn't this request return handles for quotations updated since the fromDate?
created Dec 28, 2015 by Morten2990
0% Accept Rate
Q 3 A 0 C 0

1 Answer

0
Hi Morten

Getting the data for a Quotation/Order/CurrentInvoice will timestamp the object anew.

If you need to keep an eye on changes to Quotations/Orders/CurrentInvoices the only usable method is using web hooks: https://www.e-conomic.com/developer/working-with-web-hooks
answered Jan 4, 2016 by olej
Visma e-conomic A/S
...