Zum Inhalt springen
Web APIOrder Transponders

Order Transponders

Attaching, detaching and ending the transponder assignments of one order.

6 operationsBase https://api.staging.locantra.de

Attach a transponder to an order

PATCHhttps://api.staging.locantra.de/order/transponder/attach
Permission assignments.manageIdempotent

Attaches a transponder to an order. Give AssignmentID to move an existing assignment onto the order, or TransponderID — the physical chip code — to create a new assignment for it.

Detach a transponder assignment from an order

PATCHhttps://api.staging.locantra.de/order/transponder/detach

Removes the link between an order and one transponder assignment. AssignmentID is the assignment's own ID, not the chip code printed on the transponder.

End one transponder assignment on an order

PATCHhttps://api.staging.locantra.de/order/transponder/end

Ends one transponder assignment at the current time. AssignmentID is the assignment's own ID, not the chip code printed on the transponder.

End every transponder assignment on an order

PATCHhttps://api.staging.locantra.de/order/transponders/end

Ends every active transponder assignment of one order at AssignEnd, or at the current time when AssignEnd is omitted. Assignments that have already ended, or already end at or before AssignEnd, keep their end; an order with no assignment to end is answered without change.

List the transponder assignments of an order

GEThttps://api.staging.locantra.de/order/transponders/list
Permission assignments.read

Lists the transponder assignments of one order, newest first. Each row carries both AssignmentID (the assignment's own ID) and TransponderID (the physical chip code). Results are paged with Limit (default 100, maximum 1000) and Offset.

End the active transponder assignments of several orders

PATCHhttps://api.staging.locantra.de/orders/transponders/end
Permission assignments.manageIdempotent

Ends every active transponder assignment of each order in ID (at most 200) at AssignEnd, or at the current time when AssignEnd is omitted. Assignments that have already ended, or already end at or before AssignEnd, keep their end. Each order is handled on its own, so one order failing never undoes another: Data.Results has one entry per ID, in request order, with Outcome Done (Count assignments ended), Unchanged (no assignment to end) or Failed with Reason OrderNotFound (no order of your organisation has this ID) or OrderActionFailed (retry it).