Skip to content

api_client.api.BaseShipmentTradingPartnerApi

Load the API package

import 'package:api_client/api.dart';

All URIs are relative to https://localhost

Method HTTP request Description
deleteShipmentTradingPartner POST /deleteShipmentTradingPartner
getShipmentTradingPartner GET /getShipmentTradingPartner
getShipmentTradingPartners POST /getShipmentTradingPartners
saveShipmentTradingPartner POST /saveShipmentTradingPartner
sendTender POST /sendTender

deleteShipmentTradingPartner

deleteShipmentTradingPartner(id)

Example

import 'package:api_client/api.dart';

var api_instance = new BaseShipmentTradingPartnerApi();
var id = id_example; // String | 

try { 
    api_instance.deleteShipmentTradingPartner(id);
} catch (e) {
    print("Exception when calling BaseShipmentTradingPartnerApi->deleteShipmentTradingPartner: $e\n");
}

Parameters

Name Type Description Notes
id String [optional]

Return type

void (empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]

getShipmentTradingPartner

ShipmentTradingPartnerServiceModel getShipmentTradingPartner(id)

Example

import 'package:api_client/api.dart';

var api_instance = new BaseShipmentTradingPartnerApi();
var id = id_example; // String | 

try { 
    var result = api_instance.getShipmentTradingPartner(id);
    print(result);
} catch (e) {
    print("Exception when calling BaseShipmentTradingPartnerApi->getShipmentTradingPartner: $e\n");
}

Parameters

Name Type Description Notes
id String [optional]

Return type

ShipmentTradingPartnerServiceModel

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]

getShipmentTradingPartners

QueryResultShipmentTradingPartnerServiceModel getShipmentTradingPartners(request)

Example

import 'package:api_client/api.dart';

var api_instance = new BaseShipmentTradingPartnerApi();
var request = new ShipmentTradingPartnerQueryRequest(); // ShipmentTradingPartnerQueryRequest | 

try { 
    var result = api_instance.getShipmentTradingPartners(request);
    print(result);
} catch (e) {
    print("Exception when calling BaseShipmentTradingPartnerApi->getShipmentTradingPartners: $e\n");
}

Parameters

Name Type Description Notes
request ShipmentTradingPartnerQueryRequest [optional]

Return type

QueryResultShipmentTradingPartnerServiceModel

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json-patch+json, application/json, text/json, application/_*+json
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]

saveShipmentTradingPartner

ShipmentTradingPartnerServiceModel saveShipmentTradingPartner(model)

Example

import 'package:api_client/api.dart';

var api_instance = new BaseShipmentTradingPartnerApi();
var model = new ShipmentTradingPartnerServiceModel(); // ShipmentTradingPartnerServiceModel | 

try { 
    var result = api_instance.saveShipmentTradingPartner(model);
    print(result);
} catch (e) {
    print("Exception when calling BaseShipmentTradingPartnerApi->saveShipmentTradingPartner: $e\n");
}

Parameters

Name Type Description Notes
model ShipmentTradingPartnerServiceModel [optional]

Return type

ShipmentTradingPartnerServiceModel

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json-patch+json, application/json, text/json, application/_*+json
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]

sendTender

ShipmentTradingPartnerServiceModel sendTender(request)

Example

import 'package:api_client/api.dart';

var api_instance = new BaseShipmentTradingPartnerApi();
var request = new SendTenderRequest(); // SendTenderRequest | 

try { 
    var result = api_instance.sendTender(request);
    print(result);
} catch (e) {
    print("Exception when calling BaseShipmentTradingPartnerApi->sendTender: $e\n");
}

Parameters

Name Type Description Notes
request SendTenderRequest [optional]

Return type

ShipmentTradingPartnerServiceModel

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json-patch+json, application/json, text/json, application/_*+json
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]


Last update: July 4, 2020