POST Api/OilTank/Del
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": "d147769e-e4eb-4a40-a947-7707be7aaa7b",
"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:55:52.6463739+08:00",
"CreateTimeToString": "2026-03-02 19:55:52",
"IsDeleted": true,
"CustomerId": "557c78e1-3449-4008-be91-ea6b9af12c72",
"OilStationId": "8f860455-ce09-440f-8034-ab81eae1ad07",
"CustomerName": "sample string 5",
"CustomerNum": "sample string 6",
"StationName": "sample string 7",
"StationNum": "sample string 8",
"CustomerIdList": [
"9065643f-8b01-4805-b5b9-79ff8988be3a",
"a51d7c5e-244d-49f4-b9dd-3a80250aab88"
],
"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:55:52.6463739+08:00</CreateTime>
<CustomerId>557c78e1-3449-4008-be91-ea6b9af12c72</CustomerId>
<CustomerIdList xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:guid>9065643f-8b01-4805-b5b9-79ff8988be3a</d2p1:guid>
<d2p1:guid>a51d7c5e-244d-49f4-b9dd-3a80250aab88</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>d147769e-e4eb-4a40-a947-7707be7aaa7b</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>8f860455-ce09-440f-8034-ab81eae1ad07</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.