Skip to content

api_client.api.BaseSaferCarrierApi

Load the API package

import 'package:api_client/api.dart';

All URIs are relative to https://localhost

Method HTTP request Description
deleteSaferCarrier POST /deleteSaferCarrier
getSaferCarrier GET /getSaferCarrier
getSaferCarriers POST /getSaferCarriers
saveSaferCarrier POST /saveSaferCarrier

deleteSaferCarrier

deleteSaferCarrier(id)

Example

import 'package:api_client/api.dart';

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

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

getSaferCarrier

SaferCarrierServiceModel getSaferCarrier(id)

Example

import 'package:api_client/api.dart';

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

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

Parameters

Name Type Description Notes
id String [optional]

Return type

SaferCarrierServiceModel

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]

getSaferCarriers

QueryResultSaferCarrierServiceModel getSaferCarriers(request)

Example

import 'package:api_client/api.dart';

var api_instance = new BaseSaferCarrierApi();
var request = new SaferCarrierQueryRequest(); // SaferCarrierQueryRequest | 

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

Parameters

Name Type Description Notes
request SaferCarrierQueryRequest [optional]

Return type

QueryResultSaferCarrierServiceModel

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]

saveSaferCarrier

SaferCarrierServiceModel saveSaferCarrier(model)

Example

import 'package:api_client/api.dart';

var api_instance = new BaseSaferCarrierApi();
var model = new SaferCarrierServiceModel(); // SaferCarrierServiceModel | 

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

Parameters

Name Type Description Notes
model SaferCarrierServiceModel [optional]

Return type

SaferCarrierServiceModel

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