| All Verbs | /Transactions/Deleted/Company/{CompanyId}/{UserId} | ||
|---|---|---|---|
| All Verbs | /Transactions/Deleted/Company/{CompanyId}/{Start}/{Take}/{UserId} | ||
| All Verbs | /Transactions/Deleted/Company/{CompanyId} | ||
| All Verbs | /Transactions/Deleted/Company/{CompanyId}/{Start}/{Take} | ||
| All Verbs | /Transactions/Deleted/Company/{CompanyId}/{Start}/{Take}/{ColumnNameToOrderBy}/{OrderByDesc} |
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
public class dtos
{
public static class TransactionsDeletedRequest
{
public Integer companyId = null;
public Integer start = null;
public Integer take = null;
public String userId = null;
public Integer columnNameToOrderBy = null;
public Boolean orderByDesc = null;
public Integer getCompanyId() { return companyId; }
public TransactionsDeletedRequest setCompanyId(Integer value) { this.companyId = value; return this; }
public Integer getStart() { return start; }
public TransactionsDeletedRequest setStart(Integer value) { this.start = value; return this; }
public Integer getTake() { return take; }
public TransactionsDeletedRequest setTake(Integer value) { this.take = value; return this; }
public String getUserId() { return userId; }
public TransactionsDeletedRequest setUserId(String value) { this.userId = value; return this; }
public Integer getColumnNameToOrderBy() { return columnNameToOrderBy; }
public TransactionsDeletedRequest setColumnNameToOrderBy(Integer value) { this.columnNameToOrderBy = value; return this; }
public Boolean isOrderByDesc() { return orderByDesc; }
public TransactionsDeletedRequest setOrderByDesc(Boolean value) { this.orderByDesc = value; return this; }
}
}
Java TransactionsDeletedRequest 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/Deleted/Company/{CompanyId}/{UserId} HTTP/1.1
Host: cip-reporting-dev.chargeitpro.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
companyId: 0,
start: 0,
take: 0,
userId: String,
columnNameToOrderBy: 0,
orderByDesc: False
}