Skip to content

api_client.api.BaseShipmentDeclineReasonCodeApi

Load the API package

import 'package:api_client/api.dart';

All URIs are relative to https://localhost

Method HTTP request Description
deleteShipmentDeclineReasonCode POST /deleteShipmentDeclineReasonCode
getShipmentDeclineReasonCode GET /getShipmentDeclineReasonCode
getShipmentDeclineReasonCodes POST /getShipmentDeclineReasonCodes
saveShipmentDeclineReasonCode POST /saveShipmentDeclineReasonCode

deleteShipmentDeclineReasonCode

deleteShipmentDeclineReasonCode(id)

Example

import 'package:api_client/api.dart';

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

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

getShipmentDeclineReasonCode

ShipmentDeclineReasonCodeServiceModel getShipmentDeclineReasonCode(id)

Example

import 'package:api_client/api.dart';

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

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

Parameters

Name Type Description Notes
id String [optional]

Return type

ShipmentDeclineReasonCodeServiceModel

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]

getShipmentDeclineReasonCodes

QueryResultShipmentDeclineReasonCodeServiceModel getShipmentDeclineReasonCodes(request)

Example

import 'package:api_client/api.dart';

var api_instance = new BaseShipmentDeclineReasonCodeApi();
var request = new ShipmentDeclineReasonCodeQueryRequest(); // ShipmentDeclineReasonCodeQueryRequest | 

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

Parameters

Name Type Description Notes
request ShipmentDeclineReasonCodeQueryRequest [optional]

Return type

QueryResultShipmentDeclineReasonCodeServiceModel

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]

saveShipmentDeclineReasonCode

ShipmentDeclineReasonCodeServiceModel saveShipmentDeclineReasonCode(model)

Example

import 'package:api_client/api.dart';

var api_instance = new BaseShipmentDeclineReasonCodeApi();
var model = new ShipmentDeclineReasonCodeServiceModel(); // ShipmentDeclineReasonCodeServiceModel | 

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

Parameters

Name Type Description Notes
model ShipmentDeclineReasonCodeServiceModel [optional]

Return type

ShipmentDeclineReasonCodeServiceModel

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