List the announced cartons of an ASN
GET/asns/:asnNumber/cartons
Not paged (x-pagination-exempt: view): a composite view of one ASN's
announced cartons, bounded by the ASN and returned with the ASN's
ETag, so a page boundary would split a single consistent snapshot.
The cartons the supplier announced (cartons is empty for a flat ASN)
with the status of each against the ASN's receipt: Expected (no
receipt yet, or not scanned yet), Accepted (its SSCC was scanned) or
Missing (the receipt is closed and it never was). Cartons are
announced on POST /asns; there is no endpoint to add one later.
Request
Responses
- 200
- 400
- 404
- 500
The announced cartons.
Response Headers
Strong entity tag of the resource: the quoted version, for example "3".
Malformed JSON or an unknown field (malformed-request), a bad query
parameter (invalid-query, invalid-limit, invalid-cursor,
unknown-query-parameter), a missing or malformed Idempotency-Key
(idempotency-key-required, idempotency-key-invalid), or a value that breaks a domain rule
(the invalid-*, *-requires-*, duplicate-* and
invalid-condition, invalid-carton*, invalid-scan*, invalid-counted-contents, invalid-cases,
invalid-gtin, invalid-sscc and invalid-owner-ref slugs), a reason code outside the list
(invalid-override-reason) or a tolerance band that breaks 0 <= tolerance < hardStop <= 1
(invalid-tolerance-band).
The resource in the path does not exist: asn-not-found,
appointment-not-found, receipt-not-found, carton-not-found or
receiving-policy-not-found (no policy declared for the exact owner and supplier).
Unexpected server error.