Skip to content

api_client.api.BaseInvoiceItemApi

Load the API package

import 'package:api_client/api.dart';

All URIs are relative to https://localhost

Method HTTP request Description
deleteInvoiceItem POST /deleteInvoiceItem
getInvoiceItem GET /getInvoiceItem
getInvoiceItems POST /getInvoiceItems
saveInvoiceItem POST /saveInvoiceItem

deleteInvoiceItem

deleteInvoiceItem(id)

Example

import 'package:api_client/api.dart';

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

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

getInvoiceItem

InvoiceItemServiceModel getInvoiceItem(id)

Example

import 'package:api_client/api.dart';

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

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

Parameters

Name Type Description Notes
id String [optional]

Return type

InvoiceItemServiceModel

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]

getInvoiceItems

QueryResultInvoiceItemServiceModel getInvoiceItems(request)

Example

import 'package:api_client/api.dart';

var api_instance = new BaseInvoiceItemApi();
var request = new InvoiceItemQueryRequest(); // InvoiceItemQueryRequest | 

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

Parameters

Name Type Description Notes
request InvoiceItemQueryRequest [optional]

Return type

QueryResultInvoiceItemServiceModel

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]

saveInvoiceItem

InvoiceItemServiceModel saveInvoiceItem(model)

Example

import 'package:api_client/api.dart';

var api_instance = new BaseInvoiceItemApi();
var model = new InvoiceItemServiceModel(); // InvoiceItemServiceModel | 

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

Parameters

Name Type Description Notes
model InvoiceItemServiceModel [optional]

Return type

InvoiceItemServiceModel

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