POST Api/OilGun/GetlistByDevice

Request Information

URI Parameters

None.

Body Parameters

OilDeviceDto
NameDescriptionTypeAdditional 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": "6d9c1169-b0bc-4a25-af49-40e1476c527d",
  "CustomerId": "2404190a-1567-4a51-a006-a6d24109e965",
  "OilStationId": "36ae4dd4-0c72-42fb-bbd5-3cbbf6f4c3e5",
  "DeviceNo": "sample string 2",
  "DeciveStatus": 1,
  "TotalGunCount": 1,
  "IsDeleted": true,
  "CreateTime": "2026-03-02T19:56:09.3722436+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": "ae1e7ebb-1257-4d0a-a953-dad4e3aa0308",
      "CustomerId": "432c8530-c046-4a34-a122-5462fb19b805",
      "OilStationId": "91dde25c-da3c-4603-a789-f14dad70c243",
      "GunNo": 1,
      "GunStatus": 1,
      "IsDeleted": true,
      "CreateTime": "2026-03-02T19:56:09.3722436+08:00",
      "OilDeviceId": "59602735-a871-436b-8acd-3ae0f276c5fa",
      "OilTankId": "df042e9a-2ce6-4351-80d8-94ac12975620",
      "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": "ae1e7ebb-1257-4d0a-a953-dad4e3aa0308",
      "CustomerId": "432c8530-c046-4a34-a122-5462fb19b805",
      "OilStationId": "91dde25c-da3c-4603-a789-f14dad70c243",
      "GunNo": 1,
      "GunStatus": 1,
      "IsDeleted": true,
      "CreateTime": "2026-03-02T19:56:09.3722436+08:00",
      "OilDeviceId": "59602735-a871-436b-8acd-3ae0f276c5fa",
      "OilTankId": "df042e9a-2ce6-4351-80d8-94ac12975620",
      "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:56:09.3722436+08:00</CreateTime>
  <CustomerId>2404190a-1567-4a51-a006-a6d24109e965</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>6d9c1169-b0bc-4a25-af49-40e1476c527d</Id>
  <IsDeleted>true</IsDeleted>
  <OilCode>sample string 5</OilCode>
  <OilName>sample string 6</OilName>
  <OilStationId>36ae4dd4-0c72-42fb-bbd5-3cbbf6f4c3e5</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:56:09.3722436+08:00</CreateTime>
      <CustomerId>432c8530-c046-4a34-a122-5462fb19b805</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>ae1e7ebb-1257-4d0a-a953-dad4e3aa0308</Id>
      <IsDeleted>true</IsDeleted>
      <MachineType>sample string 2</MachineType>
      <OilCode>sample string 5</OilCode>
      <OilDeviceId>59602735-a871-436b-8acd-3ae0f276c5fa</OilDeviceId>
      <OilGunCodePriceParameter>sample string 3</OilGunCodePriceParameter>
      <OilName>sample string 6</OilName>
      <OilStationId>91dde25c-da3c-4603-a789-f14dad70c243</OilStationId>
      <OilTankId>df042e9a-2ce6-4351-80d8-94ac12975620</OilTankId>
      <StationName>sample string 9</StationName>
      <StationNo>sample string 8</StationNo>
      <TankNo>sample string 4</TankNo>
    </OilGunDto>
    <OilGunDto>
      <CreateTime>2026-03-02T19:56:09.3722436+08:00</CreateTime>
      <CustomerId>432c8530-c046-4a34-a122-5462fb19b805</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>ae1e7ebb-1257-4d0a-a953-dad4e3aa0308</Id>
      <IsDeleted>true</IsDeleted>
      <MachineType>sample string 2</MachineType>
      <OilCode>sample string 5</OilCode>
      <OilDeviceId>59602735-a871-436b-8acd-3ae0f276c5fa</OilDeviceId>
      <OilGunCodePriceParameter>sample string 3</OilGunCodePriceParameter>
      <OilName>sample string 6</OilName>
      <OilStationId>91dde25c-da3c-4603-a789-f14dad70c243</OilStationId>
      <OilTankId>df042e9a-2ce6-4351-80d8-94ac12975620</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

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.