This screen provides congestion status and statistical data for ports. Users can gain insights for logistics planning and decision-making based on port-related information.
Steps to Use the Screen Embed Service
1. Token Issuance
Issue the user token.
Request URL:
[GET] https://insight.seavantage.com/api/token/publish
Execution Steps
1.
2.
Navigate to /token/publish.
3.
Click [Try it out] to activate input fields.
4.
Click [Execute].
5.
View results in the response section.
Notes
•
Tokens are valid for 24 hours. To maintain continuous access, it is recommended to renew them every 12 hours.
•
This API can be called multiple times, but only the two most recently issued tokens remain valid. Previously issued tokens are automatically expired.
2. Embed URL Generation
After issuing the token, combine it with the necessary parameters to generate the embed URL.
Parameter Types
The screen embed feature allows you to configure cargo tracking views using the parameters below. You can enter the URL in a browser or embed it into an iframe to use the service.
userToken (required)
•
A valid token issued by SeaVantage
portId (required)
•
The SeaVantage Port ID (UUID) of the target port
https://insight.seavantage.com/port/overview?portId={portId}&userToken={userToken}
Plain Text
복사
•
portId is returned as a value in the response when searching for ports.
Note
•
If permissions for the port have not been configured, the port information cannot be retrieved.
•
map (optional)
•
Add map=full to use the map in full-screen mode.
Example
•
To access Port Insight for Busan Port:
https://insight.seavantage.com/port/overview?portId=dc822048-5534-11e9-a747-54802853d888&userToken={userToken}
Plain Text
복사
•
To show Busan Port with map in full screen:
https://insight.seavantage.com/port/overview?portId=dc822048-5534-11e9-a747-54802853d888&userToken={userToken}&map=full
Plain Text
복사