Export Item List

Export Item List

The item list can be accessed via the url GET http://<server name>:<odata port>/<service tier name>/api/BEterna/Export/v2.0/companies(<company system id>)/itemsList?$filter=webshopChannelCode eq '<webshop channel code>' and sentToWebshop eq <true|false> and changedForWebshopAt eq <datetime>. The filter on the webshop channel code is mandatory. The filters for sent to webshop and changed for webshop at are optional. The response is a JSON with all webshop items from the given webshop channel and applied filters.

{
    "@odata.context": "http://<server name>:<odata port>/<service tier name>/api/BEterna/Export/v2.0/$metadata#companies(<company system id>)/itemsList",
    "value": [
        {
            "@odata.etag": "W/\"JzE5OzQ2MTkwNDE1Nzk3Nzk3MTk0MzQxOzAwOyc=\"",
            "systemId": "f56de051-86f7-ec11-be4b-ede4b77edebd",
            "itemNo": "1896-S",
            "webshopChannelCode": "B2B",
            "changedForWebshopAt": "0001-01-01T00:00:00Z",
            "sentToWebshop": false
        },
        {
            "@odata.etag": "W/\"JzE5OzQ2NDc1ODYxNjM0OTExMDgxMDQxOzAwOyc=\"",
            "systemId": "695ed05a-86f7-ec11-be4b-ede4b77edebd",
            "itemNo": "1900-S",
            "webshopChannelCode": "B2B",
            "changedForWebshopAt": "0001-01-01T00:00:00Z",
            "sentToWebshop": false
        },
        {
            "@odata.etag": "W/\"JzE5OzQ2MzI4OTIzNzkwOTYyODIyMjIxOzAwOyc=\"",
            "systemId": "b5faadd0-88f7-ec11-be4b-ede4b77edebd",
            "itemNo": "1906-S",
            "webshopChannelCode": "B2B",
            "changedForWebshopAt": "0001-01-01T00:00:00Z",
            "sentToWebshop": false
        },
        {
            "@odata.etag": "W/\"JzE5OzQ2MzI4OTIzNzkwOTYyODIyMjIxOzAwOyc=\"",
            "systemId": "b5faadd0-88f7-ec11-be4b-ede4b77edebd",
            "itemNo": "1908-S",
            "webshopChannelCode": "B2B",
            "changedForWebshopAt": "0001-01-01T00:00:00Z",
            "sentToWebshop": true
        }
    ]
}

The fields are documented in the following table.

field data type content
systemId GUID distinct identifier for a webshop item record
itemNo Code[20] the code of the item
webshopChannelCode Code[20] the code of the webshop channel
changedForWebshopAt DateTime specifies date and time when item is changed for webshop
sentToWebshop Boolean flag whether item is sent to the webshop

In this article