POST Api/DiscountMember/Add
Request Information
URI Parameters
None.
Body Parameters
DiscountMemberDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| MemberId | globally unique identifier |
None. |
|
| OilStationDiscountId | globally unique identifier |
None. |
|
| CreateTime | date |
None. |
|
| CreateTimeToString | string |
None. |
|
| OilStationId | globally unique identifier |
None. |
|
| MemberType | integer |
None. |
|
| MemberTypeName | string |
None. |
|
| PhoneNum | string |
None. |
|
| MemberName | string |
None. |
|
| Integral | integer |
None. |
|
| Money | decimal number |
None. |
|
| DiscountName | string |
None. |
|
| DiscountMoney | decimal number |
None. |
|
| IsSpecifiedOil | boolean |
None. |
|
| IsSpecifiedOilToString | string |
None. |
|
| SpecifiedOilCode | string |
None. |
|
| SpecifiedOilCodeName | string |
None. |
|
| PageIndex | integer |
None. |
|
| PageSize | integer |
None. |
|
| Total | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "bbe1c740-b8a3-4ffb-94a8-bf130b71f6a1",
"MemberId": "b972cd8b-3ea8-4b3b-a1cf-0e3edbebdd53",
"OilStationDiscountId": "e303b0de-8fb6-4be4-8d29-2b96e2451b50",
"CreateTime": "2026-03-02T19:51:47.6588174+08:00",
"CreateTimeToString": "2026-03-02 19:51:47",
"OilStationId": "33bf6da5-c5b8-4b9f-909a-f52a0754a0e5",
"MemberType": 1,
"MemberTypeName": "App",
"PhoneNum": "sample string 2",
"MemberName": "sample string 3",
"Integral": 1,
"Money": 1.0,
"DiscountName": "sample string 4",
"DiscountMoney": 1.0,
"IsSpecifiedOil": true,
"IsSpecifiedOilToString": "是",
"SpecifiedOilCode": "sample string 5",
"SpecifiedOilCodeName": "sample string 6",
"PageIndex": 7,
"PageSize": 8,
"Total": 9
}
application/xml, text/xml
Sample:
<DiscountMemberDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZShOil.Model"> <_x003C_PageIndex_x003E_k__BackingField>7</_x003C_PageIndex_x003E_k__BackingField> <_x003C_PageSize_x003E_k__BackingField>8</_x003C_PageSize_x003E_k__BackingField> <_x003C_Total_x003E_k__BackingField>9</_x003C_Total_x003E_k__BackingField> <CreateTime>2026-03-02T19:51:47.6588174+08:00</CreateTime> <DiscountMoney>1</DiscountMoney> <DiscountName>sample string 4</DiscountName> <Id>bbe1c740-b8a3-4ffb-94a8-bf130b71f6a1</Id> <Integral>1</Integral> <IsSpecifiedOil>true</IsSpecifiedOil> <MemberId>b972cd8b-3ea8-4b3b-a1cf-0e3edbebdd53</MemberId> <MemberName>sample string 3</MemberName> <MemberType>1</MemberType> <Money>1</Money> <OilStationDiscountId>e303b0de-8fb6-4be4-8d29-2b96e2451b50</OilStationDiscountId> <OilStationId>33bf6da5-c5b8-4b9f-909a-f52a0754a0e5</OilStationId> <PhoneNum>sample string 2</PhoneNum> <SpecifiedOilCode>sample string 5</SpecifiedOilCode> <SpecifiedOilCodeName>sample string 6</SpecifiedOilCodeName> </DiscountMemberDto>
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.