Skip to content

callByShipPort

船舶挂靠指定港口查询。

调用方式:

typescript
const data = await client.port.callByShipPort(params);
typescript
import { Port } from 'loongship-data';

const data = await Port.callByShipPort({ key: 'YOUR_KEY', ...params });

请求参数 (PortCallByShipPortParams)

参数名类型必填描述
mmsinumber船舶主键。
imonumberIMO。
shipnamestring船舶名称。
callsignstring呼号。
portidnumber港口 id。
beginnumber开始时间,时间戳秒。
endnumber结束时间,时间戳秒。
keystringUser authorization key. Optional when an instance key or global key is registered.

返回类型: PortCallByShipPortData

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