POST api/Gift/CreateGift

后台 - 创建礼品信息

Request Information

URI Parameters

None.

Body Parameters

GiftInfoDto
NameDescriptionTypeAdditional 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.

Request Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml, text/xml

Sample:
<GiftInfoDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Dto.Gift">
  <CoverUrl>sample string 3</CoverUrl>
  <CreditAmount>4</CreditAmount>
  <Description>sample string 6</Description>
  <Id>1</Id>
  <Note>sample string 7</Note>
  <Stock>5</Stock>
  <Title>sample string 2</Title>
  <Type>All</Type>
</GiftInfoDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

后台 - 创建礼品信息

Object

None.

Response Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

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/" />