Skip to content

api_client.api.BaseShipperApi

Load the API package

import 'package:api_client/api.dart';

All URIs are relative to https://localhost

Method HTTP request Description
deleteShipper POST /deleteShipper
getShipper GET /getShipper
getShippers POST /getShippers
saveShipper POST /saveShipper

deleteShipper

deleteShipper(id)

Example

import 'package:api_client/api.dart';

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

try { 
    api_instance.deleteShipper(id);
} catch (e) {
    print("Exception when calling BaseShipperApi->deleteShipper: $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]

getShipper

ShipperServiceModel getShipper(id)

Example

import 'package:api_client/api.dart';

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

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

Parameters

Name Type Description Notes
id String [optional]

Return type

ShipperServiceModel

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]

getShippers

QueryResultShipperServiceModel getShippers(request)

Example

import 'package:api_client/api.dart';

var api_instance = new BaseShipperApi();
var request = new ShipperQueryRequest(); // ShipperQueryRequest | 

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

Parameters

Name Type Description Notes
request ShipperQueryRequest [optional]

Return type

QueryResultShipperServiceModel

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]

saveShipper

ShipperServiceModel saveShipper(model)

Example

import 'package:api_client/api.dart';

var api_instance = new BaseShipperApi();
var model = new ShipperServiceModel(); // ShipperServiceModel | 

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

Parameters

Name Type Description Notes
model ShipperServiceModel [optional]

Return type

ShipperServiceModel

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