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

integer

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

Request Formats

application/json, text/json

Sample:
{
  "APPID": 1,
  "ServerID": 2,
  "ActorName": "sample string 3",
  "ActorID": 4,
  "ActorLevel": 5,
  "User": "sample string 6",
  "PID": 7,
  "Sign": "sample string 8"
}

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">
  <APPID>1</APPID>
  <ActorID>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.