API - Transport Units


Overview

The endpoint is a non-editable list of Transport Units.

Endpoint name

transportUnits

Source table

WiFi Transport Units

Fixed view

Filter on Open .. ReadyForTransport

Requests allowed

GET, POST, PATCH

Primary key

ID

Record ID

id

Child Objects

Available with $expand

pallets

Procedures

loadPallet, unloadPallet, updateShippingInfo

Data

Field List

Property

Type

Format

Description


1

systemId

string

uuid

SystemId


2

id




PRIMARY KEY Record ID

3

containerNo





4

tripNo





5

description





6

shipperDescription





7

vehicleName





8

status





9

containerType





10

sealNo





11

locationCode





12

placeOfLoading





13

departureDateScheduled





14

departureTimeScheduled





15

temperatureDescription





16

reservedPallets





17

reservedWeight





18

reservedTradeItems





19

deliveryAgreementNo



If there is just one allocated delivery agreement no.


20

tareWeight





21

lastModified






Object Example

JSON
{
    "id": 1,
    "systemId": "fcab40a6-410b-f111-b02e-cfedda509304",
    "containerNo": "CONT-001",
    "tripNo": "TRIP-01",
    "description": "DHL  CONT-001",
    "shipperDescription": "  DHL ",
    "vehicleName": "",
    "status": "Released",
    "containerType": " ",
    "sealNo": "",
    "locationCode": "",
    "placeOfLoading": "",
    "departureDateScheduled": "0001-01-01",
    "departureTimeScheduled": "00:00:00",
    "temperatureDescription": "",
    "reservedPallets": 0,
    "reservedWeight": 145,
    "reservedTradeItems": 29,
    "deliveryAgreementNo": "",
    "tareWeight": 0,
    "lastModified": "2026-02-16T14:17:55.717Z"
}

Usage

For example to read all released transport units.

JSON
GET .../transportUnits?$filter=status eq 'Released'


Loading Pallets

Load a Pallet

To load a specific pallet into the transport unit, a container for example. The pallet needs to be reserved to an agreement.

JSON
POST
.../transportUnits([record-id])/Microsoft.NAV.loadPallet

Body:
{
    "palletBarcode": "00200100000000148347"
}

Parameters


palletBarcode

The pallet barcode, as it is in BC.

The database modifications when this is run successfully:

  • On the Pallet

    • Loaded = true

    • Loaded Date-Time

    • “Scheduled Trip No.” field is populated

    • “Transport Unit ID” field is populated

  • All the trade items on the pallet will get the same fields changed.


Unload a Pallet

To unload a pallet from the transport unit.

JSON
POST
.../transportUnits([record-id])/Microsoft.NAV.unloadPallet

Body:
{
    "palletBarcode": "00200100000000148347"
}

Parameters


palletBarcode

The pallet barcode, as it is in BC.

The database modifications when this is run successfully:

  • On the Pallet

    • Loaded = false

    • “Loaded Date-Time” is cleared

    • “Scheduled Trip No.” is cleared

    • “Transport Unit ID” is cleared

  • All the trade items on the pallet will get the same fields changed.


Update shipping information

The method updateShippingInfo is used to make a transport unit ready for shipping, i.e. at least when it is a container that needs a Container No. and a Seal No..

JSON
POST
.../transportUnits([record-id])/Microsoft.NAV.updateShippingInfo  

Body:
{
    "palletBarcode": "00200100000000148347"
}

Parameters


setContainerNo

The value to put in field Container No.

setSealNo

The value to put in field Seal No.

tareWeight

The value to put in field Tare Weight. If not needed, it can be set as zero.


The database modifications when this is run successfully:

  • The transport unit gets the 3 fields updated, as given by the parameters.

  • It also gets Status changed to Ready for Transport