Matson C60 ============================================================================= :Provider Information: +-----------------+-----------------------+ | **Id** | matson_c60 | +-----------------+-----------------------+ | **Type** | terminal | +-----------------+-----------------------+ | **Trace Type** | Scrape | +-----------------+-----------------------+ | **Credentials** | no credentials needed | +-----------------+-----------------------+ | **Limits** | 1 | +-----------------+-----------------------+ | **Status** | completed | +-----------------+-----------------------+ | **Doc Status** | draft | +-----------------+-----------------------+ | **Doc Version** | 1 | +-----------------+-----------------------+ :URLs: +------+---------------------------------------------+-------------+ | Type | URL | Environment | +======+=============================================+=============+ | Page | https://www.matson.com | DEV/STG/PRD | +------+---------------------------------------------+-------------+ :Sites: +------+---------+-----------------+ | Name | Site Id | Description | +======+=========+=================+ | name | ern | the description | +------+---------+-----------------+ Pages ----------------------------------------------------------------------------- As site underhood uses an API call - we directly call this API and parse its result: https://www.matson.com/vcsc/tracking/container/{CONTAINER_NUMBER} :Data Mapping: +------------------------+--------------------+-----------------------------------------+ | Property | Source Property | Description | +========================+====================+=========================================+ || container_number || containerNumber + || Container number | || || checkDigit || | +------------------------+--------------------+-----------------------------------------+ | carrier.steamship_line | shipperName | The SCAC for the carrier. | +------------------------+--------------------+-----------------------------------------+ | carrier.vessel | vessel | Id of the vessel | +------------------------+--------------------+-----------------------------------------+ | carrier.voyage | voyage | Voyage id for the vessel | +------------------------+--------------------+-----------------------------------------+ || Outgate event || events[].status || Event will be created if | || || || exists event with status "Outgate" | +------------------------+--------------------+-----------------------------------------+ || Arrived event || events[].status || Event will be created if | || || || exists event with status "Available" | +------------------------+--------------------+-----------------------------------------+ || Eta event || vesselETA || Event will be created if | || || || vesselETA column has data value | +------------------------+--------------------+-----------------------------------------+ || Customs hold event || events[].status || Event will be created if exists | || || || event with status "Hold" and "Customs" | +------------------------+--------------------+-----------------------------------------+ || Line hold event || events[].status || Event will be created if exists event | || || || with status "Hold" and "for payment" | +------------------------+--------------------+-----------------------------------------+ :Arrived Event: +--------------------------+-----------------+-------------------------------------------+ | Property | Source Property | Description | +==========================+=================+===========================================+ | event[n].code | Arrived || Arrived event will be created | | | || if "Available" if event[0].status | +--------------------------+-----------------+-------------------------------------------+ | event[n].date | Default | Today date is the default date value | +--------------------------+-----------------+-------------------------------------------+ | event[n].location.name | Location | Location could be YARD or VESSEL. | +--------------------------+-----------------+-------------------------------------------+ | event[n].location.type | Default | Terminal is the default type for location | +--------------------------+-----------------+-------------------------------------------+ | event[n].location.siteId | destPort | URN's site identifying the location | +--------------------------+-----------------+-------------------------------------------+ | event[n].data.arrived | events[0].date | ISO date of the arrival date | +--------------------------+-----------------+-------------------------------------------+ :ETA Event: +--------------------------+---------------------------+-------------------------------------------+ | Property | Source Property | Description | +==========================+===========================+===========================================+ || event[n].code || ETA || ETA event will be created | || || || If date in vesselETA column | +--------------------------+---------------------------+-------------------------------------------+ | event[n].date | Default | Today date is the default date value | +--------------------------+---------------------------+-------------------------------------------+ | event[n].location.name | Location | Location could be YARD or VESSEL. | +--------------------------+---------------------------+-------------------------------------------+ | event[n].location.type | Default | Terminal is the default type for location | +--------------------------+---------------------------+-------------------------------------------+ | event[n].location.siteId | destPort | URN's site identifying the location | +--------------------------+---------------------------+-------------------------------------------+ | event[n].data.released | Default | ISO date of release date | +--------------------------+---------------------------+-------------------------------------------+ || event[n].data.eta || events[].vesselETA || Date for the container | +--------------------------+---------------------------+-------------------------------------------+ :Outgated Event: +----------------------------------+------------------+-------------------------------------------+ | Property | Source Property | Description | +==================================+==================+===========================================+ | event[n].code | Outgated | If "Outgate" in events[].status | +----------------------------------+------------------+-------------------------------------------+ | event[n].date | Default | Today date is the default date value | +----------------------------------+------------------+-------------------------------------------+ | event[n].location.name | Default | Location value is defaulted to OFFDOCK | +----------------------------------+------------------+-------------------------------------------+ | event[n].location.type | Default | Terminal is the default type for location | +----------------------------------+------------------+-------------------------------------------+ | event[n].data.outgate_confirmed | Default | True | +----------------------------------+------------------+-------------------------------------------+ | event[n].data.outgated | events[].date | ISO date if the container was out gated | +----------------------------------+------------------+-------------------------------------------+ :Hold Events: +-------------------------+-----------------+-------------------------------------------+ | Property | Source Property | Description | +=========================+=================+===========================================+ | event[n].code | Hold | Hold is the default value for the event | +-------------------------+-----------------+-------------------------------------------+ | event[n].date | Default | Today date is the default date value | +-------------------------+-----------------+-------------------------------------------+ | event[n].location.name | Location | Location could be YARD or VESSEL. | +-------------------------+-----------------+-------------------------------------------+ | event[n].location.type | Default | Terminal is the default type for location | +-------------------------+-----------------+-------------------------------------------+ || event[n].data.holdType || Customs || events[].status has "customs" and "hold" | || || Line || events[].status has "customs" and "hold" | +-------------------------+-----------------+-------------------------------------------+ | event[n].data.code | HOLD | Provider dependent code | +-------------------------+-----------------+-------------------------------------------+