Skip to main content

Quick Start Guide

This guide walks you through the most common integration scenario: pulling extraction results into your ERP or Materialwirtschaft system.

Prerequisites

  • An API token (starting with okt_live_)
  • Your Auftragsnummer(n) that you want to look up

Step 1: Verify Your Token

Test that your token works by calling the health endpoint (no auth required) and then a simple list:

Step 2: Query by Auftragsnummer

Find all extractions for a specific order. If multiple Regiescheine were uploaded for the same Auftrag, all of them are returned.
Example response:

Step 3: Get Full Extraction Detail (Rückimport)

Once you have an extraction ID, fetch the full detail with all line items — this is the data you import back into your system.
Example detail response:

Field Mapping for Your System

Based on the “Rückimport” requirements:
When artikelnummer is an empty string, the technician entered free text that could not be matched to an article in the catalog. Your system should handle this case (e.g. flag for manual resolution).

Step 4: Poll for New Results

To continuously sync new extractions, use the since parameter with the timestamp of your last successful sync:

Error Handling

All error responses follow the same format: