Skip to content

api_client.api.BaseOrderItemApi

Load the API package

import 'package:api_client/api.dart';

All URIs are relative to https://localhost

Method HTTP request Description
deleteOrderItem POST /deleteOrderItem
getOrderItem GET /getOrderItem
getOrderItems POST /getOrderItems
saveOrderItem POST /saveOrderItem

deleteOrderItem

deleteOrderItem(id)

Example

import 'package:api_client/api.dart';

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

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

getOrderItem

OrderItemServiceModel getOrderItem(id)

Example

import 'package:api_client/api.dart';

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

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

Parameters

Name Type Description Notes
id String [optional]

Return type

OrderItemServiceModel

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]

getOrderItems

QueryResultOrderItemServiceModel getOrderItems(request)

Example

import 'package:api_client/api.dart';

var api_instance = new BaseOrderItemApi();
var request = new OrderItemQueryRequest(); // OrderItemQueryRequest | 

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

Parameters

Name Type Description Notes
request OrderItemQueryRequest [optional]

Return type

QueryResultOrderItemServiceModel

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]

saveOrderItem

OrderItemServiceModel saveOrderItem(model)

Example

import 'package:api_client/api.dart';

var api_instance = new BaseOrderItemApi();
var model = new OrderItemServiceModel(); // OrderItemServiceModel | 

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

Parameters

Name Type Description Notes
model OrderItemServiceModel [optional]

Return type

OrderItemServiceModel

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