Open Inventory / Docs
EndpunkteLabel printingLabel print agentAck

Acknowledge a printer claim

Die API läuft auf deiner Anwendungsinstanz. Schemas und Feldnamen stammen unverändert aus der OpenAPI-Spezifikation. Browsergebundene Aufrufe benötigen eine Sitzung auf der Instanz.

POST
/label-print-agent/ack

Agent only. Report submitted after Windows accepts the RAW job, failed after a definite failure, or uncertain if acceptance is ambiguous. The receipt clears the stored payload. It does not prove physical printing.

Authentifizierung

printAgent
headerAuthentifizierungBearer <iprt_ token>

Dedicated printer credential issued once by POST /label-printers. Only valid for agent claim and acknowledgement.

Anfrageinhalt

application/json
  1. body
id*string
Formatuuid
claimId*string
Formatuuid
status*string
Mögliche Werte"submitted""failed""uncertain"
spoolJobId?|
Standardnull

Antwortinhalt

Receipt recorded.

application/json
  1. response
ok*boolean
Beispielanfrage
curl -X POST 'https://inventory.example.com/api/v1/label-print-agent/ack' \  -H 'Content-Type: application/json' \  -d '{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "claimId": "88057929-7728-4a26-8396-f965dcc8b947",  "status": "submitted"}'
Beispielantwort
{  "ok": true}