POST api/v1/Bet/PlaceOrderJt

精通投注

请求信息(Request)

URI 参数

None.

Body 参数

BetOrderJtSubmitDTO
名称描述类型备注
UserName

投注人用户名

string

None.

Password

投注人密码

string

None.

GameId

integer

None.

BetAmountType

投注数类型

BetAmountType

None.

BetAmount

投注数

decimal number

None.

VictoryResult

猜胜平负

BetVictoryResultType

None.

TeamId

猜冠军

integer

None.

BetOptionId

猜选项

integer

None.

Appid

微信appid

string

None.

请求格式

application/json, text/json

Sample:
{
  "UserName": "sample string 1",
  "Password": "sample string 2",
  "GameId": 3,
  "BetAmountType": 0,
  "BetAmount": 4.0,
  "VictoryResult": 0,
  "TeamId": 1,
  "BetOptionId": 1,
  "Appid": "sample string 5"
}

application/xml, text/xml

Sample:
<BetOrderJtSubmitDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WLife.Application.DTOs">
  <Appid>sample string 5</Appid>
  <BetAmount>4</BetAmount>
  <BetAmountType>Score</BetAmountType>
  <BetOptionId>1</BetOptionId>
  <GameId>3</GameId>
  <Password>sample string 2</Password>
  <TeamId>1</TeamId>
  <UserName>sample string 1</UserName>
  <VictoryResult>Victory</VictoryResult>
</BetOrderJtSubmitDTO>

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

响应信息(Response)

资源描述

RequestResultOfInt32
名称描述类型备注
Data

integer

None.

Status

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

integer

None.

Message

导致失败的相关消息

string

None.

Total

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

integer

None.

响应格式

application/json, text/json

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

application/xml, text/xml

Sample:
<RequestResultOfint 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>
</RequestResultOfint>