| GET | /Suppliers/Remove-Supplier-From-Port |
|---|
import 'package:servicestack/servicestack.dart';
import 'dart:typed_data';
class RemoveSupplierFromPort implements IConvertible
{
int? PortId;
int? SupplierEntityId;
int? SupplierEntityContactId;
RemoveSupplierFromPort({this.PortId,this.SupplierEntityId,this.SupplierEntityContactId});
RemoveSupplierFromPort.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
PortId = json['PortId'];
SupplierEntityId = json['SupplierEntityId'];
SupplierEntityContactId = json['SupplierEntityContactId'];
return this;
}
Map<String, dynamic> toJson() => {
'PortId': PortId,
'SupplierEntityId': SupplierEntityId,
'SupplierEntityContactId': SupplierEntityContactId
};
getTypeName() => "RemoveSupplierFromPort";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'internal.thebunkerbridge.com', types: <String, TypeInfo> {
'RemoveSupplierFromPort': TypeInfo(TypeOf.Class, create:() => RemoveSupplierFromPort()),
});
Dart RemoveSupplierFromPort DTOs
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/Remove-Supplier-From-Port HTTP/1.1 Host: internal.thebunkerbridge.com Accept: text/jsv
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length False