Load a package onto its load (create a loading)
POST/packages/:packageId/loadings
Moves a STAGED or EXPECTED package to LOADED through the named
door and publishes PackageLoaded. The package loads only onto its
own load and through that load's door: another load id or another
door is 409 wrong-load (ErrWrongLoad); a package already on
another load is 409 package-on-another-load
(ErrPackageOnAnotherLoad).
Request
Responses
- 200
- 400
- 404
- 409
- 500
The package is LOADED.
Response Headers
Idempotency-Replayed
True when this response was replayed from a stored idempotent execution (R5).
Malformed body or a missing/invalid required field (bad-request).
No such package (package-not-found).
Package refusal: already-shipped (unload after ship-confirm),
wrong-load, package-on-another-load, package-state, or
idempotency-key-reused.
Unexpected failure (internal-error).