Skip to content

api_client.api.BaseLineItemTypeApi

Load the API package

import 'package:api_client/api.dart';

All URIs are relative to https://localhost

Method HTTP request Description
deleteLineItemType POST /deleteLineItemType
getLineItemType GET /getLineItemType
getLineItemTypes POST /getLineItemTypes
saveLineItemType POST /saveLineItemType

deleteLineItemType

deleteLineItemType(id)

Example

import 'package:api_client/api.dart';

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

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

getLineItemType

LineItemTypeServiceModel getLineItemType(id)

Example

import 'package:api_client/api.dart';

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

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

Parameters

Name Type Description Notes
id String [optional]

Return type

LineItemTypeServiceModel

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]

getLineItemTypes

QueryResultLineItemTypeServiceModel getLineItemTypes(request)

Example

import 'package:api_client/api.dart';

var api_instance = new BaseLineItemTypeApi();
var request = new LineItemTypeQueryRequest(); // LineItemTypeQueryRequest | 

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

Parameters

Name Type Description Notes
request LineItemTypeQueryRequest [optional]

Return type

QueryResultLineItemTypeServiceModel

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]

saveLineItemType

LineItemTypeServiceModel saveLineItemType(model)

Example

import 'package:api_client/api.dart';

var api_instance = new BaseLineItemTypeApi();
var model = new LineItemTypeServiceModel(); // LineItemTypeServiceModel | 

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

Parameters

Name Type Description Notes
model LineItemTypeServiceModel [optional]

Return type

LineItemTypeServiceModel

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