POST api/WriteEdetailingTrace

Request Information

URI Parameters

None.

Body Parameters

TrackingEventInfoDTO
NameDescriptionTypeAdditional information
events

Collection of TrackingEventDTO

None.

HCPKey

integer

None.

SessionID

string

None.

RepKey

IdentificatorDTO

None.

AppKey

IdentificatorDTO

None.

DeviceID

string

None.

LastUpdateDate

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "events": [
    {
      "EventType": 1,
      "CustomParameter": "sample string 2",
      "Timestamp": "2025-12-28T18:32:01.7512823+01:00",
      "Duration": 4
    },
    {
      "EventType": 1,
      "CustomParameter": "sample string 2",
      "Timestamp": "2025-12-28T18:32:01.7512823+01:00",
      "Duration": 4
    }
  ],
  "HCPKey": 1,
  "SessionID": "sample string 2",
  "RepKey": {
    "ID": 1
  },
  "AppKey": {
    "ID": 1
  },
  "DeviceID": "sample string 3",
  "LastUpdateDate": 4
}

application/xml, text/xml

Sample:
<TrackingEventInfoDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ServiceCenter.API.DTO.iViewer">
  <AppKey xmlns="http://schemas.datacontract.org/2004/07/ServiceCenter.API.DTO.iInteract">
    <ID>1</ID>
  </AppKey>
  <DeviceID xmlns="http://schemas.datacontract.org/2004/07/ServiceCenter.API.DTO.iInteract">sample string 3</DeviceID>
  <LastUpdateDate xmlns="http://schemas.datacontract.org/2004/07/ServiceCenter.API.DTO.iInteract">4</LastUpdateDate>
  <RepKey xmlns="http://schemas.datacontract.org/2004/07/ServiceCenter.API.DTO.iInteract">
    <ID>1</ID>
  </RepKey>
  <SessionID xmlns="http://schemas.datacontract.org/2004/07/ServiceCenter.API.DTO.iInteract">sample string 2</SessionID>
  <HCPKey>1</HCPKey>
  <events>
    <TrackingEventDTO>
      <CustomParameter>sample string 2</CustomParameter>
      <Duration>4</Duration>
      <EventType>1</EventType>
      <Timestamp>2025-12-28T18:32:01.7512823+01:00</Timestamp>
    </TrackingEventDTO>
    <TrackingEventDTO>
      <CustomParameter>sample string 2</CustomParameter>
      <Duration>4</Duration>
      <EventType>1</EventType>
      <Timestamp>2025-12-28T18:32:01.7512823+01:00</Timestamp>
    </TrackingEventDTO>
  </events>
</TrackingEventInfoDTO>

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

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>