sfgboxapi

<back to all web services

TrackingLog

The following routes are available for this service:
POST/trackinglog
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class TrackingLog
    {
        public Long tenantsId = null;
        public Long appUserId = null;
        public Long mediaId = null;
        public Long mediaPercentage = null;
        public Integer score = null;
        public String menuItems = null;
        public String entities = null;
        public String ipAddress = null;
        public String country = null;
        public Date accessDateTime = null;
        
        public Long getTenantsId() { return tenantsId; }
        public TrackingLog setTenantsId(Long value) { this.tenantsId = value; return this; }
        public Long getAppUserId() { return appUserId; }
        public TrackingLog setAppUserId(Long value) { this.appUserId = value; return this; }
        public Long getMediaId() { return mediaId; }
        public TrackingLog setMediaId(Long value) { this.mediaId = value; return this; }
        public Long getMediaPercentage() { return mediaPercentage; }
        public TrackingLog setMediaPercentage(Long value) { this.mediaPercentage = value; return this; }
        public Integer getScore() { return score; }
        public TrackingLog setScore(Integer value) { this.score = value; return this; }
        public String getMenuItems() { return menuItems; }
        public TrackingLog setMenuItems(String value) { this.menuItems = value; return this; }
        public String getEntities() { return entities; }
        public TrackingLog setEntities(String value) { this.entities = value; return this; }
        public String getIpAddress() { return ipAddress; }
        public TrackingLog setIpAddress(String value) { this.ipAddress = value; return this; }
        public String getCountry() { return country; }
        public TrackingLog setCountry(String value) { this.country = value; return this; }
        public Date getAccessDateTime() { return accessDateTime; }
        public TrackingLog setAccessDateTime(Date value) { this.accessDateTime = value; return this; }
    }

}

Java TrackingLog DTOs

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

HTTP + OTHER

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/jsonl
Content-Type: text/jsonl
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)\/"}