| All Verbs | /AssignBatchToTray/ |
|---|
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
public class dtos
{
public static class AssignBatchToTray
{
/**
* Tray name
*/
@ApiMember(Description="Tray name")
public String Tray = null;
/**
* Batch id
*/
@ApiMember(Description="Batch id")
public String BatchId = null;
public String getTray() { return Tray; }
public AssignBatchToTray setTray(String value) { this.Tray = value; return this; }
public String getBatchId() { return BatchId; }
public AssignBatchToTray setBatchId(String value) { this.BatchId = value; return this; }
}
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /AssignBatchToTray/ HTTP/1.1
Host: clouddemo.pickeos.com
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"Tray":"String","BatchId":"String"}