FIXEdge Administrative REST API

BusinessLayer

businessLayerRoutingRulesReloadPost

Reloads business layer routing rules.


/business_layer/routing_rules/reload

Usage and SDK Samples

curl -X POST "https://127.0.0.1:8903/business_layer/routing_rules/reload?history="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BusinessLayerApi;

import java.io.File;
import java.util.*;

public class BusinessLayerApiExample {

    public static void main(String[] args) {
        
        BusinessLayerApi apiInstance = new BusinessLayerApi();
        Boolean history = true; // Boolean | reload history or not
        try {
            apiInstance.businessLayerRoutingRulesReloadPost(history);
        } catch (ApiException e) {
            System.err.println("Exception when calling BusinessLayerApi#businessLayerRoutingRulesReloadPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BusinessLayerApi;

public class BusinessLayerApiExample {

    public static void main(String[] args) {
        BusinessLayerApi apiInstance = new BusinessLayerApi();
        Boolean history = true; // Boolean | reload history or not
        try {
            apiInstance.businessLayerRoutingRulesReloadPost(history);
        } catch (ApiException e) {
            System.err.println("Exception when calling BusinessLayerApi#businessLayerRoutingRulesReloadPost");
            e.printStackTrace();
        }
    }
}
Boolean *history = true; // reload history or not (optional)

BusinessLayerApi *apiInstance = [[BusinessLayerApi alloc] init];

[apiInstance businessLayerRoutingRulesReloadPostWith:history
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var FixEdgeAdministrativeRestApi = require('fix_edge_administrative_rest_api');

var api = new FixEdgeAdministrativeRestApi.BusinessLayerApi()

var opts = { 
  'history': true // {Boolean} reload history or not
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.businessLayerRoutingRulesReloadPost(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class businessLayerRoutingRulesReloadPostExample
    {
        public void main()
        {
            
            var apiInstance = new BusinessLayerApi();
            var history = true;  // Boolean | reload history or not (optional) 

            try
            {
                apiInstance.businessLayerRoutingRulesReloadPost(history);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BusinessLayerApi.businessLayerRoutingRulesReloadPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\BusinessLayerApi();
$history = true; // Boolean | reload history or not

try {
    $api_instance->businessLayerRoutingRulesReloadPost($history);
} catch (Exception $e) {
    echo 'Exception when calling BusinessLayerApi->businessLayerRoutingRulesReloadPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::BusinessLayerApi;

my $api_instance = WWW::SwaggerClient::BusinessLayerApi->new();
my $history = true; # Boolean | reload history or not

eval { 
    $api_instance->businessLayerRoutingRulesReloadPost(history => $history);
};
if ($@) {
    warn "Exception when calling BusinessLayerApi->businessLayerRoutingRulesReloadPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.BusinessLayerApi()
history = true # Boolean | reload history or not (optional)

try: 
    api_instance.business_layer_routing_rules_reload_post(history=history)
except ApiException as e:
    print("Exception when calling BusinessLayerApi->businessLayerRoutingRulesReloadPost: %s\n" % e)

Parameters

Query parameters
Name Description
history
Boolean
reload history or not

Responses

Status: 200 - OK

Status: 500 - An exception was generated by business layer


Default

sessionsConfiguredNameSequenceNumbersPut

Modify input and/or output sequence numbers of the session.


/sessions/{configuredName}/sequence-numbers

Usage and SDK Samples

curl -X PUT "https://127.0.0.1:8903/sessions/{configuredName}/sequence-numbers"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String configuredName = configuredName_example; // String | name of the session specified by `ConfiguredName` property during session creation
        SessionSequenceNumbers sequenceNumbers = ; // SessionSequenceNumbers | * All properties of this object except `InSeqNum` and `OutSeqNum` are ignored. 
* If the object contains field `InSeqNum` then the input sequence number of the session is changed to the value of the
  field. If `InSeqNum` is present its value must be convertible to an unsigned integer. 
* If the object contains field `OutSeqNum` then the output sequence number of the session is changed to the value of
  the field. If `OutSeqNum` is present its value must be convertible to an unsigned integer. 
* If neither `InSeqNum` nor `OutSeqNum` is present then sequence numbers are reset.

        try {
            apiInstance.sessionsConfiguredNameSequenceNumbersPut(configuredName, sequenceNumbers);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sessionsConfiguredNameSequenceNumbersPut");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String configuredName = configuredName_example; // String | name of the session specified by `ConfiguredName` property during session creation
        SessionSequenceNumbers sequenceNumbers = ; // SessionSequenceNumbers | * All properties of this object except `InSeqNum` and `OutSeqNum` are ignored. 
* If the object contains field `InSeqNum` then the input sequence number of the session is changed to the value of the
  field. If `InSeqNum` is present its value must be convertible to an unsigned integer. 
* If the object contains field `OutSeqNum` then the output sequence number of the session is changed to the value of
  the field. If `OutSeqNum` is present its value must be convertible to an unsigned integer. 
* If neither `InSeqNum` nor `OutSeqNum` is present then sequence numbers are reset.

        try {
            apiInstance.sessionsConfiguredNameSequenceNumbersPut(configuredName, sequenceNumbers);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sessionsConfiguredNameSequenceNumbersPut");
            e.printStackTrace();
        }
    }
}
String *configuredName = configuredName_example; // name of the session specified by `ConfiguredName` property during session creation
SessionSequenceNumbers *sequenceNumbers = ; // * All properties of this object except `InSeqNum` and `OutSeqNum` are ignored. 
* If the object contains field `InSeqNum` then the input sequence number of the session is changed to the value of the
  field. If `InSeqNum` is present its value must be convertible to an unsigned integer. 
* If the object contains field `OutSeqNum` then the output sequence number of the session is changed to the value of
  the field. If `OutSeqNum` is present its value must be convertible to an unsigned integer. 
* If neither `InSeqNum` nor `OutSeqNum` is present then sequence numbers are reset.


DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Modify input and/or output sequence numbers of the session.
[apiInstance sessionsConfiguredNameSequenceNumbersPutWith:configuredName
    sequenceNumbers:sequenceNumbers
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var FixEdgeAdministrativeRestApi = require('fix_edge_administrative_rest_api');

var api = new FixEdgeAdministrativeRestApi.DefaultApi()

var configuredName = configuredName_example; // {String} name of the session specified by `ConfiguredName` property during session creation

var sequenceNumbers = ; // {SessionSequenceNumbers} * All properties of this object except `InSeqNum` and `OutSeqNum` are ignored. 
* If the object contains field `InSeqNum` then the input sequence number of the session is changed to the value of the
  field. If `InSeqNum` is present its value must be convertible to an unsigned integer. 
* If the object contains field `OutSeqNum` then the output sequence number of the session is changed to the value of
  the field. If `OutSeqNum` is present its value must be convertible to an unsigned integer. 
* If neither `InSeqNum` nor `OutSeqNum` is present then sequence numbers are reset.



var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.sessionsConfiguredNameSequenceNumbersPut(configuredName, sequenceNumbers, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class sessionsConfiguredNameSequenceNumbersPutExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var configuredName = configuredName_example;  // String | name of the session specified by `ConfiguredName` property during session creation
            var sequenceNumbers = new SessionSequenceNumbers(); // SessionSequenceNumbers | * All properties of this object except `InSeqNum` and `OutSeqNum` are ignored. 
* If the object contains field `InSeqNum` then the input sequence number of the session is changed to the value of the
  field. If `InSeqNum` is present its value must be convertible to an unsigned integer. 
* If the object contains field `OutSeqNum` then the output sequence number of the session is changed to the value of
  the field. If `OutSeqNum` is present its value must be convertible to an unsigned integer. 
* If neither `InSeqNum` nor `OutSeqNum` is present then sequence numbers are reset.


            try
            {
                // Modify input and/or output sequence numbers of the session.
                apiInstance.sessionsConfiguredNameSequenceNumbersPut(configuredName, sequenceNumbers);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.sessionsConfiguredNameSequenceNumbersPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$configuredName = configuredName_example; // String | name of the session specified by `ConfiguredName` property during session creation
$sequenceNumbers = ; // SessionSequenceNumbers | * All properties of this object except `InSeqNum` and `OutSeqNum` are ignored. 
* If the object contains field `InSeqNum` then the input sequence number of the session is changed to the value of the
  field. If `InSeqNum` is present its value must be convertible to an unsigned integer. 
* If the object contains field `OutSeqNum` then the output sequence number of the session is changed to the value of
  the field. If `OutSeqNum` is present its value must be convertible to an unsigned integer. 
* If neither `InSeqNum` nor `OutSeqNum` is present then sequence numbers are reset.


try {
    $api_instance->sessionsConfiguredNameSequenceNumbersPut($configuredName, $sequenceNumbers);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->sessionsConfiguredNameSequenceNumbersPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $configuredName = configuredName_example; # String | name of the session specified by `ConfiguredName` property during session creation
my $sequenceNumbers = WWW::SwaggerClient::Object::SessionSequenceNumbers->new(); # SessionSequenceNumbers | * All properties of this object except `InSeqNum` and `OutSeqNum` are ignored. 
* If the object contains field `InSeqNum` then the input sequence number of the session is changed to the value of the
  field. If `InSeqNum` is present its value must be convertible to an unsigned integer. 
* If the object contains field `OutSeqNum` then the output sequence number of the session is changed to the value of
  the field. If `OutSeqNum` is present its value must be convertible to an unsigned integer. 
* If neither `InSeqNum` nor `OutSeqNum` is present then sequence numbers are reset.


eval { 
    $api_instance->sessionsConfiguredNameSequenceNumbersPut(configuredName => $configuredName, sequenceNumbers => $sequenceNumbers);
};
if ($@) {
    warn "Exception when calling DefaultApi->sessionsConfiguredNameSequenceNumbersPut: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
configuredName = configuredName_example # String | name of the session specified by `ConfiguredName` property during session creation
sequenceNumbers =  # SessionSequenceNumbers | * All properties of this object except `InSeqNum` and `OutSeqNum` are ignored. 
* If the object contains field `InSeqNum` then the input sequence number of the session is changed to the value of the
  field. If `InSeqNum` is present its value must be convertible to an unsigned integer. 
* If the object contains field `OutSeqNum` then the output sequence number of the session is changed to the value of
  the field. If `OutSeqNum` is present its value must be convertible to an unsigned integer. 
* If neither `InSeqNum` nor `OutSeqNum` is present then sequence numbers are reset.


try: 
    # Modify input and/or output sequence numbers of the session.
    api_instance.sessions_configured_name_sequence_numbers_put(configuredName, sequenceNumbers)
except ApiException as e:
    print("Exception when calling DefaultApi->sessionsConfiguredNameSequenceNumbersPut: %s\n" % e)

Parameters

Path parameters
Name Description
configuredName*
String
name of the session specified by `ConfiguredName` property during session creation
Required
Body parameters
Name Description
sequenceNumbers *

Responses

Status: 200 - OK

Status: 400 - Bad request, e.g. body does not contain a JSON object

Status: 500 - Operation failed, e.g. session does not exist


sessionsSenderSenderTargetTargetQualifierQualifierSequenceNumbersPut

Modify input and/or output sequence numbers of the session.


/sessions/sender/{sender}/target/{target}/qualifier/{qualifier}/sequence-numbers

Usage and SDK Samples

curl -X PUT "https://127.0.0.1:8903/sessions/sender/{sender}/target/{target}/qualifier/{qualifier}/sequence-numbers"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String sender = sender_example; // String | identifier of session sender side
        String target = target_example; // String | identifier of session target side
        String qualifier = qualifier_example; // String | identifier to allow multiple sessions with the same sender and target identifiers
        SessionSequenceNumbers sequenceNumbers = ; // SessionSequenceNumbers | * All properties of this object except `InSeqNum` and `OutSeqNum` are ignored. 
* If the object contains field `InSeqNum` then the input sequence number of the session is changed to the value of the
  field. If `InSeqNum` is present its value must be convertible to an unsigned integer. 
* If the object contains field `OutSeqNum` then the output sequence number of the session is changed to the value of
  the field. If `OutSeqNum` is present its value must be convertible to an unsigned integer. 
* If neither `InSeqNum` nor `OutSeqNum` is present then sequence numbers are reset.

        try {
            apiInstance.sessionsSenderSenderTargetTargetQualifierQualifierSequenceNumbersPut(sender, target, qualifier, sequenceNumbers);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sessionsSenderSenderTargetTargetQualifierQualifierSequenceNumbersPut");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String sender = sender_example; // String | identifier of session sender side
        String target = target_example; // String | identifier of session target side
        String qualifier = qualifier_example; // String | identifier to allow multiple sessions with the same sender and target identifiers
        SessionSequenceNumbers sequenceNumbers = ; // SessionSequenceNumbers | * All properties of this object except `InSeqNum` and `OutSeqNum` are ignored. 
* If the object contains field `InSeqNum` then the input sequence number of the session is changed to the value of the
  field. If `InSeqNum` is present its value must be convertible to an unsigned integer. 
* If the object contains field `OutSeqNum` then the output sequence number of the session is changed to the value of
  the field. If `OutSeqNum` is present its value must be convertible to an unsigned integer. 
* If neither `InSeqNum` nor `OutSeqNum` is present then sequence numbers are reset.

        try {
            apiInstance.sessionsSenderSenderTargetTargetQualifierQualifierSequenceNumbersPut(sender, target, qualifier, sequenceNumbers);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sessionsSenderSenderTargetTargetQualifierQualifierSequenceNumbersPut");
            e.printStackTrace();
        }
    }
}
String *sender = sender_example; // identifier of session sender side
String *target = target_example; // identifier of session target side
String *qualifier = qualifier_example; // identifier to allow multiple sessions with the same sender and target identifiers
SessionSequenceNumbers *sequenceNumbers = ; // * All properties of this object except `InSeqNum` and `OutSeqNum` are ignored. 
* If the object contains field `InSeqNum` then the input sequence number of the session is changed to the value of the
  field. If `InSeqNum` is present its value must be convertible to an unsigned integer. 
* If the object contains field `OutSeqNum` then the output sequence number of the session is changed to the value of
  the field. If `OutSeqNum` is present its value must be convertible to an unsigned integer. 
* If neither `InSeqNum` nor `OutSeqNum` is present then sequence numbers are reset.


DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Modify input and/or output sequence numbers of the session.
[apiInstance sessionsSenderSenderTargetTargetQualifierQualifierSequenceNumbersPutWith:sender
    target:target
    qualifier:qualifier
    sequenceNumbers:sequenceNumbers
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var FixEdgeAdministrativeRestApi = require('fix_edge_administrative_rest_api');

var api = new FixEdgeAdministrativeRestApi.DefaultApi()

var sender = sender_example; // {String} identifier of session sender side

var target = target_example; // {String} identifier of session target side

var qualifier = qualifier_example; // {String} identifier to allow multiple sessions with the same sender and target identifiers

var sequenceNumbers = ; // {SessionSequenceNumbers} * All properties of this object except `InSeqNum` and `OutSeqNum` are ignored. 
* If the object contains field `InSeqNum` then the input sequence number of the session is changed to the value of the
  field. If `InSeqNum` is present its value must be convertible to an unsigned integer. 
* If the object contains field `OutSeqNum` then the output sequence number of the session is changed to the value of
  the field. If `OutSeqNum` is present its value must be convertible to an unsigned integer. 
* If neither `InSeqNum` nor `OutSeqNum` is present then sequence numbers are reset.



var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.sessionsSenderSenderTargetTargetQualifierQualifierSequenceNumbersPut(sender, target, qualifier, sequenceNumbers, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class sessionsSenderSenderTargetTargetQualifierQualifierSequenceNumbersPutExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var sender = sender_example;  // String | identifier of session sender side
            var target = target_example;  // String | identifier of session target side
            var qualifier = qualifier_example;  // String | identifier to allow multiple sessions with the same sender and target identifiers
            var sequenceNumbers = new SessionSequenceNumbers(); // SessionSequenceNumbers | * All properties of this object except `InSeqNum` and `OutSeqNum` are ignored. 
* If the object contains field `InSeqNum` then the input sequence number of the session is changed to the value of the
  field. If `InSeqNum` is present its value must be convertible to an unsigned integer. 
* If the object contains field `OutSeqNum` then the output sequence number of the session is changed to the value of
  the field. If `OutSeqNum` is present its value must be convertible to an unsigned integer. 
* If neither `InSeqNum` nor `OutSeqNum` is present then sequence numbers are reset.


            try
            {
                // Modify input and/or output sequence numbers of the session.
                apiInstance.sessionsSenderSenderTargetTargetQualifierQualifierSequenceNumbersPut(sender, target, qualifier, sequenceNumbers);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.sessionsSenderSenderTargetTargetQualifierQualifierSequenceNumbersPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$sender = sender_example; // String | identifier of session sender side
$target = target_example; // String | identifier of session target side
$qualifier = qualifier_example; // String | identifier to allow multiple sessions with the same sender and target identifiers
$sequenceNumbers = ; // SessionSequenceNumbers | * All properties of this object except `InSeqNum` and `OutSeqNum` are ignored. 
* If the object contains field `InSeqNum` then the input sequence number of the session is changed to the value of the
  field. If `InSeqNum` is present its value must be convertible to an unsigned integer. 
* If the object contains field `OutSeqNum` then the output sequence number of the session is changed to the value of
  the field. If `OutSeqNum` is present its value must be convertible to an unsigned integer. 
* If neither `InSeqNum` nor `OutSeqNum` is present then sequence numbers are reset.


try {
    $api_instance->sessionsSenderSenderTargetTargetQualifierQualifierSequenceNumbersPut($sender, $target, $qualifier, $sequenceNumbers);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->sessionsSenderSenderTargetTargetQualifierQualifierSequenceNumbersPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $sender = sender_example; # String | identifier of session sender side
my $target = target_example; # String | identifier of session target side
my $qualifier = qualifier_example; # String | identifier to allow multiple sessions with the same sender and target identifiers
my $sequenceNumbers = WWW::SwaggerClient::Object::SessionSequenceNumbers->new(); # SessionSequenceNumbers | * All properties of this object except `InSeqNum` and `OutSeqNum` are ignored. 
* If the object contains field `InSeqNum` then the input sequence number of the session is changed to the value of the
  field. If `InSeqNum` is present its value must be convertible to an unsigned integer. 
* If the object contains field `OutSeqNum` then the output sequence number of the session is changed to the value of
  the field. If `OutSeqNum` is present its value must be convertible to an unsigned integer. 
* If neither `InSeqNum` nor `OutSeqNum` is present then sequence numbers are reset.


eval { 
    $api_instance->sessionsSenderSenderTargetTargetQualifierQualifierSequenceNumbersPut(sender => $sender, target => $target, qualifier => $qualifier, sequenceNumbers => $sequenceNumbers);
};
if ($@) {
    warn "Exception when calling DefaultApi->sessionsSenderSenderTargetTargetQualifierQualifierSequenceNumbersPut: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
sender = sender_example # String | identifier of session sender side
target = target_example # String | identifier of session target side
qualifier = qualifier_example # String | identifier to allow multiple sessions with the same sender and target identifiers
sequenceNumbers =  # SessionSequenceNumbers | * All properties of this object except `InSeqNum` and `OutSeqNum` are ignored. 
* If the object contains field `InSeqNum` then the input sequence number of the session is changed to the value of the
  field. If `InSeqNum` is present its value must be convertible to an unsigned integer. 
* If the object contains field `OutSeqNum` then the output sequence number of the session is changed to the value of
  the field. If `OutSeqNum` is present its value must be convertible to an unsigned integer. 
* If neither `InSeqNum` nor `OutSeqNum` is present then sequence numbers are reset.


try: 
    # Modify input and/or output sequence numbers of the session.
    api_instance.sessions_sender_sender_target_target_qualifier_qualifier_sequence_numbers_put(sender, target, qualifier, sequenceNumbers)
except ApiException as e:
    print("Exception when calling DefaultApi->sessionsSenderSenderTargetTargetQualifierQualifierSequenceNumbersPut: %s\n" % e)

Parameters

Path parameters
Name Description
sender*
String
identifier of session sender side
Required
target*
String
identifier of session target side
Required
qualifier*
String
identifier to allow multiple sessions with the same sender and target identifiers
Required
Body parameters
Name Description
sequenceNumbers *

Responses

Status: 200 - OK

Status: 400 - Bad request, e.g. body does not contain a JSON object

Status: 500 - Operation failed, e.g. session does not exist


sessionsSenderSenderTargetTargetSequenceNumbersPut

Modify input and/or output sequence numbers of the session.


/sessions/sender/{sender}/target/{target}/sequence-numbers

Usage and SDK Samples

curl -X PUT "https://127.0.0.1:8903/sessions/sender/{sender}/target/{target}/sequence-numbers"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String sender = sender_example; // String | identifier of session sender side
        String target = target_example; // String | identifier of session target side
        SessionSequenceNumbers sequenceNumbers = ; // SessionSequenceNumbers | * All properties of this object except `InSeqNum` and `OutSeqNum` are ignored. 
* If the object contains field `InSeqNum` then the input sequence number of the session is changed to the value of the
  field. If `InSeqNum` is present its value must be convertible to an unsigned integer. 
* If the object contains field `OutSeqNum` then the output sequence number of the session is changed to the value of
  the field. If `OutSeqNum` is present its value must be convertible to an unsigned integer. 
* If neither `InSeqNum` nor `OutSeqNum` is present then sequence numbers are reset.

        try {
            apiInstance.sessionsSenderSenderTargetTargetSequenceNumbersPut(sender, target, sequenceNumbers);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sessionsSenderSenderTargetTargetSequenceNumbersPut");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String sender = sender_example; // String | identifier of session sender side
        String target = target_example; // String | identifier of session target side
        SessionSequenceNumbers sequenceNumbers = ; // SessionSequenceNumbers | * All properties of this object except `InSeqNum` and `OutSeqNum` are ignored. 
* If the object contains field `InSeqNum` then the input sequence number of the session is changed to the value of the
  field. If `InSeqNum` is present its value must be convertible to an unsigned integer. 
* If the object contains field `OutSeqNum` then the output sequence number of the session is changed to the value of
  the field. If `OutSeqNum` is present its value must be convertible to an unsigned integer. 
* If neither `InSeqNum` nor `OutSeqNum` is present then sequence numbers are reset.

        try {
            apiInstance.sessionsSenderSenderTargetTargetSequenceNumbersPut(sender, target, sequenceNumbers);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sessionsSenderSenderTargetTargetSequenceNumbersPut");
            e.printStackTrace();
        }
    }
}
String *sender = sender_example; // identifier of session sender side
String *target = target_example; // identifier of session target side
SessionSequenceNumbers *sequenceNumbers = ; // * All properties of this object except `InSeqNum` and `OutSeqNum` are ignored. 
* If the object contains field `InSeqNum` then the input sequence number of the session is changed to the value of the
  field. If `InSeqNum` is present its value must be convertible to an unsigned integer. 
* If the object contains field `OutSeqNum` then the output sequence number of the session is changed to the value of
  the field. If `OutSeqNum` is present its value must be convertible to an unsigned integer. 
* If neither `InSeqNum` nor `OutSeqNum` is present then sequence numbers are reset.


DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Modify input and/or output sequence numbers of the session.
[apiInstance sessionsSenderSenderTargetTargetSequenceNumbersPutWith:sender
    target:target
    sequenceNumbers:sequenceNumbers
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var FixEdgeAdministrativeRestApi = require('fix_edge_administrative_rest_api');

var api = new FixEdgeAdministrativeRestApi.DefaultApi()

var sender = sender_example; // {String} identifier of session sender side

var target = target_example; // {String} identifier of session target side

var sequenceNumbers = ; // {SessionSequenceNumbers} * All properties of this object except `InSeqNum` and `OutSeqNum` are ignored. 
* If the object contains field `InSeqNum` then the input sequence number of the session is changed to the value of the
  field. If `InSeqNum` is present its value must be convertible to an unsigned integer. 
* If the object contains field `OutSeqNum` then the output sequence number of the session is changed to the value of
  the field. If `OutSeqNum` is present its value must be convertible to an unsigned integer. 
* If neither `InSeqNum` nor `OutSeqNum` is present then sequence numbers are reset.



var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.sessionsSenderSenderTargetTargetSequenceNumbersPut(sender, target, sequenceNumbers, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class sessionsSenderSenderTargetTargetSequenceNumbersPutExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var sender = sender_example;  // String | identifier of session sender side
            var target = target_example;  // String | identifier of session target side
            var sequenceNumbers = new SessionSequenceNumbers(); // SessionSequenceNumbers | * All properties of this object except `InSeqNum` and `OutSeqNum` are ignored. 
* If the object contains field `InSeqNum` then the input sequence number of the session is changed to the value of the
  field. If `InSeqNum` is present its value must be convertible to an unsigned integer. 
* If the object contains field `OutSeqNum` then the output sequence number of the session is changed to the value of
  the field. If `OutSeqNum` is present its value must be convertible to an unsigned integer. 
* If neither `InSeqNum` nor `OutSeqNum` is present then sequence numbers are reset.


            try
            {
                // Modify input and/or output sequence numbers of the session.
                apiInstance.sessionsSenderSenderTargetTargetSequenceNumbersPut(sender, target, sequenceNumbers);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.sessionsSenderSenderTargetTargetSequenceNumbersPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$sender = sender_example; // String | identifier of session sender side
$target = target_example; // String | identifier of session target side
$sequenceNumbers = ; // SessionSequenceNumbers | * All properties of this object except `InSeqNum` and `OutSeqNum` are ignored. 
* If the object contains field `InSeqNum` then the input sequence number of the session is changed to the value of the
  field. If `InSeqNum` is present its value must be convertible to an unsigned integer. 
* If the object contains field `OutSeqNum` then the output sequence number of the session is changed to the value of
  the field. If `OutSeqNum` is present its value must be convertible to an unsigned integer. 
* If neither `InSeqNum` nor `OutSeqNum` is present then sequence numbers are reset.


try {
    $api_instance->sessionsSenderSenderTargetTargetSequenceNumbersPut($sender, $target, $sequenceNumbers);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->sessionsSenderSenderTargetTargetSequenceNumbersPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $sender = sender_example; # String | identifier of session sender side
my $target = target_example; # String | identifier of session target side
my $sequenceNumbers = WWW::SwaggerClient::Object::SessionSequenceNumbers->new(); # SessionSequenceNumbers | * All properties of this object except `InSeqNum` and `OutSeqNum` are ignored. 
* If the object contains field `InSeqNum` then the input sequence number of the session is changed to the value of the
  field. If `InSeqNum` is present its value must be convertible to an unsigned integer. 
* If the object contains field `OutSeqNum` then the output sequence number of the session is changed to the value of
  the field. If `OutSeqNum` is present its value must be convertible to an unsigned integer. 
* If neither `InSeqNum` nor `OutSeqNum` is present then sequence numbers are reset.


eval { 
    $api_instance->sessionsSenderSenderTargetTargetSequenceNumbersPut(sender => $sender, target => $target, sequenceNumbers => $sequenceNumbers);
};
if ($@) {
    warn "Exception when calling DefaultApi->sessionsSenderSenderTargetTargetSequenceNumbersPut: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
sender = sender_example # String | identifier of session sender side
target = target_example # String | identifier of session target side
sequenceNumbers =  # SessionSequenceNumbers | * All properties of this object except `InSeqNum` and `OutSeqNum` are ignored. 
* If the object contains field `InSeqNum` then the input sequence number of the session is changed to the value of the
  field. If `InSeqNum` is present its value must be convertible to an unsigned integer. 
* If the object contains field `OutSeqNum` then the output sequence number of the session is changed to the value of
  the field. If `OutSeqNum` is present its value must be convertible to an unsigned integer. 
* If neither `InSeqNum` nor `OutSeqNum` is present then sequence numbers are reset.


try: 
    # Modify input and/or output sequence numbers of the session.
    api_instance.sessions_sender_sender_target_target_sequence_numbers_put(sender, target, sequenceNumbers)
except ApiException as e:
    print("Exception when calling DefaultApi->sessionsSenderSenderTargetTargetSequenceNumbersPut: %s\n" % e)

Parameters

Path parameters
Name Description
sender*
String
identifier of session sender side
Required
target*
String
identifier of session target side
Required
Body parameters
Name Description
sequenceNumbers *

Responses

Status: 200 - OK

Status: 400 - Bad request, e.g. body does not contain a JSON object

Status: 500 - Operation failed, e.g. session does not exist


FIXEdge

serviceStartedDelete

Initializes service shutdown.


/service/started

Usage and SDK Samples

curl -X DELETE "https://127.0.0.1:8903/service/started"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.FIXEdgeApi;

import java.io.File;
import java.util.*;

public class FIXEdgeApiExample {

    public static void main(String[] args) {
        
        FIXEdgeApi apiInstance = new FIXEdgeApi();
        try {
            apiInstance.serviceStartedDelete();
        } catch (ApiException e) {
            System.err.println("Exception when calling FIXEdgeApi#serviceStartedDelete");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.FIXEdgeApi;

public class FIXEdgeApiExample {

    public static void main(String[] args) {
        FIXEdgeApi apiInstance = new FIXEdgeApi();
        try {
            apiInstance.serviceStartedDelete();
        } catch (ApiException e) {
            System.err.println("Exception when calling FIXEdgeApi#serviceStartedDelete");
            e.printStackTrace();
        }
    }
}

FIXEdgeApi *apiInstance = [[FIXEdgeApi alloc] init];

[apiInstance serviceStartedDeleteWithCompletionHandler: 
              ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var FixEdgeAdministrativeRestApi = require('fix_edge_administrative_rest_api');

var api = new FixEdgeAdministrativeRestApi.FIXEdgeApi()

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.serviceStartedDelete(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class serviceStartedDeleteExample
    {
        public void main()
        {
            
            var apiInstance = new FIXEdgeApi();

            try
            {
                apiInstance.serviceStartedDelete();
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling FIXEdgeApi.serviceStartedDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\FIXEdgeApi();

try {
    $api_instance->serviceStartedDelete();
} catch (Exception $e) {
    echo 'Exception when calling FIXEdgeApi->serviceStartedDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::FIXEdgeApi;

my $api_instance = WWW::SwaggerClient::FIXEdgeApi->new();

eval { 
    $api_instance->serviceStartedDelete();
};
if ($@) {
    warn "Exception when calling FIXEdgeApi->serviceStartedDelete: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.FIXEdgeApi()

try: 
    api_instance.service_started_delete()
except ApiException as e:
    print("Exception when calling FIXEdgeApi->serviceStartedDelete: %s\n" % e)

Parameters

Responses

Status: 200 - OK

Status: 400 - Bad request, e.g. unexpected parameters


Sessions

sessionsConfiguredNameGet

Get info on single session


/sessions/{configuredName}

Usage and SDK Samples

curl -X GET "https://127.0.0.1:8903/sessions/{configuredName}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SessionsApi;

import java.io.File;
import java.util.*;

public class SessionsApiExample {

    public static void main(String[] args) {
        
        SessionsApi apiInstance = new SessionsApi();
        String configuredName = configuredName_example; // String | name of the session specified by `ConfiguredName` property during session creation
        try {
            SessionData result = apiInstance.sessionsConfiguredNameGet(configuredName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionsApi#sessionsConfiguredNameGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SessionsApi;

public class SessionsApiExample {

    public static void main(String[] args) {
        SessionsApi apiInstance = new SessionsApi();
        String configuredName = configuredName_example; // String | name of the session specified by `ConfiguredName` property during session creation
        try {
            SessionData result = apiInstance.sessionsConfiguredNameGet(configuredName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionsApi#sessionsConfiguredNameGet");
            e.printStackTrace();
        }
    }
}
String *configuredName = configuredName_example; // name of the session specified by `ConfiguredName` property during session creation

SessionsApi *apiInstance = [[SessionsApi alloc] init];

// Get info on single session
[apiInstance sessionsConfiguredNameGetWith:configuredName
              completionHandler: ^(SessionData output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var FixEdgeAdministrativeRestApi = require('fix_edge_administrative_rest_api');

var api = new FixEdgeAdministrativeRestApi.SessionsApi()

var configuredName = configuredName_example; // {String} name of the session specified by `ConfiguredName` property during session creation


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.sessionsConfiguredNameGet(configuredName, , callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class sessionsConfiguredNameGetExample
    {
        public void main()
        {
            
            var apiInstance = new SessionsApi();
            var configuredName = configuredName_example;  // String | name of the session specified by `ConfiguredName` property during session creation

            try
            {
                // Get info on single session
                SessionData result = apiInstance.sessionsConfiguredNameGet(configuredName);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SessionsApi.sessionsConfiguredNameGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\SessionsApi();
$configuredName = configuredName_example; // String | name of the session specified by `ConfiguredName` property during session creation

try {
    $result = $api_instance->sessionsConfiguredNameGet($configuredName);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SessionsApi->sessionsConfiguredNameGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SessionsApi;

my $api_instance = WWW::SwaggerClient::SessionsApi->new();
my $configuredName = configuredName_example; # String | name of the session specified by `ConfiguredName` property during session creation

eval { 
    my $result = $api_instance->sessionsConfiguredNameGet(configuredName => $configuredName);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SessionsApi->sessionsConfiguredNameGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.SessionsApi()
configuredName = configuredName_example # String | name of the session specified by `ConfiguredName` property during session creation

try: 
    # Get info on single session
    api_response = api_instance.sessions_configured_name_get(configuredName)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SessionsApi->sessionsConfiguredNameGet: %s\n" % e)

Parameters

Path parameters
Name Description
configuredName*
String
name of the session specified by `ConfiguredName` property during session creation
Required

Responses

Status: 200 - OK

Status: 500 - Session with the specified name does not exists


sessionsConfiguredNameOutputMessagesGet

Reads last 1000 output messages for the session. The messages are returns as JSON array, each element of the array contains a Base64 encoded FIX message.


/sessions/{configuredName}/output-messages

Usage and SDK Samples

curl -X GET "https://127.0.0.1:8903/sessions/{configuredName}/output-messages"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SessionsApi;

import java.io.File;
import java.util.*;

public class SessionsApiExample {

    public static void main(String[] args) {
        
        SessionsApi apiInstance = new SessionsApi();
        String configuredName = configuredName_example; // String | name of the session specified by `ConfiguredName` property during session creation
        try {
            array[byte[]] result = apiInstance.sessionsConfiguredNameOutputMessagesGet(configuredName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionsApi#sessionsConfiguredNameOutputMessagesGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SessionsApi;

public class SessionsApiExample {

    public static void main(String[] args) {
        SessionsApi apiInstance = new SessionsApi();
        String configuredName = configuredName_example; // String | name of the session specified by `ConfiguredName` property during session creation
        try {
            array[byte[]] result = apiInstance.sessionsConfiguredNameOutputMessagesGet(configuredName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionsApi#sessionsConfiguredNameOutputMessagesGet");
            e.printStackTrace();
        }
    }
}
String *configuredName = configuredName_example; // name of the session specified by `ConfiguredName` property during session creation

SessionsApi *apiInstance = [[SessionsApi alloc] init];

[apiInstance sessionsConfiguredNameOutputMessagesGetWith:configuredName
              completionHandler: ^(array[byte[]] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var FixEdgeAdministrativeRestApi = require('fix_edge_administrative_rest_api');

var api = new FixEdgeAdministrativeRestApi.SessionsApi()

var configuredName = configuredName_example; // {String} name of the session specified by `ConfiguredName` property during session creation


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.sessionsConfiguredNameOutputMessagesGet(configuredName, , callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class sessionsConfiguredNameOutputMessagesGetExample
    {
        public void main()
        {
            
            var apiInstance = new SessionsApi();
            var configuredName = configuredName_example;  // String | name of the session specified by `ConfiguredName` property during session creation

            try
            {
                array[byte[]] result = apiInstance.sessionsConfiguredNameOutputMessagesGet(configuredName);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SessionsApi.sessionsConfiguredNameOutputMessagesGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\SessionsApi();
$configuredName = configuredName_example; // String | name of the session specified by `ConfiguredName` property during session creation

try {
    $result = $api_instance->sessionsConfiguredNameOutputMessagesGet($configuredName);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SessionsApi->sessionsConfiguredNameOutputMessagesGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SessionsApi;

my $api_instance = WWW::SwaggerClient::SessionsApi->new();
my $configuredName = configuredName_example; # String | name of the session specified by `ConfiguredName` property during session creation

eval { 
    my $result = $api_instance->sessionsConfiguredNameOutputMessagesGet(configuredName => $configuredName);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SessionsApi->sessionsConfiguredNameOutputMessagesGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.SessionsApi()
configuredName = configuredName_example # String | name of the session specified by `ConfiguredName` property during session creation

try: 
    api_response = api_instance.sessions_configured_name_output_messages_get(configuredName)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SessionsApi->sessionsConfiguredNameOutputMessagesGet: %s\n" % e)

Parameters

Path parameters
Name Description
configuredName*
String
name of the session specified by `ConfiguredName` property during session creation
Required

Responses

Status: 200 - OK


sessionsConfiguredNameOutputMessagesPost

Sends message to the session;s output channel.


/sessions/{configuredName}/output-messages

Usage and SDK Samples

curl -X POST "https://127.0.0.1:8903/sessions/{configuredName}/output-messages"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SessionsApi;

import java.io.File;
import java.util.*;

public class SessionsApiExample {

    public static void main(String[] args) {
        
        SessionsApi apiInstance = new SessionsApi();
        String configuredName = configuredName_example; // String | name of the session specified by `ConfiguredName` property during session creation
        array[byte[]] messagesList = ; // array[byte[]] | JSON array of strings with Base64 encoded messages.

        try {
            apiInstance.sessionsConfiguredNameOutputMessagesPost(configuredName, messagesList);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionsApi#sessionsConfiguredNameOutputMessagesPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SessionsApi;

public class SessionsApiExample {

    public static void main(String[] args) {
        SessionsApi apiInstance = new SessionsApi();
        String configuredName = configuredName_example; // String | name of the session specified by `ConfiguredName` property during session creation
        array[byte[]] messagesList = ; // array[byte[]] | JSON array of strings with Base64 encoded messages.

        try {
            apiInstance.sessionsConfiguredNameOutputMessagesPost(configuredName, messagesList);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionsApi#sessionsConfiguredNameOutputMessagesPost");
            e.printStackTrace();
        }
    }
}
String *configuredName = configuredName_example; // name of the session specified by `ConfiguredName` property during session creation
array[byte[]] *messagesList = ; // JSON array of strings with Base64 encoded messages.


SessionsApi *apiInstance = [[SessionsApi alloc] init];

[apiInstance sessionsConfiguredNameOutputMessagesPostWith:configuredName
    messagesList:messagesList
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var FixEdgeAdministrativeRestApi = require('fix_edge_administrative_rest_api');

var api = new FixEdgeAdministrativeRestApi.SessionsApi()

var configuredName = configuredName_example; // {String} name of the session specified by `ConfiguredName` property during session creation

var messagesList = ; // {array[byte[]]} JSON array of strings with Base64 encoded messages.



var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.sessionsConfiguredNameOutputMessagesPost(configuredName, messagesList, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class sessionsConfiguredNameOutputMessagesPostExample
    {
        public void main()
        {
            
            var apiInstance = new SessionsApi();
            var configuredName = configuredName_example;  // String | name of the session specified by `ConfiguredName` property during session creation
            var messagesList = new array[byte[]](); // array[byte[]] | JSON array of strings with Base64 encoded messages.


            try
            {
                apiInstance.sessionsConfiguredNameOutputMessagesPost(configuredName, messagesList);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SessionsApi.sessionsConfiguredNameOutputMessagesPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\SessionsApi();
$configuredName = configuredName_example; // String | name of the session specified by `ConfiguredName` property during session creation
$messagesList = ; // array[byte[]] | JSON array of strings with Base64 encoded messages.


try {
    $api_instance->sessionsConfiguredNameOutputMessagesPost($configuredName, $messagesList);
} catch (Exception $e) {
    echo 'Exception when calling SessionsApi->sessionsConfiguredNameOutputMessagesPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SessionsApi;

my $api_instance = WWW::SwaggerClient::SessionsApi->new();
my $configuredName = configuredName_example; # String | name of the session specified by `ConfiguredName` property during session creation
my $messagesList = [WWW::SwaggerClient::Object::array[byte[]]->new()]; # array[byte[]] | JSON array of strings with Base64 encoded messages.


eval { 
    $api_instance->sessionsConfiguredNameOutputMessagesPost(configuredName => $configuredName, messagesList => $messagesList);
};
if ($@) {
    warn "Exception when calling SessionsApi->sessionsConfiguredNameOutputMessagesPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.SessionsApi()
configuredName = configuredName_example # String | name of the session specified by `ConfiguredName` property during session creation
messagesList =  # array[byte[]] | JSON array of strings with Base64 encoded messages.


try: 
    api_instance.sessions_configured_name_output_messages_post(configuredName, messagesList)
except ApiException as e:
    print("Exception when calling SessionsApi->sessionsConfiguredNameOutputMessagesPost: %s\n" % e)

Parameters

Path parameters
Name Description
configuredName*
String
name of the session specified by `ConfiguredName` property during session creation
Required
Body parameters
Name Description
messagesList *

Responses

Status: 200 - OK

Status: 400 - Bad request, e.g. body does not contain a JSON object

Status: 500 - Operation failed, e.g. session does not exist


sessionsConfiguredNameStartedDelete

Stops session identified by given session name.


/sessions/{configuredName}/started

Usage and SDK Samples

curl -X DELETE "https://127.0.0.1:8903/sessions/{configuredName}/started?send_logout=&logout_reason="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SessionsApi;

import java.io.File;
import java.util.*;

public class SessionsApiExample {

    public static void main(String[] args) {
        
        SessionsApi apiInstance = new SessionsApi();
        String configuredName = configuredName_example; // String | name of the session specified by `ConfiguredName` property during session creation
        Boolean sendLogout = true; // Boolean | perform nongraceful session termination if false
        String logoutReason = logoutReason_example; // String | logout reason description
        try {
            apiInstance.sessionsConfiguredNameStartedDelete(configuredName, sendLogout, logoutReason);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionsApi#sessionsConfiguredNameStartedDelete");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SessionsApi;

public class SessionsApiExample {

    public static void main(String[] args) {
        SessionsApi apiInstance = new SessionsApi();
        String configuredName = configuredName_example; // String | name of the session specified by `ConfiguredName` property during session creation
        Boolean sendLogout = true; // Boolean | perform nongraceful session termination if false
        String logoutReason = logoutReason_example; // String | logout reason description
        try {
            apiInstance.sessionsConfiguredNameStartedDelete(configuredName, sendLogout, logoutReason);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionsApi#sessionsConfiguredNameStartedDelete");
            e.printStackTrace();
        }
    }
}
String *configuredName = configuredName_example; // name of the session specified by `ConfiguredName` property during session creation
Boolean *sendLogout = true; // perform nongraceful session termination if false
String *logoutReason = logoutReason_example; // logout reason description

SessionsApi *apiInstance = [[SessionsApi alloc] init];

[apiInstance sessionsConfiguredNameStartedDeleteWith:configuredName
    sendLogout:sendLogout
    logoutReason:logoutReason
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var FixEdgeAdministrativeRestApi = require('fix_edge_administrative_rest_api');

var api = new FixEdgeAdministrativeRestApi.SessionsApi()

var configuredName = configuredName_example; // {String} name of the session specified by `ConfiguredName` property during session creation

var sendLogout = true; // {Boolean} perform nongraceful session termination if false

var logoutReason = logoutReason_example; // {String} logout reason description


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.sessionsConfiguredNameStartedDelete(configuredName, sendLogout, logoutReason, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class sessionsConfiguredNameStartedDeleteExample
    {
        public void main()
        {
            
            var apiInstance = new SessionsApi();
            var configuredName = configuredName_example;  // String | name of the session specified by `ConfiguredName` property during session creation
            var sendLogout = true;  // Boolean | perform nongraceful session termination if false
            var logoutReason = logoutReason_example;  // String | logout reason description

            try
            {
                apiInstance.sessionsConfiguredNameStartedDelete(configuredName, sendLogout, logoutReason);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SessionsApi.sessionsConfiguredNameStartedDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\SessionsApi();
$configuredName = configuredName_example; // String | name of the session specified by `ConfiguredName` property during session creation
$sendLogout = true; // Boolean | perform nongraceful session termination if false
$logoutReason = logoutReason_example; // String | logout reason description

try {
    $api_instance->sessionsConfiguredNameStartedDelete($configuredName, $sendLogout, $logoutReason);
} catch (Exception $e) {
    echo 'Exception when calling SessionsApi->sessionsConfiguredNameStartedDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SessionsApi;

my $api_instance = WWW::SwaggerClient::SessionsApi->new();
my $configuredName = configuredName_example; # String | name of the session specified by `ConfiguredName` property during session creation
my $sendLogout = true; # Boolean | perform nongraceful session termination if false
my $logoutReason = logoutReason_example; # String | logout reason description

eval { 
    $api_instance->sessionsConfiguredNameStartedDelete(configuredName => $configuredName, sendLogout => $sendLogout, logoutReason => $logoutReason);
};
if ($@) {
    warn "Exception when calling SessionsApi->sessionsConfiguredNameStartedDelete: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.SessionsApi()
configuredName = configuredName_example # String | name of the session specified by `ConfiguredName` property during session creation
sendLogout = true # Boolean | perform nongraceful session termination if false
logoutReason = logoutReason_example # String | logout reason description

try: 
    api_instance.sessions_configured_name_started_delete(configuredName, sendLogout, logoutReason)
except ApiException as e:
    print("Exception when calling SessionsApi->sessionsConfiguredNameStartedDelete: %s\n" % e)

Parameters

Path parameters
Name Description
configuredName*
String
name of the session specified by `ConfiguredName` property during session creation
Required
Query parameters
Name Description
send_logout*
Boolean
perform nongraceful session termination if false
Required
logout_reason*
String
logout reason description
Required

Responses

Status: 200 - OK

Status: 500 - Operation failed, e.g. session does not exist


sessionsConfiguredNameStartedPost

Starts session identified by given session name.


/sessions/{configuredName}/started

Usage and SDK Samples

curl -X POST "https://127.0.0.1:8903/sessions/{configuredName}/started"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SessionsApi;

import java.io.File;
import java.util.*;

public class SessionsApiExample {

    public static void main(String[] args) {
        
        SessionsApi apiInstance = new SessionsApi();
        String configuredName = configuredName_example; // String | name of the session specified by `ConfiguredName` property during session creation
        try {
            apiInstance.sessionsConfiguredNameStartedPost(configuredName);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionsApi#sessionsConfiguredNameStartedPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SessionsApi;

public class SessionsApiExample {

    public static void main(String[] args) {
        SessionsApi apiInstance = new SessionsApi();
        String configuredName = configuredName_example; // String | name of the session specified by `ConfiguredName` property during session creation
        try {
            apiInstance.sessionsConfiguredNameStartedPost(configuredName);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionsApi#sessionsConfiguredNameStartedPost");
            e.printStackTrace();
        }
    }
}
String *configuredName = configuredName_example; // name of the session specified by `ConfiguredName` property during session creation

SessionsApi *apiInstance = [[SessionsApi alloc] init];

[apiInstance sessionsConfiguredNameStartedPostWith:configuredName
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var FixEdgeAdministrativeRestApi = require('fix_edge_administrative_rest_api');

var api = new FixEdgeAdministrativeRestApi.SessionsApi()

var configuredName = configuredName_example; // {String} name of the session specified by `ConfiguredName` property during session creation


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.sessionsConfiguredNameStartedPost(configuredName, , callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class sessionsConfiguredNameStartedPostExample
    {
        public void main()
        {
            
            var apiInstance = new SessionsApi();
            var configuredName = configuredName_example;  // String | name of the session specified by `ConfiguredName` property during session creation

            try
            {
                apiInstance.sessionsConfiguredNameStartedPost(configuredName);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SessionsApi.sessionsConfiguredNameStartedPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\SessionsApi();
$configuredName = configuredName_example; // String | name of the session specified by `ConfiguredName` property during session creation

try {
    $api_instance->sessionsConfiguredNameStartedPost($configuredName);
} catch (Exception $e) {
    echo 'Exception when calling SessionsApi->sessionsConfiguredNameStartedPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SessionsApi;

my $api_instance = WWW::SwaggerClient::SessionsApi->new();
my $configuredName = configuredName_example; # String | name of the session specified by `ConfiguredName` property during session creation

eval { 
    $api_instance->sessionsConfiguredNameStartedPost(configuredName => $configuredName);
};
if ($@) {
    warn "Exception when calling SessionsApi->sessionsConfiguredNameStartedPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.SessionsApi()
configuredName = configuredName_example # String | name of the session specified by `ConfiguredName` property during session creation

try: 
    api_instance.sessions_configured_name_started_post(configuredName)
except ApiException as e:
    print("Exception when calling SessionsApi->sessionsConfiguredNameStartedPost: %s\n" % e)

Parameters

Path parameters
Name Description
configuredName*
String
name of the session specified by `ConfiguredName` property during session creation
Required

Responses

Status: 200 - OK

Status: 500 - Operation failed, e.g. session does not exist


sessionsGet

Get list of all sessions


/sessions

Usage and SDK Samples

curl -X GET "https://127.0.0.1:8903/sessions"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SessionsApi;

import java.io.File;
import java.util.*;

public class SessionsApiExample {

    public static void main(String[] args) {
        
        SessionsApi apiInstance = new SessionsApi();
        try {
            array[SessionData] result = apiInstance.sessionsGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionsApi#sessionsGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SessionsApi;

public class SessionsApiExample {

    public static void main(String[] args) {
        SessionsApi apiInstance = new SessionsApi();
        try {
            array[SessionData] result = apiInstance.sessionsGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionsApi#sessionsGet");
            e.printStackTrace();
        }
    }
}

SessionsApi *apiInstance = [[SessionsApi alloc] init];

// Get list of all sessions
[apiInstance sessionsGetWithCompletionHandler: 
              ^(array[SessionData] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var FixEdgeAdministrativeRestApi = require('fix_edge_administrative_rest_api');

var api = new FixEdgeAdministrativeRestApi.SessionsApi()

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.sessionsGet(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class sessionsGetExample
    {
        public void main()
        {
            
            var apiInstance = new SessionsApi();

            try
            {
                // Get list of all sessions
                array[SessionData] result = apiInstance.sessionsGet();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SessionsApi.sessionsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\SessionsApi();

try {
    $result = $api_instance->sessionsGet();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SessionsApi->sessionsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SessionsApi;

my $api_instance = WWW::SwaggerClient::SessionsApi->new();

eval { 
    my $result = $api_instance->sessionsGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SessionsApi->sessionsGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.SessionsApi()

try: 
    # Get list of all sessions
    api_response = api_instance.sessions_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SessionsApi->sessionsGet: %s\n" % e)

Parameters

Responses

Status: 200 - OK


sessionsSenderSenderTargetTargetGet

Get info on single session


/sessions/sender/{sender}/target/{target}

Usage and SDK Samples

curl -X GET "https://127.0.0.1:8903/sessions/sender/{sender}/target/{target}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SessionsApi;

import java.io.File;
import java.util.*;

public class SessionsApiExample {

    public static void main(String[] args) {
        
        SessionsApi apiInstance = new SessionsApi();
        String sender = sender_example; // String | identifier of session sender side
        String target = target_example; // String | identifier of session target side
        try {
            SessionData result = apiInstance.sessionsSenderSenderTargetTargetGet(sender, target);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionsApi#sessionsSenderSenderTargetTargetGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SessionsApi;

public class SessionsApiExample {

    public static void main(String[] args) {
        SessionsApi apiInstance = new SessionsApi();
        String sender = sender_example; // String | identifier of session sender side
        String target = target_example; // String | identifier of session target side
        try {
            SessionData result = apiInstance.sessionsSenderSenderTargetTargetGet(sender, target);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionsApi#sessionsSenderSenderTargetTargetGet");
            e.printStackTrace();
        }
    }
}
String *sender = sender_example; // identifier of session sender side
String *target = target_example; // identifier of session target side

SessionsApi *apiInstance = [[SessionsApi alloc] init];

// Get info on single session
[apiInstance sessionsSenderSenderTargetTargetGetWith:sender
    target:target
              completionHandler: ^(SessionData output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var FixEdgeAdministrativeRestApi = require('fix_edge_administrative_rest_api');

var api = new FixEdgeAdministrativeRestApi.SessionsApi()

var sender = sender_example; // {String} identifier of session sender side

var target = target_example; // {String} identifier of session target side


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.sessionsSenderSenderTargetTargetGet(sender, target, , callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class sessionsSenderSenderTargetTargetGetExample
    {
        public void main()
        {
            
            var apiInstance = new SessionsApi();
            var sender = sender_example;  // String | identifier of session sender side
            var target = target_example;  // String | identifier of session target side

            try
            {
                // Get info on single session
                SessionData result = apiInstance.sessionsSenderSenderTargetTargetGet(sender, target);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SessionsApi.sessionsSenderSenderTargetTargetGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\SessionsApi();
$sender = sender_example; // String | identifier of session sender side
$target = target_example; // String | identifier of session target side

try {
    $result = $api_instance->sessionsSenderSenderTargetTargetGet($sender, $target);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SessionsApi->sessionsSenderSenderTargetTargetGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SessionsApi;

my $api_instance = WWW::SwaggerClient::SessionsApi->new();
my $sender = sender_example; # String | identifier of session sender side
my $target = target_example; # String | identifier of session target side

eval { 
    my $result = $api_instance->sessionsSenderSenderTargetTargetGet(sender => $sender, target => $target);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SessionsApi->sessionsSenderSenderTargetTargetGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.SessionsApi()
sender = sender_example # String | identifier of session sender side
target = target_example # String | identifier of session target side

try: 
    # Get info on single session
    api_response = api_instance.sessions_sender_sender_target_target_get(sender, target)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SessionsApi->sessionsSenderSenderTargetTargetGet: %s\n" % e)

Parameters

Path parameters
Name Description
sender*
String
identifier of session sender side
Required
target*
String
identifier of session target side
Required

Responses

Status: 200 - OK

Status: 500 - Session with the specified name does not exists


sessionsSenderSenderTargetTargetOutputMessagesGet

Reads last 1000 output messages for the session. The messages are returns as JSON array, each element of the array contains a Base64 encoded FIX message.


/sessions/sender/{sender}/target/{target}/output-messages

Usage and SDK Samples

curl -X GET "https://127.0.0.1:8903/sessions/sender/{sender}/target/{target}/output-messages"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SessionsApi;

import java.io.File;
import java.util.*;

public class SessionsApiExample {

    public static void main(String[] args) {
        
        SessionsApi apiInstance = new SessionsApi();
        String sender = sender_example; // String | identifier of session sender side
        String target = target_example; // String | identifier of session target side
        try {
            array[byte[]] result = apiInstance.sessionsSenderSenderTargetTargetOutputMessagesGet(sender, target);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionsApi#sessionsSenderSenderTargetTargetOutputMessagesGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SessionsApi;

public class SessionsApiExample {

    public static void main(String[] args) {
        SessionsApi apiInstance = new SessionsApi();
        String sender = sender_example; // String | identifier of session sender side
        String target = target_example; // String | identifier of session target side
        try {
            array[byte[]] result = apiInstance.sessionsSenderSenderTargetTargetOutputMessagesGet(sender, target);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionsApi#sessionsSenderSenderTargetTargetOutputMessagesGet");
            e.printStackTrace();
        }
    }
}
String *sender = sender_example; // identifier of session sender side
String *target = target_example; // identifier of session target side

SessionsApi *apiInstance = [[SessionsApi alloc] init];

[apiInstance sessionsSenderSenderTargetTargetOutputMessagesGetWith:sender
    target:target
              completionHandler: ^(array[byte[]] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var FixEdgeAdministrativeRestApi = require('fix_edge_administrative_rest_api');

var api = new FixEdgeAdministrativeRestApi.SessionsApi()

var sender = sender_example; // {String} identifier of session sender side

var target = target_example; // {String} identifier of session target side


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.sessionsSenderSenderTargetTargetOutputMessagesGet(sender, target, , callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class sessionsSenderSenderTargetTargetOutputMessagesGetExample
    {
        public void main()
        {
            
            var apiInstance = new SessionsApi();
            var sender = sender_example;  // String | identifier of session sender side
            var target = target_example;  // String | identifier of session target side

            try
            {
                array[byte[]] result = apiInstance.sessionsSenderSenderTargetTargetOutputMessagesGet(sender, target);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SessionsApi.sessionsSenderSenderTargetTargetOutputMessagesGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\SessionsApi();
$sender = sender_example; // String | identifier of session sender side
$target = target_example; // String | identifier of session target side

try {
    $result = $api_instance->sessionsSenderSenderTargetTargetOutputMessagesGet($sender, $target);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SessionsApi->sessionsSenderSenderTargetTargetOutputMessagesGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SessionsApi;

my $api_instance = WWW::SwaggerClient::SessionsApi->new();
my $sender = sender_example; # String | identifier of session sender side
my $target = target_example; # String | identifier of session target side

eval { 
    my $result = $api_instance->sessionsSenderSenderTargetTargetOutputMessagesGet(sender => $sender, target => $target);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SessionsApi->sessionsSenderSenderTargetTargetOutputMessagesGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.SessionsApi()
sender = sender_example # String | identifier of session sender side
target = target_example # String | identifier of session target side

try: 
    api_response = api_instance.sessions_sender_sender_target_target_output_messages_get(sender, target)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SessionsApi->sessionsSenderSenderTargetTargetOutputMessagesGet: %s\n" % e)

Parameters

Path parameters
Name Description
sender*
String
identifier of session sender side
Required
target*
String
identifier of session target side
Required

Responses

Status: 200 - OK


sessionsSenderSenderTargetTargetOutputMessagesPost

Sends message to the session;s output channel.


/sessions/sender/{sender}/target/{target}/output-messages

Usage and SDK Samples

curl -X POST "https://127.0.0.1:8903/sessions/sender/{sender}/target/{target}/output-messages"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SessionsApi;

import java.io.File;
import java.util.*;

public class SessionsApiExample {

    public static void main(String[] args) {
        
        SessionsApi apiInstance = new SessionsApi();
        String sender = sender_example; // String | identifier of session sender side
        String target = target_example; // String | identifier of session target side
        array[byte[]] messagesList = ; // array[byte[]] | JSON array of strings with Base64 encoded messages.

        try {
            apiInstance.sessionsSenderSenderTargetTargetOutputMessagesPost(sender, target, messagesList);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionsApi#sessionsSenderSenderTargetTargetOutputMessagesPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SessionsApi;

public class SessionsApiExample {

    public static void main(String[] args) {
        SessionsApi apiInstance = new SessionsApi();
        String sender = sender_example; // String | identifier of session sender side
        String target = target_example; // String | identifier of session target side
        array[byte[]] messagesList = ; // array[byte[]] | JSON array of strings with Base64 encoded messages.

        try {
            apiInstance.sessionsSenderSenderTargetTargetOutputMessagesPost(sender, target, messagesList);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionsApi#sessionsSenderSenderTargetTargetOutputMessagesPost");
            e.printStackTrace();
        }
    }
}
String *sender = sender_example; // identifier of session sender side
String *target = target_example; // identifier of session target side
array[byte[]] *messagesList = ; // JSON array of strings with Base64 encoded messages.


SessionsApi *apiInstance = [[SessionsApi alloc] init];

[apiInstance sessionsSenderSenderTargetTargetOutputMessagesPostWith:sender
    target:target
    messagesList:messagesList
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var FixEdgeAdministrativeRestApi = require('fix_edge_administrative_rest_api');

var api = new FixEdgeAdministrativeRestApi.SessionsApi()

var sender = sender_example; // {String} identifier of session sender side

var target = target_example; // {String} identifier of session target side

var messagesList = ; // {array[byte[]]} JSON array of strings with Base64 encoded messages.



var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.sessionsSenderSenderTargetTargetOutputMessagesPost(sender, target, messagesList, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class sessionsSenderSenderTargetTargetOutputMessagesPostExample
    {
        public void main()
        {
            
            var apiInstance = new SessionsApi();
            var sender = sender_example;  // String | identifier of session sender side
            var target = target_example;  // String | identifier of session target side
            var messagesList = new array[byte[]](); // array[byte[]] | JSON array of strings with Base64 encoded messages.


            try
            {
                apiInstance.sessionsSenderSenderTargetTargetOutputMessagesPost(sender, target, messagesList);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SessionsApi.sessionsSenderSenderTargetTargetOutputMessagesPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\SessionsApi();
$sender = sender_example; // String | identifier of session sender side
$target = target_example; // String | identifier of session target side
$messagesList = ; // array[byte[]] | JSON array of strings with Base64 encoded messages.


try {
    $api_instance->sessionsSenderSenderTargetTargetOutputMessagesPost($sender, $target, $messagesList);
} catch (Exception $e) {
    echo 'Exception when calling SessionsApi->sessionsSenderSenderTargetTargetOutputMessagesPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SessionsApi;

my $api_instance = WWW::SwaggerClient::SessionsApi->new();
my $sender = sender_example; # String | identifier of session sender side
my $target = target_example; # String | identifier of session target side
my $messagesList = [WWW::SwaggerClient::Object::array[byte[]]->new()]; # array[byte[]] | JSON array of strings with Base64 encoded messages.


eval { 
    $api_instance->sessionsSenderSenderTargetTargetOutputMessagesPost(sender => $sender, target => $target, messagesList => $messagesList);
};
if ($@) {
    warn "Exception when calling SessionsApi->sessionsSenderSenderTargetTargetOutputMessagesPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.SessionsApi()
sender = sender_example # String | identifier of session sender side
target = target_example # String | identifier of session target side
messagesList =  # array[byte[]] | JSON array of strings with Base64 encoded messages.


try: 
    api_instance.sessions_sender_sender_target_target_output_messages_post(sender, target, messagesList)
except ApiException as e:
    print("Exception when calling SessionsApi->sessionsSenderSenderTargetTargetOutputMessagesPost: %s\n" % e)

Parameters

Path parameters
Name Description
sender*
String
identifier of session sender side
Required
target*
String
identifier of session target side
Required
Body parameters
Name Description
messagesList *

Responses

Status: 200 - OK

Status: 400 - Bad request, e.g. body does not contain a JSON object

Status: 500 - Operation failed, e.g. session does not exist


sessionsSenderSenderTargetTargetPost

Create new session

Creates new session with given sender and target. For detailed description of remaining parameters see https://kb.b2bits.com/display/B2BITS/Configuring+FIX+Sessions.


/sessions/sender/{sender}/target/{target}

Usage and SDK Samples

curl -X POST "https://127.0.0.1:8903/sessions/sender/{sender}/target/{target}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SessionsApi;

import java.io.File;
import java.util.*;

public class SessionsApiExample {

    public static void main(String[] args) {
        
        SessionsApi apiInstance = new SessionsApi();
        String sender = sender_example; // String | identifier of session sender side
        String target = target_example; // String | identifier of session target side
        NewSessionDefinition sessionDefinition = ; // NewSessionDefinition | Session parameters (like in FIXEdge properties)
        try {
            apiInstance.sessionsSenderSenderTargetTargetPost(sender, target, sessionDefinition);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionsApi#sessionsSenderSenderTargetTargetPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SessionsApi;

public class SessionsApiExample {

    public static void main(String[] args) {
        SessionsApi apiInstance = new SessionsApi();
        String sender = sender_example; // String | identifier of session sender side
        String target = target_example; // String | identifier of session target side
        NewSessionDefinition sessionDefinition = ; // NewSessionDefinition | Session parameters (like in FIXEdge properties)
        try {
            apiInstance.sessionsSenderSenderTargetTargetPost(sender, target, sessionDefinition);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionsApi#sessionsSenderSenderTargetTargetPost");
            e.printStackTrace();
        }
    }
}
String *sender = sender_example; // identifier of session sender side
String *target = target_example; // identifier of session target side
NewSessionDefinition *sessionDefinition = ; // Session parameters (like in FIXEdge properties)

SessionsApi *apiInstance = [[SessionsApi alloc] init];

// Create new session
[apiInstance sessionsSenderSenderTargetTargetPostWith:sender
    target:target
    sessionDefinition:sessionDefinition
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var FixEdgeAdministrativeRestApi = require('fix_edge_administrative_rest_api');

var api = new FixEdgeAdministrativeRestApi.SessionsApi()

var sender = sender_example; // {String} identifier of session sender side

var target = target_example; // {String} identifier of session target side

var sessionDefinition = ; // {NewSessionDefinition} Session parameters (like in FIXEdge properties)


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.sessionsSenderSenderTargetTargetPost(sender, target, sessionDefinition, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class sessionsSenderSenderTargetTargetPostExample
    {
        public void main()
        {
            
            var apiInstance = new SessionsApi();
            var sender = sender_example;  // String | identifier of session sender side
            var target = target_example;  // String | identifier of session target side
            var sessionDefinition = new NewSessionDefinition(); // NewSessionDefinition | Session parameters (like in FIXEdge properties)

            try
            {
                // Create new session
                apiInstance.sessionsSenderSenderTargetTargetPost(sender, target, sessionDefinition);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SessionsApi.sessionsSenderSenderTargetTargetPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\SessionsApi();
$sender = sender_example; // String | identifier of session sender side
$target = target_example; // String | identifier of session target side
$sessionDefinition = ; // NewSessionDefinition | Session parameters (like in FIXEdge properties)

try {
    $api_instance->sessionsSenderSenderTargetTargetPost($sender, $target, $sessionDefinition);
} catch (Exception $e) {
    echo 'Exception when calling SessionsApi->sessionsSenderSenderTargetTargetPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SessionsApi;

my $api_instance = WWW::SwaggerClient::SessionsApi->new();
my $sender = sender_example; # String | identifier of session sender side
my $target = target_example; # String | identifier of session target side
my $sessionDefinition = WWW::SwaggerClient::Object::NewSessionDefinition->new(); # NewSessionDefinition | Session parameters (like in FIXEdge properties)

eval { 
    $api_instance->sessionsSenderSenderTargetTargetPost(sender => $sender, target => $target, sessionDefinition => $sessionDefinition);
};
if ($@) {
    warn "Exception when calling SessionsApi->sessionsSenderSenderTargetTargetPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.SessionsApi()
sender = sender_example # String | identifier of session sender side
target = target_example # String | identifier of session target side
sessionDefinition =  # NewSessionDefinition | Session parameters (like in FIXEdge properties)

try: 
    # Create new session
    api_instance.sessions_sender_sender_target_target_post(sender, target, sessionDefinition)
except ApiException as e:
    print("Exception when calling SessionsApi->sessionsSenderSenderTargetTargetPost: %s\n" % e)

Parameters

Path parameters
Name Description
sender*
String
identifier of session sender side
Required
target*
String
identifier of session target side
Required
Body parameters
Name Description
sessionDefinition *

Responses

Status: 200 - OK

Status: 400 - Bad request (e.g. mandatory parameters are missing)

Status: 500 - Failure to create a session (e.g. sessions with the specified name already exists)


sessionsSenderSenderTargetTargetQualifierQualifierGet

Get info on single session


/sessions/sender/{sender}/target/{target}/qualifier/{qualifier}

Usage and SDK Samples

curl -X GET "https://127.0.0.1:8903/sessions/sender/{sender}/target/{target}/qualifier/{qualifier}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SessionsApi;

import java.io.File;
import java.util.*;

public class SessionsApiExample {

    public static void main(String[] args) {
        
        SessionsApi apiInstance = new SessionsApi();
        String sender = sender_example; // String | identifier of session sender side
        String target = target_example; // String | identifier of session target side
        String qualifier = qualifier_example; // String | identifier to allow multiple sessions with the same sender and target identifiers
        try {
            SessionData result = apiInstance.sessionsSenderSenderTargetTargetQualifierQualifierGet(sender, target, qualifier);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionsApi#sessionsSenderSenderTargetTargetQualifierQualifierGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SessionsApi;

public class SessionsApiExample {

    public static void main(String[] args) {
        SessionsApi apiInstance = new SessionsApi();
        String sender = sender_example; // String | identifier of session sender side
        String target = target_example; // String | identifier of session target side
        String qualifier = qualifier_example; // String | identifier to allow multiple sessions with the same sender and target identifiers
        try {
            SessionData result = apiInstance.sessionsSenderSenderTargetTargetQualifierQualifierGet(sender, target, qualifier);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionsApi#sessionsSenderSenderTargetTargetQualifierQualifierGet");
            e.printStackTrace();
        }
    }
}
String *sender = sender_example; // identifier of session sender side
String *target = target_example; // identifier of session target side
String *qualifier = qualifier_example; // identifier to allow multiple sessions with the same sender and target identifiers

SessionsApi *apiInstance = [[SessionsApi alloc] init];

// Get info on single session
[apiInstance sessionsSenderSenderTargetTargetQualifierQualifierGetWith:sender
    target:target
    qualifier:qualifier
              completionHandler: ^(SessionData output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var FixEdgeAdministrativeRestApi = require('fix_edge_administrative_rest_api');

var api = new FixEdgeAdministrativeRestApi.SessionsApi()

var sender = sender_example; // {String} identifier of session sender side

var target = target_example; // {String} identifier of session target side

var qualifier = qualifier_example; // {String} identifier to allow multiple sessions with the same sender and target identifiers


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.sessionsSenderSenderTargetTargetQualifierQualifierGet(sender, target, qualifier, , callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class sessionsSenderSenderTargetTargetQualifierQualifierGetExample
    {
        public void main()
        {
            
            var apiInstance = new SessionsApi();
            var sender = sender_example;  // String | identifier of session sender side
            var target = target_example;  // String | identifier of session target side
            var qualifier = qualifier_example;  // String | identifier to allow multiple sessions with the same sender and target identifiers

            try
            {
                // Get info on single session
                SessionData result = apiInstance.sessionsSenderSenderTargetTargetQualifierQualifierGet(sender, target, qualifier);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SessionsApi.sessionsSenderSenderTargetTargetQualifierQualifierGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\SessionsApi();
$sender = sender_example; // String | identifier of session sender side
$target = target_example; // String | identifier of session target side
$qualifier = qualifier_example; // String | identifier to allow multiple sessions with the same sender and target identifiers

try {
    $result = $api_instance->sessionsSenderSenderTargetTargetQualifierQualifierGet($sender, $target, $qualifier);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SessionsApi->sessionsSenderSenderTargetTargetQualifierQualifierGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SessionsApi;

my $api_instance = WWW::SwaggerClient::SessionsApi->new();
my $sender = sender_example; # String | identifier of session sender side
my $target = target_example; # String | identifier of session target side
my $qualifier = qualifier_example; # String | identifier to allow multiple sessions with the same sender and target identifiers

eval { 
    my $result = $api_instance->sessionsSenderSenderTargetTargetQualifierQualifierGet(sender => $sender, target => $target, qualifier => $qualifier);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SessionsApi->sessionsSenderSenderTargetTargetQualifierQualifierGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.SessionsApi()
sender = sender_example # String | identifier of session sender side
target = target_example # String | identifier of session target side
qualifier = qualifier_example # String | identifier to allow multiple sessions with the same sender and target identifiers

try: 
    # Get info on single session
    api_response = api_instance.sessions_sender_sender_target_target_qualifier_qualifier_get(sender, target, qualifier)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SessionsApi->sessionsSenderSenderTargetTargetQualifierQualifierGet: %s\n" % e)

Parameters

Path parameters
Name Description
sender*
String
identifier of session sender side
Required
target*
String
identifier of session target side
Required
qualifier*
String
identifier to allow multiple sessions with the same sender and target identifiers
Required

Responses

Status: 200 - OK

Status: 500 - Session with the specified name does not exists


sessionsSenderSenderTargetTargetQualifierQualifierOutputMessagesGet

Reads last 1000 output messages for the session. The messages are returns as JSON array, each element of the array contains a Base64 encoded FIX message.


/sessions/sender/{sender}/target/{target}/qualifier/{qualifier}/output-messages

Usage and SDK Samples

curl -X GET "https://127.0.0.1:8903/sessions/sender/{sender}/target/{target}/qualifier/{qualifier}/output-messages"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SessionsApi;

import java.io.File;
import java.util.*;

public class SessionsApiExample {

    public static void main(String[] args) {
        
        SessionsApi apiInstance = new SessionsApi();
        String sender = sender_example; // String | identifier of session sender side
        String target = target_example; // String | identifier of session target side
        String qualifier = qualifier_example; // String | identifier to allow multiple sessions with the same sender and target identifiers
        try {
            array[byte[]] result = apiInstance.sessionsSenderSenderTargetTargetQualifierQualifierOutputMessagesGet(sender, target, qualifier);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionsApi#sessionsSenderSenderTargetTargetQualifierQualifierOutputMessagesGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SessionsApi;

public class SessionsApiExample {

    public static void main(String[] args) {
        SessionsApi apiInstance = new SessionsApi();
        String sender = sender_example; // String | identifier of session sender side
        String target = target_example; // String | identifier of session target side
        String qualifier = qualifier_example; // String | identifier to allow multiple sessions with the same sender and target identifiers
        try {
            array[byte[]] result = apiInstance.sessionsSenderSenderTargetTargetQualifierQualifierOutputMessagesGet(sender, target, qualifier);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionsApi#sessionsSenderSenderTargetTargetQualifierQualifierOutputMessagesGet");
            e.printStackTrace();
        }
    }
}
String *sender = sender_example; // identifier of session sender side
String *target = target_example; // identifier of session target side
String *qualifier = qualifier_example; // identifier to allow multiple sessions with the same sender and target identifiers

SessionsApi *apiInstance = [[SessionsApi alloc] init];

[apiInstance sessionsSenderSenderTargetTargetQualifierQualifierOutputMessagesGetWith:sender
    target:target
    qualifier:qualifier
              completionHandler: ^(array[byte[]] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var FixEdgeAdministrativeRestApi = require('fix_edge_administrative_rest_api');

var api = new FixEdgeAdministrativeRestApi.SessionsApi()

var sender = sender_example; // {String} identifier of session sender side

var target = target_example; // {String} identifier of session target side

var qualifier = qualifier_example; // {String} identifier to allow multiple sessions with the same sender and target identifiers


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.sessionsSenderSenderTargetTargetQualifierQualifierOutputMessagesGet(sender, target, qualifier, , callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class sessionsSenderSenderTargetTargetQualifierQualifierOutputMessagesGetExample
    {
        public void main()
        {
            
            var apiInstance = new SessionsApi();
            var sender = sender_example;  // String | identifier of session sender side
            var target = target_example;  // String | identifier of session target side
            var qualifier = qualifier_example;  // String | identifier to allow multiple sessions with the same sender and target identifiers

            try
            {
                array[byte[]] result = apiInstance.sessionsSenderSenderTargetTargetQualifierQualifierOutputMessagesGet(sender, target, qualifier);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SessionsApi.sessionsSenderSenderTargetTargetQualifierQualifierOutputMessagesGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\SessionsApi();
$sender = sender_example; // String | identifier of session sender side
$target = target_example; // String | identifier of session target side
$qualifier = qualifier_example; // String | identifier to allow multiple sessions with the same sender and target identifiers

try {
    $result = $api_instance->sessionsSenderSenderTargetTargetQualifierQualifierOutputMessagesGet($sender, $target, $qualifier);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SessionsApi->sessionsSenderSenderTargetTargetQualifierQualifierOutputMessagesGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SessionsApi;

my $api_instance = WWW::SwaggerClient::SessionsApi->new();
my $sender = sender_example; # String | identifier of session sender side
my $target = target_example; # String | identifier of session target side
my $qualifier = qualifier_example; # String | identifier to allow multiple sessions with the same sender and target identifiers

eval { 
    my $result = $api_instance->sessionsSenderSenderTargetTargetQualifierQualifierOutputMessagesGet(sender => $sender, target => $target, qualifier => $qualifier);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SessionsApi->sessionsSenderSenderTargetTargetQualifierQualifierOutputMessagesGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.SessionsApi()
sender = sender_example # String | identifier of session sender side
target = target_example # String | identifier of session target side
qualifier = qualifier_example # String | identifier to allow multiple sessions with the same sender and target identifiers

try: 
    api_response = api_instance.sessions_sender_sender_target_target_qualifier_qualifier_output_messages_get(sender, target, qualifier)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SessionsApi->sessionsSenderSenderTargetTargetQualifierQualifierOutputMessagesGet: %s\n" % e)

Parameters

Path parameters
Name Description
sender*
String
identifier of session sender side
Required
target*
String
identifier of session target side
Required
qualifier*
String
identifier to allow multiple sessions with the same sender and target identifiers
Required

Responses

Status: 200 - OK


sessionsSenderSenderTargetTargetQualifierQualifierOutputMessagesPost

Sends message to the session;s output channel.


/sessions/sender/{sender}/target/{target}/qualifier/{qualifier}/output-messages

Usage and SDK Samples

curl -X POST "https://127.0.0.1:8903/sessions/sender/{sender}/target/{target}/qualifier/{qualifier}/output-messages"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SessionsApi;

import java.io.File;
import java.util.*;

public class SessionsApiExample {

    public static void main(String[] args) {
        
        SessionsApi apiInstance = new SessionsApi();
        String sender = sender_example; // String | identifier of session sender side
        String target = target_example; // String | identifier of session target side
        String qualifier = qualifier_example; // String | identifier to allow multiple sessions with the same sender and target identifiers
        array[byte[]] messagesList = ; // array[byte[]] | JSON array of strings with Base64 encoded messages.

        try {
            apiInstance.sessionsSenderSenderTargetTargetQualifierQualifierOutputMessagesPost(sender, target, qualifier, messagesList);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionsApi#sessionsSenderSenderTargetTargetQualifierQualifierOutputMessagesPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SessionsApi;

public class SessionsApiExample {

    public static void main(String[] args) {
        SessionsApi apiInstance = new SessionsApi();
        String sender = sender_example; // String | identifier of session sender side
        String target = target_example; // String | identifier of session target side
        String qualifier = qualifier_example; // String | identifier to allow multiple sessions with the same sender and target identifiers
        array[byte[]] messagesList = ; // array[byte[]] | JSON array of strings with Base64 encoded messages.

        try {
            apiInstance.sessionsSenderSenderTargetTargetQualifierQualifierOutputMessagesPost(sender, target, qualifier, messagesList);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionsApi#sessionsSenderSenderTargetTargetQualifierQualifierOutputMessagesPost");
            e.printStackTrace();
        }
    }
}
String *sender = sender_example; // identifier of session sender side
String *target = target_example; // identifier of session target side
String *qualifier = qualifier_example; // identifier to allow multiple sessions with the same sender and target identifiers
array[byte[]] *messagesList = ; // JSON array of strings with Base64 encoded messages.


SessionsApi *apiInstance = [[SessionsApi alloc] init];

[apiInstance sessionsSenderSenderTargetTargetQualifierQualifierOutputMessagesPostWith:sender
    target:target
    qualifier:qualifier
    messagesList:messagesList
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var FixEdgeAdministrativeRestApi = require('fix_edge_administrative_rest_api');

var api = new FixEdgeAdministrativeRestApi.SessionsApi()

var sender = sender_example; // {String} identifier of session sender side

var target = target_example; // {String} identifier of session target side

var qualifier = qualifier_example; // {String} identifier to allow multiple sessions with the same sender and target identifiers

var messagesList = ; // {array[byte[]]} JSON array of strings with Base64 encoded messages.



var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.sessionsSenderSenderTargetTargetQualifierQualifierOutputMessagesPost(sender, target, qualifier, messagesList, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class sessionsSenderSenderTargetTargetQualifierQualifierOutputMessagesPostExample
    {
        public void main()
        {
            
            var apiInstance = new SessionsApi();
            var sender = sender_example;  // String | identifier of session sender side
            var target = target_example;  // String | identifier of session target side
            var qualifier = qualifier_example;  // String | identifier to allow multiple sessions with the same sender and target identifiers
            var messagesList = new array[byte[]](); // array[byte[]] | JSON array of strings with Base64 encoded messages.


            try
            {
                apiInstance.sessionsSenderSenderTargetTargetQualifierQualifierOutputMessagesPost(sender, target, qualifier, messagesList);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SessionsApi.sessionsSenderSenderTargetTargetQualifierQualifierOutputMessagesPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\SessionsApi();
$sender = sender_example; // String | identifier of session sender side
$target = target_example; // String | identifier of session target side
$qualifier = qualifier_example; // String | identifier to allow multiple sessions with the same sender and target identifiers
$messagesList = ; // array[byte[]] | JSON array of strings with Base64 encoded messages.


try {
    $api_instance->sessionsSenderSenderTargetTargetQualifierQualifierOutputMessagesPost($sender, $target, $qualifier, $messagesList);
} catch (Exception $e) {
    echo 'Exception when calling SessionsApi->sessionsSenderSenderTargetTargetQualifierQualifierOutputMessagesPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SessionsApi;

my $api_instance = WWW::SwaggerClient::SessionsApi->new();
my $sender = sender_example; # String | identifier of session sender side
my $target = target_example; # String | identifier of session target side
my $qualifier = qualifier_example; # String | identifier to allow multiple sessions with the same sender and target identifiers
my $messagesList = [WWW::SwaggerClient::Object::array[byte[]]->new()]; # array[byte[]] | JSON array of strings with Base64 encoded messages.


eval { 
    $api_instance->sessionsSenderSenderTargetTargetQualifierQualifierOutputMessagesPost(sender => $sender, target => $target, qualifier => $qualifier, messagesList => $messagesList);
};
if ($@) {
    warn "Exception when calling SessionsApi->sessionsSenderSenderTargetTargetQualifierQualifierOutputMessagesPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.SessionsApi()
sender = sender_example # String | identifier of session sender side
target = target_example # String | identifier of session target side
qualifier = qualifier_example # String | identifier to allow multiple sessions with the same sender and target identifiers
messagesList =  # array[byte[]] | JSON array of strings with Base64 encoded messages.


try: 
    api_instance.sessions_sender_sender_target_target_qualifier_qualifier_output_messages_post(sender, target, qualifier, messagesList)
except ApiException as e:
    print("Exception when calling SessionsApi->sessionsSenderSenderTargetTargetQualifierQualifierOutputMessagesPost: %s\n" % e)

Parameters

Path parameters
Name Description
sender*
String
identifier of session sender side
Required
target*
String
identifier of session target side
Required
qualifier*
String
identifier to allow multiple sessions with the same sender and target identifiers
Required
Body parameters
Name Description
messagesList *

Responses

Status: 200 - OK

Status: 400 - Bad request, e.g. body does not contain a JSON object

Status: 500 - Operation failed, e.g. session does not exist


sessionsSenderSenderTargetTargetQualifierQualifierPost

Create new session

Creates new session with given sender, target and qualifier. For detailed description of remaining parameters see https://kb.b2bits.com/display/B2BITS/Configuring+FIX+Sessions.


/sessions/sender/{sender}/target/{target}/qualifier/{qualifier}

Usage and SDK Samples

curl -X POST "https://127.0.0.1:8903/sessions/sender/{sender}/target/{target}/qualifier/{qualifier}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SessionsApi;

import java.io.File;
import java.util.*;

public class SessionsApiExample {

    public static void main(String[] args) {
        
        SessionsApi apiInstance = new SessionsApi();
        String sender = sender_example; // String | identifier of session sender side
        String target = target_example; // String | identifier of session target side
        String qualifier = qualifier_example; // String | identifier to allow multiple sessions with the same sender and target identifiers
        NewSessionDefinition sessionDefinition = ; // NewSessionDefinition | Session parameters (like in FIXEdge properties)
        try {
            apiInstance.sessionsSenderSenderTargetTargetQualifierQualifierPost(sender, target, qualifier, sessionDefinition);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionsApi#sessionsSenderSenderTargetTargetQualifierQualifierPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SessionsApi;

public class SessionsApiExample {

    public static void main(String[] args) {
        SessionsApi apiInstance = new SessionsApi();
        String sender = sender_example; // String | identifier of session sender side
        String target = target_example; // String | identifier of session target side
        String qualifier = qualifier_example; // String | identifier to allow multiple sessions with the same sender and target identifiers
        NewSessionDefinition sessionDefinition = ; // NewSessionDefinition | Session parameters (like in FIXEdge properties)
        try {
            apiInstance.sessionsSenderSenderTargetTargetQualifierQualifierPost(sender, target, qualifier, sessionDefinition);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionsApi#sessionsSenderSenderTargetTargetQualifierQualifierPost");
            e.printStackTrace();
        }
    }
}
String *sender = sender_example; // identifier of session sender side
String *target = target_example; // identifier of session target side
String *qualifier = qualifier_example; // identifier to allow multiple sessions with the same sender and target identifiers
NewSessionDefinition *sessionDefinition = ; // Session parameters (like in FIXEdge properties)

SessionsApi *apiInstance = [[SessionsApi alloc] init];

// Create new session
[apiInstance sessionsSenderSenderTargetTargetQualifierQualifierPostWith:sender
    target:target
    qualifier:qualifier
    sessionDefinition:sessionDefinition
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var FixEdgeAdministrativeRestApi = require('fix_edge_administrative_rest_api');

var api = new FixEdgeAdministrativeRestApi.SessionsApi()

var sender = sender_example; // {String} identifier of session sender side

var target = target_example; // {String} identifier of session target side

var qualifier = qualifier_example; // {String} identifier to allow multiple sessions with the same sender and target identifiers

var sessionDefinition = ; // {NewSessionDefinition} Session parameters (like in FIXEdge properties)


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.sessionsSenderSenderTargetTargetQualifierQualifierPost(sender, target, qualifier, sessionDefinition, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class sessionsSenderSenderTargetTargetQualifierQualifierPostExample
    {
        public void main()
        {
            
            var apiInstance = new SessionsApi();
            var sender = sender_example;  // String | identifier of session sender side
            var target = target_example;  // String | identifier of session target side
            var qualifier = qualifier_example;  // String | identifier to allow multiple sessions with the same sender and target identifiers
            var sessionDefinition = new NewSessionDefinition(); // NewSessionDefinition | Session parameters (like in FIXEdge properties)

            try
            {
                // Create new session
                apiInstance.sessionsSenderSenderTargetTargetQualifierQualifierPost(sender, target, qualifier, sessionDefinition);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SessionsApi.sessionsSenderSenderTargetTargetQualifierQualifierPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\SessionsApi();
$sender = sender_example; // String | identifier of session sender side
$target = target_example; // String | identifier of session target side
$qualifier = qualifier_example; // String | identifier to allow multiple sessions with the same sender and target identifiers
$sessionDefinition = ; // NewSessionDefinition | Session parameters (like in FIXEdge properties)

try {
    $api_instance->sessionsSenderSenderTargetTargetQualifierQualifierPost($sender, $target, $qualifier, $sessionDefinition);
} catch (Exception $e) {
    echo 'Exception when calling SessionsApi->sessionsSenderSenderTargetTargetQualifierQualifierPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SessionsApi;

my $api_instance = WWW::SwaggerClient::SessionsApi->new();
my $sender = sender_example; # String | identifier of session sender side
my $target = target_example; # String | identifier of session target side
my $qualifier = qualifier_example; # String | identifier to allow multiple sessions with the same sender and target identifiers
my $sessionDefinition = WWW::SwaggerClient::Object::NewSessionDefinition->new(); # NewSessionDefinition | Session parameters (like in FIXEdge properties)

eval { 
    $api_instance->sessionsSenderSenderTargetTargetQualifierQualifierPost(sender => $sender, target => $target, qualifier => $qualifier, sessionDefinition => $sessionDefinition);
};
if ($@) {
    warn "Exception when calling SessionsApi->sessionsSenderSenderTargetTargetQualifierQualifierPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.SessionsApi()
sender = sender_example # String | identifier of session sender side
target = target_example # String | identifier of session target side
qualifier = qualifier_example # String | identifier to allow multiple sessions with the same sender and target identifiers
sessionDefinition =  # NewSessionDefinition | Session parameters (like in FIXEdge properties)

try: 
    # Create new session
    api_instance.sessions_sender_sender_target_target_qualifier_qualifier_post(sender, target, qualifier, sessionDefinition)
except ApiException as e:
    print("Exception when calling SessionsApi->sessionsSenderSenderTargetTargetQualifierQualifierPost: %s\n" % e)

Parameters

Path parameters
Name Description
sender*
String
identifier of session sender side
Required
target*
String
identifier of session target side
Required
qualifier*
String
identifier to allow multiple sessions with the same sender and target identifiers
Required
Body parameters
Name Description
sessionDefinition *

Responses

Status: 200 - OK

Status: 400 - Bad request (e.g. mandatory parameters are missing)

Status: 500 - Failure to create a session (e.g. sessions with the specified name already exists)


sessionsSenderSenderTargetTargetQualifierQualifierStartedDelete

Stops session identified by given sender-target-qualifier.


/sessions/sender/{sender}/target/{target}/qualifier/{qualifier}/started

Usage and SDK Samples

curl -X DELETE "https://127.0.0.1:8903/sessions/sender/{sender}/target/{target}/qualifier/{qualifier}/started?send_logout=&logout_reason="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SessionsApi;

import java.io.File;
import java.util.*;

public class SessionsApiExample {

    public static void main(String[] args) {
        
        SessionsApi apiInstance = new SessionsApi();
        String sender = sender_example; // String | identifier of session sender side
        String target = target_example; // String | identifier of session target side
        String qualifier = qualifier_example; // String | identifier to allow multiple sessions with the same sender and target identifiers
        Boolean sendLogout = true; // Boolean | perform nongraceful session termination if false
        String logoutReason = logoutReason_example; // String | logout reason description
        try {
            apiInstance.sessionsSenderSenderTargetTargetQualifierQualifierStartedDelete(sender, target, qualifier, sendLogout, logoutReason);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionsApi#sessionsSenderSenderTargetTargetQualifierQualifierStartedDelete");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SessionsApi;

public class SessionsApiExample {

    public static void main(String[] args) {
        SessionsApi apiInstance = new SessionsApi();
        String sender = sender_example; // String | identifier of session sender side
        String target = target_example; // String | identifier of session target side
        String qualifier = qualifier_example; // String | identifier to allow multiple sessions with the same sender and target identifiers
        Boolean sendLogout = true; // Boolean | perform nongraceful session termination if false
        String logoutReason = logoutReason_example; // String | logout reason description
        try {
            apiInstance.sessionsSenderSenderTargetTargetQualifierQualifierStartedDelete(sender, target, qualifier, sendLogout, logoutReason);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionsApi#sessionsSenderSenderTargetTargetQualifierQualifierStartedDelete");
            e.printStackTrace();
        }
    }
}
String *sender = sender_example; // identifier of session sender side
String *target = target_example; // identifier of session target side
String *qualifier = qualifier_example; // identifier to allow multiple sessions with the same sender and target identifiers
Boolean *sendLogout = true; // perform nongraceful session termination if false
String *logoutReason = logoutReason_example; // logout reason description

SessionsApi *apiInstance = [[SessionsApi alloc] init];

[apiInstance sessionsSenderSenderTargetTargetQualifierQualifierStartedDeleteWith:sender
    target:target
    qualifier:qualifier
    sendLogout:sendLogout
    logoutReason:logoutReason
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var FixEdgeAdministrativeRestApi = require('fix_edge_administrative_rest_api');

var api = new FixEdgeAdministrativeRestApi.SessionsApi()

var sender = sender_example; // {String} identifier of session sender side

var target = target_example; // {String} identifier of session target side

var qualifier = qualifier_example; // {String} identifier to allow multiple sessions with the same sender and target identifiers

var sendLogout = true; // {Boolean} perform nongraceful session termination if false

var logoutReason = logoutReason_example; // {String} logout reason description


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.sessionsSenderSenderTargetTargetQualifierQualifierStartedDelete(sender, target, qualifier, sendLogout, logoutReason, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class sessionsSenderSenderTargetTargetQualifierQualifierStartedDeleteExample
    {
        public void main()
        {
            
            var apiInstance = new SessionsApi();
            var sender = sender_example;  // String | identifier of session sender side
            var target = target_example;  // String | identifier of session target side
            var qualifier = qualifier_example;  // String | identifier to allow multiple sessions with the same sender and target identifiers
            var sendLogout = true;  // Boolean | perform nongraceful session termination if false
            var logoutReason = logoutReason_example;  // String | logout reason description

            try
            {
                apiInstance.sessionsSenderSenderTargetTargetQualifierQualifierStartedDelete(sender, target, qualifier, sendLogout, logoutReason);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SessionsApi.sessionsSenderSenderTargetTargetQualifierQualifierStartedDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\SessionsApi();
$sender = sender_example; // String | identifier of session sender side
$target = target_example; // String | identifier of session target side
$qualifier = qualifier_example; // String | identifier to allow multiple sessions with the same sender and target identifiers
$sendLogout = true; // Boolean | perform nongraceful session termination if false
$logoutReason = logoutReason_example; // String | logout reason description

try {
    $api_instance->sessionsSenderSenderTargetTargetQualifierQualifierStartedDelete($sender, $target, $qualifier, $sendLogout, $logoutReason);
} catch (Exception $e) {
    echo 'Exception when calling SessionsApi->sessionsSenderSenderTargetTargetQualifierQualifierStartedDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SessionsApi;

my $api_instance = WWW::SwaggerClient::SessionsApi->new();
my $sender = sender_example; # String | identifier of session sender side
my $target = target_example; # String | identifier of session target side
my $qualifier = qualifier_example; # String | identifier to allow multiple sessions with the same sender and target identifiers
my $sendLogout = true; # Boolean | perform nongraceful session termination if false
my $logoutReason = logoutReason_example; # String | logout reason description

eval { 
    $api_instance->sessionsSenderSenderTargetTargetQualifierQualifierStartedDelete(sender => $sender, target => $target, qualifier => $qualifier, sendLogout => $sendLogout, logoutReason => $logoutReason);
};
if ($@) {
    warn "Exception when calling SessionsApi->sessionsSenderSenderTargetTargetQualifierQualifierStartedDelete: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.SessionsApi()
sender = sender_example # String | identifier of session sender side
target = target_example # String | identifier of session target side
qualifier = qualifier_example # String | identifier to allow multiple sessions with the same sender and target identifiers
sendLogout = true # Boolean | perform nongraceful session termination if false
logoutReason = logoutReason_example # String | logout reason description

try: 
    api_instance.sessions_sender_sender_target_target_qualifier_qualifier_started_delete(sender, target, qualifier, sendLogout, logoutReason)
except ApiException as e:
    print("Exception when calling SessionsApi->sessionsSenderSenderTargetTargetQualifierQualifierStartedDelete: %s\n" % e)

Parameters

Path parameters
Name Description
sender*
String
identifier of session sender side
Required
target*
String
identifier of session target side
Required
qualifier*
String
identifier to allow multiple sessions with the same sender and target identifiers
Required
Query parameters
Name Description
send_logout*
Boolean
perform nongraceful session termination if false
Required
logout_reason*
String
logout reason description
Required

Responses

Status: 200 - OK

Status: 500 - Operation failed, e.g. session does not exist


sessionsSenderSenderTargetTargetQualifierQualifierStartedPost

Starts session identified by given sender-target-qualifier.


/sessions/sender/{sender}/target/{target}/qualifier/{qualifier}/started

Usage and SDK Samples

curl -X POST "https://127.0.0.1:8903/sessions/sender/{sender}/target/{target}/qualifier/{qualifier}/started"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SessionsApi;

import java.io.File;
import java.util.*;

public class SessionsApiExample {

    public static void main(String[] args) {
        
        SessionsApi apiInstance = new SessionsApi();
        String sender = sender_example; // String | identifier of session sender side
        String target = target_example; // String | identifier of session target side
        String qualifier = qualifier_example; // String | identifier to allow multiple sessions with the same sender and target identifiers
        try {
            apiInstance.sessionsSenderSenderTargetTargetQualifierQualifierStartedPost(sender, target, qualifier);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionsApi#sessionsSenderSenderTargetTargetQualifierQualifierStartedPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SessionsApi;

public class SessionsApiExample {

    public static void main(String[] args) {
        SessionsApi apiInstance = new SessionsApi();
        String sender = sender_example; // String | identifier of session sender side
        String target = target_example; // String | identifier of session target side
        String qualifier = qualifier_example; // String | identifier to allow multiple sessions with the same sender and target identifiers
        try {
            apiInstance.sessionsSenderSenderTargetTargetQualifierQualifierStartedPost(sender, target, qualifier);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionsApi#sessionsSenderSenderTargetTargetQualifierQualifierStartedPost");
            e.printStackTrace();
        }
    }
}
String *sender = sender_example; // identifier of session sender side
String *target = target_example; // identifier of session target side
String *qualifier = qualifier_example; // identifier to allow multiple sessions with the same sender and target identifiers

SessionsApi *apiInstance = [[SessionsApi alloc] init];

[apiInstance sessionsSenderSenderTargetTargetQualifierQualifierStartedPostWith:sender
    target:target
    qualifier:qualifier
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var FixEdgeAdministrativeRestApi = require('fix_edge_administrative_rest_api');

var api = new FixEdgeAdministrativeRestApi.SessionsApi()

var sender = sender_example; // {String} identifier of session sender side

var target = target_example; // {String} identifier of session target side

var qualifier = qualifier_example; // {String} identifier to allow multiple sessions with the same sender and target identifiers


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.sessionsSenderSenderTargetTargetQualifierQualifierStartedPost(sender, target, qualifier, , callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class sessionsSenderSenderTargetTargetQualifierQualifierStartedPostExample
    {
        public void main()
        {
            
            var apiInstance = new SessionsApi();
            var sender = sender_example;  // String | identifier of session sender side
            var target = target_example;  // String | identifier of session target side
            var qualifier = qualifier_example;  // String | identifier to allow multiple sessions with the same sender and target identifiers

            try
            {
                apiInstance.sessionsSenderSenderTargetTargetQualifierQualifierStartedPost(sender, target, qualifier);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SessionsApi.sessionsSenderSenderTargetTargetQualifierQualifierStartedPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\SessionsApi();
$sender = sender_example; // String | identifier of session sender side
$target = target_example; // String | identifier of session target side
$qualifier = qualifier_example; // String | identifier to allow multiple sessions with the same sender and target identifiers

try {
    $api_instance->sessionsSenderSenderTargetTargetQualifierQualifierStartedPost($sender, $target, $qualifier);
} catch (Exception $e) {
    echo 'Exception when calling SessionsApi->sessionsSenderSenderTargetTargetQualifierQualifierStartedPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SessionsApi;

my $api_instance = WWW::SwaggerClient::SessionsApi->new();
my $sender = sender_example; # String | identifier of session sender side
my $target = target_example; # String | identifier of session target side
my $qualifier = qualifier_example; # String | identifier to allow multiple sessions with the same sender and target identifiers

eval { 
    $api_instance->sessionsSenderSenderTargetTargetQualifierQualifierStartedPost(sender => $sender, target => $target, qualifier => $qualifier);
};
if ($@) {
    warn "Exception when calling SessionsApi->sessionsSenderSenderTargetTargetQualifierQualifierStartedPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.SessionsApi()
sender = sender_example # String | identifier of session sender side
target = target_example # String | identifier of session target side
qualifier = qualifier_example # String | identifier to allow multiple sessions with the same sender and target identifiers

try: 
    api_instance.sessions_sender_sender_target_target_qualifier_qualifier_started_post(sender, target, qualifier)
except ApiException as e:
    print("Exception when calling SessionsApi->sessionsSenderSenderTargetTargetQualifierQualifierStartedPost: %s\n" % e)

Parameters

Path parameters
Name Description
sender*
String
identifier of session sender side
Required
target*
String
identifier of session target side
Required
qualifier*
String
identifier to allow multiple sessions with the same sender and target identifiers
Required

Responses

Status: 200 - OK

Status: 500 - Operation failed, e.g. session does not exist


sessionsSenderSenderTargetTargetStartedDelete

Stops session identified by given sender-target.


/sessions/sender/{sender}/target/{target}/started

Usage and SDK Samples

curl -X DELETE "https://127.0.0.1:8903/sessions/sender/{sender}/target/{target}/started?send_logout=&logout_reason="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SessionsApi;

import java.io.File;
import java.util.*;

public class SessionsApiExample {

    public static void main(String[] args) {
        
        SessionsApi apiInstance = new SessionsApi();
        String sender = sender_example; // String | identifier of session sender side
        String target = target_example; // String | identifier of session target side
        Boolean sendLogout = true; // Boolean | perform nongraceful session termination if false
        String logoutReason = logoutReason_example; // String | logout reason description
        try {
            apiInstance.sessionsSenderSenderTargetTargetStartedDelete(sender, target, sendLogout, logoutReason);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionsApi#sessionsSenderSenderTargetTargetStartedDelete");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SessionsApi;

public class SessionsApiExample {

    public static void main(String[] args) {
        SessionsApi apiInstance = new SessionsApi();
        String sender = sender_example; // String | identifier of session sender side
        String target = target_example; // String | identifier of session target side
        Boolean sendLogout = true; // Boolean | perform nongraceful session termination if false
        String logoutReason = logoutReason_example; // String | logout reason description
        try {
            apiInstance.sessionsSenderSenderTargetTargetStartedDelete(sender, target, sendLogout, logoutReason);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionsApi#sessionsSenderSenderTargetTargetStartedDelete");
            e.printStackTrace();
        }
    }
}
String *sender = sender_example; // identifier of session sender side
String *target = target_example; // identifier of session target side
Boolean *sendLogout = true; // perform nongraceful session termination if false
String *logoutReason = logoutReason_example; // logout reason description

SessionsApi *apiInstance = [[SessionsApi alloc] init];

[apiInstance sessionsSenderSenderTargetTargetStartedDeleteWith:sender
    target:target
    sendLogout:sendLogout
    logoutReason:logoutReason
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var FixEdgeAdministrativeRestApi = require('fix_edge_administrative_rest_api');

var api = new FixEdgeAdministrativeRestApi.SessionsApi()

var sender = sender_example; // {String} identifier of session sender side

var target = target_example; // {String} identifier of session target side

var sendLogout = true; // {Boolean} perform nongraceful session termination if false

var logoutReason = logoutReason_example; // {String} logout reason description


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.sessionsSenderSenderTargetTargetStartedDelete(sender, target, sendLogout, logoutReason, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class sessionsSenderSenderTargetTargetStartedDeleteExample
    {
        public void main()
        {
            
            var apiInstance = new SessionsApi();
            var sender = sender_example;  // String | identifier of session sender side
            var target = target_example;  // String | identifier of session target side
            var sendLogout = true;  // Boolean | perform nongraceful session termination if false
            var logoutReason = logoutReason_example;  // String | logout reason description

            try
            {
                apiInstance.sessionsSenderSenderTargetTargetStartedDelete(sender, target, sendLogout, logoutReason);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SessionsApi.sessionsSenderSenderTargetTargetStartedDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\SessionsApi();
$sender = sender_example; // String | identifier of session sender side
$target = target_example; // String | identifier of session target side
$sendLogout = true; // Boolean | perform nongraceful session termination if false
$logoutReason = logoutReason_example; // String | logout reason description

try {
    $api_instance->sessionsSenderSenderTargetTargetStartedDelete($sender, $target, $sendLogout, $logoutReason);
} catch (Exception $e) {
    echo 'Exception when calling SessionsApi->sessionsSenderSenderTargetTargetStartedDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SessionsApi;

my $api_instance = WWW::SwaggerClient::SessionsApi->new();
my $sender = sender_example; # String | identifier of session sender side
my $target = target_example; # String | identifier of session target side
my $sendLogout = true; # Boolean | perform nongraceful session termination if false
my $logoutReason = logoutReason_example; # String | logout reason description

eval { 
    $api_instance->sessionsSenderSenderTargetTargetStartedDelete(sender => $sender, target => $target, sendLogout => $sendLogout, logoutReason => $logoutReason);
};
if ($@) {
    warn "Exception when calling SessionsApi->sessionsSenderSenderTargetTargetStartedDelete: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.SessionsApi()
sender = sender_example # String | identifier of session sender side
target = target_example # String | identifier of session target side
sendLogout = true # Boolean | perform nongraceful session termination if false
logoutReason = logoutReason_example # String | logout reason description

try: 
    api_instance.sessions_sender_sender_target_target_started_delete(sender, target, sendLogout, logoutReason)
except ApiException as e:
    print("Exception when calling SessionsApi->sessionsSenderSenderTargetTargetStartedDelete: %s\n" % e)

Parameters

Path parameters
Name Description
sender*
String
identifier of session sender side
Required
target*
String
identifier of session target side
Required
Query parameters
Name Description
send_logout*
Boolean
perform nongraceful session termination if false
Required
logout_reason*
String
logout reason description
Required

Responses

Status: 200 - OK

Status: 500 - Operation failed, e.g. session does not exist


sessionsSenderSenderTargetTargetStartedPost

Starts session identified by given sender-target.


/sessions/sender/{sender}/target/{target}/started

Usage and SDK Samples

curl -X POST "https://127.0.0.1:8903/sessions/sender/{sender}/target/{target}/started"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SessionsApi;

import java.io.File;
import java.util.*;

public class SessionsApiExample {

    public static void main(String[] args) {
        
        SessionsApi apiInstance = new SessionsApi();
        String sender = sender_example; // String | identifier of session sender side
        String target = target_example; // String | identifier of session target side
        try {
            apiInstance.sessionsSenderSenderTargetTargetStartedPost(sender, target);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionsApi#sessionsSenderSenderTargetTargetStartedPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SessionsApi;

public class SessionsApiExample {

    public static void main(String[] args) {
        SessionsApi apiInstance = new SessionsApi();
        String sender = sender_example; // String | identifier of session sender side
        String target = target_example; // String | identifier of session target side
        try {
            apiInstance.sessionsSenderSenderTargetTargetStartedPost(sender, target);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionsApi#sessionsSenderSenderTargetTargetStartedPost");
            e.printStackTrace();
        }
    }
}
String *sender = sender_example; // identifier of session sender side
String *target = target_example; // identifier of session target side

SessionsApi *apiInstance = [[SessionsApi alloc] init];

[apiInstance sessionsSenderSenderTargetTargetStartedPostWith:sender
    target:target
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var FixEdgeAdministrativeRestApi = require('fix_edge_administrative_rest_api');

var api = new FixEdgeAdministrativeRestApi.SessionsApi()

var sender = sender_example; // {String} identifier of session sender side

var target = target_example; // {String} identifier of session target side


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.sessionsSenderSenderTargetTargetStartedPost(sender, target, , callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class sessionsSenderSenderTargetTargetStartedPostExample
    {
        public void main()
        {
            
            var apiInstance = new SessionsApi();
            var sender = sender_example;  // String | identifier of session sender side
            var target = target_example;  // String | identifier of session target side

            try
            {
                apiInstance.sessionsSenderSenderTargetTargetStartedPost(sender, target);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SessionsApi.sessionsSenderSenderTargetTargetStartedPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\SessionsApi();
$sender = sender_example; // String | identifier of session sender side
$target = target_example; // String | identifier of session target side

try {
    $api_instance->sessionsSenderSenderTargetTargetStartedPost($sender, $target);
} catch (Exception $e) {
    echo 'Exception when calling SessionsApi->sessionsSenderSenderTargetTargetStartedPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SessionsApi;

my $api_instance = WWW::SwaggerClient::SessionsApi->new();
my $sender = sender_example; # String | identifier of session sender side
my $target = target_example; # String | identifier of session target side

eval { 
    $api_instance->sessionsSenderSenderTargetTargetStartedPost(sender => $sender, target => $target);
};
if ($@) {
    warn "Exception when calling SessionsApi->sessionsSenderSenderTargetTargetStartedPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.SessionsApi()
sender = sender_example # String | identifier of session sender side
target = target_example # String | identifier of session target side

try: 
    api_instance.sessions_sender_sender_target_target_started_post(sender, target)
except ApiException as e:
    print("Exception when calling SessionsApi->sessionsSenderSenderTargetTargetStartedPost: %s\n" % e)

Parameters

Path parameters
Name Description
sender*
String
identifier of session sender side
Required
target*
String
identifier of session target side
Required

Responses

Status: 200 - OK

Status: 500 - Operation failed, e.g. session does not exist


Generated 2018-12-06T17:26:47.305+04:00