Open the vessel profile page displaying information on the vessel type, behaviour, and risk .
Query Schema
type Query {
readOnlyVesselProfileLink(vesselId: ObjectId, imo: String, startDate: DateTime, endDate: DateTime, sections: [VesselProfileSectionName!]): ReadOnlyVesselProfileLinkResponse
}
Arguments
Name | Type | Description |
---|---|---|
vesselId | ObjectId | The unique Windward assigned ID of the vessel whose profile is to be displayed. |
imo | String | The International Maritime Organization ID of the vessel whose profile is to be displayed. |
startDate | DateTime | The starting date of the time range within which profile data is captured. |
endDate | DateTime | The end date of the time range within which profile data is captured. |
endDate | [VesselProfileSectionName!] | The name of the vessel profile section. |
Returns
Name | Description |
---|---|
ReadOnlyVesselProfileLinkResponse | The link returned by the readOnlyVesselProfileLink query. |
ReadOnlyVesselProfileLinkResponsed Fields
Name | Type | Description |
---|---|---|
link | String | The link returned by the readOnlyVesselProfileLink query. |
Example Code
Sample Query
query ReadOnlyVesselProfileLink($imo: String) {
readOnlyVesselProfileLink(imo: $imo) {
link
}
}
Variables
{
"imo": "9146558",
"startDate": "2022-06-01T06:00:00.000Z",
"endDate": "2022-12-20T06:00:00.000Z"
}
Response
{
"imo": "9146558",
"startDate": "2022-06-01T06:00:00.000Z",
"endDate": "2022-12-20T06:00:00.000Z"
}