sfgboxapi

<back to all web services

TrackingLog

The following routes are available for this service:
POST/trackinglog
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports sfgboxapi.ServiceModel

Namespace Global

    Namespace sfgboxapi.ServiceModel

        Public Partial Class TrackingLog
            Public Overridable Property TenantsId As Long
            Public Overridable Property AppUserId As Nullable(Of Long)
            Public Overridable Property MediaId As Nullable(Of Long)
            Public Overridable Property MediaPercentage As Nullable(Of Long)
            Public Overridable Property Score As Nullable(Of Integer)
            Public Overridable Property MenuItems As String
            Public Overridable Property Entities As String
            Public Overridable Property IPAddress As String
            Public Overridable Property Country As String
            Public Overridable Property AccessDateTime As Date
        End Class
    End Namespace
End Namespace

VB.NET TrackingLog DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /trackinglog HTTP/1.1 
Host: sfgboxapi.dev.scadsoftware.com 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"tenantsId":0,"appUserId":0,"mediaId":0,"mediaPercentage":0,"score":0,"menuItems":"String","entities":"String","ipAddress":"String","country":"String","accessDateTime":"\/Date(-62135596800000-0000)\/"}