| GET | /Suppliers/Add-Supplier-To-Port |
|---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class AddSupplierToPort
{
public Integer PortId = null;
public ArrayList<String> SupplierContacts = null;
public String EntityName = null;
public Integer EntityId = null;
public Integer getPortId() { return PortId; }
public AddSupplierToPort setPortId(Integer value) { this.PortId = value; return this; }
public ArrayList<String> getSupplierContacts() { return SupplierContacts; }
public AddSupplierToPort setSupplierContacts(ArrayList<String> value) { this.SupplierContacts = value; return this; }
public String getEntityName() { return EntityName; }
public AddSupplierToPort setEntityName(String value) { this.EntityName = value; return this; }
public Integer getEntityId() { return EntityId; }
public AddSupplierToPort setEntityId(Integer value) { this.EntityId = value; return this; }
}
}
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 /Suppliers/Add-Supplier-To-Port HTTP/1.1 Host: internal.thebunkerbridge.com Accept: text/jsv
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length (string)