| Requires any of the roles: | Client, Admin, Partner |
| GET | /license_transactions |
|---|
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
import com.google.gson.annotations.*;
import com.google.gson.reflect.*;
public class dtos
{
@DataContract
public static class LicenseTransactionsLookup
{
@DataMember(Order=2)
public Integer TenantsId = null;
@DataMember(Order=3)
public Long LicensesId = null;
@DataMember(Order=4)
public Date TransactionDate = null;
@DataMember(Order=5)
public Integer TransactionQuantity = null;
@DataMember(Order=6)
public Double TransactionAmount = null;
public Integer getTenantsId() { return TenantsId; }
public LicenseTransactionsLookup setTenantsId(Integer value) { this.TenantsId = value; return this; }
public Long getLicensesId() { return LicensesId; }
public LicenseTransactionsLookup setLicensesId(Long value) { this.LicensesId = value; return this; }
public Date getTransactionDate() { return TransactionDate; }
public LicenseTransactionsLookup setTransactionDate(Date value) { this.TransactionDate = value; return this; }
public Integer getTransactionQuantity() { return TransactionQuantity; }
public LicenseTransactionsLookup setTransactionQuantity(Integer value) { this.TransactionQuantity = value; return this; }
public Double getTransactionAmount() { return TransactionAmount; }
public LicenseTransactionsLookup setTransactionAmount(Double value) { this.TransactionAmount = value; return this; }
}
}
Java LicenseTransactionsLookup 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.
GET /license_transactions HTTP/1.1 Host: duengageapi.uat.scadsoftware.com Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
[
{
TenantsId: 0,
LicensesId: 0,
TransactionDate: 0001-01-01T00:00:00.0000000+00:00,
TransactionQuantity: 0,
TransactionAmount: 0,
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String,
Meta:
{
String: String
}
}
],
Meta:
{
String: String
}
}
}
]