POST api/v1/Order/VipPayForSelfCheckIn
订单使用会员卡支付(自助机
请求信息(Request)
URI 参数
None.
Body 参数
VipCardConsumptionOfSelfCheckIn名称 | 描述 | 类型 | 备注 |
---|---|---|---|
OrderID |
订单Id |
integer |
None. |
VipCardPassword |
会员卡密码 |
string |
None. |
SmsCode |
短信编码 |
string |
None. |
VipID |
vipId |
string |
None. |
DealerID |
商家id getroomtypes接口返回有 |
integer |
None. |
IsNeedPassword |
密码验证 |
boolean |
None. |
IsNeedSmsCode |
短信编码验证 |
boolean |
None. |
VipPaySmsCode |
短信编码 |
string |
None. |
请求格式
application/json, text/json
Sample:
{ "OrderID": 1, "VipCardPassword": "sample string 2", "SmsCode": "sample string 3", "VipID": "sample string 4", "DealerID": 5, "IsNeedPassword": true, "IsNeedSmsCode": true, "VipPaySmsCode": "sample string 8" }
application/xml, text/xml
Sample:
<VipCardConsumptionOfSelfCheckIn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WLife.Application.DTOs"> <DealerID>5</DealerID> <IsNeedPassword>true</IsNeedPassword> <IsNeedSmsCode>true</IsNeedSmsCode> <OrderID>1</OrderID> <SmsCode>sample string 3</SmsCode> <VipCardPassword>sample string 2</VipCardPassword> <VipID>sample string 4</VipID> <VipPaySmsCode>sample string 8</VipPaySmsCode> </VipCardConsumptionOfSelfCheckIn>
application/x-www-form-urlencoded
Sample:
响应信息(Response)
资源描述
RequestResult名称 | 描述 | 类型 | 备注 |
---|---|---|---|
Status |
状态(0:成功,1:失败) |
integer |
None. |
Message |
导致失败的相关消息 |
string |
None. |
Total |
集合总数,用于分页时使用 |
integer |
None. |
响应格式
application/json, text/json
Sample:
{ "Status": 1, "Message": "sample string 2", "Total": 3 }
application/xml, text/xml
Sample:
<RequestResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WLife.Application"> <Message>sample string 2</Message> <Status>1</Status> <Total>3</Total> </RequestResult>