POST api/topup/PostWXAppletOrder

Request Information

URI Parameters

None.

Body Parameters

WXAppletOrderModel
NameDescriptionTypeAdditional information
userID

string

None.

botId

string

None.

topUpAmount

decimal number

None.

Liters

integer

None.

Settings

string

None.

Mac

string

None.

GiftOfWater

decimal number

None.

TopUpPFId

string

None.

payType

integer

None.

topUpSource

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "userID": "sample string 1",
  "botId": "sample string 2",
  "topUpAmount": 3.0,
  "Liters": 4,
  "Settings": "sample string 5",
  "Mac": "sample string 6",
  "GiftOfWater": 7.0,
  "TopUpPFId": "sample string 8",
  "payType": 9,
  "topUpSource": 10
}

application/xml, text/xml

Sample:
<WXAppletOrderModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YuXun.WebAPI.Models">
  <GiftOfWater>7</GiftOfWater>
  <Liters>4</Liters>
  <Mac>sample string 6</Mac>
  <Settings>sample string 5</Settings>
  <TopUpPFId>sample string 8</TopUpPFId>
  <botId>sample string 2</botId>
  <payType>9</payType>
  <topUpAmount>3</topUpAmount>
  <topUpSource>10</topUpSource>
  <userID>sample string 1</userID>
</WXAppletOrderModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.