POST api/_91APP/GetConsumptionAmount
查詢累積消費
Request Information
URI Parameters
None.
Body Parameters
_91APP_GetConsumptionAmountRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | _91APP_GetConsumptionAmountAPIDTO |
None. |
Request Formats
application/json, text/json
Sample:
{
"Data": {
"ShopId": 1,
"VipMemberId": 2,
"OuterMemberCode": "sample string 3",
"TradesSummary": 4.0,
"ChannelList": null,
"CustomRuleList": null,
"MemberCode": "sample string 5"
}
}
application/xml, text/xml
Sample:
<_91APP_GetConsumptionAmountRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FoodApi.API_DataTransferObject">
<Data>
<ChannelList i:nil="true" />
<CustomRuleList i:nil="true" />
<MemberCode>sample string 5</MemberCode>
<OuterMemberCode>sample string 3</OuterMemberCode>
<ShopId>1</ShopId>
<TradesSummary>4</TradesSummary>
<VipMemberId>2</VipMemberId>
</Data>
</_91APP_GetConsumptionAmountRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
_91APP_GetConsumptionAmountResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | string |
None. |
|
| Data | _91APP_GetConsumptionAmountAPIDTO |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": "sample string 1",
"Data": {
"ShopId": 1,
"VipMemberId": 2,
"OuterMemberCode": "sample string 3",
"TradesSummary": 4.0,
"ChannelList": null,
"CustomRuleList": null,
"MemberCode": "sample string 5"
},
"Message": "sample string 2"
}
application/xml, text/xml
Sample:
<_91APP_GetConsumptionAmountResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FoodApi.API_DataTransferObject">
<Data>
<ChannelList i:nil="true" />
<CustomRuleList i:nil="true" />
<MemberCode>sample string 5</MemberCode>
<OuterMemberCode>sample string 3</OuterMemberCode>
<ShopId>1</ShopId>
<TradesSummary>4</TradesSummary>
<VipMemberId>2</VipMemberId>
</Data>
<Message>sample string 2</Message>
<Status>sample string 1</Status>
</_91APP_GetConsumptionAmountResponse>