WebAPI Example - archiveitems

In this example, three content items are archived, using the webapi macro. Instead of itemnumbers, you can also specify itemcodes.

To (de)activate or archive items, just change the method.

Smartsite SXML CopyCode image Copy Code
<se:webapi username="admin" method="archiveitems" itemnumbers="102342,103078,103057" save="result" />