Skip to content

api_client.api.BaseNmfcClassApi

Load the API package

import 'package:api_client/api.dart';

All URIs are relative to https://localhost

Method HTTP request Description
deleteNmfcClass POST /deleteNmfcClass
getNmfcClass GET /getNmfcClass
getNmfcClasses POST /getNmfcClasses
saveNmfcClass POST /saveNmfcClass

deleteNmfcClass

deleteNmfcClass(id)

Example

import 'package:api_client/api.dart';

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

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

getNmfcClass

NmfcClassServiceModel getNmfcClass(id)

Example

import 'package:api_client/api.dart';

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

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

Parameters

Name Type Description Notes
id String [optional]

Return type

NmfcClassServiceModel

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]

getNmfcClasses

QueryResultNmfcClassServiceModel getNmfcClasses(request)

Example

import 'package:api_client/api.dart';

var api_instance = new BaseNmfcClassApi();
var request = new NmfcClassQueryRequest(); // NmfcClassQueryRequest | 

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

Parameters

Name Type Description Notes
request NmfcClassQueryRequest [optional]

Return type

QueryResultNmfcClassServiceModel

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]

saveNmfcClass

NmfcClassServiceModel saveNmfcClass(model)

Example

import 'package:api_client/api.dart';

var api_instance = new BaseNmfcClassApi();
var model = new NmfcClassServiceModel(); // NmfcClassServiceModel | 

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

Parameters

Name Type Description Notes
model NmfcClassServiceModel [optional]

Return type

NmfcClassServiceModel

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