Appearance
callByShipPort
船舶挂靠指定港口查询
按船舶和指定港口查询挂靠记录。
调用方式:
typescript
const data = await client.port.callByShipPort(params);请求信息: GET /apicall/GetPortOfCallByShipPort,鉴权参数 k
请求参数 (PortCallByShipPortParams)
| 参数名 | 类型 | 必填 | 描述 | 补充说明 |
|---|---|---|---|---|
| key | `string | undefined` | 否 | User authorization key. Optional when the client already has a default key. |
| portid | number | 是 | 港口 id。 | |
| begin | number | 是 | 开始时间,时间戳秒。 | 备注: 时间戳 秒 |
| end | number | 是 | 结束时间,时间戳秒。 | 备注: 时间戳 秒 |
约束: 至少传一个:mmsi、imo、shipname、callsign
返回类型: PortCallByShipPortData
查看类型定义
typescript
export type PortCallByShipPortData = PortCallRecord[];