Billhighway Cloud API

<back to all web services

FinancialActivitySummaryRq

The following routes are available for this service:
GET/financial/reporting/activitysummary
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports BH.CloudAPI.Common4.DTO.Financial.Request
Imports BH.CloudAPI.Common4.DTO.Financial.Response

Namespace Global

    Namespace BH.CloudAPI.Common4.DTO.Financial.Request

        Public Partial Class FinancialActivitySummaryRq
            Public Overridable Property ClientId As Integer
            Public Overridable Property GroupId As String
            Public Overridable Property StartDate As Nullable(Of Date)
            Public Overridable Property EndDate As Nullable(Of Date)
        End Class
    End Namespace

    Namespace BH.CloudAPI.Common4.DTO.Financial.Response

        Public Partial Class ActivitySummary
            Public Sub New()
                Transfers = New List(Of Transfer)
            End Sub

            Public Overridable Property SalesCount As Integer
            Public Overridable Property SalesGrossAmount As Decimal
            Public Overridable Property SalesGrossFees As Decimal
            Public Overridable Property RefundsCount As Integer
            Public Overridable Property RefundsGrossAmount As Decimal
            Public Overridable Property RefundsGrossFees As Decimal
            Public Overridable Property DisputesCount As Integer
            Public Overridable Property DisputesGrossAmount As Decimal
            Public Overridable Property DisputesGrossFees As Decimal
            Public Overridable Property DisputeReversalsCount As Integer
            Public Overridable Property DisputeReversalsGrossAmount As Decimal
            Public Overridable Property DisputeReversalsGrossFees As Decimal
            Public Overridable Property NetActivityAmount As Decimal
            Public Overridable Property Transfers As List(Of Transfer)
        End Class

        Public Partial Class FinancialActivitySummaryRs
            Public Overridable Property GroupId As String
            Public Overridable Property GroupNickName As String
            Public Overridable Property GroupName As String
            Public Overridable Property StartDate As String
            Public Overridable Property EndDate As String
            Public Overridable Property ActivitySummary As ActivitySummary
            Public Overridable Property ErrorCode As Integer
            Public Overridable Property ErrorMessage As String
            <ApiMember(ExcludeInSchema:=true)>
            Public Overridable Property IsError As Boolean
        End Class

        Public Partial Class Transfer
            Public Overridable Property AccountName As String
            Public Overridable Property TransfersCount As Integer
            Public Overridable Property TransfersGrossAmount As Decimal
            Public Overridable Property TransfersReversals As Decimal
        End Class
    End Namespace
End Namespace

VB.NET FinancialActivitySummaryRq 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 /financial/reporting/activitysummary HTTP/1.1 
Host: devapi.billhighway.com 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	GroupId: String,
	GroupNickName: String,
	GroupName: String,
	StartDate: String,
	EndDate: String,
	ActivitySummary: 
	{
		SalesCount: 0,
		SalesGrossAmount: 0,
		SalesGrossFees: 0,
		RefundsCount: 0,
		RefundsGrossAmount: 0,
		RefundsGrossFees: 0,
		DisputesCount: 0,
		DisputesGrossAmount: 0,
		DisputesGrossFees: 0,
		DisputeReversalsCount: 0,
		DisputeReversalsGrossAmount: 0,
		DisputeReversalsGrossFees: 0,
		NetActivityAmount: 0,
		Transfers: 
		[
			{
				AccountName: String,
				TransfersCount: 0,
				TransfersGrossAmount: 0,
				TransfersReversals: 0
			}
		]
	},
	ErrorCode: 0,
	ErrorMessage: String,
	IsError: False
}