POST Api/OilDevice/Del
Request Information
URI Parameters
None.
Body Parameters
OilDeviceDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| CustomerId | globally unique identifier |
None. |
|
| OilStationId | globally unique identifier |
None. |
|
| DeviceNo | string |
None. |
|
| DeciveStatus | integer |
None. |
|
| TotalGunCount | integer |
None. |
|
| IsDeleted | boolean |
None. |
|
| CreateTime | date |
None. |
|
| DeviceName | string |
None. |
|
| TankNo | string |
None. |
|
| OilCode | string |
None. |
|
| OilName | string |
None. |
|
| CustomerNum | string |
None. |
|
| StationNo | string |
None. |
|
| StationName | string |
None. |
|
| CustomerName | string |
None. |
|
| gunList | Collection of OilGunDto |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "6c539ca5-8cd9-4e63-832d-098a236982a3",
"CustomerId": "3d12ed21-eb2b-4dc0-8fbd-66abf33e371a",
"OilStationId": "608da2ae-011d-442c-a47e-9d4c681ef518",
"DeviceNo": "sample string 2",
"DeciveStatus": 1,
"TotalGunCount": 1,
"IsDeleted": true,
"CreateTime": "2026-03-02T19:54:39.6605497+08:00",
"DeviceName": "sample string 3",
"TankNo": "sample string 4",
"OilCode": "sample string 5",
"OilName": "sample string 6",
"CustomerNum": "sample string 7",
"StationNo": "sample string 8",
"StationName": "sample string 9",
"CustomerName": "sample string 10",
"gunList": [
{
"Id": "8eec0c66-fb08-4c9d-bf9e-d8c6f96cfee5",
"CustomerId": "61d47671-5067-43b9-a99c-110d540ce749",
"OilStationId": "5914c76a-6466-4cc7-8449-f992499d25db",
"GunNo": 1,
"GunStatus": 1,
"IsDeleted": true,
"CreateTime": "2026-03-02T19:54:39.6605497+08:00",
"OilDeviceId": "6447e554-ed89-487c-ad99-2d0f18f5af5b",
"OilTankId": "4b030d45-150f-4cbd-a1f0-9321a9904170",
"MachineType": "sample string 2",
"OilGunCodePriceParameter": "sample string 3",
"TankNo": "sample string 4",
"OilCode": "sample string 5",
"OilName": "sample string 6",
"CustomerNum": "sample string 7",
"StationNo": "sample string 8",
"StationName": "sample string 9",
"CustomerName": "sample string 10",
"DeviceNo": "sample string 11",
"DeviceName": "sample string 12"
},
{
"Id": "8eec0c66-fb08-4c9d-bf9e-d8c6f96cfee5",
"CustomerId": "61d47671-5067-43b9-a99c-110d540ce749",
"OilStationId": "5914c76a-6466-4cc7-8449-f992499d25db",
"GunNo": 1,
"GunStatus": 1,
"IsDeleted": true,
"CreateTime": "2026-03-02T19:54:39.6605497+08:00",
"OilDeviceId": "6447e554-ed89-487c-ad99-2d0f18f5af5b",
"OilTankId": "4b030d45-150f-4cbd-a1f0-9321a9904170",
"MachineType": "sample string 2",
"OilGunCodePriceParameter": "sample string 3",
"TankNo": "sample string 4",
"OilCode": "sample string 5",
"OilName": "sample string 6",
"CustomerNum": "sample string 7",
"StationNo": "sample string 8",
"StationName": "sample string 9",
"CustomerName": "sample string 10",
"DeviceNo": "sample string 11",
"DeviceName": "sample string 12"
}
]
}
application/xml, text/xml
Sample:
<OilDeviceDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZShOil.Model">
<CreateTime>2026-03-02T19:54:39.6605497+08:00</CreateTime>
<CustomerId>3d12ed21-eb2b-4dc0-8fbd-66abf33e371a</CustomerId>
<CustomerName>sample string 10</CustomerName>
<CustomerNum>sample string 7</CustomerNum>
<DeciveStatus>1</DeciveStatus>
<DeviceName>sample string 3</DeviceName>
<DeviceNo>sample string 2</DeviceNo>
<Id>6c539ca5-8cd9-4e63-832d-098a236982a3</Id>
<IsDeleted>true</IsDeleted>
<OilCode>sample string 5</OilCode>
<OilName>sample string 6</OilName>
<OilStationId>608da2ae-011d-442c-a47e-9d4c681ef518</OilStationId>
<StationName>sample string 9</StationName>
<StationNo>sample string 8</StationNo>
<TankNo>sample string 4</TankNo>
<TotalGunCount>1</TotalGunCount>
<gunList>
<OilGunDto>
<CreateTime>2026-03-02T19:54:39.6605497+08:00</CreateTime>
<CustomerId>61d47671-5067-43b9-a99c-110d540ce749</CustomerId>
<CustomerName>sample string 10</CustomerName>
<CustomerNum>sample string 7</CustomerNum>
<DeviceName>sample string 12</DeviceName>
<DeviceNo>sample string 11</DeviceNo>
<GunNo>1</GunNo>
<GunStatus>1</GunStatus>
<Id>8eec0c66-fb08-4c9d-bf9e-d8c6f96cfee5</Id>
<IsDeleted>true</IsDeleted>
<MachineType>sample string 2</MachineType>
<OilCode>sample string 5</OilCode>
<OilDeviceId>6447e554-ed89-487c-ad99-2d0f18f5af5b</OilDeviceId>
<OilGunCodePriceParameter>sample string 3</OilGunCodePriceParameter>
<OilName>sample string 6</OilName>
<OilStationId>5914c76a-6466-4cc7-8449-f992499d25db</OilStationId>
<OilTankId>4b030d45-150f-4cbd-a1f0-9321a9904170</OilTankId>
<StationName>sample string 9</StationName>
<StationNo>sample string 8</StationNo>
<TankNo>sample string 4</TankNo>
</OilGunDto>
<OilGunDto>
<CreateTime>2026-03-02T19:54:39.6605497+08:00</CreateTime>
<CustomerId>61d47671-5067-43b9-a99c-110d540ce749</CustomerId>
<CustomerName>sample string 10</CustomerName>
<CustomerNum>sample string 7</CustomerNum>
<DeviceName>sample string 12</DeviceName>
<DeviceNo>sample string 11</DeviceNo>
<GunNo>1</GunNo>
<GunStatus>1</GunStatus>
<Id>8eec0c66-fb08-4c9d-bf9e-d8c6f96cfee5</Id>
<IsDeleted>true</IsDeleted>
<MachineType>sample string 2</MachineType>
<OilCode>sample string 5</OilCode>
<OilDeviceId>6447e554-ed89-487c-ad99-2d0f18f5af5b</OilDeviceId>
<OilGunCodePriceParameter>sample string 3</OilGunCodePriceParameter>
<OilName>sample string 6</OilName>
<OilStationId>5914c76a-6466-4cc7-8449-f992499d25db</OilStationId>
<OilTankId>4b030d45-150f-4cbd-a1f0-9321a9904170</OilTankId>
<StationName>sample string 9</StationName>
<StationNo>sample string 8</StationNo>
<TankNo>sample string 4</TankNo>
</OilGunDto>
</gunList>
</OilDeviceDto>
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.