The SSCC API
Other systems — a warehouse control system, a label printer server, a customer portal — can read the packages and the package types through the app's own API. The API publishes three resources: the packages, their content lines and the package types. It is published by qualia, in the group labelPrinting, as version v1.0 on the base v2.0 of Business Central's API.
Before you start
- A user or application registration that may read the app's pages.
- The company name and the environment, as for any Business Central API call.
Read the packages through the API
- Ask your consultant for the API address of the company and the resource
ssccs. - Read a package: its number, its label text, its package type, its location, its status and its total quantity.
- Read the resource
ssccLinesto see the content of the packages, line by line, with the document each line came from. - Read the resource
ssccPackageTypesto see the container types, their number series and their label report. - Use the
printaction on a package to print its label through the API, with the same report the pages use.

Important: The API applies the same rules as the pages. A package that cannot be created on a page cannot be created through the API either, and a closed package cannot be changed.
Example
BlueGranite Logistics ApS lets its carrier portal read the packages of the day. The portal asks for ssccs and
receives pallet 106141411234567897, PAL, Euro pallet, WH-01, Open, with 6.00 in base units, and
pallet 340123450000000017, Closed, with 4.00. With ssccLines the portal also sees that both pallets carry
M-001 Industrial Gearbox from S-001.
What happens
- The API reads the same records the pages show; nothing is stored twice.
- A package created through the API gets its number from the same number series as a package created on a page.
- The
printaction runs the same label report as Print Label on the list.
