> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://support.robaws.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Synchronizing article data with your own database

# Synchronizing article data with your own database 

Most entity collection endpoints (called 'Search' in the reference documentation) provide an 'updatedFrom' request parameter.
This parameter allows you to fetch all entities which have an 'updatedAt' date that is equal to or greater than the updatedFrom parameter value.

If you are only interested in certain articles, you could define an extra field of type 'boolean' in Robaws or only save articles which have a specific articleGroupId.

We also define the include parameter with value 'stockLocations' so that the response includes the per-location stock detail. (The older `include=availableStock`, `totalStock`, `reservedStock` and `backorderStock` values are deprecated; migrate to `include=stockLocations`.)

`https://app.robaws.com/api/v2/articles?updatedFrom=2020-12-17T13:35:00.000Z&include=stockLocations&page=0&size=100`

Then use the paging information in the response to fetch next results.

`https://app.robaws.com/api/v2/articles?updatedFrom=2020-12-17T13:35:00.000Z&include=availableStock&page=1&size=100`