POST api/SuperCard/GiveGiftSuperCard

后台 - 管理员赠送普通会员超级会员卡

Request Information

URI Parameters

None.

Body Parameters

赠送具体信息dto

SuperCardBuyDto
NameDescriptionTypeAdditional information
CardType

超级会员卡服务类型

VipCardType

None.

SuperCardServiceId

超级会员卡服务标识

integer

None.

Name

购买人姓名

string

None.

IsGift

是否赠卡

boolean

None.

Phone

电话号码

string

None.

ExpireTime

超时时间

date

None.

Request Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: 无法访问已关闭的流。

text/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: 无法访问已关闭的流。

application/xml, text/xml

Sample:
<SuperCardBuyDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Mall.Service.Dto.SuperCards">
  <CardType>Month</CardType>
  <ExpireTime>2024-04-30T01:35:21.9104287+08:00</ExpireTime>
  <IsGift>true</IsGift>
  <Name>sample string 2</Name>
  <Phone>sample string 4</Phone>
  <SuperCardServiceId>1</SuperCardServiceId>
</SuperCardBuyDto>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'SuperCardBuyDto'.

Response Information

Resource Description

后台 - 管理员赠送普通会员超级会员卡

Object

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: 无法访问已关闭的流。

text/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: 无法访问已关闭的流。

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