Ship casualty records
Changed onReturns incident records with casualty type, date, and a full narrative including subsequent update entries.
Credit cost: 1 per record returned. Requires an Add-Ons plan tier.
For a bulk export, POST to /api/v0/report with report_type: casualty. Bulk reports cost 2,000 credits each.
Request
- Base URLhttps://api.datalastic.com
- Auth
- API key in header x-api-key
- or API key in query parameter api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
IMO vessel number.
Vessel name.
Start of casualty date range (yyyy-mm-dd).
End of casualty date range (yyyy-mm-dd).
Response
Matching casualty records.
Example response
{
"data": [
{
"id": 1793,
"imo": "9319569",
"vessel_name": "VENTO",
"casualty_date": "2023-09-03",
"casualty_type": "Beached/Grounded",
"casualty_details": "Container ship ran onto sandy bar at Cape Ammoglossa, Kos island, Greece.",
"modified_at": "2023-09-15T00:00:00Z"
}
],
"meta": {
"duration": 0.012,
"endpoint": "/api/v0/vessel",
"success": true,
"next": "00e32b7a-4067-d6b2-8d73-2bdda4fe72bb"
}
}Changes
- warning
deleted the
queryrequest parameterapi-key - info
added the media type
application/jsonfor the response with the status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the optional property
/to the response with the status
- warning