Reporting Services

<back to all web services

TransactionsRequest

Requires Authentication
The following routes are available for this service:
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}

export class TransactionsRequest
{
    public companyId: number;
    public start: number;
    public take: number;
    public userId?: string;
    public columnNameToOrderBy: number;
    public orderByDesc: boolean;
    public inactive: boolean;

    public constructor(init?: Partial<TransactionsRequest>) { (Object as any).assign(this, init); }
}

TypeScript TransactionsRequest DTOs

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

HTTP + CSV

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-dev.chargeitpro.com 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"companyId":0,"start":0,"take":0,"userId":"String","columnNameToOrderBy":0,"orderByDesc":false,"inactive":false}