| All Verbs | /Recon/TransBySerial/{LocationId}/{SerialNumber} | ||
|---|---|---|---|
| All Verbs | /Recon/TransBySerial/{LocationId} | ||
| All Verbs | /Recon/TransBySerial |
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
public class dtos
{
public static class TransactionsBySerial
{
public String locationId = null;
public String serialNumber = null;
public String getLocationId() { return locationId; }
public TransactionsBySerial setLocationId(String value) { this.locationId = value; return this; }
public String getSerialNumber() { return serialNumber; }
public TransactionsBySerial setSerialNumber(String value) { this.serialNumber = value; return this; }
}
}
Java TransactionsBySerial DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /Recon/TransBySerial/{LocationId}/{SerialNumber} HTTP/1.1
Host: cip-reporting-dev.chargeitpro.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"locationId":"String","serialNumber":"String"}