POST api/GiftExchangeLoyalty/SendGiftExchangeLoyaltyTransaction
Request Information
URI Parameters
None.
Body Parameters
RequestGiftExchangeModel| Name | Description | Type | Additional information |
|---|---|---|---|
| GiftExchangeLoyaltyId | integer |
None. |
|
| MaterialId | integer |
None. |
|
| LoyaltyPoint | decimal number |
None. |
|
| Quantity | integer |
None. |
|
| GiftExchangeLoyaltyDetailId | integer |
None. |
|
| LoyaltyPointStudent | decimal number |
None. |
|
| LoyaltyCardId | integer |
None. |
|
| GiftExchangeName | string |
None. |
|
| MaterialName | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"GiftExchangeLoyaltyId": 1,
"MaterialId": 2,
"LoyaltyPoint": 3.1,
"Quantity": 4,
"GiftExchangeLoyaltyDetailId": 5,
"LoyaltyPointStudent": 6.1,
"LoyaltyCardId": 7,
"GiftExchangeName": "sample string 8",
"MaterialName": "sample string 9"
}
application/xml, text/xml
Sample:
<RequestGiftExchangeModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EBM.Portal.Bus.Model"> <GiftExchangeLoyaltyDetailId>5</GiftExchangeLoyaltyDetailId> <GiftExchangeLoyaltyId>1</GiftExchangeLoyaltyId> <GiftExchangeName>sample string 8</GiftExchangeName> <LoyaltyCardId>7</LoyaltyCardId> <LoyaltyPoint>3.1</LoyaltyPoint> <LoyaltyPointStudent>6.1</LoyaltyPointStudent> <MaterialId>2</MaterialId> <MaterialName>sample string 9</MaterialName> <Quantity>4</Quantity> </RequestGiftExchangeModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ObjectNone.
Response Formats
application/json, text/json
Sample:
{}
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />