POST api/Relax/AddUserHistory

上报用户历史记录

Request Information

URI Parameters

None.

Body Parameters

AddUserHistoryReq
NameDescriptionTypeAdditional information
uid

string

None.

moduleId

integer

None.

musicId

integer

None.

pid

integer

None.

version

string

None.

language

zn-ch中文,en英文

string

None.

system

string

None.

token

string

None.

timeZone

string

None.

Request Formats

application/json, text/json

Sample:
{
  "uid": "sample string 1",
  "moduleId": 2,
  "musicId": 3,
  "pid": 4,
  "version": "sample string 5",
  "language": "sample string 6",
  "system": "sample string 7",
  "token": "sample string 8",
  "timeZone": "sample string 9"
}

application/xml, text/xml

Sample:
<AddUserHistoryReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Controllers">
  <language xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Models">sample string 6</language>
  <pid xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Models">4</pid>
  <system xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Models">sample string 7</system>
  <timeZone xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Models">sample string 9</timeZone>
  <token xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Models">sample string 8</token>
  <version xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Models">sample string 5</version>
  <moduleId>2</moduleId>
  <musicId>3</musicId>
  <uid>sample string 1</uid>
</AddUserHistoryReq>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

MessageModel
NameDescriptionTypeAdditional information
State

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "State": 1,
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<MessageModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Models">
  <Message>sample string 2</Message>
  <State>1</State>
</MessageModel>