Trinium ============================================================================= :Provider Information: +-----------------+-----------------------------------------------+ | **Id** | trinium | +-----------------+-----------------------------------------------+ | **Type** | terminal | +-----------------+-----------------------------------------------+ | **Trace Type** | API | +-----------------+-----------------------------------------------+ | **Credentials** | Customer credentials | +-----------------+-----------------------------------------------+ | **Limits** | Maximum number of containers per request is 5 | +-----------------+-----------------------------------------------+ | **Status** | draft | +-----------------+-----------------------------------------------+ | **Doc Status** | draft | +-----------------+-----------------------------------------------+ | **Doc Version** | 1 | +-----------------+-----------------------------------------------+ :URLs: +---------+-----------------------------------+-------------+ | Type | URL | Environment | +=========+===================================+=============+ | Request | https://pipeline.triniumtech.com/ | PRD/DEV/STG | +---------+-----------------------------------+-------------+ :Sites: +------+---------+-----------------+ | Name | Site Id | Description | +======+=========+=================+ | name | ern | the description | +------+---------+-----------------+ Request ----------------------------------------------------------------------------- Query Containers Request ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Query containers using the following request by adding the LocationCode and container numbers in the request url as following. .. code-block:: shell GET https://pipeline.triniumtech.com/cgi-bin/web/WService=wsam/websrc/ss3.p?wfacct={account}&wfacctpwd={accountPassword}&wfsite={locationCodeValue}&wfsiteuid={user}&wfsitepwd={password}&wfcontainers={Containers} .. note:: trinium API supports different terminals, in order to query data related to one of them, the **locationCode** has to be provided inside the data with the terminal AM Trace name. Responses ----------------------------------------------------------------------------- Query Containers Response ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Next response is for three containers MSCU5303578,MSCU5317020, TTTR0000001 represents found containers and not found one. .. code-block:: xml zsales600 GREER MSCU5303578,MSCU5317020,TTTR0000001 MSCU5303578 MSCU5303578 MSCU5303578 SUCCESS GREER qry 1 p-ss-greer-01.p TRUE MED AMERICA / 447A 01/15/2025 01/15/2025 01/15/2025 15:41:51 15:41:51 01/15/2025 15:41:51 FALSE 01/24/2025 15:19:59 S40H 01/20/2025 01/20/2025 16:18:54 16:18:54 01/20/2025 16:18:54 MSCU5317020 MSCU5317020 MSCU5317020 SUCCESS GREER qry 1 p-ss-greer-01.p TRUE MED AMERICA / 447A 01/15/2025 01/16/2025 01/16/2025 01:33:33 01:33:33 01/16/2025 01:33:33 FALSE 01/21/2025 22:33:52 S40H 01/20/2025 01/20/2025 01:18:57 01:18:57 01/20/2025 01:18:57 TTTR0000001 TTTR0000001 TTTR0000001 SUCCESS GREER qry 1 p-ss-greer-01.p FALSE FALSE Not found containers Response ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ If containers TTTR0000001 is given as not found container then API returns the next response. .. code-block:: xml zsales600 GREER TTTR0000001 TTTR0000001 TTTR0000001 TTTR0000001 SUCCESS GREER qry 1 p-ss-greer-01.p FALSE FALSE :Data Mapping: +------------------------+--------------------------------+----------------------------------------------------------------------+ | Property | Source Property | Description | +========================+================================+======================================================================+ | containerNumber | TRCCONTAINER | The container reference number | +------------------------+--------------------------------+----------------------------------------------------------------------+ | length | TRCCTRLENGTH | The container length | +------------------------+--------------------------------+----------------------------------------------------------------------+ | loaded | TRCCONTAINERSTATUSVAL | Determine if the container is loaded or empty | +------------------------+--------------------------------+----------------------------------------------------------------------+ | pickupNumber | TRCRELEASENUMBERVAL | Represents the puckup number | +------------------------+--------------------------------+----------------------------------------------------------------------+ | carrier.steamshipLine | TRCBILLOFLADING | Carrier scac. | +------------------------+--------------------------------+----------------------------------------------------------------------+ | carrier.vessel | TRCVESSEL | Represents the carrier vessel | +------------------------+--------------------------------+----------------------------------------------------------------------+ | carrier.voyage | TRCVOYAGE | Carrier voyage number | +------------------------+--------------------------------+----------------------------------------------------------------------+ | destination.name | TRCDESTINATION | Represents the destination location | +------------------------+--------------------------------+----------------------------------------------------------------------+ || destination.type || Default || This is a static value represents where the | || || || event happens and it is set to 'terminal'. | +------------------------+--------------------------------+----------------------------------------------------------------------+ | event[n].code | TRCDISCHARGEDATEVAL | Grounded event is created if TRCDISCHARGEDATEVAL has a value | +------------------------+--------------------------------+----------------------------------------------------------------------+ | event[n].lot | TRCLASTMOVE | Represents the lot | +------------------------+--------------------------------+----------------------------------------------------------------------+ | event[n].code | TRCLSRFLFDTRCLASTFREEDATEDMVAL | Lfd event is created if TRCLSRFLFDTRCLASTFREEDATEDMVAL has a date | +------------------------+--------------------------------+----------------------------------------------------------------------+ | event[n].code | TRCOUTGATEDDATEVAL | Outgated event is created if TRCOUTGATEDDATEVAL has a value | +------------------------+--------------------------------+----------------------------------------------------------------------+ | event[n].data.holdType | TRCCUSTOMSHOLDSVAL | Hold event is created with hold type as Customs Hold if it has value | +------------------------+--------------------------------+----------------------------------------------------------------------+ | event[n].data.holdType | TRCFREIGHTHOLDSVAL | Hold event is created with hold type as Freight Hold if it has value | +------------------------+--------------------------------+----------------------------------------------------------------------+ | event[n].data.holdType | TRCUSDAHOLDSVAL | Hold event is created with hold type as USDA Hold if it has value | +------------------------+--------------------------------+----------------------------------------------------------------------+ | event[n].date | Default | Today date is a default date | +------------------------+--------------------------------+----------------------------------------------------------------------+ | event[n].location.name | TRCDESTINATION | Represents the location | +------------------------+--------------------------------+----------------------------------------------------------------------+ | event[n].location.type | Default | Default value is Terminal. | +------------------------+--------------------------------+----------------------------------------------------------------------+