All Verbs | /Transactions/Company/{CompanyId} | ||
---|---|---|---|
All Verbs | /Transactions/Company/{CompanyId}/{Start}/{Take} | ||
All Verbs | /Transactions/Company/{CompanyId}/{Start}/{Take}/{ColumnNameToOrderBy}/{OrderByDesc} | ||
All Verbs | /Transactions/Company/{CompanyId}/{UserId} | ||
All Verbs | /Transactions/Company/{CompanyId}/{Start}/{Take}/{UserId} |
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports ReportingService.Services.Rest.Transactions
Namespace Global
Namespace ReportingService.Services.Rest.Transactions
Public Partial Class TransactionsRequest
Public Overridable Property CompanyId As Integer
Public Overridable Property Start As Integer
Public Overridable Property Take As Integer
Public Overridable Property UserId As String
Public Overridable Property ColumnNameToOrderBy As Integer
Public Overridable Property OrderByDesc As Boolean
Public Overridable Property Inactive As Boolean
End Class
End Namespace
End Namespace
VB.NET TransactionsRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /Transactions/Company/{CompanyId} HTTP/1.1
Host: cip-reporting.chargeitpro.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
CompanyId: 0,
Start: 0,
Take: 0,
UserId: String,
ColumnNameToOrderBy: 0,
OrderByDesc: False,
Inactive: False
}