Bridge

<back to all web services

RemoveSupplierFromPort

Suppliers
The following routes are available for this service:
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 .xml suffix or ?format=xml

HTTP + XML

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

<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">false</boolean>