运之盟开放平台


单船历史轨迹查询(最大支持90天)

<p><strong>简要描述:</strong> </p> <ul> <li>查询船舶一段时间的轨迹,最多只能查询当前时间近90天的轨迹</li> </ul> <p><strong>请求方式:</strong></p> <ul> <li>API地址: <a href="https://open-beta.56yzm.com:8443">https://open-beta.56yzm.com:8443</a> (不同的环境,不同的API地址)</li> <li>请求地址:/open-api/location/ship/aisVesselVoyage</li> </ul> <p><strong>请求头数据 </strong></p> <ul> <li>Content-Type : application/json;charset=UTF-8 </li> <li>Authorization: Bearer {your_access_token} </li> </ul> <p><strong>入参参数:</strong> </p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">必选</th> <th style="text-align: left;">类型</th> <th>说明</th> <th>示例</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">param1</td> <td style="text-align: left;">否</td> <td style="text-align: left;">Long</td> <td>mmsi</td> <td>-</td> </tr> <tr> <td style="text-align: left;">param2</td> <td style="text-align: left;">否</td> <td style="text-align: left;">String</td> <td>开始时间</td> <td>yyyy-MM-dd HH:mm:ss</td> </tr> <tr> <td style="text-align: left;">param3</td> <td style="text-align: left;">否</td> <td style="text-align: left;">String</td> <td>结束时间</td> <td>yyyy-MM-dd HH:mm:ss</td> </tr> </tbody> </table> <p><strong>入参示例</strong></p> <pre><code>{ &amp;quot;mmsi&amp;quot;: &amp;quot;Long&amp;quot;, &amp;quot;startTime&amp;quot;: &amp;quot;yyyy-MM-dd HH:mm:ss&amp;quot;, &amp;quot;endTime&amp;quot;: &amp;quot;yyyy-MM-dd HH:mm:ss&amp;quot; }</code></pre> <p><strong>返回参数说明</strong> </p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">course</td> <td style="text-align: left;">number</td> <td>航迹向,1/100 度</td> </tr> <tr> <td style="text-align: left;">lat</td> <td style="text-align: left;">number</td> <td>纬度,1/1000000度</td> </tr> <tr> <td style="text-align: left;">lon</td> <td style="text-align: left;">number</td> <td>经度,1/1000000度</td> </tr> <tr> <td style="text-align: left;">speed</td> <td style="text-align: left;">number</td> <td>速度(单位:毫米/秒)</td> </tr> <tr> <td style="text-align: left;">posTime</td> <td style="text-align: left;">string</td> <td>发生时间,北京时间</td> </tr> </tbody> </table> <p><strong>出参示例</strong></p> <pre><code>{ &amp;quot;code&amp;quot;: 0, &amp;quot;msg&amp;quot;: &amp;quot;string&amp;quot;, &amp;quot;data&amp;quot;: { &amp;quot;statusCode&amp;quot;: 0, &amp;quot;message&amp;quot;: &amp;quot;string&amp;quot;, &amp;quot;data&amp;quot;: [ { &amp;quot;course&amp;quot;: 0, &amp;quot;lat&amp;quot;: 0, &amp;quot;lon&amp;quot;: 0, &amp;quot;speed&amp;quot;: 0, &amp;quot;posTime&amp;quot;: &amp;quot;yyyy-MM-dd HH:mm:ss&amp;quot; } ] } }</code></pre>

页面列表

ITEM_HTML