POST api/SuperCard/BuySuperCard
会员中心 - 购买超级会员卡,不要再使用CreateOrder接口,该接口已结合了该操作
Request Information
URI Parameters
None.
Body Parameters
SuperCardBuyDtoName | Description | Type | Additional information |
---|---|---|---|
CardType |
超级会员卡服务类型 |
VipCardType |
None. |
SuperCardServiceId |
超级会员卡服务标识 |
integer |
None. |
Name |
购买人姓名 |
string |
None. |
IsGift |
是否赠卡 |
boolean |
None. |
Phone |
电话号码 |
string |
None. |
ExpireTime |
超时时间 |
date |
None. |
Request Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
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-05-04T16:22:30.2233218+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:
Sample not available.
Response Information
Resource Description
会员中心 - 购买超级会员卡,不要再使用CreateOrder接口,该接口已结合了该操作
ObjectNone.
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/" />