| All Verbs | /SaveTraceabilityBatch/{EAN}/{BatchNumber}/{Owner} |
|---|
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
public class dtos
{
public static class SaveTraceabilityBatch
{
/**
* EAN
*/
@ApiMember(Description="EAN", IsRequired=true)
public String EAN = null;
/**
* Traceability Batch Number
*/
@ApiMember(Description="Traceability Batch Number", IsRequired=true)
public String BatchNumber = null;
/**
* Operator
*/
@ApiMember(Description="Operator", IsRequired=true)
public String Owner = null;
/**
* Supplier Reference
*/
@ApiMember(Description="Supplier Reference")
public String SupplierReference = null;
/**
* Stockroom name
*/
@ApiMember(Description="Stockroom name")
public String StockroomName = null;
public String getEan() { return EAN; }
public SaveTraceabilityBatch setEan(String value) { this.EAN = value; return this; }
public String getBatchNumber() { return BatchNumber; }
public SaveTraceabilityBatch setBatchNumber(String value) { this.BatchNumber = value; return this; }
public String getOwner() { return Owner; }
public SaveTraceabilityBatch setOwner(String value) { this.Owner = value; return this; }
public String getSupplierReference() { return SupplierReference; }
public SaveTraceabilityBatch setSupplierReference(String value) { this.SupplierReference = value; return this; }
public String getStockroomName() { return StockroomName; }
public SaveTraceabilityBatch setStockroomName(String value) { this.StockroomName = value; return this; }
}
}
Java SaveTraceabilityBatch DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /SaveTraceabilityBatch/{EAN}/{BatchNumber}/{Owner} HTTP/1.1
Host: clouddemo.pickeos.com
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"EAN":"String","BatchNumber":"String","Owner":"String","SupplierReference":"String","StockroomName":"String"}