# User Restricted products

## Short description

This import can be used to define restricted product lists on a per user basis. This can be done by providing XML files via FTP.

## Delivery method

**Update Frequency**: Timed, every 5 minutes when a file has been provided

**Incremental or complete set:** Incremental

**Filetype:** XML

**Filename: \[clientname]\_UserRestrictedProducts**\_**\[file identification]**.xml\
**Transport:** over FTPS, FTPS Vendisto server hosted by INTEGRACE, file will be placed on FTPS server by the shop.

**Location within FTP root:** \ShoxlPro\Agp

## Structure XML

```markup
<?xml version="1.0" encoding="utf-8"?>
<Lists>
  <List>
    <Username>20312_012</Username>
    <Remainingbudget>100000.00</Remainingbudget>
    <Page>
      <PageName>Afkortgereedschap</PageName>
      <ProductNumbers>
        <ProductNumber>05508395</ProductNumber>
        <ProductNumber>0603.102</ProductNumber>
      </ProductNumbers>
    </Page>
    <Page>
      <PageName>Meten en diversen</PageName>
      <ProductNumbers>
        <ProductNumber>01401475</ProductNumber>
        <ProductNumber>01600942</ProductNumber>
      </ProductNumbers>
    </Page>
  </List>
  <List>
    <Username>20312_014</Username>
    <Remainingbudget>5000.00</Remainingbudget>
    <Page>
      <PageName>Afkortgereedschap</PageName>
      <ProductNumbers>
        <ProductNumber>05508395</ProductNumber>
      </ProductNumbers>
    </Page>
  </List>
</Lists>
```

## Fields XML

<table data-header-hidden><thead><tr><th>Name</th><th width="195">Description</th><th width="150">Type</th><th>Occurs</th></tr></thead><tbody><tr><td>Name</td><td>Description</td><td>Type</td><td>Occurs</td></tr><tr><td>List</td><td>Groups information for one user</td><td>node</td><td>1..x</td></tr><tr><td>Username</td><td>The username of the user to which this list applies</td><td>string</td><td>1..1</td></tr><tr><td>Remainingbudget</td><td>The budget remailing for the user to which this list applies</td><td>string</td><td>1..1</td></tr><tr><td>Page</td><td>Groups a certain set of articles</td><td>node</td><td>1..x</td></tr><tr><td>Pagename</td><td>The name used to identify the set of articles</td><td>string</td><td>1..1</td></tr><tr><td>Productnumbers</td><td>Groups the productnumbers within a set</td><td>node</td><td>1..1</td></tr><tr><td>Productnumber</td><td>Specifies the productnumber of an article within a set</td><td>string</td><td>1..x</td></tr></tbody></table>
