scspa ============================================================================= :Provider Information: +-----------------+-----------------------+ | **Id** | scspa | +-----------------+-----------------------+ | **Type** | terminal | +-----------------+-----------------------+ | **Trace Type** | Scrape | +-----------------+-----------------------+ | **Credentials** | No credentails needed | +-----------------+-----------------------+ | **Limits** | 1 | +-----------------+-----------------------+ | **Status** | completed | +-----------------+-----------------------+ | **Doc Status** | draft | +-----------------+-----------------------+ | **Doc Version** | 1 | +-----------------+-----------------------+ :URLs: +------+----------------------------+-------------+ | Type | URL | Environment | +======+============================+=============+ | Page | https://optools.scspa.com/ | DEV/STG/PRD | +------+----------------------------+-------------+ :Sites: +------+---------+-----------------+ | Name | Site Id | Description | +======+=========+=================+ | name | ern | the description | +------+---------+-----------------+ Pages ----------------------------------------------------------------------------- Open query page using the following link. .. code-block:: shell GET http://optools.scspa.com/Cargo/Operational_tools/Cargo_inquiry/orion_query_redirect_detail.asp?Container= .. note:: - Replace with a valid container number. Once the page is opened, the results shows up on the page. .. image:: /_static/providers/rt/scspa/search-containers.png :Data Mapping: +-----------------------+------------------+----------------------------------------------------+ | Property | Source Property | Description | +=======================+==================+====================================================+ | container_number | container | Container number | +-----------------------+------------------+----------------------------------------------------+ | carrier.type | default | carrier is defaulted to VESSEL | +-----------------------+------------------+----------------------------------------------------+ | carrier.steamshipLine | line_name | The SCAC for the carrier. | +-----------------------+------------------+----------------------------------------------------+ | loaded | container_status | Represents if the container is loaded or empty | +-----------------------+------------------+----------------------------------------------------+ | steamship_bl | container_status | Represents if the container is loaded or empty | +-----------------------+------------------+----------------------------------------------------+ | Grounded event | received_date | Event will be created if it has a valid date | +-----------------------+------------------+----------------------------------------------------+ || Released event || customs_release || Event will be created if customs_release = YES | || || usda_release || and usda_release = YES | || || agent_release || and agent_release = YES | || || nvocc_release || and nvocc_release = YES | +-----------------------+------------------+----------------------------------------------------+ | Outgated event | delivery_date | Event will be created if it has a valid date | +-----------------------+------------------+----------------------------------------------------+ || Customs hold event || customs_release || Event will be created if customs_release has Hold | || || || | +-----------------------+------------------+----------------------------------------------------+ || Usda hold event || usda_release || Event will be created if usda_release has Hold | || || || | +-----------------------+------------------+----------------------------------------------------+ | Line hold event | agent_release | Event will be created if agent_release has Hold | +-----------------------+------------------+----------------------------------------------------+ | Demurrage hold event | nvocc_release | Event will be created if nvocc_release has Hold | +-----------------------+------------------+----------------------------------------------------+ :Grounded Event: +------------------------+-----------------+------------------------------------------------+ | Property | Source Property | Description | +========================+=================+================================================+ | event[n].code | Grounded | If received_date has a valid date | +------------------------+-----------------+------------------------------------------------+ | event[n].date | Default | Today date is the default date value | +------------------------+-----------------+------------------------------------------------+ | event[n].location.name | terminal | Represents the location for the current event. | +------------------------+-----------------+------------------------------------------------+ | event[n].location.type | Default | Terminal is the default type for location | +------------------------+-----------------+------------------------------------------------+ | event[n].data.grounded | received_date | ISO date of the grounded date | +------------------------+-----------------+------------------------------------------------+ :Released Event: +------------------------+-----------------+------------------------------------------------+ | Property | Source Property | Description | +========================+=================+================================================+ | event[n].code | Released | Event is created If there are no holds | +------------------------+-----------------+------------------------------------------------+ | event[n].date | Default | Today date is the default date value | +------------------------+-----------------+------------------------------------------------+ | event[n].location.name | terminal | Represents the location for the current event. | +------------------------+-----------------+------------------------------------------------+ | event[n].location.type | Default | Terminal is the default type for location | +------------------------+-----------------+------------------------------------------------+ | event[n].data.released | Default | Today date is the default date value | +------------------------+-----------------+------------------------------------------------+ :Outgated Event: +---------------------------------+-----------------+---------------------------------------------------+ | Property | Source Property | Description | +=================================+=================+===================================================+ | event[n].code | Outgated | Event is created if delivery_date has valid date | +---------------------------------+-----------------+---------------------------------------------------+ | event[n].date | Default | Today date is the default date value | +---------------------------------+-----------------+---------------------------------------------------+ | event[n].location.name | terminal | Represents the location for the current event. | +---------------------------------+-----------------+---------------------------------------------------+ | event[n].location.type | Default | Terminal is the default type for location | +---------------------------------+-----------------+---------------------------------------------------+ | event[n].data.outgate_confirmed | Default | Default to true if delivery_date haas valid value | +---------------------------------+-----------------+---------------------------------------------------+ | event[n].data.outgated | delivery_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 | terminal | Represents the location for the current event. | +-------------------------+------------------+--------------------------------------------------+ | event[n].location.type | Default | Terminal is the default type for location | +-------------------------+------------------+--------------------------------------------------+ || event[n].data.holdType || customs_release || Customs hold is created if customs_release=Hold | || || usda_release || Usda hold is created if usda_release=Hold | || || agent_release || Line hold is created if agent_release=Hold | || || nvocc_release || Demurage hold is created if nvocc_release=Hold | +-------------------------+------------------+--------------------------------------------------+ | event[n].data.code | HOLD | Provider dependent code | +-------------------------+------------------+--------------------------------------------------+