Bridge

<back to all web services

AddSupplierToPort

Suppliers
The following routes are available for this service:
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; }
    }

}

Java AddSupplierToPort DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

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/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

(string)