POST api/ActionService/AddPageInteraction

Documentation for 'AddPageInteraction'.

Request Information

Parameters

NameDescriptionAdditional information
request
Documentation for 'request'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "ConceptId": 1,
  "SessionID": "sample string 2",
  "UserHostAddress": "sample string 3",
  "pageId": 4,
  "loadTime": "2026-01-11T19:30:09.8401519+00:00",
  "unloadTime": "2026-01-11T19:30:09.8401519+00:00",
  "language": "sample string 7",
  "platform": "sample string 8",
  "client": {
    "name": "sample string 1",
    "innerWidth": 2,
    "innerHeight": 3
  },
  "page": {
    "location": "sample string 1",
    "origin": "sample string 2"
  },
  "interactions": [
    {
      "elementId": "sample string 1",
      "pageId": 2,
      "type": "sample string 3",
      "targetTag": "sample string 4",
      "content": "sample string 5",
      "isWrapperElement": 6,
      "createdAt": "2026-01-11T19:30:09.8401519+00:00"
    },
    {
      "elementId": "sample string 1",
      "pageId": 2,
      "type": "sample string 3",
      "targetTag": "sample string 4",
      "content": "sample string 5",
      "isWrapperElement": 6,
      "createdAt": "2026-01-11T19:30:09.8401519+00:00"
    },
    {
      "elementId": "sample string 1",
      "pageId": 2,
      "type": "sample string 3",
      "targetTag": "sample string 4",
      "content": "sample string 5",
      "isWrapperElement": 6,
      "createdAt": "2026-01-11T19:30:09.8401519+00:00"
    }
  ]
}

application/xml, text/xml

Sample:
<InteractionTracking xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PartyMusic.BusinessObject">
  <ConceptId>1</ConceptId>
  <SessionID>sample string 2</SessionID>
  <UserHostAddress>sample string 3</UserHostAddress>
  <client>
    <innerHeight>3</innerHeight>
    <innerWidth>2</innerWidth>
    <name>sample string 1</name>
  </client>
  <interactions>
    <Interaction>
      <content>sample string 5</content>
      <createdAt>2026-01-11T19:30:09.8401519+00:00</createdAt>
      <elementId>sample string 1</elementId>
      <isWrapperElement>6</isWrapperElement>
      <pageId>2</pageId>
      <targetTag>sample string 4</targetTag>
      <type>sample string 3</type>
    </Interaction>
    <Interaction>
      <content>sample string 5</content>
      <createdAt>2026-01-11T19:30:09.8401519+00:00</createdAt>
      <elementId>sample string 1</elementId>
      <isWrapperElement>6</isWrapperElement>
      <pageId>2</pageId>
      <targetTag>sample string 4</targetTag>
      <type>sample string 3</type>
    </Interaction>
    <Interaction>
      <content>sample string 5</content>
      <createdAt>2026-01-11T19:30:09.8401519+00:00</createdAt>
      <elementId>sample string 1</elementId>
      <isWrapperElement>6</isWrapperElement>
      <pageId>2</pageId>
      <targetTag>sample string 4</targetTag>
      <type>sample string 3</type>
    </Interaction>
  </interactions>
  <language>sample string 7</language>
  <loadTime>2026-01-11T19:30:09.8401519+00:00</loadTime>
  <page>
    <location>sample string 1</location>
    <origin>sample string 2</origin>
  </page>
  <pageId>4</pageId>
  <platform>sample string 8</platform>
  <unloadTime>2026-01-11T19:30:09.8401519+00:00</unloadTime>
</InteractionTracking>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'FormUrlEncodedMediaTypeFormatterTracer' to write type 'InteractionTracking'.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "status": "sample string 1",
  "Message": {
    "value": true
  }
}

application/xml, text/xml

Sample:
<ResponseBaseOfGenericBooleanResponseVxd1ES9A xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PartyMusic.BusinessObject.MessageBase">
  <Message xmlns:d2p1="http://schemas.datacontract.org/2004/07/PartyMusic.BusinessObject.Messages.Musician">
    <d2p1:value>true</d2p1:value>
  </Message>
  <status>sample string 1</status>
</ResponseBaseOfGenericBooleanResponseVxd1ES9A>