DAV Barsortiment Service

Barsortiment (print and ebook)

  GET /barsortiment/eans ........  list of eans in barsortiment print and ebook
  

Barsortiment (print)

  GET /barsortiment/print  ..........  barsortiment print (with condensed products)
  GET /barsortiment/print/sample ....  sample print sortimentseintrag (with condensed product)
  GET /barsortiment/print/{EAN} .....  sortimentseintrag for given {EAN} (e.g., "9783642624926")
  GET /barsortiment/print/eans ........  list of eans in barsortiment print
  

Barsortiment (ebook)

  GET /barsortiment/ebook  ..........  barsortiment ebook (with condensed products)
  GET /barsortiment/ebook/sample ....  sample ebook sortimentseintrag (with condensed product)
  GET /barsortiment/ebook/{EAN} .....  sortimentseintrag for given {EAN} (e.g., "9783648043691")
  GET /barsortiment/ebook/eans ........  list of eans in barsortiment eans
  

Server

KategorieURLBemerkung
Productionhttps://sortiment.dav.swarm.basex.ioProduktivserver
Staginghttps://test.sortiment.dav.swarm.basex.ioTestserver

Beispiele zur Nutzung des API (z.B. per Aufruf mit curl(1))

Ein Sortimentseintrag eines ebook (Katalogdaten von Zeitfracht und Metadaten von ciando) wird vom API des Testservers abgerufen und in der Datei ebook-sample.xml gespeichert:

    curl -v -o ebook-sample.xml https://test.sortiment.dav.swarm.basex.io/barsortiment/ebook/sample
  

Das Print-Barsortiment wird vom API des Testservers abgerufen und in der Datei barsortiment-print.xml gespeichert:

    curl -o barsortiment-print.xml https://test.sortiment.dav.swarm.basex.io/barsortiment/print
  

Abruf der EAN 9783642624926 aus dem print-Barsortiment des Testservers:

    curl -v https://test.sortiment.dav.swarm.basex.io/barsortiment/print/9783642624926