Skip to content

api_client.api.BaseHandlingUnitApi

Load the API package

import 'package:api_client/api.dart';

All URIs are relative to https://localhost

Method HTTP request Description
deleteHandlingUnit POST /deleteHandlingUnit
getHandlingUnit GET /getHandlingUnit
getHandlingUnits POST /getHandlingUnits
saveHandlingUnit POST /saveHandlingUnit

deleteHandlingUnit

deleteHandlingUnit(id)

Example

import 'package:api_client/api.dart';

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

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

getHandlingUnit

HandlingUnitServiceModel getHandlingUnit(id)

Example

import 'package:api_client/api.dart';

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

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

Parameters

Name Type Description Notes
id String [optional]

Return type

HandlingUnitServiceModel

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]

getHandlingUnits

QueryResultHandlingUnitServiceModel getHandlingUnits(request)

Example

import 'package:api_client/api.dart';

var api_instance = new BaseHandlingUnitApi();
var request = new HandlingUnitQueryRequest(); // HandlingUnitQueryRequest | 

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

Parameters

Name Type Description Notes
request HandlingUnitQueryRequest [optional]

Return type

QueryResultHandlingUnitServiceModel

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]

saveHandlingUnit

HandlingUnitServiceModel saveHandlingUnit(model)

Example

import 'package:api_client/api.dart';

var api_instance = new BaseHandlingUnitApi();
var model = new HandlingUnitServiceModel(); // HandlingUnitServiceModel | 

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

Parameters

Name Type Description Notes
model HandlingUnitServiceModel [optional]

Return type

HandlingUnitServiceModel

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