POST api/AddAppPayLog

充值下单上报 内网上报地址 http://appdata.fdq.dev.q1.com/api/AddAppPayLog 外网上报地址 https://appdata.q1.com/api/AddAppPayLog

Request Information

URI Parameters

None.

Body Parameters

APPPayLog
NameDescriptionTypeAdditional information
APPID

应用ID

integer

Required

OS

os

string

None.

PID

pid

integer

None.

OrderID

订单号

string

None.

UUID

uuid

string

Required

ServerID

服务器ID

integer

None.

User

用户

string

None.

ActorID

角色id

integer

None.

ActorName

角色名

string

None.

ActorLevel

角色等级

integer

None.

IP

ip

string

None.

CurrencyType

币种

string

None.

Amount

充值额(分)

integer

Required

Ticket

游戏币数量

integer

None.

ExtInfo

扩展信息

string

None.

Sign

签名: md5(APPID.ToString()+OrderID.ToString()+"约定好的固定key")

string

Required

Request Formats

application/json, text/json

Sample:
{
  "APPID": 1,
  "OS": "sample string 2",
  "PID": 3,
  "OrderID": "sample string 4",
  "UUID": "sample string 5",
  "ServerID": 6,
  "User": "sample string 7",
  "ActorID": 8,
  "ActorName": "sample string 9",
  "ActorLevel": 10,
  "IP": "sample string 11",
  "CurrencyType": "sample string 12",
  "Amount": 13,
  "Ticket": 14,
  "ExtInfo": "sample string 15",
  "Sign": "sample string 16"
}

application/xml, text/xml

Sample:
<APPPayLog xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SzGla.WebApps.AppDataAPI.Models">
  <APPID>1</APPID>
  <ActorID>8</ActorID>
  <ActorLevel>10</ActorLevel>
  <ActorName>sample string 9</ActorName>
  <Amount>13</Amount>
  <CurrencyType>sample string 12</CurrencyType>
  <ExtInfo>sample string 15</ExtInfo>
  <IP>sample string 11</IP>
  <OS>sample string 2</OS>
  <OrderID>sample string 4</OrderID>
  <PID>3</PID>
  <ServerID>6</ServerID>
  <Sign>sample string 16</Sign>
  <Ticket>14</Ticket>
  <UUID>sample string 5</UUID>
  <User>sample string 7</User>
</APPPayLog>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.