Download OpenAPI specification:
The Shipping Weather Services handle the triggering, creation, and retrieval of marine weather, which are stored in SPS files.
Get token for use in HTTP requests.
| client_id required | string Client ID as provided by ABB |
| client_secret required | string Client secret as provided by ABB |
| grant_type required | string Default: "client_credentials" The type of token request |
| scope required | string The scope the credentials should belong to. |
| access_token required | string The token that should be used in all requests to the API |
| expires_in required | integer The amount of time the token is valid [ s ] |
| scope required | string A space-delimited list of the scopes of the token |
| token_type required | string Default: "Bearer" The type of token |
| resource | string Resource associated to the token |
{- "access_token": "string",
- "expires_in": 0,
- "token_type": "Bearer",
- "scope": "string",
- "resource": "string"
}The health check endpoint provides information about the health of a web service. If each of the components required by the service are healthy, then the service is considered healthy and will return a 200 OK response. If any of the components needed by the service are unhealthy, then a 503 Service Unavailable response will be provided.
| status required | string |
| env | string |
| info | string |
| timestamp | string <RFC 3339 (UTC)> |
| version | string |
{- "status": "up",
- "version": "1.3616.0",
- "info": "Service is healthy.",
- "timestamp": "2018-02-10T09:30:00Z",
- "env": "dev"
}Get the available weather forecast issues.
| from | string <RFC 3339 (UTC)> Example: from=2024-01-01T00:00:00.000Z Date & Time from which the data is requested. If time range is not provided, the available issues for the last 31 days will be returned. |
| onlyLatest | boolean Example: onlyLatest=true If set to |
| onlyWithAnalysis | boolean Example: onlyWithAnalysis=true If set to |
| to | string <RFC 3339 (UTC)> Example: to=2024-01-01T00:00:00.000Z Date & Time until which the data is requested. If time range is not provided, the available issues for the last 31 days will be returned. |
| apiVersion required | string Version of the API this response was generated from |
required | Array of objects non-empty The available issue times of the weather forecast |
| correlationId required | string Internal identifier of the request |
{- "correlationId": "string",
- "apiVersion": "1.3616.0",
- "availableIssues": [
- {
- "issueTime": "2024-07-03T12:00:00.000Z"
}
]
}Get the details of the requested issues.
| issueTime required | string <RFC 3339 (UTC)> Example: issueTime=2024-01-01T00:00:00.000Z The issue time of the weather forecast |
| onlyAnalysis | boolean Example: onlyAnalysis=true If set to |
| apiVersion required | string Version of the API this response was generated from |
| correlationId required | string Internal identifier of the request |
required | Array of objects non-empty |
{- "correlationId": "string",
- "apiVersion": "1.3616.0",
- "details": [
- {
- "weatherElementSet": "Standard",
- "isAnalysis": false,
- "currentsResolution": 150,
- "resolution": 150,
- "areaId": 12,
- "areaName": "string",
- "forecastDuration": 216,
}
]
}