Skip to content

api_client.api.BaseTradingChannelApi

Load the API package

import 'package:api_client/api.dart';

All URIs are relative to https://localhost

Method HTTP request Description
deleteTradingChannel POST /deleteTradingChannel
generateKeys POST /generateKeys
getTradingChannel GET /getTradingChannel
getTradingChannels POST /getTradingChannels
saveTradingChannel POST /saveTradingChannel

deleteTradingChannel

deleteTradingChannel(id)

Example

import 'package:api_client/api.dart';

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

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

generateKeys

TradingChannelServiceModel generateKeys(request)

Example

import 'package:api_client/api.dart';

var api_instance = new BaseTradingChannelApi();
var request = new GenerateKeysRequest(); // GenerateKeysRequest | 

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

Parameters

Name Type Description Notes
request GenerateKeysRequest [optional]

Return type

TradingChannelServiceModel

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]

getTradingChannel

TradingChannelServiceModel getTradingChannel(id)

Example

import 'package:api_client/api.dart';

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

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

Parameters

Name Type Description Notes
id String [optional]

Return type

TradingChannelServiceModel

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]

getTradingChannels

QueryResultTradingChannelServiceModel getTradingChannels(request)

Example

import 'package:api_client/api.dart';

var api_instance = new BaseTradingChannelApi();
var request = new TradingChannelQueryRequest(); // TradingChannelQueryRequest | 

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

Parameters

Name Type Description Notes
request TradingChannelQueryRequest [optional]

Return type

QueryResultTradingChannelServiceModel

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]

saveTradingChannel

TradingChannelServiceModel saveTradingChannel(model)

Example

import 'package:api_client/api.dart';

var api_instance = new BaseTradingChannelApi();
var model = new TradingChannelServiceModel(); // TradingChannelServiceModel | 

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

Parameters

Name Type Description Notes
model TradingChannelServiceModel [optional]

Return type

TradingChannelServiceModel

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