Managed and Premium Tariff Code Classification
ClassificationGetResponse
Unify GET response - one classification record identified by the
composite id, with the originating item embedded as item.
Field projection is driven by the legacy classification record
loaded from the underlying store (HSCT / ItemMaster / DW /
parking lot, in priority order), not by parsing the ID. Fields
beyond id / status are populated when the legacy record
carries them. The embedded item reverses the legacy
field-name flips (description -> title, summary ->
description, itemGroup -> category); the
_uncategorized sentinel is silently dropped.
This model is used in the following APIs:
Composite ID; same value the POST response surfaces under items[].classifications[].id.
Reverse-mapped from the legacy uppercase activity (HS_FULL -> hsFull, etc.).
Present for hsFull / hs6.
Present for export.
Reverse-mapped from the legacy status using the same heuristics as the POST builder.
Final HS code; present once status == "classified" for hsFull / hs6.
Suppressed when the resolved customer's confidenceFlag is off.
Suppressed alongside confidence for customers without the confidence flag.
Suppressed unless status == "classified" (V1 parity).