Authentication (API-Zugriff)
Beispiele für die API-Nutzung des Serviceportals.
Übersicht
Bestimmte Funktionen können via REST-API durchgeführt werden
This site ships with placeholder content for authentication. Update this page and openapi.yaml to match your real API before sharing with users.
Nachfolgend erhalten Sie die API-Endpoints und Beispiele.
Beispiel in cURL
Verwenden Sie ein Bearer Token im Authorization Header, damit ihre Anfrage basierend auf Ihren Rechten autorisiert wird. Ein Token können Sie im Serviceportal unter /api anzeigen lassen, nachdem Sie sich eingelogt haben.
Beispiel: Inventardaten übermitteln für Bestellung Nr. 379
curl -X POST "https://service-t.auctionline.ch/api/upload-data" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $TOKEN" \
-d '{
"ssp_order_id": 379,
"u_type": "INV",
"file": "YXNkZgo="
}'
Bearer YOUR_TOKEN
Common mistakes
Verify that:
-
The token is valid and not expired.
-
The token is sent in the
Authorizationheader. -
The header value includes the
Bearerprefix and a space before the token.
Last updated Mar 12, 2026
Built with Documentation.AI