POST Api/OilStationDiscount/GetList
Request Information
URI Parameters
None.
Body Parameters
OilStationDiscountDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Name | string |
None. |
|
| Money | decimal number |
None. |
|
| StartTime | date |
None. |
|
| StartTimeToString | string |
None. |
|
| EndTime | date |
None. |
|
| EndTimeToString | string |
None. |
|
| CreateTime | date |
None. |
|
| CreateTimeToString | string |
None. |
|
| IsEnable | boolean |
None. |
|
| IsEnableToString | string |
None. |
|
| IsDeleted | boolean |
None. |
|
| OilStationId | globally unique identifier |
None. |
|
| IsSpecifiedOil | boolean |
None. |
|
| IsSpecifiedOilToString | string |
None. |
|
| SpecifiedOilCode | string |
None. |
|
| SpecifiedOilCodeName | string |
None. |
|
| ShowDiscountName | string |
None. |
|
| PageIndex | integer |
None. |
|
| PageSize | integer |
None. |
|
| Total | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "b403f1c9-664f-41a5-b97a-26288f986688",
"Name": "sample string 2",
"Money": 1.0,
"StartTime": "2026-03-02T19:56:22.2938741+08:00",
"StartTimeToString": "2026-03-02 19:56:22",
"EndTime": "2026-03-02T19:56:22.2938741+08:00",
"EndTimeToString": "2026-03-02 19:56:22",
"CreateTime": "2026-03-02T19:56:22.2938741+08:00",
"CreateTimeToString": "2026-03-02 19:56:22",
"IsEnable": true,
"IsEnableToString": "是",
"IsDeleted": true,
"OilStationId": "bcf9d7fa-2f1b-4706-9132-8d3d7f50fa32",
"IsSpecifiedOil": true,
"IsSpecifiedOilToString": "是",
"SpecifiedOilCode": "sample string 3",
"SpecifiedOilCodeName": "sample string 4",
"ShowDiscountName": "sample string 2,指定优惠油品:sample string 4",
"PageIndex": 5,
"PageSize": 6,
"Total": 7
}
application/xml, text/xml
Sample:
<OilStationDiscountDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZShOil.Model"> <_x003C_PageIndex_x003E_k__BackingField>5</_x003C_PageIndex_x003E_k__BackingField> <_x003C_PageSize_x003E_k__BackingField>6</_x003C_PageSize_x003E_k__BackingField> <_x003C_Total_x003E_k__BackingField>7</_x003C_Total_x003E_k__BackingField> <CreateTime>2026-03-02T19:56:22.2938741+08:00</CreateTime> <EndTime>2026-03-02T19:56:22.2938741+08:00</EndTime> <Id>b403f1c9-664f-41a5-b97a-26288f986688</Id> <IsDeleted>true</IsDeleted> <IsEnable>true</IsEnable> <IsSpecifiedOil>true</IsSpecifiedOil> <Money>1</Money> <Name>sample string 2</Name> <OilStationId>bcf9d7fa-2f1b-4706-9132-8d3d7f50fa32</OilStationId> <SpecifiedOilCode>sample string 3</SpecifiedOilCode> <SpecifiedOilCodeName>sample string 4</SpecifiedOilCodeName> <StartTime>2026-03-02T19:56:22.2938741+08:00</StartTime> </OilStationDiscountDto>
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.