POST api/GetTankInventoryReception

Request Information

URI Parameters

None.

Body Parameters

cTankInventoryReception
NameDescriptionTypeAdditional information
CompanyId

integer

None.

TankId

string

None.

StartDate

date

None.

EndDate

date

None.

TanksList

Collection of cTankInventoryReceptionData

None.

Request Formats

application/json, text/json

Sample:
{
  "CompanyId": 1,
  "TankId": "sample string 2",
  "StartDate": "2026-10-08T22:41:30.1501971+00:00",
  "EndDate": "2026-10-08T22:41:30.1501971+00:00",
  "TanksList": [
    {
      "ID": 1,
      "CompanyId": 2,
      "TankId": "sample string 3",
      "TankDescription": "sample string 4",
      "FullStartDate": "2026-10-08T22:41:30.1501971+00:00",
      "FullEndDate": "2026-10-08T22:41:30.1501971+00:00",
      "InitialTankLevel": 7.1,
      "FinalTankLevel": 8.1,
      "FuelInput": 9.1,
      "FuelOutput": 10.1
    },
    {
      "ID": 1,
      "CompanyId": 2,
      "TankId": "sample string 3",
      "TankDescription": "sample string 4",
      "FullStartDate": "2026-10-08T22:41:30.1501971+00:00",
      "FullEndDate": "2026-10-08T22:41:30.1501971+00:00",
      "InitialTankLevel": 7.1,
      "FinalTankLevel": 8.1,
      "FuelInput": 9.1,
      "FuelOutput": 10.1
    }
  ]
}

application/xml, text/xml

Sample:
<cTankInventoryReception xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FleetSAPAPI.Models">
  <CompanyId>1</CompanyId>
  <EndDate>2026-10-08T22:41:30.1501971+00:00</EndDate>
  <StartDate>2026-10-08T22:41:30.1501971+00:00</StartDate>
  <TankId>sample string 2</TankId>
  <TanksList>
    <cTankInventoryReceptionData>
      <CompanyId>2</CompanyId>
      <FinalTankLevel>8.1</FinalTankLevel>
      <FuelInput>9.1</FuelInput>
      <FuelOutput>10.1</FuelOutput>
      <FullEndDate>2026-10-08T22:41:30.1501971+00:00</FullEndDate>
      <FullStartDate>2026-10-08T22:41:30.1501971+00:00</FullStartDate>
      <ID>1</ID>
      <InitialTankLevel>7.1</InitialTankLevel>
      <TankDescription>sample string 4</TankDescription>
      <TankId>sample string 3</TankId>
    </cTankInventoryReceptionData>
    <cTankInventoryReceptionData>
      <CompanyId>2</CompanyId>
      <FinalTankLevel>8.1</FinalTankLevel>
      <FuelInput>9.1</FuelInput>
      <FuelOutput>10.1</FuelOutput>
      <FullEndDate>2026-10-08T22:41:30.1501971+00:00</FullEndDate>
      <FullStartDate>2026-10-08T22:41:30.1501971+00:00</FullStartDate>
      <ID>1</ID>
      <InitialTankLevel>7.1</InitialTankLevel>
      <TankDescription>sample string 4</TankDescription>
      <TankId>sample string 3</TankId>
    </cTankInventoryReceptionData>
  </TanksList>
</cTankInventoryReception>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.