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}
Imports System
Imports System.IO
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports CRM.AgencyPlatform.API.Internal

Namespace Global

    Namespace CRM.AgencyPlatform.API.Internal

        Public Partial Class ActivityTracker_Report
            Public Overridable Property AgentName As String
            Public Overridable Property SetAppt As Integer
            Public Overridable Property FirstAppt As Integer
            Public Overridable Property FollowAppt As Integer
            Public Overridable Property FirstContact As Integer
            Public Overridable Property Referral As Integer
            Public Overridable Property ClientUpdate As Integer
            Public Overridable Property SecondAppointment As Integer
            Public Overridable Property Appl As Integer
            Public Overridable Property LifeAP As Decimal
            Public Overridable Property AnnuityFlow As Decimal
            Public Overridable Property AnnuityTransfer As Decimal
        End Class

        Public Partial Class ActivityTrackerReportRequest
            Public Overridable Property StartDate As Date
            Public Overridable Property EndDate As Date
        End Class

        Public Partial Class ActivityTrackerReportResponse
            Public Overridable Property ResponseStatus As ResponseStatus
            Public Overridable Property ReportData As List(Of ActivityTracker_Report) = New List(Of ActivityTracker_Report)
        End Class
    End Namespace
End Namespace

VB.NET ActivityTrackerReportRequest 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 /v1/ActivityTracker/Report/{StartDate}/{EndDate} HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
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}]}