POST api/activity/track
Request Information
URI Parameters
None.
Body Parameters
UserActivityTrackingRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| ActionType | string |
None. |
|
| ActivityType | string |
None. |
|
| SessionId | integer |
None. |
|
| ReferenceId | integer |
None. |
|
| DeviceType | string |
None. |
|
| AdditionalData | Dictionary of string [key] and Object [value] |
None. |
Request Formats
application/json, text/json
Sample:
{
"ActionType": "sample string 1",
"ActivityType": "sample string 2",
"SessionId": 1,
"ReferenceId": 1,
"DeviceType": "sample string 3",
"AdditionalData": {
"sample string 1": {},
"sample string 3": {}
}
}
application/xml, text/xml
Sample:
<UserActivityTrackingRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bridge">
<ActionType>sample string 1</ActionType>
<ActivityType>sample string 2</ActivityType>
<AdditionalData xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:KeyValueOfstringanyType>
<d2p1:Key>sample string 1</d2p1:Key>
<d2p1:Value />
</d2p1:KeyValueOfstringanyType>
<d2p1:KeyValueOfstringanyType>
<d2p1:Key>sample string 3</d2p1:Key>
<d2p1:Value />
</d2p1:KeyValueOfstringanyType>
</AdditionalData>
<DeviceType>sample string 3</DeviceType>
<ReferenceId>1</ReferenceId>
<SessionId>1</SessionId>
</UserActivityTrackingRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiResponseOfActivityTrackingResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | string |
None. |
|
| Message | string |
None. |
|
| Data | ActivityTrackingResponse |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": "sample string 1",
"Message": "sample string 2",
"Data": {
"SessionId": 1,
"Message": "sample string 1",
"Data": {
"sample string 1": {},
"sample string 3": {}
}
}
}
application/xml, text/xml
Sample:
<ApiResponseOfActivityTrackingResponsezUHhnKY6 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bridge">
<Data>
<Data xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:KeyValueOfstringanyType>
<d3p1:Key>sample string 1</d3p1:Key>
<d3p1:Value />
</d3p1:KeyValueOfstringanyType>
<d3p1:KeyValueOfstringanyType>
<d3p1:Key>sample string 3</d3p1:Key>
<d3p1:Value />
</d3p1:KeyValueOfstringanyType>
</Data>
<Message>sample string 1</Message>
<SessionId>1</SessionId>
</Data>
<Message>sample string 2</Message>
<Status>sample string 1</Status>
</ApiResponseOfActivityTrackingResponsezUHhnKY6>