Skip to content

Get Tank

Retrieve a single tank by its ID from Last Mile Intelligence.

getTank

tank

ParameterTypeRequiredDefaultDescription
Tank IDstringYes-The ID of the tank to retrieve
{
"id": "tank_abc123",
"shipToId": "ship_xyz789",
"name": "Main Storage Tank",
"productId": "prod_fuel001",
"capacity": 10000,
"currentLevel": 4500,
"unit": "gallon",
"lastReadingDate": "2024-06-20T08:00:00Z",
"reorderPoint": 2000,
"isActive": true
}
{
"success": false,
"error": "Tank not found",
"tankId": "invalid_id"
}
  • Missing API Token: LMI credential is missing API token
  • Tank Not Found: Tank with specified ID does not exist
  • Permission Denied: API token lacks permission for this operation