| GET | /Enquiries/Port-Has-Supply-Desk-Contact |
|---|
import Foundation
import ServiceStack
public class EnquiryPortHasSupplyDeskContact : Codable
{
public var portId:Int
public var entityId:Int
required public init(){}
}
public class PortHasSupplyDeskContactViewModel : Codable
{
public var applySupplyDeskRules:Bool
public var portName:String
public var entityContactGuid:String?
public var entityContactId:Int?
public var entityContactEmailAddress:String
public var name:String
public var imageUrl:String
public var entityContactImageGuid:String?
required public init(){}
}
Swift EnquiryPortHasSupplyDeskContact DTOs
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 /Enquiries/Port-Has-Supply-Desk-Contact HTTP/1.1 Host: internal.thebunkerbridge.com Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"ApplySupplyDeskRules":false,"PortName":"String","EntityContactGuid":"00000000000000000000000000000000","EntityContactId":0,"EntityContactEmailAddress":"String","Name":"String","ImageUrl":"String","EntityContactImageGuid":"00000000000000000000000000000000"}