POST api/ActionService/InsertEvent

Documentation for 'InsertEvent'.

Request Information

Parameters

NameDescriptionAdditional information
request
Documentation for 'request'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "ClientIPAddress": "sample string 1",
  "PageUrl": "sample string 2",
  "EventType": "sample string 3",
  "ObjectName": "sample string 4",
  "ObjectId": "sample string 5"
}

application/xml, text/xml

Sample:
<InsertEventRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PartyMusic.BusinessObject.Messages.Statistics">
  <ClientIPAddress>sample string 1</ClientIPAddress>
  <EventType>sample string 3</EventType>
  <ObjectId>sample string 5</ObjectId>
  <ObjectName>sample string 4</ObjectName>
  <PageUrl>sample string 2</PageUrl>
</InsertEventRequest>

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

Response Information

Response body formats

application/json, text/json

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

application/xml, text/xml

Sample:
<ResponseBaseOfInsertEventResponse8f_S3Uhiu 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.Statistics">
    <d2p1:HasInserted>true</d2p1:HasInserted>
  </Message>
  <status>sample string 1</status>
</ResponseBaseOfInsertEventResponse8f_S3Uhiu>