Bulkchain User Documentation

API endpoint per feature for TO

This section describes the different API endpoints made available by Bulkchain. To facilitate development of the integration with Bulkchain, a set of OpenAPI specifications are available for each API endpoint: https://documentation.nxtport.com/bulkchain/open-api-specification-swagger.

Depending on the environment you would like to access, please add following prefix to the URL:

If your API user has multiple Bulkchain roles, pass the optional x-active-role query parameter when calling these GET endpoints in the TO context: GET /v1/skus?x-active-role=BC_TERMINAL, GET /v1/visits?x-active-role=BC_TERMINAL, GET /v1/vlos?x-active-role=BC_TERMINAL, and GET /v1/vlos/{vloKey}/permit?x-active-role=BC_TERMINAL. For the visits endpoint, tdoKey and visitKey are also optional query parameters.

Category

Feature

API endpoint

Terminal Delivery Order

Get terminal delivery order(s)

GET /v1/tdos

Update general TDO info

PATCH /v1/tdos/{tdoKey}

Goods Reservation

Get Goods Reservation(s) for a TDO

GET /v1/tdos/{tdoKey}/goods-reservations

Get a specific Goods Reservation

GET /v1/tdos/{tdoKey}/goods-reservations?goodsReservationKey={goodsReservationKey}

Accept Goods Reservation

PATCH /v1/tdos/{tdoKey}/goods-reservations/{goodsReservationKey}/accept

Terminal

Get terminals with Bulkchain subscription.

GET /v1/terminals

Stock Keeping Unit

Get stock keeping unit(s)

GET /v1/skus

Update of the stock keeping unit during the terminal stay

PUT /v1/skus/{skuKey}

Update of the stock keeping unit during the terminal stay (for a batch)

PUT /v1/skus/batch/{batchKey}

Add goods condition to SKU

POST /v1/skus/{skuKey}/goodsconditions

Package Codes

Get package codes

GET /v1/package-codes

Visit

Get visit(s)

GET /v1/visits

Update visit info

PATCH /v1/tdos/{tdoKey}/visits/{visitKey}

Terminal Delivery Confirmation

Terminal delivery confirmation

POST /v1/tdcs

Vessel Load Order

Get vessel load order(s)

GET /v1/vlos

Set state to Mate's Receipt

PUT /v1/vlos/{vloKey}/state

Set state to Final Mate's Receipt

PUT /v1/vlos/{vloKey}/state

Reject VLO to Ship Agent

PUT /v1/vlos/{vloKey}/state

Get Permit (in pdf format)

GET /v1/vlos/{vloKey}/permit

Ship Agent

Get ship agents with Bulkchain subscription.

GET /v1/ship-agents