Skip to content

api_client.api.BaseLadingItemApi

Load the API package

import 'package:api_client/api.dart';

All URIs are relative to https://localhost

Method HTTP request Description
deleteLadingItem POST /deleteLadingItem
getLadingItem GET /getLadingItem
getLadingItems POST /getLadingItems
saveLadingItem POST /saveLadingItem

deleteLadingItem

deleteLadingItem(id)

Example

import 'package:api_client/api.dart';

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

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

getLadingItem

LadingItemServiceModel getLadingItem(id)

Example

import 'package:api_client/api.dart';

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

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

Parameters

Name Type Description Notes
id String [optional]

Return type

LadingItemServiceModel

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]

getLadingItems

QueryResultLadingItemServiceModel getLadingItems(request)

Example

import 'package:api_client/api.dart';

var api_instance = new BaseLadingItemApi();
var request = new LadingItemQueryRequest(); // LadingItemQueryRequest | 

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

Parameters

Name Type Description Notes
request LadingItemQueryRequest [optional]

Return type

QueryResultLadingItemServiceModel

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]

saveLadingItem

LadingItemServiceModel saveLadingItem(model)

Example

import 'package:api_client/api.dart';

var api_instance = new BaseLadingItemApi();
var model = new LadingItemServiceModel(); // LadingItemServiceModel | 

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

Parameters

Name Type Description Notes
model LadingItemServiceModel [optional]

Return type

LadingItemServiceModel

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