Skip to content

Get Tanks

Retrieve all tanks from Last Mile Intelligence.

getTank

tank

ParameterTypeRequiredDefaultDescription
Tank IDstringNo-Leave empty to retrieve all tanks
[
{
"id": "tank_abc123",
"shipToId": "ship_xyz789",
"name": "Main Storage Tank",
"capacity": 10000,
"currentLevel": 4500,
"isActive": true
},
{
"id": "tank_def456",
"shipToId": "ship_xyz789",
"name": "Backup Tank",
"capacity": 5000,
"currentLevel": 2200,
"isActive": true
}
]
{
"success": false,
"error": "Failed to retrieve tanks"
}
  • Missing API Token: LMI credential is missing API token
  • Permission Denied: API token lacks permission for this operation