Changes the notification settings of specified Vessel of Interest list alerts.
Arguments
VOIInput Fields
| Name | Type | Description |
|---|---|---|
| color | String | The color with which the VOI is highlighted in WindWard UI. |
| name | String | The VOI list name. |
| notifications | NotificationsInput | Sets the VOI notification settings. |
Returns
| Name | Description |
|---|---|
| VOI | The updated Vessel of Interest list name and ID. |
VOI Fields
Example Code
Sample Mutation
mutation UpdateVoi($updateVoiId: ObjectId!, $voi: VOIInput!) {
updateVoi(id: $updateVoiId, voi: $voi) {
id
name
}
}Variables
{
"updateVoiId": "63a85d960f405d00118239ea",
"voi": {
"notifications": {
"compliance": {
"appNotifications": true
}
}
}
}Response
{
"data": {
"updateVoi": {
"id": "63a85d960f405d00118239ea",
"name": "New-VOI"
}
}
}