DrayEasy API v2

DrayEasy API v2


Intermodal Region List

<h2>Overview</h2> <p>In drayage, an 'intermodal region' is a geographic area that functions as a hub for intermodal transportation, featuring ports and ramps. We divided North America into approximately 100 intermodal regions. This API request delivers a list of intermodal regions. </p> <h2>Request</h2> <ul> <li>Method: <strong>GET</strong></li> <li>URI: <code>/intermodalRegions</code></li> </ul> <h2>Code Example</h2> <pre><code>Request: curl https://api.drayeasy.com/api/v2/intermodalRegions \ --header 'Accept: application/json' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer xxxxxxxxx' Response: HTTP/1.1 200 OK Content-Type: application/json; charset=utf-8 { &amp;quot;data&amp;quot;: [ { &amp;quot;id&amp;quot;: 50, &amp;quot;name&amp;quot;: &amp;quot;Albany - NY&amp;quot;, &amp;quot;city&amp;quot;: &amp;quot;Albany, NY, USA&amp;quot;, &amp;quot;latitude&amp;quot;: 42.914506, &amp;quot;longitude&amp;quot;: -73.709122, &amp;quot;has_ocean_port&amp;quot;: false, &amp;quot;has_ramp_port&amp;quot;: false }, { &amp;quot;id&amp;quot;: 53, &amp;quot;name&amp;quot;: &amp;quot;Albuquerque - NM&amp;quot;, &amp;quot;city&amp;quot;: &amp;quot;Albuquerque, NM, USA&amp;quot;, &amp;quot;latitude&amp;quot;: 35.043125, &amp;quot;longitude&amp;quot;: -106.653018, &amp;quot;has_ocean_port&amp;quot;: false, &amp;quot;has_ramp_port&amp;quot;: true }, ... ] }</code></pre> <h2>Response Fields Description</h2> <table> <thead> <tr> <th>Field</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td>id</td> <td>Integer</td> <td>A unique identifier for the intermodal region.</td> </tr> <tr> <td>name</td> <td>String</td> <td>The name of the intermodal region, typically including the city name and state abbreviation.</td> </tr> <tr> <td>city</td> <td>String</td> <td>A detailed string that includes the city name, state abbreviation, and country.</td> </tr> <tr> <td>latitude</td> <td>Float</td> <td>The geographic latitude of the intermodal region's central point.</td> </tr> <tr> <td>longitude</td> <td>Float</td> <td>The geographic longitude of the intermodal region's central point.</td> </tr> <tr> <td>has_ocean_port</td> <td>Boolean</td> <td>Indicates whether the intermodal region has access to an ocean port <strong>true</strong> or not <strong>false</strong>.</td> </tr> <tr> <td>has_ramp_port</td> <td>Boolean</td> <td>Indicates whether the region includes a ramp port <strong>true</strong> or lacks one <strong>false</strong>.</td> </tr> </tbody> </table>

页面列表

ITEM_HTML