POST v1/Clients/{clientId}/InventoryVariances

Adds one or more InventoryVariance.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
clientId

Client identifier.

globally unique identifier

Required

Body Parameters

The InventoryVariance.

Collection of InventoryVarianceV1
NameDescriptionTypeAdditional information
FacilityId

The facility id. Provided by service.

integer

None.

TankId

The tank id. Provided by service.

integer

None.

InventoryVarianceId

The Inventory Variance id. Provided by service.

integer

None.

InventoryVarianceDate

The date and time the InventoryVarianceDate

date

None.

Beginning

The Beginning

decimal number

None.

BeginningOverride

The BeginningOverride

decimal number

None.

Delivered

The Delivered

decimal number

None.

DeliveredOverride

The BeginningOverride

decimal number

None.

Sold

The Sold

decimal number

None.

SoldOverride

The SoldOverride

decimal number

None.

EndingGallons

The EndingGallons

decimal number

None.

EndingOverride

The EndingOverride

decimal number

None.

EndingInches

The EndingInches

decimal number

None.

EndingInchesOverride

The EndingInchesOverride

decimal number

None.

WaterInches

The WaterInches

decimal number

None.

WaterInchesOverride

The WaterInchesOverride

decimal number

None.

ManualAdjustments

The ManualAdjustments

decimal number

None.

DailyOverShort

Gets or sets the daily over/short (i.e., variance).

decimal number

None.

PerfectGallonDayStartTime

Gets or sets the Perfect Gallon Day Start Time.

time interval

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "FacilityId": 1,
    "TankId": 2,
    "InventoryVarianceId": 1,
    "InventoryVarianceDate": "2025-05-13T08:40:55.4063837+00:00",
    "Beginning": 1.0,
    "BeginningOverride": 1.0,
    "Delivered": 1.0,
    "DeliveredOverride": 1.0,
    "Sold": 1.0,
    "SoldOverride": 1.0,
    "EndingGallons": 1.0,
    "EndingOverride": 1.0,
    "EndingInches": 1.0,
    "EndingInchesOverride": 1.0,
    "WaterInches": 1.0,
    "WaterInchesOverride": 1.0,
    "ManualAdjustments": 1.0,
    "DailyOverShort": 1.0,
    "PerfectGallonDayStartTime": "00:00:00.1234567"
  },
  {
    "FacilityId": 1,
    "TankId": 2,
    "InventoryVarianceId": 1,
    "InventoryVarianceDate": "2025-05-13T08:40:55.4063837+00:00",
    "Beginning": 1.0,
    "BeginningOverride": 1.0,
    "Delivered": 1.0,
    "DeliveredOverride": 1.0,
    "Sold": 1.0,
    "SoldOverride": 1.0,
    "EndingGallons": 1.0,
    "EndingOverride": 1.0,
    "EndingInches": 1.0,
    "EndingInchesOverride": 1.0,
    "WaterInches": 1.0,
    "WaterInchesOverride": 1.0,
    "ManualAdjustments": 1.0,
    "DailyOverShort": 1.0,
    "PerfectGallonDayStartTime": "00:00:00.1234567"
  }
]

application/xml, text/xml

Sample:
<ArrayOfInventoryVariance xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Titan.API.Fuel.Models">
  <InventoryVariance>
    <Beginning>1</Beginning>
    <BeginningOverride>1</BeginningOverride>
    <DailyOverShort>1</DailyOverShort>
    <Delivered>1</Delivered>
    <DeliveredOverride>1</DeliveredOverride>
    <EndingGallons>1</EndingGallons>
    <EndingInches>1</EndingInches>
    <EndingInchesOverride>1</EndingInchesOverride>
    <EndingOverride>1</EndingOverride>
    <FacilityId>1</FacilityId>
    <InventoryVarianceDate>2025-05-13T08:40:55.4063837+00:00</InventoryVarianceDate>
    <InventoryVarianceId>1</InventoryVarianceId>
    <ManualAdjustments>1</ManualAdjustments>
    <PerfectGallonDayStartTime>PT0.1234567S</PerfectGallonDayStartTime>
    <Sold>1</Sold>
    <SoldOverride>1</SoldOverride>
    <TankId>2</TankId>
    <WaterInches>1</WaterInches>
    <WaterInchesOverride>1</WaterInchesOverride>
  </InventoryVariance>
  <InventoryVariance>
    <Beginning>1</Beginning>
    <BeginningOverride>1</BeginningOverride>
    <DailyOverShort>1</DailyOverShort>
    <Delivered>1</Delivered>
    <DeliveredOverride>1</DeliveredOverride>
    <EndingGallons>1</EndingGallons>
    <EndingInches>1</EndingInches>
    <EndingInchesOverride>1</EndingInchesOverride>
    <EndingOverride>1</EndingOverride>
    <FacilityId>1</FacilityId>
    <InventoryVarianceDate>2025-05-13T08:40:55.4063837+00:00</InventoryVarianceDate>
    <InventoryVarianceId>1</InventoryVarianceId>
    <ManualAdjustments>1</ManualAdjustments>
    <PerfectGallonDayStartTime>PT0.1234567S</PerfectGallonDayStartTime>
    <Sold>1</Sold>
    <SoldOverride>1</SoldOverride>
    <TankId>2</TankId>
    <WaterInches>1</WaterInches>
    <WaterInchesOverride>1</WaterInchesOverride>
  </InventoryVariance>
</ArrayOfInventoryVariance>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

The array of added .

Collection of InventoryVarianceV1
NameDescriptionTypeAdditional information
FacilityId

The facility id. Provided by service.

integer

None.

TankId

The tank id. Provided by service.

integer

None.

InventoryVarianceId

The Inventory Variance id. Provided by service.

integer

None.

InventoryVarianceDate

The date and time the InventoryVarianceDate

date

None.

Beginning

The Beginning

decimal number

None.

BeginningOverride

The BeginningOverride

decimal number

None.

Delivered

The Delivered

decimal number

None.

DeliveredOverride

The BeginningOverride

decimal number

None.

Sold

The Sold

decimal number

None.

SoldOverride

The SoldOverride

decimal number

None.

EndingGallons

The EndingGallons

decimal number

None.

EndingOverride

The EndingOverride

decimal number

None.

EndingInches

The EndingInches

decimal number

None.

EndingInchesOverride

The EndingInchesOverride

decimal number

None.

WaterInches

The WaterInches

decimal number

None.

WaterInchesOverride

The WaterInchesOverride

decimal number

None.

ManualAdjustments

The ManualAdjustments

decimal number

None.

DailyOverShort

Gets or sets the daily over/short (i.e., variance).

decimal number

None.

PerfectGallonDayStartTime

Gets or sets the Perfect Gallon Day Start Time.

time interval

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "FacilityId": 1,
    "TankId": 2,
    "InventoryVarianceId": 1,
    "InventoryVarianceDate": "2025-05-13T08:40:55.4228516+00:00",
    "Beginning": 1.0,
    "BeginningOverride": 1.0,
    "Delivered": 1.0,
    "DeliveredOverride": 1.0,
    "Sold": 1.0,
    "SoldOverride": 1.0,
    "EndingGallons": 1.0,
    "EndingOverride": 1.0,
    "EndingInches": 1.0,
    "EndingInchesOverride": 1.0,
    "WaterInches": 1.0,
    "WaterInchesOverride": 1.0,
    "ManualAdjustments": 1.0,
    "DailyOverShort": 1.0,
    "PerfectGallonDayStartTime": "00:00:00.1234567"
  },
  {
    "FacilityId": 1,
    "TankId": 2,
    "InventoryVarianceId": 1,
    "InventoryVarianceDate": "2025-05-13T08:40:55.4228516+00:00",
    "Beginning": 1.0,
    "BeginningOverride": 1.0,
    "Delivered": 1.0,
    "DeliveredOverride": 1.0,
    "Sold": 1.0,
    "SoldOverride": 1.0,
    "EndingGallons": 1.0,
    "EndingOverride": 1.0,
    "EndingInches": 1.0,
    "EndingInchesOverride": 1.0,
    "WaterInches": 1.0,
    "WaterInchesOverride": 1.0,
    "ManualAdjustments": 1.0,
    "DailyOverShort": 1.0,
    "PerfectGallonDayStartTime": "00:00:00.1234567"
  }
]

application/xml, text/xml

Sample:
<ArrayOfInventoryVariance xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Titan.API.Fuel.Models">
  <InventoryVariance>
    <Beginning>1</Beginning>
    <BeginningOverride>1</BeginningOverride>
    <DailyOverShort>1</DailyOverShort>
    <Delivered>1</Delivered>
    <DeliveredOverride>1</DeliveredOverride>
    <EndingGallons>1</EndingGallons>
    <EndingInches>1</EndingInches>
    <EndingInchesOverride>1</EndingInchesOverride>
    <EndingOverride>1</EndingOverride>
    <FacilityId>1</FacilityId>
    <InventoryVarianceDate>2025-05-13T08:40:55.4228516+00:00</InventoryVarianceDate>
    <InventoryVarianceId>1</InventoryVarianceId>
    <ManualAdjustments>1</ManualAdjustments>
    <PerfectGallonDayStartTime>PT0.1234567S</PerfectGallonDayStartTime>
    <Sold>1</Sold>
    <SoldOverride>1</SoldOverride>
    <TankId>2</TankId>
    <WaterInches>1</WaterInches>
    <WaterInchesOverride>1</WaterInchesOverride>
  </InventoryVariance>
  <InventoryVariance>
    <Beginning>1</Beginning>
    <BeginningOverride>1</BeginningOverride>
    <DailyOverShort>1</DailyOverShort>
    <Delivered>1</Delivered>
    <DeliveredOverride>1</DeliveredOverride>
    <EndingGallons>1</EndingGallons>
    <EndingInches>1</EndingInches>
    <EndingInchesOverride>1</EndingInchesOverride>
    <EndingOverride>1</EndingOverride>
    <FacilityId>1</FacilityId>
    <InventoryVarianceDate>2025-05-13T08:40:55.4228516+00:00</InventoryVarianceDate>
    <InventoryVarianceId>1</InventoryVarianceId>
    <ManualAdjustments>1</ManualAdjustments>
    <PerfectGallonDayStartTime>PT0.1234567S</PerfectGallonDayStartTime>
    <Sold>1</Sold>
    <SoldOverride>1</SoldOverride>
    <TankId>2</TankId>
    <WaterInches>1</WaterInches>
    <WaterInchesOverride>1</WaterInchesOverride>
  </InventoryVariance>
</ArrayOfInventoryVariance>