POST Api/OilTank/GetList

Request Information

URI Parameters

None.

Body Parameters

OilTankDto
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

TankNo

string

None.

OilCode

string

None.

OilName

string

None.

TankDiameter

decimal number

None.

TankLength

decimal number

None.

TankMaxVolume

decimal number

None.

NowStock

decimal number

None.

HighOilLevelAlarm

decimal number

None.

HighsLiquidLevelAlarm

decimal number

None.

LowLiquidLevelAlarm

decimal number

None.

LowsLiquidLevelAlarm

decimal number

None.

HighWaterLevelAlarm

decimal number

None.

HighTempAlarmTemp

decimal number

None.

LowTempAlarmTemp

decimal number

None.

LiquidLevelDeviation

decimal number

None.

WaterLevelDeviation

decimal number

None.

CreateTime

date

None.

CreateTimeToString

string

None.

IsDeleted

boolean

None.

CustomerId

globally unique identifier

None.

OilStationId

globally unique identifier

None.

CustomerName

string

None.

CustomerNum

string

None.

StationName

string

None.

StationNum

string

None.

CustomerIdList

Collection of globally unique identifier

None.

PageIndex

integer

None.

PageSize

integer

None.

Total

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "ff1a074b-1bd7-4be0-9286-da72b674ad70",
  "TankNo": "sample string 2",
  "OilCode": "sample string 3",
  "OilName": "sample string 4",
  "TankDiameter": 1.0,
  "TankLength": 1.0,
  "TankMaxVolume": 1.0,
  "NowStock": 1.0,
  "HighOilLevelAlarm": 1.0,
  "HighsLiquidLevelAlarm": 1.0,
  "LowLiquidLevelAlarm": 1.0,
  "LowsLiquidLevelAlarm": 1.0,
  "HighWaterLevelAlarm": 1.0,
  "HighTempAlarmTemp": 1.0,
  "LowTempAlarmTemp": 1.0,
  "LiquidLevelDeviation": 1.0,
  "WaterLevelDeviation": 1.0,
  "CreateTime": "2026-03-02T19:54:55.2071407+08:00",
  "CreateTimeToString": "2026-03-02 19:54:55",
  "IsDeleted": true,
  "CustomerId": "130c3660-96a3-47ae-afa5-c739a46b75aa",
  "OilStationId": "60e443bf-0f3e-49ee-bcc4-71cce7da2a75",
  "CustomerName": "sample string 5",
  "CustomerNum": "sample string 6",
  "StationName": "sample string 7",
  "StationNum": "sample string 8",
  "CustomerIdList": [
    "9d659ed6-998c-434a-a0fc-b9b6162a8251",
    "ed2fdbd0-bb54-4618-ac81-e77cef96163e"
  ],
  "PageIndex": 9,
  "PageSize": 10,
  "Total": 11
}

application/xml, text/xml

Sample:
<OilTankDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZShOil.Model">
  <_x003C_PageIndex_x003E_k__BackingField>9</_x003C_PageIndex_x003E_k__BackingField>
  <_x003C_PageSize_x003E_k__BackingField>10</_x003C_PageSize_x003E_k__BackingField>
  <_x003C_Total_x003E_k__BackingField>11</_x003C_Total_x003E_k__BackingField>
  <CreateTime>2026-03-02T19:54:55.2071407+08:00</CreateTime>
  <CustomerId>130c3660-96a3-47ae-afa5-c739a46b75aa</CustomerId>
  <CustomerIdList xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:guid>9d659ed6-998c-434a-a0fc-b9b6162a8251</d2p1:guid>
    <d2p1:guid>ed2fdbd0-bb54-4618-ac81-e77cef96163e</d2p1:guid>
  </CustomerIdList>
  <CustomerName>sample string 5</CustomerName>
  <CustomerNum>sample string 6</CustomerNum>
  <HighOilLevelAlarm>1</HighOilLevelAlarm>
  <HighTempAlarmTemp>1</HighTempAlarmTemp>
  <HighWaterLevelAlarm>1</HighWaterLevelAlarm>
  <HighsLiquidLevelAlarm>1</HighsLiquidLevelAlarm>
  <Id>ff1a074b-1bd7-4be0-9286-da72b674ad70</Id>
  <IsDeleted>true</IsDeleted>
  <LiquidLevelDeviation>1</LiquidLevelDeviation>
  <LowLiquidLevelAlarm>1</LowLiquidLevelAlarm>
  <LowTempAlarmTemp>1</LowTempAlarmTemp>
  <LowsLiquidLevelAlarm>1</LowsLiquidLevelAlarm>
  <NowStock>1</NowStock>
  <OilCode>sample string 3</OilCode>
  <OilName>sample string 4</OilName>
  <OilStationId>60e443bf-0f3e-49ee-bcc4-71cce7da2a75</OilStationId>
  <StationName>sample string 7</StationName>
  <StationNum>sample string 8</StationNum>
  <TankDiameter>1</TankDiameter>
  <TankLength>1</TankLength>
  <TankMaxVolume>1</TankMaxVolume>
  <TankNo>sample string 2</TankNo>
  <WaterLevelDeviation>1</WaterLevelDeviation>
</OilTankDto>

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.