POST api/useractivity/internal

Request Information

URI Parameters

None.

Body Parameters

UserActivityRequestModel
NameDescriptionTypeAdditional information
app

string

Required

Max length: 50

rt

string

Max length: 2048

caid

integer

None.

oaid

integer

None.

mid

integer

None.

atype

string

Max length: 50

ec

string

Max length: 100

Request Formats

application/json, text/json

Sample:
{
  "app": "sample string 1",
  "rt": "sample string 2",
  "caid": 1,
  "oaid": 1,
  "mid": 1,
  "atype": "sample string 3",
  "ec": "sample string 4",
  "ea": "sample string 5",
  "el": "sample string 6",
  "ev": "sample string 7",
  "lat": 1.1,
  "lon": 1.1,
  "rad": 1.1,
  "zoom": 64,
  "resW": 1,
  "resH": 1,
  "source": "sample string 8",
  "title": "sample string 9",
  "ip": "sample string 10"
}

text/html

Sample:
{"app":"sample string 1","rt":"sample string 2","caid":1,"oaid":1,"mid":1,"atype":"sample string 3","ec":"sample string 4","ea":"sample string 5","el":"sample string 6","ev":"sample string 7","lat":1.1,"lon":1.1,"rad":1.1,"zoom":64,"resW":1,"resH":1,"source":"sample string 8","title":"sample string 9","ip":"sample string 10"}

application/xml, text/xml

Sample:
<UserActivityRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NPlay.Common.Models.Services">
  <app>sample string 1</app>
  <atype>sample string 3</atype>
  <caid>1</caid>
  <ec>sample string 4</ec>
  <mid>1</mid>
  <oaid>1</oaid>
  <rt>sample string 2</rt>
</UserActivityRequestModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.