POST api/v1/SelfCheckin/GetDeposit

计算押金

请求信息(Request)

URI 参数

None.

Body 参数

DepositParam
名称描述类型备注
pmsCardType

会员卡类型(id)

string

None.

isTeamOrder

是否是团队订单

boolean

None.

prePayType

预付款类型

string

None.

pmsRoomTypeId

string

None.

请求格式

application/json, text/json

Sample:
{
  "pmsCardType": "sample string 1",
  "isTeamOrder": true,
  "prePayType": "sample string 3",
  "pmsRoomTypeId": "sample string 4"
}

application/xml, text/xml

Sample:
<DepositParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WLife.Application.DTOs.Api">
  <isTeamOrder>true</isTeamOrder>
  <pmsCardType>sample string 1</pmsCardType>
  <pmsRoomTypeId>sample string 4</pmsRoomTypeId>
  <prePayType>sample string 3</prePayType>
</DepositParam>

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 'DepositParam'.

响应信息(Response)

资源描述

RequestResultOfDecimal
名称描述类型备注
Data

decimal number

None.

Status

状态(0:成功,1:失败)

integer

None.

Message

导致失败的相关消息

string

None.

Total

集合总数,用于分页时使用

integer

None.

响应格式

application/json, text/json

Sample:
{
  "Data": 1.0,
  "Status": 2,
  "Message": "sample string 3",
  "Total": 4
}

application/xml, text/xml

Sample:
<RequestResultOfdecimal 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>1</Data>
</RequestResultOfdecimal>