Skip to content

api_client.api.BaseNmfcNumberApi

Load the API package

import 'package:api_client/api.dart';

All URIs are relative to https://localhost

Method HTTP request Description
deleteNmfcNumber POST /deleteNmfcNumber
getNmfcNumber GET /getNmfcNumber
getNmfcNumbers POST /getNmfcNumbers
saveNmfcNumber POST /saveNmfcNumber

deleteNmfcNumber

deleteNmfcNumber(id)

Example

import 'package:api_client/api.dart';

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

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

getNmfcNumber

NmfcNumberServiceModel getNmfcNumber(id)

Example

import 'package:api_client/api.dart';

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

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

Parameters

Name Type Description Notes
id String [optional]

Return type

NmfcNumberServiceModel

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]

getNmfcNumbers

QueryResultNmfcNumberServiceModel getNmfcNumbers(request)

Example

import 'package:api_client/api.dart';

var api_instance = new BaseNmfcNumberApi();
var request = new NmfcNumberQueryRequest(); // NmfcNumberQueryRequest | 

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

Parameters

Name Type Description Notes
request NmfcNumberQueryRequest [optional]

Return type

QueryResultNmfcNumberServiceModel

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]

saveNmfcNumber

NmfcNumberServiceModel saveNmfcNumber(model)

Example

import 'package:api_client/api.dart';

var api_instance = new BaseNmfcNumberApi();
var model = new NmfcNumberServiceModel(); // NmfcNumberServiceModel | 

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

Parameters

Name Type Description Notes
model NmfcNumberServiceModel [optional]

Return type

NmfcNumberServiceModel

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