Skip to content

CSV Download using the Swagger UI

You can use the Swagger UI to download a CSV file. However please note that basic auth is no longer available. You have to use the token authentication.

Authenticate in the Swagger UI

  1. Open the Integration Section swagger-usage-01.png
  2. Open the Section POST /integration/tokenswagger-usage-02.png
  3. Click Try out to activate the input fields
  4. Type in your username and your password
  5. Click Execute
  6. You will receive a response with the following schema in the Section
    json
    {
      "token": "*****",
      "user": "YOUR_USERNAME",
      "role": "API-User",
      "audiences": [
        "/api/*"
      ],
      "expiration": "2025-06-16T14:00:06.991+00:00"
    }
  7. Copy the value of the token without the "
  8. Click Authorize in the top right of the Swagger UI. The following Modal will open swagger-usage-03.png
  9. Paste in the token you copied in Step 7.
  10. Click Authorizeswagger-usage-04.png

Download a file

  1. Go to the Section Extranet compatibility and open the Section GET /extranet/rest/dealers/pricelist/csv
  2. Click Try outswagger-usage-05.png
  3. Click Executeswagger-usage-06.png
  4. You will receive a response that allows you to download a file. Click Download fileswagger-usage-07.png