Trendsic Platform Service

<back to all web services

ActivityTrackerReportRequest

Requires Authentication
Requires any of the roles:Agent, Administrator
The following routes are available for this service:
GET,OPTIONS/v1/ActivityTracker/Report/{StartDate}/{EndDate}
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;

public class dtos
{

    public static class ActivityTrackerReportRequest
    {
        public Date StartDate = null;
        public Date EndDate = null;
        
        public Date getStartDate() { return StartDate; }
        public ActivityTrackerReportRequest setStartDate(Date value) { this.StartDate = value; return this; }
        public Date getEndDate() { return EndDate; }
        public ActivityTrackerReportRequest setEndDate(Date value) { this.EndDate = value; return this; }
    }

    public static class ActivityTrackerReportResponse
    {
        public ResponseStatus ResponseStatus = null;
        public ArrayList<ActivityTracker_Report> ReportData = new ArrayList<ActivityTracker_Report>();
        
        public ResponseStatus getResponseStatus() { return ResponseStatus; }
        public ActivityTrackerReportResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
        public ArrayList<ActivityTracker_Report> getReportData() { return ReportData; }
        public ActivityTrackerReportResponse setReportData(ArrayList<ActivityTracker_Report> value) { this.ReportData = value; return this; }
    }

    public static class ActivityTracker_Report
    {
        public String AgentName = null;
        public Integer SetAppt = null;
        public Integer FirstAppt = null;
        public Integer FollowAppt = null;
        public Integer FirstContact = null;
        public Integer Referral = null;
        public Integer ClientUpdate = null;
        public Integer SecondAppointment = null;
        public Integer Appl = null;
        public BigDecimal LifeAP = null;
        public BigDecimal AnnuityFlow = null;
        public BigDecimal AnnuityTransfer = null;
        
        public String getAgentName() { return AgentName; }
        public ActivityTracker_Report setAgentName(String value) { this.AgentName = value; return this; }
        public Integer getSetAppt() { return SetAppt; }
        public ActivityTracker_Report setSetAppt(Integer value) { this.SetAppt = value; return this; }
        public Integer getFirstAppt() { return FirstAppt; }
        public ActivityTracker_Report setFirstAppt(Integer value) { this.FirstAppt = value; return this; }
        public Integer getFollowAppt() { return FollowAppt; }
        public ActivityTracker_Report setFollowAppt(Integer value) { this.FollowAppt = value; return this; }
        public Integer getFirstContact() { return FirstContact; }
        public ActivityTracker_Report setFirstContact(Integer value) { this.FirstContact = value; return this; }
        public Integer getReferral() { return Referral; }
        public ActivityTracker_Report setReferral(Integer value) { this.Referral = value; return this; }
        public Integer getClientUpdate() { return ClientUpdate; }
        public ActivityTracker_Report setClientUpdate(Integer value) { this.ClientUpdate = value; return this; }
        public Integer getSecondAppointment() { return SecondAppointment; }
        public ActivityTracker_Report setSecondAppointment(Integer value) { this.SecondAppointment = value; return this; }
        public Integer getAppl() { return Appl; }
        public ActivityTracker_Report setAppl(Integer value) { this.Appl = value; return this; }
        public BigDecimal getLifeAP() { return LifeAP; }
        public ActivityTracker_Report setLifeAP(BigDecimal value) { this.LifeAP = value; return this; }
        public BigDecimal getAnnuityFlow() { return AnnuityFlow; }
        public ActivityTracker_Report setAnnuityFlow(BigDecimal value) { this.AnnuityFlow = value; return this; }
        public BigDecimal getAnnuityTransfer() { return AnnuityTransfer; }
        public ActivityTracker_Report setAnnuityTransfer(BigDecimal value) { this.AnnuityTransfer = value; return this; }
    }

}

Java ActivityTrackerReportRequest DTOs

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

HTTP + JSV

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

GET /v1/ActivityTracker/Report/{StartDate}/{EndDate} HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String,
				Meta: 
				{
					String: String
				}
			}
		],
		Meta: 
		{
			String: String
		}
	},
	ReportData: 
	[
		{
			AgentName: String,
			SetAppt: 0,
			FirstAppt: 0,
			FollowAppt: 0,
			FirstContact: 0,
			Referral: 0,
			ClientUpdate: 0,
			SecondAppointment: 0,
			Appl: 0,
			LifeAP: 0,
			AnnuityFlow: 0,
			AnnuityTransfer: 0
		}
	]
}