POST Api/OilGun/GetListByOilGun
Request Information
URI Parameters
None.
Body Parameters
OilGunDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| CustomerId | globally unique identifier |
None. |
|
| OilStationId | globally unique identifier |
None. |
|
| GunNo | integer |
None. |
|
| GunStatus | integer |
None. |
|
| IsDeleted | boolean |
None. |
|
| CreateTime | date |
None. |
|
| OilDeviceId | globally unique identifier |
None. |
|
| OilTankId | globally unique identifier |
None. |
|
| MachineType | string |
None. |
|
| OilGunCodePriceParameter | string |
None. |
|
| TankNo | string |
None. |
|
| OilCode | string |
None. |
|
| OilName | string |
None. |
|
| CustomerNum | string |
None. |
|
| StationNo | string |
None. |
|
| StationName | string |
None. |
|
| CustomerName | string |
None. |
|
| DeviceNo | string |
None. |
|
| DeviceName | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "af135294-5db1-4fd7-b7b6-294a19ca7dcd",
"CustomerId": "554db430-eb95-429f-8e09-f570d9d1b5b8",
"OilStationId": "e004ab16-adba-46f0-a0e1-725b8a3f3586",
"GunNo": 1,
"GunStatus": 1,
"IsDeleted": true,
"CreateTime": "2026-03-02T19:56:23.129869+08:00",
"OilDeviceId": "aba836d5-0ab5-4cd0-bdff-c0edf4339329",
"OilTankId": "3ba97ff9-fac1-4b36-9efc-67ef67b054ca",
"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:
<OilGunDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZShOil.Model"> <CreateTime>2026-03-02T19:56:23.129869+08:00</CreateTime> <CustomerId>554db430-eb95-429f-8e09-f570d9d1b5b8</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>af135294-5db1-4fd7-b7b6-294a19ca7dcd</Id> <IsDeleted>true</IsDeleted> <MachineType>sample string 2</MachineType> <OilCode>sample string 5</OilCode> <OilDeviceId>aba836d5-0ab5-4cd0-bdff-c0edf4339329</OilDeviceId> <OilGunCodePriceParameter>sample string 3</OilGunCodePriceParameter> <OilName>sample string 6</OilName> <OilStationId>e004ab16-adba-46f0-a0e1-725b8a3f3586</OilStationId> <OilTankId>3ba97ff9-fac1-4b36-9efc-67ef67b054ca</OilTankId> <StationName>sample string 9</StationName> <StationNo>sample string 8</StationNo> <TankNo>sample string 4</TankNo> </OilGunDto>
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.