| GET | /Suppliers/Add-Supplier-To-Port |
|---|
namespace Bridge.Private.Api.DTO
open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
[<AllowNullLiteral>]
type AddSupplierToPort() =
member val PortId:Int32 = new Int32() with get,set
member val SupplierContacts:String[] = [||] with get,set
member val EntityName:String = null with get,set
member val EntityId:Int32 = new Int32() with get,set
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.
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)