GET v1/Clients/{clientId}/TankInventory?facilityId={facilityId}&startCollectionDateUtc={startCollectionDateUtc}

Gets all tanks' inventory for a given facility.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
clientId

Client identifier.

globally unique identifier

Required

facilityId

The facility Id.

integer

Required

startCollectionDateUtc

UTC date time filter that returns records on or after this period.

date

None.

Body Parameters

None.

Response Information

Resource Description

A .

Collection of TankInventoryV1
NameDescriptionTypeAdditional information
FacilityId

The facility id. Provided by service.

integer

None.

TankId

The tank id. Provided by service.

integer

None.

Id

The inventory id. Provided by service.

integer

None.

InventoryDate

The InventoryDate.

date

None.

CollectionDateTimeUtc

The Collection Date Time Utc.

date

None.

ProductCode

The product code.

string

None.

TankStatus

The Tank Status.

string

None.

Volume

The Volume.

decimal number

None.

TCVolume

The Volume.

decimal number

None.

Height

The Height.

decimal number

None.

Water

The Water.

decimal number

None.

Ullage

The Ullage.

decimal number

None.

Temperature

The Temperature.

decimal number

None.

WaterVolume

The Safe Ullage.

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "FacilityId": 1,
    "TankId": 2,
    "Id": 3,
    "InventoryDate": "2025-05-13T09:10:24.4887302+00:00",
    "CollectionDateTimeUtc": "2025-05-13T09:10:24.4887302+00:00",
    "ProductCode": "sample string 4",
    "TankStatus": "sample string 5",
    "Volume": 1.1,
    "TCVolume": 1.1,
    "Height": 1.1,
    "Water": 1.1,
    "Ullage": 1.1,
    "Temperature": 1.1,
    "WaterVolume": 1.1
  },
  {
    "FacilityId": 1,
    "TankId": 2,
    "Id": 3,
    "InventoryDate": "2025-05-13T09:10:24.4887302+00:00",
    "CollectionDateTimeUtc": "2025-05-13T09:10:24.4887302+00:00",
    "ProductCode": "sample string 4",
    "TankStatus": "sample string 5",
    "Volume": 1.1,
    "TCVolume": 1.1,
    "Height": 1.1,
    "Water": 1.1,
    "Ullage": 1.1,
    "Temperature": 1.1,
    "WaterVolume": 1.1
  }
]

application/xml, text/xml

Sample:
<ArrayOfTankInventory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Titan.API.Fuel.Models.Polling">
  <TankInventory>
    <CollectionDateTimeUtc>2025-05-13T09:10:24.4887302+00:00</CollectionDateTimeUtc>
    <FacilityId>1</FacilityId>
    <Height>1.1</Height>
    <Id>3</Id>
    <InventoryDate>2025-05-13T09:10:24.4887302+00:00</InventoryDate>
    <ProductCode>sample string 4</ProductCode>
    <TCVolume>1.1</TCVolume>
    <TankId>2</TankId>
    <TankStatus>sample string 5</TankStatus>
    <Temperature>1.1</Temperature>
    <Ullage>1.1</Ullage>
    <Volume>1.1</Volume>
    <Water>1.1</Water>
    <WaterVolume>1.1</WaterVolume>
  </TankInventory>
  <TankInventory>
    <CollectionDateTimeUtc>2025-05-13T09:10:24.4887302+00:00</CollectionDateTimeUtc>
    <FacilityId>1</FacilityId>
    <Height>1.1</Height>
    <Id>3</Id>
    <InventoryDate>2025-05-13T09:10:24.4887302+00:00</InventoryDate>
    <ProductCode>sample string 4</ProductCode>
    <TCVolume>1.1</TCVolume>
    <TankId>2</TankId>
    <TankStatus>sample string 5</TankStatus>
    <Temperature>1.1</Temperature>
    <Ullage>1.1</Ullage>
    <Volume>1.1</Volume>
    <Water>1.1</Water>
    <WaterVolume>1.1</WaterVolume>
  </TankInventory>
</ArrayOfTankInventory>