RESTful API v3 28-11-2022

Modified After Timestamp

Previous

Next 
Modified-After replaces SinceLastCall and allows you to call documents and reference data that has been updated since a specific timestamp. 

When using Modified-After:

  • Documents: Records created after the specified date are returned.
  • References: Records created and modified after the specific date are returned. 
Modified-After uses the following format
modifiedAfter=yyyyMMddHHmmss
Year-Month-Day-Hour-Min-Sec
2022-11-09-12-13-14 

Returns only data modified since the specified time.

Example:
Please note the GET timestamp and Response is different because the API response shows when the modification happened

Code
https://www.aqilla.net/demo/wsapi/2.5/Reference/Items?modifiedAfter=20221109121314

XML
200 OK

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<dataretrieval totalPages="1" pageSize="1000" page="1" callTimestamp="20221128093716786">
<entities>
<entity>
<returnattribute ubk="1" name="Item Code">001-023-3121</returnattribute>
<returnattribute name="Item Description">ThinkPad L590</returnattribute>
<attachments/>
</entity>
</entities>
</dataretrieval>


Note that if sinceLastCall is specified, the page and pageSize parameters are ignored.

Previous

Next 

Information Contact: support@aqilla.com or phone:+44 (0)20-3150-3843