POST api/v1/SelfCheckin/AddSelfTerminalPay
添加通联支付订单的信息
请求信息(Request)
URI 参数
None.
Body 参数
SelfTerminalPayDTO| 名称 | 描述 | 类型 | 备注 |
|---|---|---|---|
| ID |
主键标识Id |
integer |
None. |
| HotelId |
酒店id |
integer |
None. |
| RegOrderId |
登记订单id |
integer |
None. |
| PmsRegOrderId |
Pms登记订单id |
string |
None. |
| CardNumber |
卡号 |
string |
None. |
| Mernu |
商户号 |
string |
None. |
| Ter |
终端号 |
string |
None. |
| PipelineNumber |
流水号 |
string |
None. |
| Time |
时间(MMDD) |
string |
None. |
| Amount |
付款金额(分) |
integer |
None. |
| Date |
日期(HHmmSS),H小时,m分钟,S秒 |
string |
None. |
| ReferenceNumber |
交易参考号 |
string |
None. |
| AuthorizationCode |
交易授权码 |
string |
None. |
| PayType |
通联支付类型 |
SelfPayType |
None. |
| PayTypeName |
通联支付类型 |
string |
None. |
请求格式
application/json, text/json
Sample:
{
"ID": 1,
"HotelId": 2,
"RegOrderId": 1,
"PmsRegOrderId": "sample string 3",
"CardNumber": "sample string 4",
"Mernu": "sample string 5",
"Ter": "sample string 6",
"PipelineNumber": "sample string 7",
"Time": "sample string 8",
"Amount": 9,
"Date": "sample string 10",
"ReferenceNumber": "sample string 11",
"AuthorizationCode": "sample string 12",
"PayType": 1,
"PayTypeName": "sample string 13"
}
application/xml, text/xml
Sample:
<SelfTerminalPayDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WLife.Application.DTOs"> <Amount>9</Amount> <AuthorizationCode>sample string 12</AuthorizationCode> <CardNumber>sample string 4</CardNumber> <Date>sample string 10</Date> <HotelId>2</HotelId> <ID>1</ID> <Mernu>sample string 5</Mernu> <PayType>Pay</PayType> <PayTypeName>sample string 13</PayTypeName> <PipelineNumber>sample string 7</PipelineNumber> <PmsRegOrderId>sample string 3</PmsRegOrderId> <ReferenceNumber>sample string 11</ReferenceNumber> <RegOrderId>1</RegOrderId> <Ter>sample string 6</Ter> <Time>sample string 8</Time> </SelfTerminalPayDTO>
application/x-www-form-urlencoded
Sample:
响应信息(Response)
资源描述
RequestResultOfBoolean| 名称 | 描述 | 类型 | 备注 |
|---|---|---|---|
| Data | boolean |
None. |
|
| Status |
状态(0:成功,1:失败) |
integer |
None. |
| Message |
导致失败的相关消息 |
string |
None. |
| Total |
集合总数,用于分页时使用 |
integer |
None. |
响应格式
application/json, text/json
Sample:
{
"Data": true,
"Status": 2,
"Message": "sample string 3",
"Total": 4
}
application/xml, text/xml
Sample:
<RequestResultOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WLife.Application"> <Message>sample string 3</Message> <Status>2</Status> <Total>4</Total> <Data>true</Data> </RequestResultOfboolean>