POST api/store/{storeID}/tank/{tankID}/levels

Save a FuelTank in the store

Request Information

URI Parameters

NameDescriptionTypeAdditional information
storeID

Store ID

integer

Required

tankID

Tank ID

integer

Required

Body Parameters

Fuel Tank level to save

FuelTankLevel
NameDescriptionTypeAdditional information
ID

integer

None.

StoreID

Store ID

integer

None.

TankNumber

Tank ID

integer

None.

Volume

Volume in the tank at the time of measurement

decimal number

None.

Measured

DateTime of when the Tank level was measured

date

None.

MeasuredAt

DateTime of when the Tank level was recorded

date

None.

Operator_GUID

Operator GUID of the operator who performed the measurement

Collection of byte

None.

OperatorGuid

globally unique identifier

None.

User

string

None.

Manual

Indicates whether this tank level comes from an ATG or a manual dip

boolean

None.

EndOfDay

End of day record this is associated with

integer

None.

Processed

Has this record been processed?

boolean

None.

MeasuredText

string

None.

MeasuredAtText

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "storeID": 2,
  "tankNumber": 3,
  "volume": 4.0,
  "measured": "2025-06-14T07:13:53.9557841",
  "measuredAt": "2025-06-14T07:13:53.9557841",
  "operator_GUID": "JurucO6mg06bCNPLSIIHVQ==",
  "operatorGuid": "70eeea26-a6ee-4e83-9b08-d3cb48820755",
  "user": "sample string 7",
  "manual": true,
  "endOfDay": 1,
  "processed": true,
  "measuredText": "sample string 9",
  "measuredAtText": "sample string 10"
}

application/xml, text/xml

Sample:
<FuelTankLevel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://gapsolutions.com.au/schema/ezimanager">
  <EndOfDay>1</EndOfDay>
  <ID>1</ID>
  <Manual>true</Manual>
  <Measured>2025-06-14T07:13:53.9557841+00:00</Measured>
  <MeasuredAt>2025-06-14T07:13:53.9557841+00:00</MeasuredAt>
  <MeasuredAtText>sample string 10</MeasuredAtText>
  <MeasuredText>sample string 9</MeasuredText>
  <OperatorGuid>70eeea26-a6ee-4e83-9b08-d3cb48820755</OperatorGuid>
  <Operator_GUID>JurucO6mg06bCNPLSIIHVQ==</Operator_GUID>
  <Processed>true</Processed>
  <StoreID>2</StoreID>
  <TankNumber>3</TankNumber>
  <User>sample string 7</User>
  <Volume>4</Volume>
</FuelTankLevel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.