Skip to content

api_client.api.BaseBrokerApi

Load the API package

import 'package:api_client/api.dart';

All URIs are relative to https://localhost

Method HTTP request Description
deleteBroker POST /deleteBroker
getBroker GET /getBroker
getBrokers POST /getBrokers
saveBroker POST /saveBroker

deleteBroker

deleteBroker(id)

Example

import 'package:api_client/api.dart';

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

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

getBroker

BrokerServiceModel getBroker(id)

Example

import 'package:api_client/api.dart';

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

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

Parameters

Name Type Description Notes
id String [optional]

Return type

BrokerServiceModel

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]

getBrokers

QueryResultBrokerServiceModel getBrokers(request)

Example

import 'package:api_client/api.dart';

var api_instance = new BaseBrokerApi();
var request = new BrokerQueryRequest(); // BrokerQueryRequest | 

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

Parameters

Name Type Description Notes
request BrokerQueryRequest [optional]

Return type

QueryResultBrokerServiceModel

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]

saveBroker

BrokerServiceModel saveBroker(model)

Example

import 'package:api_client/api.dart';

var api_instance = new BaseBrokerApi();
var model = new BrokerServiceModel(); // BrokerServiceModel | 

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

Parameters

Name Type Description Notes
model BrokerServiceModel [optional]

Return type

BrokerServiceModel

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