Adds vessels to Vessel of Interest (VOI) lists.
Arguments
| Name | Type | Description | 
|---|---|---|
| id | ObjectId | The unique Windward assigned ID of the VOI to which the vessels are added. | 
| imos | [String!]! | The vessel International Maritime Organization ID of the vessels to add to the list. | 
Returns
| Name | Description | 
|---|---|
| VOI | The Vessel of Interest list name and ID to which the vessels are added. | 
VOI Fields
Example Code
Sample Mutation
mutation AddVesselsToVoiByImo($voiId: ObjectId!, $imos: [String!]!) {
  addVesselsToVoiByImo(id: $voiId, imos: $imos) {
    id
    name
  }
}Variables
{
  "voiId": "63a84e070f405d00118234fd",
  "imos": "9515539"
}Response
{
  "data": {
    "addVesselsToVoiByImo": {
      "id": "63a84e070f405d00118234fd",
      "name": "New-VOI"
    }
  }
}