GET api/Gift/GetGift?giftId={giftId}
获取礼品
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| giftId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
获取礼品
mh163k_Finance_Gifts| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
礼品标识 |
integer |
None. |
| Title |
礼品标题 |
string |
None. |
| CoverUrl |
礼品封面 |
string |
None. |
| Type |
礼品类型 |
GiftType |
None. |
| CreditAmount |
兑换积分数 |
integer |
None. |
| Stock |
库存数量 |
integer |
None. |
| Description |
礼品介绍 |
string |
None. |
| Note |
兑换须知 |
string |
None. |
| DataStatus |
数据状态 |
StatusType |
None. |
Response Formats
application/json
Sample:
text/json
Sample:
application/xml, text/xml
Sample:
<mh163k_Finance_Gifts xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Model.Finance"> <CoverUrl>sample string 3</CoverUrl> <CreditAmount>4</CreditAmount> <DataStatus>Effective</DataStatus> <Description>sample string 6</Description> <Id>1</Id> <Note>sample string 7</Note> <Stock>5</Stock> <Title>sample string 2</Title> <Type>All</Type> </mh163k_Finance_Gifts>