POST api/AppLog/AddAppUserLevelLog

应用升级日志 内网上报地址 http://appdata.fdq.dev.q1.com/api/AppLog/AddAppUserLevelLog 外网上报地址 https://appdata.q1.com/api/AppLog/AddAppUserLevelLog

Request Information

URI Parameters

None.

Body Parameters

AppUserLevelLog
NameDescriptionTypeAdditional information
appid

应用id

integer

Required

serverid

服务器ID

integer

Required

actorname

角色名

string

Max length: 32

actorid

角色ID

string

None.

actorlevel

角色等级

integer

None.

user

用户(用户名或用户ID)

string

Required

Max length: 32

pid

合作商id

integer

None.

sign

签名sign=md5(APPID_ServerID_User_ActorName_ActorLevel_appkey) //appkey为合作商密钥 (上报人提供一下appid,web这边会给个appkey)

string

Required

Max length: 1024

@name

string

None.

@gameid

string

None.

@worldid

string

None.

@channelid

string

None.

@gamearea

string

None.

@time

string

None.

@gamever

string

None.

@datatype

string

None.

@area

string

None.

@uuid

string

None.

@hostip

string

None.

Request Formats

application/json, text/json

Sample:
{
  "appid": 1,
  "serverid": 2,
  "actorname": "sample string 3",
  "actorid": "sample string 4",
  "actorlevel": 5,
  "user": "sample string 6",
  "pid": 7,
  "sign": "sample string 8",
  "@name": "sample string 9",
  "@gameid": "sample string 10",
  "@worldid": "sample string 11",
  "@channelid": "sample string 12",
  "@gamearea": "sample string 13",
  "@time": "sample string 14",
  "@gamever": "sample string 15",
  "@datatype": "sample string 16",
  "@area": "sample string 17",
  "@uuid": "sample string 18",
  "@hostip": "sample string 19"
}

application/xml, text/xml

Sample:
<AppUserLevelLog xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SzGla.WebApps.AppDataAPI.Models">
  <_uuid>sample string 18</_uuid>
  <area>sample string 17</area>
  <base_channelid>sample string 12</base_channelid>
  <base_gamearea>sample string 13</base_gamearea>
  <base_gameid>sample string 10</base_gameid>
  <base_gamever>sample string 15</base_gamever>
  <base_tablename>sample string 9</base_tablename>
  <base_time>sample string 14</base_time>
  <base_worldid>sample string 11</base_worldid>
  <datatype>sample string 16</datatype>
  <hostip>sample string 19</hostip>
  <APPID>1</APPID>
  <ActorID>sample string 4</ActorID>
  <ActorLevel>5</ActorLevel>
  <ActorName>sample string 3</ActorName>
  <PID>7</PID>
  <ServerID>2</ServerID>
  <Sign>sample string 8</Sign>
  <User>sample string 6</User>
</AppUserLevelLog>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.