FullDelta_example

Start point is the example from above. Greyed products/articles are activated, white products/articled are disabled.

The corresponding full load (schematic representation):

<TBCATALOG channel="chxx" creation="1359554835"> <PRODUCTDATA type="full"> <!– delta request control: 0 –> <Product 1> <Article 1-1> <Article 1-2> <Article 1-3> <Product 2> <Article 2-1> <Article 2-2> <Article 2-3> </PRODUCTDATA> </TBCATALOG> <!– Creation time –> <!– Request mode "Full-Load" –>

Next catalogue without changes

If there are no changes until the next polling time, the requested delta load provides an empty catalogue:

<TBCATALOG channel="chxx" creation="1359555698"> <PRODUCTDATA type="delta"> <!– delta request control: 1359554835 –> </PRODUCTDATA> </TBCATALOG> <!– Creation time –> <!– Request mode "Delta-Load" –> <!– Time stamp of the last poll –>

A full load would again contain all products and articles valid at the time of retrieval and would accordingly be identical in content to the first catalogue.

Next catalogue with changes

Before delivery of the next catalogue, the merchant deactivates article 2 in product 1 and the complete product 2.

Depending on whether the next product data retrieval is in full or delta load, you will get different results.

Variant 1: Delta load

The subsequently provided delta load will contain (schematic representation):

<TBCATALOG channel="chxx" creation="1359555698"> <PRODUCTDATA type="delta"> <!– delta request control: 1359554835 –> <Product 1> <Article 1-1> <Article 1-3> </PRODUCTDATA> </TBCATALOG> <!– Creation time –> <!– Request mode "Delta-Load" –> <!– Time stamp of the last poll –>

Please note that here the article 1-2 is implicitly deactivated.

Variant 2: Full-Load

The provided full load shows the change implicitly and contains (schematic representation):

<TBCATALOG channel="chxx" creation="1359555698"> <PRODUCTDATA type="full"> <!– delta request control: 0 –> <Product 1> <Article 1-1> <Article 1-3> </PRODUCTDATA> </TBCATALOG> <!– Creation time –> <!– Request mode "Delta-Load" –> <!– Time stamp of the last poll –>

No longer provided products/articles of a full load must be disabled/deleted. They are not listed explicitly!