Skip to content

callByShipPort

船舶挂靠指定港口查询

按船舶和指定港口查询挂靠记录。

调用方式:

typescript
const data = await client.port.callByShipPort(params);

请求信息: GET /apicall/GetPortOfCallByShipPort,鉴权参数 k

请求参数 (PortCallByShipPortParams)

参数名类型必填描述补充说明
key`stringundefined`User authorization key. Optional when the client already has a default key.
portidnumber港口 id。
beginnumber开始时间,时间戳秒。备注: 时间戳 秒
endnumber结束时间,时间戳秒。备注: 时间戳 秒

约束: 至少传一个:mmsiimoshipnamecallsign

返回类型: PortCallByShipPortData

查看类型定义
typescript
export type PortCallByShipPortData = PortCallRecord[];