POST Api/OilTank/GetOne
Request Information
URI Parameters
None.
Body Parameters
OilTankDto| Name | Description | Type | Additional 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": "eab4048d-d332-4213-849c-684d28d783e7",
"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:04.5468741+08:00",
"CreateTimeToString": "2026-03-02 19:54:04",
"IsDeleted": true,
"CustomerId": "37d3638b-6dcc-4f90-a643-d92dc75487ab",
"OilStationId": "becd77ea-e66d-4a59-a14f-6d8bba488022",
"CustomerName": "sample string 5",
"CustomerNum": "sample string 6",
"StationName": "sample string 7",
"StationNum": "sample string 8",
"CustomerIdList": [
"71072234-0719-49e1-9605-d4d57f5249d6",
"f37a4436-52ee-4014-a350-86c7718d8c54"
],
"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:04.5468741+08:00</CreateTime>
<CustomerId>37d3638b-6dcc-4f90-a643-d92dc75487ab</CustomerId>
<CustomerIdList xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:guid>71072234-0719-49e1-9605-d4d57f5249d6</d2p1:guid>
<d2p1:guid>f37a4436-52ee-4014-a350-86c7718d8c54</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>eab4048d-d332-4213-849c-684d28d783e7</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>becd77ea-e66d-4a59-a14f-6d8bba488022</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
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.