BackofficeApi

<back to all web services

GetAppTrackingRequest

Backoffice
Requires Authentication
Required role:Backoffice
The following routes are available for this service:
GET/tracking/get_app
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;

public class BackofficeApi
{

    public static class DailyStats
    {
        public Date day = null;
        public Long displayedInAppCount = null;
        public Double averageDisplayedInAppTimeInSeconds = null;
        
        public Date getDay() { return day; }
        public DailyStats setDay(Date value) { this.day = value; return this; }
        public Long getDisplayedInAppCount() { return displayedInAppCount; }
        public DailyStats setDisplayedInAppCount(Long value) { this.displayedInAppCount = value; return this; }
        public Double getAverageDisplayedInAppTimeInSeconds() { return averageDisplayedInAppTimeInSeconds; }
        public DailyStats setAverageDisplayedInAppTimeInSeconds(Double value) { this.averageDisplayedInAppTimeInSeconds = value; return this; }
    }

}

Java GetAppTrackingRequest DTOs

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

GET /tracking/get_app HTTP/1.1 
Host: backoffice-api.brovs.com 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"dailyStats":[{"day":"0001-01-01T00:00:00.0000000Z","displayedInAppCount":0,"averageDisplayedInAppTimeInSeconds":0}]}