POST api/v1/Bet/HelpOrder

竞猜助攻

请求信息(Request)

URI 参数

None.

Body 参数

订单

BetOrderHelpSubmit
名称描述类型备注
orderId

订单id

integer

None.

appid

appid

string

None.

wxUser

微信信息

WxOAuthUserInfo

None.

isJt

是否精通订单

boolean

None.

请求格式

application/json, text/json

Sample:
{
  "orderId": 1,
  "appid": "sample string 2",
  "wxUser": {
    "openid": "sample string 1",
    "nickname": "sample string 2",
    "sex": 3,
    "city": "sample string 4",
    "province": "sample string 5",
    "country": "sample string 6",
    "headimgurl": "sample string 7",
    "unionid": "sample string 8",
    "privilege": [
      "sample string 1",
      "sample string 2"
    ],
    "errcode": 9,
    "errmsg": "sample string 10"
  },
  "isJt": true
}

application/xml, text/xml

Sample:
<BetOrderHelpSubmit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WLife.Application.DTOs">
  <appid>sample string 2</appid>
  <isJt>true</isJt>
  <orderId>1</orderId>
  <wxUser xmlns:d2p1="http://schemas.datacontract.org/2004/07/WLife.Application.WeiXin">
    <d2p1:errcode>9</d2p1:errcode>
    <d2p1:errmsg>sample string 10</d2p1:errmsg>
    <d2p1:city>sample string 4</d2p1:city>
    <d2p1:country>sample string 6</d2p1:country>
    <d2p1:headimgurl>sample string 7</d2p1:headimgurl>
    <d2p1:nickname>sample string 2</d2p1:nickname>
    <d2p1:openid>sample string 1</d2p1:openid>
    <d2p1:privilege xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </d2p1:privilege>
    <d2p1:province>sample string 5</d2p1:province>
    <d2p1:sex>3</d2p1:sex>
    <d2p1:unionid>sample string 8</d2p1:unionid>
  </wxUser>
</BetOrderHelpSubmit>

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

响应信息(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>