Hvl Bpmn Engine Server

BpmnRepositoryAPI

activateProcessDefinition

Activate process definition by id.


/repository/activate

Usage and SDK Samples

curl -X POST\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"http://keysys.hvlnet.net:6080/repository/activate"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BpmnRepositoryAPIApi;

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

public class BpmnRepositoryAPIApiExample {

    public static void main(String[] args) {
        
        BpmnRepositoryAPIApi apiInstance = new BpmnRepositoryAPIApi();
        HvlBpmnActivateProcessDefinitionModel body = ; // HvlBpmnActivateProcessDefinitionModel | 
        try {
            HvlResponseVoid result = apiInstance.activateProcessDefinition(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BpmnRepositoryAPIApi#activateProcessDefinition");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BpmnRepositoryAPIApi;

public class BpmnRepositoryAPIApiExample {

    public static void main(String[] args) {
        BpmnRepositoryAPIApi apiInstance = new BpmnRepositoryAPIApi();
        HvlBpmnActivateProcessDefinitionModel body = ; // HvlBpmnActivateProcessDefinitionModel | 
        try {
            HvlResponseVoid result = apiInstance.activateProcessDefinition(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BpmnRepositoryAPIApi#activateProcessDefinition");
            e.printStackTrace();
        }
    }
}
HvlBpmnActivateProcessDefinitionModel *body = ; // 

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

// Activate process definition by id.
[apiInstance activateProcessDefinitionWith:body
              completionHandler: ^(HvlResponseVoid output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlBpmnEngineServer = require('hvl_bpmn_engine_server');

var api = new HvlBpmnEngineServer.BpmnRepositoryAPIApi()
var body = ; // {{HvlBpmnActivateProcessDefinitionModel}} 

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

namespace Example
{
    public class activateProcessDefinitionExample
    {
        public void main()
        {

            var apiInstance = new BpmnRepositoryAPIApi();
            var body = new HvlBpmnActivateProcessDefinitionModel(); // HvlBpmnActivateProcessDefinitionModel | 

            try
            {
                // Activate process definition by id.
                HvlResponseVoid result = apiInstance.activateProcessDefinition(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BpmnRepositoryAPIApi.activateProcessDefinition: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiBpmnRepositoryAPIApi();
$body = ; // HvlBpmnActivateProcessDefinitionModel | 

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

my $api_instance = WWW::SwaggerClient::BpmnRepositoryAPIApi->new();
my $body = WWW::SwaggerClient::Object::HvlBpmnActivateProcessDefinitionModel->new(); # HvlBpmnActivateProcessDefinitionModel | 

eval { 
    my $result = $api_instance->activateProcessDefinition(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BpmnRepositoryAPIApi->activateProcessDefinition: $@\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.BpmnRepositoryAPIApi()
body =  # HvlBpmnActivateProcessDefinitionModel | 

try: 
    # Activate process definition by id.
    api_response = api_instance.activate_process_definition(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BpmnRepositoryAPIApi->activateProcessDefinition: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - OK


deploy

Deploy to engine from bpmn xml


/repository/deployXml

Usage and SDK Samples

curl -X POST\
-H "Accept: */*"\
-H "Content-Type: multipart/form-data"\
"http://keysys.hvlnet.net:6080/repository/deployXml"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BpmnRepositoryAPIApi;

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

public class BpmnRepositoryAPIApiExample {

    public static void main(String[] args) {
        
        BpmnRepositoryAPIApi apiInstance = new BpmnRepositoryAPIApi();
        byte[] xmlFile = xmlFile_example; // byte[] | 
        try {
            HvlResponseVoid result = apiInstance.deploy(xmlFile);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BpmnRepositoryAPIApi#deploy");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BpmnRepositoryAPIApi;

public class BpmnRepositoryAPIApiExample {

    public static void main(String[] args) {
        BpmnRepositoryAPIApi apiInstance = new BpmnRepositoryAPIApi();
        byte[] xmlFile = xmlFile_example; // byte[] | 
        try {
            HvlResponseVoid result = apiInstance.deploy(xmlFile);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BpmnRepositoryAPIApi#deploy");
            e.printStackTrace();
        }
    }
}
byte[] *xmlFile = xmlFile_example; // 

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

// Deploy to engine from bpmn xml
[apiInstance deployWith:xmlFile
              completionHandler: ^(HvlResponseVoid output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlBpmnEngineServer = require('hvl_bpmn_engine_server');

var api = new HvlBpmnEngineServer.BpmnRepositoryAPIApi()
var xmlFile = xmlFile_example; // {{byte[]}} 

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

namespace Example
{
    public class deployExample
    {
        public void main()
        {

            var apiInstance = new BpmnRepositoryAPIApi();
            var xmlFile = xmlFile_example;  // byte[] | 

            try
            {
                // Deploy to engine from bpmn xml
                HvlResponseVoid result = apiInstance.deploy(xmlFile);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BpmnRepositoryAPIApi.deploy: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiBpmnRepositoryAPIApi();
$xmlFile = xmlFile_example; // byte[] | 

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

my $api_instance = WWW::SwaggerClient::BpmnRepositoryAPIApi->new();
my $xmlFile = xmlFile_example; # byte[] | 

eval { 
    my $result = $api_instance->deploy(xmlFile => $xmlFile);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BpmnRepositoryAPIApi->deploy: $@\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.BpmnRepositoryAPIApi()
xmlFile = xmlFile_example # byte[] | 

try: 
    # Deploy to engine from bpmn xml
    api_response = api_instance.deploy(xmlFile)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BpmnRepositoryAPIApi->deploy: %s\n" % e)

Parameters

Form parameters
Name Description
xmlFile*
byte[] (binary)
Required

Responses

Status: 200 - OK


deployList

Deploy to engine from list of bpmn xml.


/repository/deployXmls

Usage and SDK Samples

curl -X POST\
-H "Accept: */*"\
-H "Content-Type: multipart/form-data"\
"http://keysys.hvlnet.net:6080/repository/deployXmls"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BpmnRepositoryAPIApi;

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

public class BpmnRepositoryAPIApiExample {

    public static void main(String[] args) {
        
        BpmnRepositoryAPIApi apiInstance = new BpmnRepositoryAPIApi();
        array[byte[]] xmlFileList = ; // array[byte[]] | 
        try {
            HvlResponseVoid result = apiInstance.deployList(xmlFileList);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BpmnRepositoryAPIApi#deployList");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BpmnRepositoryAPIApi;

public class BpmnRepositoryAPIApiExample {

    public static void main(String[] args) {
        BpmnRepositoryAPIApi apiInstance = new BpmnRepositoryAPIApi();
        array[byte[]] xmlFileList = ; // array[byte[]] | 
        try {
            HvlResponseVoid result = apiInstance.deployList(xmlFileList);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BpmnRepositoryAPIApi#deployList");
            e.printStackTrace();
        }
    }
}
array[byte[]] *xmlFileList = ; // 

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

// Deploy to engine from list of bpmn xml.
[apiInstance deployListWith:xmlFileList
              completionHandler: ^(HvlResponseVoid output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlBpmnEngineServer = require('hvl_bpmn_engine_server');

var api = new HvlBpmnEngineServer.BpmnRepositoryAPIApi()
var xmlFileList = ; // {{array[byte[]]}} 

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

namespace Example
{
    public class deployListExample
    {
        public void main()
        {

            var apiInstance = new BpmnRepositoryAPIApi();
            var xmlFileList = new array[byte[]](); // array[byte[]] | 

            try
            {
                // Deploy to engine from list of bpmn xml.
                HvlResponseVoid result = apiInstance.deployList(xmlFileList);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BpmnRepositoryAPIApi.deployList: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiBpmnRepositoryAPIApi();
$xmlFileList = ; // array[byte[]] | 

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

my $api_instance = WWW::SwaggerClient::BpmnRepositoryAPIApi->new();
my $xmlFileList = []; # array[byte[]] | 

eval { 
    my $result = $api_instance->deployList(xmlFileList => $xmlFileList);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BpmnRepositoryAPIApi->deployList: $@\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.BpmnRepositoryAPIApi()
xmlFileList =  # array[byte[]] | 

try: 
    # Deploy to engine from list of bpmn xml.
    api_response = api_instance.deploy_list(xmlFileList)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BpmnRepositoryAPIApi->deployList: %s\n" % e)

Parameters

Form parameters
Name Description
xmlFileList*
array[byte[]] (binary)
Required

Responses

Status: 200 - OK


getBpmnModelArrayByProcessDefinitionId

Gets bpmn model array by process definition id.


/repository/model/{id}

Usage and SDK Samples

curl -X GET\
-H "Accept: */*"\
"http://keysys.hvlnet.net:6080/repository/model/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BpmnRepositoryAPIApi;

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

public class BpmnRepositoryAPIApiExample {

    public static void main(String[] args) {
        
        BpmnRepositoryAPIApi apiInstance = new BpmnRepositoryAPIApi();
        String id = id_example; // String | 
        try {
            HvlResponseByte[] result = apiInstance.getBpmnModelArrayByProcessDefinitionId(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BpmnRepositoryAPIApi#getBpmnModelArrayByProcessDefinitionId");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BpmnRepositoryAPIApi;

public class BpmnRepositoryAPIApiExample {

    public static void main(String[] args) {
        BpmnRepositoryAPIApi apiInstance = new BpmnRepositoryAPIApi();
        String id = id_example; // String | 
        try {
            HvlResponseByte[] result = apiInstance.getBpmnModelArrayByProcessDefinitionId(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BpmnRepositoryAPIApi#getBpmnModelArrayByProcessDefinitionId");
            e.printStackTrace();
        }
    }
}
String *id = id_example; // 

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

// Gets bpmn model array by process definition id.
[apiInstance getBpmnModelArrayByProcessDefinitionIdWith:id
              completionHandler: ^(HvlResponseByte[] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlBpmnEngineServer = require('hvl_bpmn_engine_server');

var api = new HvlBpmnEngineServer.BpmnRepositoryAPIApi()
var id = id_example; // {{String}} 

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

namespace Example
{
    public class getBpmnModelArrayByProcessDefinitionIdExample
    {
        public void main()
        {

            var apiInstance = new BpmnRepositoryAPIApi();
            var id = id_example;  // String | 

            try
            {
                // Gets bpmn model array by process definition id.
                HvlResponseByte[] result = apiInstance.getBpmnModelArrayByProcessDefinitionId(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BpmnRepositoryAPIApi.getBpmnModelArrayByProcessDefinitionId: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiBpmnRepositoryAPIApi();
$id = id_example; // String | 

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

my $api_instance = WWW::SwaggerClient::BpmnRepositoryAPIApi->new();
my $id = id_example; # String | 

eval { 
    my $result = $api_instance->getBpmnModelArrayByProcessDefinitionId(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BpmnRepositoryAPIApi->getBpmnModelArrayByProcessDefinitionId: $@\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.BpmnRepositoryAPIApi()
id = id_example # String | 

try: 
    # Gets bpmn model array by process definition id.
    api_response = api_instance.get_bpmn_model_array_by_process_definition_id(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BpmnRepositoryAPIApi->getBpmnModelArrayByProcessDefinitionId: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
Required

Responses

Status: 200 - OK


queryList2

Query list.


/repository/list

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"http://keysys.hvlnet.net:6080/repository/list"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BpmnRepositoryAPIApi;

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

public class BpmnRepositoryAPIApiExample {

    public static void main(String[] args) {
        
        BpmnRepositoryAPIApi apiInstance = new BpmnRepositoryAPIApi();
        HvlBpmnProcessDefinitionQueryModel body = ; // HvlBpmnProcessDefinitionQueryModel | 
        try {
            HvlResponseListHvlBpmnProcessDefinitionModel result = apiInstance.queryList2(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BpmnRepositoryAPIApi#queryList2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BpmnRepositoryAPIApi;

public class BpmnRepositoryAPIApiExample {

    public static void main(String[] args) {
        BpmnRepositoryAPIApi apiInstance = new BpmnRepositoryAPIApi();
        HvlBpmnProcessDefinitionQueryModel body = ; // HvlBpmnProcessDefinitionQueryModel | 
        try {
            HvlResponseListHvlBpmnProcessDefinitionModel result = apiInstance.queryList2(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BpmnRepositoryAPIApi#queryList2");
            e.printStackTrace();
        }
    }
}
HvlBpmnProcessDefinitionQueryModel *body = ; // 

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

// Query list.
[apiInstance queryList2With:body
              completionHandler: ^(HvlResponseListHvlBpmnProcessDefinitionModel output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlBpmnEngineServer = require('hvl_bpmn_engine_server');

var api = new HvlBpmnEngineServer.BpmnRepositoryAPIApi()
var body = ; // {{HvlBpmnProcessDefinitionQueryModel}} 

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

namespace Example
{
    public class queryList2Example
    {
        public void main()
        {

            var apiInstance = new BpmnRepositoryAPIApi();
            var body = new HvlBpmnProcessDefinitionQueryModel(); // HvlBpmnProcessDefinitionQueryModel | 

            try
            {
                // Query list.
                HvlResponseListHvlBpmnProcessDefinitionModel result = apiInstance.queryList2(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BpmnRepositoryAPIApi.queryList2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiBpmnRepositoryAPIApi();
$body = ; // HvlBpmnProcessDefinitionQueryModel | 

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

my $api_instance = WWW::SwaggerClient::BpmnRepositoryAPIApi->new();
my $body = WWW::SwaggerClient::Object::HvlBpmnProcessDefinitionQueryModel->new(); # HvlBpmnProcessDefinitionQueryModel | 

eval { 
    my $result = $api_instance->queryList2(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BpmnRepositoryAPIApi->queryList2: $@\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.BpmnRepositoryAPIApi()
body =  # HvlBpmnProcessDefinitionQueryModel | 

try: 
    # Query list.
    api_response = api_instance.query_list2(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BpmnRepositoryAPIApi->queryList2: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - OK


queryPage2

Query page.


/repository/page

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"http://keysys.hvlnet.net:6080/repository/page"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BpmnRepositoryAPIApi;

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

public class BpmnRepositoryAPIApiExample {

    public static void main(String[] args) {
        
        BpmnRepositoryAPIApi apiInstance = new BpmnRepositoryAPIApi();
        HvlBpmnProcessDefinitionQueryModel body = ; // HvlBpmnProcessDefinitionQueryModel | 
        try {
            HvlResponseHvlPageHvlBpmnProcessDefinitionModel result = apiInstance.queryPage2(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BpmnRepositoryAPIApi#queryPage2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BpmnRepositoryAPIApi;

public class BpmnRepositoryAPIApiExample {

    public static void main(String[] args) {
        BpmnRepositoryAPIApi apiInstance = new BpmnRepositoryAPIApi();
        HvlBpmnProcessDefinitionQueryModel body = ; // HvlBpmnProcessDefinitionQueryModel | 
        try {
            HvlResponseHvlPageHvlBpmnProcessDefinitionModel result = apiInstance.queryPage2(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BpmnRepositoryAPIApi#queryPage2");
            e.printStackTrace();
        }
    }
}
HvlBpmnProcessDefinitionQueryModel *body = ; // 

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

// Query page.
[apiInstance queryPage2With:body
              completionHandler: ^(HvlResponseHvlPageHvlBpmnProcessDefinitionModel output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlBpmnEngineServer = require('hvl_bpmn_engine_server');

var api = new HvlBpmnEngineServer.BpmnRepositoryAPIApi()
var body = ; // {{HvlBpmnProcessDefinitionQueryModel}} 

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

namespace Example
{
    public class queryPage2Example
    {
        public void main()
        {

            var apiInstance = new BpmnRepositoryAPIApi();
            var body = new HvlBpmnProcessDefinitionQueryModel(); // HvlBpmnProcessDefinitionQueryModel | 

            try
            {
                // Query page.
                HvlResponseHvlPageHvlBpmnProcessDefinitionModel result = apiInstance.queryPage2(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BpmnRepositoryAPIApi.queryPage2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiBpmnRepositoryAPIApi();
$body = ; // HvlBpmnProcessDefinitionQueryModel | 

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

my $api_instance = WWW::SwaggerClient::BpmnRepositoryAPIApi->new();
my $body = WWW::SwaggerClient::Object::HvlBpmnProcessDefinitionQueryModel->new(); # HvlBpmnProcessDefinitionQueryModel | 

eval { 
    my $result = $api_instance->queryPage2(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BpmnRepositoryAPIApi->queryPage2: $@\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.BpmnRepositoryAPIApi()
body =  # HvlBpmnProcessDefinitionQueryModel | 

try: 
    # Query page.
    api_response = api_instance.query_page2(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BpmnRepositoryAPIApi->queryPage2: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - OK


suspendProcessDefinition

Suspend process definition.


/repository/suspend

Usage and SDK Samples

curl -X POST\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"http://keysys.hvlnet.net:6080/repository/suspend"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BpmnRepositoryAPIApi;

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

public class BpmnRepositoryAPIApiExample {

    public static void main(String[] args) {
        
        BpmnRepositoryAPIApi apiInstance = new BpmnRepositoryAPIApi();
        HvlBpmnSuspendProcessDefinitionModel body = ; // HvlBpmnSuspendProcessDefinitionModel | 
        try {
            HvlResponseVoid result = apiInstance.suspendProcessDefinition(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BpmnRepositoryAPIApi#suspendProcessDefinition");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BpmnRepositoryAPIApi;

public class BpmnRepositoryAPIApiExample {

    public static void main(String[] args) {
        BpmnRepositoryAPIApi apiInstance = new BpmnRepositoryAPIApi();
        HvlBpmnSuspendProcessDefinitionModel body = ; // HvlBpmnSuspendProcessDefinitionModel | 
        try {
            HvlResponseVoid result = apiInstance.suspendProcessDefinition(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BpmnRepositoryAPIApi#suspendProcessDefinition");
            e.printStackTrace();
        }
    }
}
HvlBpmnSuspendProcessDefinitionModel *body = ; // 

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

// Suspend process definition.
[apiInstance suspendProcessDefinitionWith:body
              completionHandler: ^(HvlResponseVoid output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlBpmnEngineServer = require('hvl_bpmn_engine_server');

var api = new HvlBpmnEngineServer.BpmnRepositoryAPIApi()
var body = ; // {{HvlBpmnSuspendProcessDefinitionModel}} 

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

namespace Example
{
    public class suspendProcessDefinitionExample
    {
        public void main()
        {

            var apiInstance = new BpmnRepositoryAPIApi();
            var body = new HvlBpmnSuspendProcessDefinitionModel(); // HvlBpmnSuspendProcessDefinitionModel | 

            try
            {
                // Suspend process definition.
                HvlResponseVoid result = apiInstance.suspendProcessDefinition(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BpmnRepositoryAPIApi.suspendProcessDefinition: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiBpmnRepositoryAPIApi();
$body = ; // HvlBpmnSuspendProcessDefinitionModel | 

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

my $api_instance = WWW::SwaggerClient::BpmnRepositoryAPIApi->new();
my $body = WWW::SwaggerClient::Object::HvlBpmnSuspendProcessDefinitionModel->new(); # HvlBpmnSuspendProcessDefinitionModel | 

eval { 
    my $result = $api_instance->suspendProcessDefinition(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BpmnRepositoryAPIApi->suspendProcessDefinition: $@\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.BpmnRepositoryAPIApi()
body =  # HvlBpmnSuspendProcessDefinitionModel | 

try: 
    # Suspend process definition.
    api_response = api_instance.suspend_process_definition(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BpmnRepositoryAPIApi->suspendProcessDefinition: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - OK


BpmnRuntimePublicAPI

getVariable

Gets execution variable.


/runtime/variables/by-execution-id/{executionId}/by-variable-name/{variableName}

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
"http://keysys.hvlnet.net:6080/runtime/variables/by-execution-id/{executionId}/by-variable-name/{variableName}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BpmnRuntimePublicAPIApi;

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

public class BpmnRuntimePublicAPIApiExample {

    public static void main(String[] args) {
        
        BpmnRuntimePublicAPIApi apiInstance = new BpmnRuntimePublicAPIApi();
        String executionId = executionId_example; // String | 
        String variableName = variableName_example; // String | 
        try {
            HvlResponseObject result = apiInstance.getVariable(executionId, variableName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BpmnRuntimePublicAPIApi#getVariable");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BpmnRuntimePublicAPIApi;

public class BpmnRuntimePublicAPIApiExample {

    public static void main(String[] args) {
        BpmnRuntimePublicAPIApi apiInstance = new BpmnRuntimePublicAPIApi();
        String executionId = executionId_example; // String | 
        String variableName = variableName_example; // String | 
        try {
            HvlResponseObject result = apiInstance.getVariable(executionId, variableName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BpmnRuntimePublicAPIApi#getVariable");
            e.printStackTrace();
        }
    }
}
String *executionId = executionId_example; // 
String *variableName = variableName_example; // 

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

// Gets execution variable.
[apiInstance getVariableWith:executionId
    variableName:variableName
              completionHandler: ^(HvlResponseObject output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlBpmnEngineServer = require('hvl_bpmn_engine_server');

var api = new HvlBpmnEngineServer.BpmnRuntimePublicAPIApi()
var executionId = executionId_example; // {{String}} 
var variableName = variableName_example; // {{String}} 

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

namespace Example
{
    public class getVariableExample
    {
        public void main()
        {

            var apiInstance = new BpmnRuntimePublicAPIApi();
            var executionId = executionId_example;  // String | 
            var variableName = variableName_example;  // String | 

            try
            {
                // Gets execution variable.
                HvlResponseObject result = apiInstance.getVariable(executionId, variableName);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BpmnRuntimePublicAPIApi.getVariable: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiBpmnRuntimePublicAPIApi();
$executionId = executionId_example; // String | 
$variableName = variableName_example; // String | 

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

my $api_instance = WWW::SwaggerClient::BpmnRuntimePublicAPIApi->new();
my $executionId = executionId_example; # String | 
my $variableName = variableName_example; # String | 

eval { 
    my $result = $api_instance->getVariable(executionId => $executionId, variableName => $variableName);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BpmnRuntimePublicAPIApi->getVariable: $@\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.BpmnRuntimePublicAPIApi()
executionId = executionId_example # String | 
variableName = variableName_example # String | 

try: 
    # Gets execution variable.
    api_response = api_instance.get_variable(executionId, variableName)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BpmnRuntimePublicAPIApi->getVariable: %s\n" % e)

Parameters

Path parameters
Name Description
executionId*
String
Required
variableName*
String
Required

Responses

Status: 200 - OK


getVariables1

Gets execution variables.


/runtime/variables/by-execution-id/{executionId}

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"http://keysys.hvlnet.net:6080/runtime/variables/by-execution-id/{executionId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BpmnRuntimePublicAPIApi;

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

public class BpmnRuntimePublicAPIApiExample {

    public static void main(String[] args) {
        
        BpmnRuntimePublicAPIApi apiInstance = new BpmnRuntimePublicAPIApi();
        String executionId = executionId_example; // String | 
        try {
            HvlResponseMapStringObject result = apiInstance.getVariables1(executionId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BpmnRuntimePublicAPIApi#getVariables1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BpmnRuntimePublicAPIApi;

public class BpmnRuntimePublicAPIApiExample {

    public static void main(String[] args) {
        BpmnRuntimePublicAPIApi apiInstance = new BpmnRuntimePublicAPIApi();
        String executionId = executionId_example; // String | 
        try {
            HvlResponseMapStringObject result = apiInstance.getVariables1(executionId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BpmnRuntimePublicAPIApi#getVariables1");
            e.printStackTrace();
        }
    }
}
String *executionId = executionId_example; // 

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

// Gets execution variables.
[apiInstance getVariables1With:executionId
              completionHandler: ^(HvlResponseMapStringObject output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlBpmnEngineServer = require('hvl_bpmn_engine_server');

var api = new HvlBpmnEngineServer.BpmnRuntimePublicAPIApi()
var executionId = executionId_example; // {{String}} 

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

namespace Example
{
    public class getVariables1Example
    {
        public void main()
        {

            var apiInstance = new BpmnRuntimePublicAPIApi();
            var executionId = executionId_example;  // String | 

            try
            {
                // Gets execution variables.
                HvlResponseMapStringObject result = apiInstance.getVariables1(executionId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BpmnRuntimePublicAPIApi.getVariables1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiBpmnRuntimePublicAPIApi();
$executionId = executionId_example; // String | 

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

my $api_instance = WWW::SwaggerClient::BpmnRuntimePublicAPIApi->new();
my $executionId = executionId_example; # String | 

eval { 
    my $result = $api_instance->getVariables1(executionId => $executionId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BpmnRuntimePublicAPIApi->getVariables1: $@\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.BpmnRuntimePublicAPIApi()
executionId = executionId_example # String | 

try: 
    # Gets execution variables.
    api_response = api_instance.get_variables1(executionId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BpmnRuntimePublicAPIApi->getVariables1: %s\n" % e)

Parameters

Path parameters
Name Description
executionId*
String
Required

Responses

Status: 200 - OK


isExecutionExists

Check the execution is existed.


/runtime/is-execution-exists/by-business-key/{businessKey}

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"http://keysys.hvlnet.net:6080/runtime/is-execution-exists/by-business-key/{businessKey}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BpmnRuntimePublicAPIApi;

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

public class BpmnRuntimePublicAPIApiExample {

    public static void main(String[] args) {
        
        BpmnRuntimePublicAPIApi apiInstance = new BpmnRuntimePublicAPIApi();
        String businessKey = businessKey_example; // String | 
        try {
            HvlResponseBoolean result = apiInstance.isExecutionExists(businessKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BpmnRuntimePublicAPIApi#isExecutionExists");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BpmnRuntimePublicAPIApi;

public class BpmnRuntimePublicAPIApiExample {

    public static void main(String[] args) {
        BpmnRuntimePublicAPIApi apiInstance = new BpmnRuntimePublicAPIApi();
        String businessKey = businessKey_example; // String | 
        try {
            HvlResponseBoolean result = apiInstance.isExecutionExists(businessKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BpmnRuntimePublicAPIApi#isExecutionExists");
            e.printStackTrace();
        }
    }
}
String *businessKey = businessKey_example; // 

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

// Check the execution is existed.
[apiInstance isExecutionExistsWith:businessKey
              completionHandler: ^(HvlResponseBoolean output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlBpmnEngineServer = require('hvl_bpmn_engine_server');

var api = new HvlBpmnEngineServer.BpmnRuntimePublicAPIApi()
var businessKey = businessKey_example; // {{String}} 

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

namespace Example
{
    public class isExecutionExistsExample
    {
        public void main()
        {

            var apiInstance = new BpmnRuntimePublicAPIApi();
            var businessKey = businessKey_example;  // String | 

            try
            {
                // Check the execution is existed.
                HvlResponseBoolean result = apiInstance.isExecutionExists(businessKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BpmnRuntimePublicAPIApi.isExecutionExists: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiBpmnRuntimePublicAPIApi();
$businessKey = businessKey_example; // String | 

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

my $api_instance = WWW::SwaggerClient::BpmnRuntimePublicAPIApi->new();
my $businessKey = businessKey_example; # String | 

eval { 
    my $result = $api_instance->isExecutionExists(businessKey => $businessKey);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BpmnRuntimePublicAPIApi->isExecutionExists: $@\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.BpmnRuntimePublicAPIApi()
businessKey = businessKey_example # String | 

try: 
    # Check the execution is existed.
    api_response = api_instance.is_execution_exists(businessKey)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BpmnRuntimePublicAPIApi->isExecutionExists: %s\n" % e)

Parameters

Path parameters
Name Description
businessKey*
String
Required

Responses

Status: 200 - OK


queryList1

Query list.


/runtime/list

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"http://keysys.hvlnet.net:6080/runtime/list"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BpmnRuntimePublicAPIApi;

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

public class BpmnRuntimePublicAPIApiExample {

    public static void main(String[] args) {
        
        BpmnRuntimePublicAPIApi apiInstance = new BpmnRuntimePublicAPIApi();
        HvlBpmnProcessInstanceQueryModel body = ; // HvlBpmnProcessInstanceQueryModel | 
        try {
            HvlResponseListHvlBpmnProcessInstanceModel result = apiInstance.queryList1(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BpmnRuntimePublicAPIApi#queryList1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BpmnRuntimePublicAPIApi;

public class BpmnRuntimePublicAPIApiExample {

    public static void main(String[] args) {
        BpmnRuntimePublicAPIApi apiInstance = new BpmnRuntimePublicAPIApi();
        HvlBpmnProcessInstanceQueryModel body = ; // HvlBpmnProcessInstanceQueryModel | 
        try {
            HvlResponseListHvlBpmnProcessInstanceModel result = apiInstance.queryList1(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BpmnRuntimePublicAPIApi#queryList1");
            e.printStackTrace();
        }
    }
}
HvlBpmnProcessInstanceQueryModel *body = ; // 

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

// Query list.
[apiInstance queryList1With:body
              completionHandler: ^(HvlResponseListHvlBpmnProcessInstanceModel output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlBpmnEngineServer = require('hvl_bpmn_engine_server');

var api = new HvlBpmnEngineServer.BpmnRuntimePublicAPIApi()
var body = ; // {{HvlBpmnProcessInstanceQueryModel}} 

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

namespace Example
{
    public class queryList1Example
    {
        public void main()
        {

            var apiInstance = new BpmnRuntimePublicAPIApi();
            var body = new HvlBpmnProcessInstanceQueryModel(); // HvlBpmnProcessInstanceQueryModel | 

            try
            {
                // Query list.
                HvlResponseListHvlBpmnProcessInstanceModel result = apiInstance.queryList1(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BpmnRuntimePublicAPIApi.queryList1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiBpmnRuntimePublicAPIApi();
$body = ; // HvlBpmnProcessInstanceQueryModel | 

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

my $api_instance = WWW::SwaggerClient::BpmnRuntimePublicAPIApi->new();
my $body = WWW::SwaggerClient::Object::HvlBpmnProcessInstanceQueryModel->new(); # HvlBpmnProcessInstanceQueryModel | 

eval { 
    my $result = $api_instance->queryList1(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BpmnRuntimePublicAPIApi->queryList1: $@\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.BpmnRuntimePublicAPIApi()
body =  # HvlBpmnProcessInstanceQueryModel | 

try: 
    # Query list.
    api_response = api_instance.query_list1(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BpmnRuntimePublicAPIApi->queryList1: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - OK


queryPage1

Query page.


/runtime/page

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"http://keysys.hvlnet.net:6080/runtime/page"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BpmnRuntimePublicAPIApi;

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

public class BpmnRuntimePublicAPIApiExample {

    public static void main(String[] args) {
        
        BpmnRuntimePublicAPIApi apiInstance = new BpmnRuntimePublicAPIApi();
        HvlBpmnProcessInstanceQueryModel body = ; // HvlBpmnProcessInstanceQueryModel | 
        try {
            HvlResponseHvlPageHvlBpmnProcessInstanceModel result = apiInstance.queryPage1(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BpmnRuntimePublicAPIApi#queryPage1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BpmnRuntimePublicAPIApi;

public class BpmnRuntimePublicAPIApiExample {

    public static void main(String[] args) {
        BpmnRuntimePublicAPIApi apiInstance = new BpmnRuntimePublicAPIApi();
        HvlBpmnProcessInstanceQueryModel body = ; // HvlBpmnProcessInstanceQueryModel | 
        try {
            HvlResponseHvlPageHvlBpmnProcessInstanceModel result = apiInstance.queryPage1(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BpmnRuntimePublicAPIApi#queryPage1");
            e.printStackTrace();
        }
    }
}
HvlBpmnProcessInstanceQueryModel *body = ; // 

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

// Query page.
[apiInstance queryPage1With:body
              completionHandler: ^(HvlResponseHvlPageHvlBpmnProcessInstanceModel output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlBpmnEngineServer = require('hvl_bpmn_engine_server');

var api = new HvlBpmnEngineServer.BpmnRuntimePublicAPIApi()
var body = ; // {{HvlBpmnProcessInstanceQueryModel}} 

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

namespace Example
{
    public class queryPage1Example
    {
        public void main()
        {

            var apiInstance = new BpmnRuntimePublicAPIApi();
            var body = new HvlBpmnProcessInstanceQueryModel(); // HvlBpmnProcessInstanceQueryModel | 

            try
            {
                // Query page.
                HvlResponseHvlPageHvlBpmnProcessInstanceModel result = apiInstance.queryPage1(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BpmnRuntimePublicAPIApi.queryPage1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiBpmnRuntimePublicAPIApi();
$body = ; // HvlBpmnProcessInstanceQueryModel | 

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

my $api_instance = WWW::SwaggerClient::BpmnRuntimePublicAPIApi->new();
my $body = WWW::SwaggerClient::Object::HvlBpmnProcessInstanceQueryModel->new(); # HvlBpmnProcessInstanceQueryModel | 

eval { 
    my $result = $api_instance->queryPage1(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BpmnRuntimePublicAPIApi->queryPage1: $@\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.BpmnRuntimePublicAPIApi()
body =  # HvlBpmnProcessInstanceQueryModel | 

try: 
    # Query page.
    api_response = api_instance.query_page1(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BpmnRuntimePublicAPIApi->queryPage1: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - OK


setVariable

Sets execution variable.


/runtime/set-variable/by-execution-id/{executionId}/by-variable-name/{variableName}

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"http://keysys.hvlnet.net:6080/runtime/set-variable/by-execution-id/{executionId}/by-variable-name/{variableName}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BpmnRuntimePublicAPIApi;

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

public class BpmnRuntimePublicAPIApiExample {

    public static void main(String[] args) {
        
        BpmnRuntimePublicAPIApi apiInstance = new BpmnRuntimePublicAPIApi();
        Object body = ; // Object | 
        String executionId = executionId_example; // String | 
        String variableName = variableName_example; // String | 
        try {
            HvlResponseVoid result = apiInstance.setVariable(body, executionId, variableName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BpmnRuntimePublicAPIApi#setVariable");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BpmnRuntimePublicAPIApi;

public class BpmnRuntimePublicAPIApiExample {

    public static void main(String[] args) {
        BpmnRuntimePublicAPIApi apiInstance = new BpmnRuntimePublicAPIApi();
        Object body = ; // Object | 
        String executionId = executionId_example; // String | 
        String variableName = variableName_example; // String | 
        try {
            HvlResponseVoid result = apiInstance.setVariable(body, executionId, variableName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BpmnRuntimePublicAPIApi#setVariable");
            e.printStackTrace();
        }
    }
}
Object *body = ; // 
String *executionId = executionId_example; // 
String *variableName = variableName_example; // 

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

// Sets execution variable.
[apiInstance setVariableWith:body
    executionId:executionId
    variableName:variableName
              completionHandler: ^(HvlResponseVoid output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlBpmnEngineServer = require('hvl_bpmn_engine_server');

var api = new HvlBpmnEngineServer.BpmnRuntimePublicAPIApi()
var body = ; // {{Object}} 
var executionId = executionId_example; // {{String}} 
var variableName = variableName_example; // {{String}} 

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

namespace Example
{
    public class setVariableExample
    {
        public void main()
        {

            var apiInstance = new BpmnRuntimePublicAPIApi();
            var body = new Object(); // Object | 
            var executionId = executionId_example;  // String | 
            var variableName = variableName_example;  // String | 

            try
            {
                // Sets execution variable.
                HvlResponseVoid result = apiInstance.setVariable(body, executionId, variableName);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BpmnRuntimePublicAPIApi.setVariable: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiBpmnRuntimePublicAPIApi();
$body = ; // Object | 
$executionId = executionId_example; // String | 
$variableName = variableName_example; // String | 

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

my $api_instance = WWW::SwaggerClient::BpmnRuntimePublicAPIApi->new();
my $body = WWW::SwaggerClient::Object::Object->new(); # Object | 
my $executionId = executionId_example; # String | 
my $variableName = variableName_example; # String | 

eval { 
    my $result = $api_instance->setVariable(body => $body, executionId => $executionId, variableName => $variableName);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BpmnRuntimePublicAPIApi->setVariable: $@\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.BpmnRuntimePublicAPIApi()
body =  # Object | 
executionId = executionId_example # String | 
variableName = variableName_example # String | 

try: 
    # Sets execution variable.
    api_response = api_instance.set_variable(body, executionId, variableName)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BpmnRuntimePublicAPIApi->setVariable: %s\n" % e)

Parameters

Path parameters
Name Description
executionId*
String
Required
variableName*
String
Required
Body parameters
Name Description
body *

Responses

Status: 200 - OK


startProcessInstanceById

Start process instance by process definition id.


/runtime/start/by-process-defitinion-id/{processDefinitionId}

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"http://keysys.hvlnet.net:6080/runtime/start/by-process-defitinion-id/{processDefinitionId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BpmnRuntimePublicAPIApi;

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

public class BpmnRuntimePublicAPIApiExample {

    public static void main(String[] args) {
        
        BpmnRuntimePublicAPIApi apiInstance = new BpmnRuntimePublicAPIApi();
        HvlBpmnStartProcessInstanceModel body = ; // HvlBpmnStartProcessInstanceModel | 
        String processDefinitionId = processDefinitionId_example; // String | 
        try {
            HvlResponseHvlBpmnProcessInstanceModel result = apiInstance.startProcessInstanceById(body, processDefinitionId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BpmnRuntimePublicAPIApi#startProcessInstanceById");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BpmnRuntimePublicAPIApi;

public class BpmnRuntimePublicAPIApiExample {

    public static void main(String[] args) {
        BpmnRuntimePublicAPIApi apiInstance = new BpmnRuntimePublicAPIApi();
        HvlBpmnStartProcessInstanceModel body = ; // HvlBpmnStartProcessInstanceModel | 
        String processDefinitionId = processDefinitionId_example; // String | 
        try {
            HvlResponseHvlBpmnProcessInstanceModel result = apiInstance.startProcessInstanceById(body, processDefinitionId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BpmnRuntimePublicAPIApi#startProcessInstanceById");
            e.printStackTrace();
        }
    }
}
HvlBpmnStartProcessInstanceModel *body = ; // 
String *processDefinitionId = processDefinitionId_example; // 

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

// Start process instance by process definition id.
[apiInstance startProcessInstanceByIdWith:body
    processDefinitionId:processDefinitionId
              completionHandler: ^(HvlResponseHvlBpmnProcessInstanceModel output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlBpmnEngineServer = require('hvl_bpmn_engine_server');

var api = new HvlBpmnEngineServer.BpmnRuntimePublicAPIApi()
var body = ; // {{HvlBpmnStartProcessInstanceModel}} 
var processDefinitionId = processDefinitionId_example; // {{String}} 

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

namespace Example
{
    public class startProcessInstanceByIdExample
    {
        public void main()
        {

            var apiInstance = new BpmnRuntimePublicAPIApi();
            var body = new HvlBpmnStartProcessInstanceModel(); // HvlBpmnStartProcessInstanceModel | 
            var processDefinitionId = processDefinitionId_example;  // String | 

            try
            {
                // Start process instance by process definition id.
                HvlResponseHvlBpmnProcessInstanceModel result = apiInstance.startProcessInstanceById(body, processDefinitionId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BpmnRuntimePublicAPIApi.startProcessInstanceById: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiBpmnRuntimePublicAPIApi();
$body = ; // HvlBpmnStartProcessInstanceModel | 
$processDefinitionId = processDefinitionId_example; // String | 

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

my $api_instance = WWW::SwaggerClient::BpmnRuntimePublicAPIApi->new();
my $body = WWW::SwaggerClient::Object::HvlBpmnStartProcessInstanceModel->new(); # HvlBpmnStartProcessInstanceModel | 
my $processDefinitionId = processDefinitionId_example; # String | 

eval { 
    my $result = $api_instance->startProcessInstanceById(body => $body, processDefinitionId => $processDefinitionId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BpmnRuntimePublicAPIApi->startProcessInstanceById: $@\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.BpmnRuntimePublicAPIApi()
body =  # HvlBpmnStartProcessInstanceModel | 
processDefinitionId = processDefinitionId_example # String | 

try: 
    # Start process instance by process definition id.
    api_response = api_instance.start_process_instance_by_id(body, processDefinitionId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BpmnRuntimePublicAPIApi->startProcessInstanceById: %s\n" % e)

Parameters

Path parameters
Name Description
processDefinitionId*
String
Required
Body parameters
Name Description
body *

Responses

Status: 200 - OK


startProcessInstanceByKey1

Start process instance by process definition key.


/runtime/start/by-process-defitinion-key/{processDefinitionKey}

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"http://keysys.hvlnet.net:6080/runtime/start/by-process-defitinion-key/{processDefinitionKey}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BpmnRuntimePublicAPIApi;

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

public class BpmnRuntimePublicAPIApiExample {

    public static void main(String[] args) {
        
        BpmnRuntimePublicAPIApi apiInstance = new BpmnRuntimePublicAPIApi();
        HvlBpmnStartProcessInstanceModel body = ; // HvlBpmnStartProcessInstanceModel | 
        String processDefinitionKey = processDefinitionKey_example; // String | 
        try {
            HvlResponseHvlBpmnProcessInstanceModel result = apiInstance.startProcessInstanceByKey1(body, processDefinitionKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BpmnRuntimePublicAPIApi#startProcessInstanceByKey1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BpmnRuntimePublicAPIApi;

public class BpmnRuntimePublicAPIApiExample {

    public static void main(String[] args) {
        BpmnRuntimePublicAPIApi apiInstance = new BpmnRuntimePublicAPIApi();
        HvlBpmnStartProcessInstanceModel body = ; // HvlBpmnStartProcessInstanceModel | 
        String processDefinitionKey = processDefinitionKey_example; // String | 
        try {
            HvlResponseHvlBpmnProcessInstanceModel result = apiInstance.startProcessInstanceByKey1(body, processDefinitionKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BpmnRuntimePublicAPIApi#startProcessInstanceByKey1");
            e.printStackTrace();
        }
    }
}
HvlBpmnStartProcessInstanceModel *body = ; // 
String *processDefinitionKey = processDefinitionKey_example; // 

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

// Start process instance by process definition key.
[apiInstance startProcessInstanceByKey1With:body
    processDefinitionKey:processDefinitionKey
              completionHandler: ^(HvlResponseHvlBpmnProcessInstanceModel output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlBpmnEngineServer = require('hvl_bpmn_engine_server');

var api = new HvlBpmnEngineServer.BpmnRuntimePublicAPIApi()
var body = ; // {{HvlBpmnStartProcessInstanceModel}} 
var processDefinitionKey = processDefinitionKey_example; // {{String}} 

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

namespace Example
{
    public class startProcessInstanceByKey1Example
    {
        public void main()
        {

            var apiInstance = new BpmnRuntimePublicAPIApi();
            var body = new HvlBpmnStartProcessInstanceModel(); // HvlBpmnStartProcessInstanceModel | 
            var processDefinitionKey = processDefinitionKey_example;  // String | 

            try
            {
                // Start process instance by process definition key.
                HvlResponseHvlBpmnProcessInstanceModel result = apiInstance.startProcessInstanceByKey1(body, processDefinitionKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BpmnRuntimePublicAPIApi.startProcessInstanceByKey1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiBpmnRuntimePublicAPIApi();
$body = ; // HvlBpmnStartProcessInstanceModel | 
$processDefinitionKey = processDefinitionKey_example; // String | 

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

my $api_instance = WWW::SwaggerClient::BpmnRuntimePublicAPIApi->new();
my $body = WWW::SwaggerClient::Object::HvlBpmnStartProcessInstanceModel->new(); # HvlBpmnStartProcessInstanceModel | 
my $processDefinitionKey = processDefinitionKey_example; # String | 

eval { 
    my $result = $api_instance->startProcessInstanceByKey1(body => $body, processDefinitionKey => $processDefinitionKey);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BpmnRuntimePublicAPIApi->startProcessInstanceByKey1: $@\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.BpmnRuntimePublicAPIApi()
body =  # HvlBpmnStartProcessInstanceModel | 
processDefinitionKey = processDefinitionKey_example # String | 

try: 
    # Start process instance by process definition key.
    api_response = api_instance.start_process_instance_by_key1(body, processDefinitionKey)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BpmnRuntimePublicAPIApi->startProcessInstanceByKey1: %s\n" % e)

Parameters

Path parameters
Name Description
processDefinitionKey*
String
Required
Body parameters
Name Description
body *

Responses

Status: 200 - OK


BpmnSchedulerPublicAPI

finishScheduler

Finishs scheduler job.


/scheduler/finish/by-business-key-list

Usage and SDK Samples

curl -X POST\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"http://keysys.hvlnet.net:6080/scheduler/finish/by-business-key-list"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BpmnSchedulerPublicAPIApi;

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

public class BpmnSchedulerPublicAPIApiExample {

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

public class BpmnSchedulerPublicAPIApiExample {

    public static void main(String[] args) {
        BpmnSchedulerPublicAPIApi apiInstance = new BpmnSchedulerPublicAPIApi();
        array[String] body = ; // array[String] | 
        try {
            HvlResponseVoid result = apiInstance.finishScheduler(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BpmnSchedulerPublicAPIApi#finishScheduler");
            e.printStackTrace();
        }
    }
}
array[String] *body = ; // 

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

// Finishs scheduler job.
[apiInstance finishSchedulerWith:body
              completionHandler: ^(HvlResponseVoid output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlBpmnEngineServer = require('hvl_bpmn_engine_server');

var api = new HvlBpmnEngineServer.BpmnSchedulerPublicAPIApi()
var body = ; // {{array[String]}} 

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

namespace Example
{
    public class finishSchedulerExample
    {
        public void main()
        {

            var apiInstance = new BpmnSchedulerPublicAPIApi();
            var body = new array[String](); // array[String] | 

            try
            {
                // Finishs scheduler job.
                HvlResponseVoid result = apiInstance.finishScheduler(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BpmnSchedulerPublicAPIApi.finishScheduler: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiBpmnSchedulerPublicAPIApi();
$body = ; // array[String] | 

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

my $api_instance = WWW::SwaggerClient::BpmnSchedulerPublicAPIApi->new();
my $body = [WWW::SwaggerClient::Object::array[String]->new()]; # array[String] | 

eval { 
    my $result = $api_instance->finishScheduler(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BpmnSchedulerPublicAPIApi->finishScheduler: $@\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.BpmnSchedulerPublicAPIApi()
body =  # array[String] | 

try: 
    # Finishs scheduler job.
    api_response = api_instance.finish_scheduler(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BpmnSchedulerPublicAPIApi->finishScheduler: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - OK


restartScheduler

Restarts async scheduler job.


/scheduler/restart/{processInstanceId}

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"http://keysys.hvlnet.net:6080/scheduler/restart/{processInstanceId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BpmnSchedulerPublicAPIApi;

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

public class BpmnSchedulerPublicAPIApiExample {

    public static void main(String[] args) {
        
        BpmnSchedulerPublicAPIApi apiInstance = new BpmnSchedulerPublicAPIApi();
        String processInstanceId = processInstanceId_example; // String | 
        try {
            HvlResponseHvlBpmnProcessInstanceModel result = apiInstance.restartScheduler(processInstanceId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BpmnSchedulerPublicAPIApi#restartScheduler");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BpmnSchedulerPublicAPIApi;

public class BpmnSchedulerPublicAPIApiExample {

    public static void main(String[] args) {
        BpmnSchedulerPublicAPIApi apiInstance = new BpmnSchedulerPublicAPIApi();
        String processInstanceId = processInstanceId_example; // String | 
        try {
            HvlResponseHvlBpmnProcessInstanceModel result = apiInstance.restartScheduler(processInstanceId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BpmnSchedulerPublicAPIApi#restartScheduler");
            e.printStackTrace();
        }
    }
}
String *processInstanceId = processInstanceId_example; // 

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

// Restarts async scheduler job.
[apiInstance restartSchedulerWith:processInstanceId
              completionHandler: ^(HvlResponseHvlBpmnProcessInstanceModel output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlBpmnEngineServer = require('hvl_bpmn_engine_server');

var api = new HvlBpmnEngineServer.BpmnSchedulerPublicAPIApi()
var processInstanceId = processInstanceId_example; // {{String}} 

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

namespace Example
{
    public class restartSchedulerExample
    {
        public void main()
        {

            var apiInstance = new BpmnSchedulerPublicAPIApi();
            var processInstanceId = processInstanceId_example;  // String | 

            try
            {
                // Restarts async scheduler job.
                HvlResponseHvlBpmnProcessInstanceModel result = apiInstance.restartScheduler(processInstanceId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BpmnSchedulerPublicAPIApi.restartScheduler: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiBpmnSchedulerPublicAPIApi();
$processInstanceId = processInstanceId_example; // String | 

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

my $api_instance = WWW::SwaggerClient::BpmnSchedulerPublicAPIApi->new();
my $processInstanceId = processInstanceId_example; # String | 

eval { 
    my $result = $api_instance->restartScheduler(processInstanceId => $processInstanceId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BpmnSchedulerPublicAPIApi->restartScheduler: $@\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.BpmnSchedulerPublicAPIApi()
processInstanceId = processInstanceId_example # String | 

try: 
    # Restarts async scheduler job.
    api_response = api_instance.restart_scheduler(processInstanceId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BpmnSchedulerPublicAPIApi->restartScheduler: %s\n" % e)

Parameters

Path parameters
Name Description
processInstanceId*
String
Required

Responses

Status: 200 - OK


startAsyncScheduler

Starts async scheduler job.


/scheduler/start/async/{overrideJob}

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"http://keysys.hvlnet.net:6080/scheduler/start/async/{overrideJob}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BpmnSchedulerPublicAPIApi;

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

public class BpmnSchedulerPublicAPIApiExample {

    public static void main(String[] args) {
        
        BpmnSchedulerPublicAPIApi apiInstance = new BpmnSchedulerPublicAPIApi();
        HvlBpmnSchedulerModel body = ; // HvlBpmnSchedulerModel | 
        Boolean overrideJob = true; // Boolean | 
        try {
            HvlResponseHvlBpmnProcessInstanceModel result = apiInstance.startAsyncScheduler(body, overrideJob);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BpmnSchedulerPublicAPIApi#startAsyncScheduler");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BpmnSchedulerPublicAPIApi;

public class BpmnSchedulerPublicAPIApiExample {

    public static void main(String[] args) {
        BpmnSchedulerPublicAPIApi apiInstance = new BpmnSchedulerPublicAPIApi();
        HvlBpmnSchedulerModel body = ; // HvlBpmnSchedulerModel | 
        Boolean overrideJob = true; // Boolean | 
        try {
            HvlResponseHvlBpmnProcessInstanceModel result = apiInstance.startAsyncScheduler(body, overrideJob);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BpmnSchedulerPublicAPIApi#startAsyncScheduler");
            e.printStackTrace();
        }
    }
}
HvlBpmnSchedulerModel *body = ; // 
Boolean *overrideJob = true; // 

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

// Starts async scheduler job.
[apiInstance startAsyncSchedulerWith:body
    overrideJob:overrideJob
              completionHandler: ^(HvlResponseHvlBpmnProcessInstanceModel output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlBpmnEngineServer = require('hvl_bpmn_engine_server');

var api = new HvlBpmnEngineServer.BpmnSchedulerPublicAPIApi()
var body = ; // {{HvlBpmnSchedulerModel}} 
var overrideJob = true; // {{Boolean}} 

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

namespace Example
{
    public class startAsyncSchedulerExample
    {
        public void main()
        {

            var apiInstance = new BpmnSchedulerPublicAPIApi();
            var body = new HvlBpmnSchedulerModel(); // HvlBpmnSchedulerModel | 
            var overrideJob = true;  // Boolean | 

            try
            {
                // Starts async scheduler job.
                HvlResponseHvlBpmnProcessInstanceModel result = apiInstance.startAsyncScheduler(body, overrideJob);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BpmnSchedulerPublicAPIApi.startAsyncScheduler: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiBpmnSchedulerPublicAPIApi();
$body = ; // HvlBpmnSchedulerModel | 
$overrideJob = true; // Boolean | 

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

my $api_instance = WWW::SwaggerClient::BpmnSchedulerPublicAPIApi->new();
my $body = WWW::SwaggerClient::Object::HvlBpmnSchedulerModel->new(); # HvlBpmnSchedulerModel | 
my $overrideJob = true; # Boolean | 

eval { 
    my $result = $api_instance->startAsyncScheduler(body => $body, overrideJob => $overrideJob);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BpmnSchedulerPublicAPIApi->startAsyncScheduler: $@\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.BpmnSchedulerPublicAPIApi()
body =  # HvlBpmnSchedulerModel | 
overrideJob = true # Boolean | 

try: 
    # Starts async scheduler job.
    api_response = api_instance.start_async_scheduler(body, overrideJob)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BpmnSchedulerPublicAPIApi->startAsyncScheduler: %s\n" % e)

Parameters

Path parameters
Name Description
overrideJob*
Boolean
Required
Body parameters
Name Description
body *

Responses

Status: 200 - OK


startSyncScheduler

Starts sync scheduler job.


/scheduler/start/sync/{overrideJob}

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"http://keysys.hvlnet.net:6080/scheduler/start/sync/{overrideJob}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BpmnSchedulerPublicAPIApi;

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

public class BpmnSchedulerPublicAPIApiExample {

    public static void main(String[] args) {
        
        BpmnSchedulerPublicAPIApi apiInstance = new BpmnSchedulerPublicAPIApi();
        HvlBpmnSchedulerModel body = ; // HvlBpmnSchedulerModel | 
        Boolean overrideJob = true; // Boolean | 
        try {
            HvlResponseHvlBpmnProcessInstanceModel result = apiInstance.startSyncScheduler(body, overrideJob);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BpmnSchedulerPublicAPIApi#startSyncScheduler");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BpmnSchedulerPublicAPIApi;

public class BpmnSchedulerPublicAPIApiExample {

    public static void main(String[] args) {
        BpmnSchedulerPublicAPIApi apiInstance = new BpmnSchedulerPublicAPIApi();
        HvlBpmnSchedulerModel body = ; // HvlBpmnSchedulerModel | 
        Boolean overrideJob = true; // Boolean | 
        try {
            HvlResponseHvlBpmnProcessInstanceModel result = apiInstance.startSyncScheduler(body, overrideJob);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BpmnSchedulerPublicAPIApi#startSyncScheduler");
            e.printStackTrace();
        }
    }
}
HvlBpmnSchedulerModel *body = ; // 
Boolean *overrideJob = true; // 

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

// Starts sync scheduler job.
[apiInstance startSyncSchedulerWith:body
    overrideJob:overrideJob
              completionHandler: ^(HvlResponseHvlBpmnProcessInstanceModel output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlBpmnEngineServer = require('hvl_bpmn_engine_server');

var api = new HvlBpmnEngineServer.BpmnSchedulerPublicAPIApi()
var body = ; // {{HvlBpmnSchedulerModel}} 
var overrideJob = true; // {{Boolean}} 

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

namespace Example
{
    public class startSyncSchedulerExample
    {
        public void main()
        {

            var apiInstance = new BpmnSchedulerPublicAPIApi();
            var body = new HvlBpmnSchedulerModel(); // HvlBpmnSchedulerModel | 
            var overrideJob = true;  // Boolean | 

            try
            {
                // Starts sync scheduler job.
                HvlResponseHvlBpmnProcessInstanceModel result = apiInstance.startSyncScheduler(body, overrideJob);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BpmnSchedulerPublicAPIApi.startSyncScheduler: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiBpmnSchedulerPublicAPIApi();
$body = ; // HvlBpmnSchedulerModel | 
$overrideJob = true; // Boolean | 

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

my $api_instance = WWW::SwaggerClient::BpmnSchedulerPublicAPIApi->new();
my $body = WWW::SwaggerClient::Object::HvlBpmnSchedulerModel->new(); # HvlBpmnSchedulerModel | 
my $overrideJob = true; # Boolean | 

eval { 
    my $result = $api_instance->startSyncScheduler(body => $body, overrideJob => $overrideJob);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BpmnSchedulerPublicAPIApi->startSyncScheduler: $@\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.BpmnSchedulerPublicAPIApi()
body =  # HvlBpmnSchedulerModel | 
overrideJob = true # Boolean | 

try: 
    # Starts sync scheduler job.
    api_response = api_instance.start_sync_scheduler(body, overrideJob)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BpmnSchedulerPublicAPIApi->startSyncScheduler: %s\n" % e)

Parameters

Path parameters
Name Description
overrideJob*
Boolean
Required
Body parameters
Name Description
body *

Responses

Status: 200 - OK


BpmnTaskPublicAPI

claim

Claims the task.


/task/{id}/claim/{assignee}

Usage and SDK Samples

curl -X GET\
-H "Accept: */*"\
"http://keysys.hvlnet.net:6080/task/{id}/claim/{assignee}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BpmnTaskPublicAPIApi;

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

public class BpmnTaskPublicAPIApiExample {

    public static void main(String[] args) {
        
        BpmnTaskPublicAPIApi apiInstance = new BpmnTaskPublicAPIApi();
        String id = id_example; // String | 
        String assignee = assignee_example; // String | 
        try {
            HvlResponseVoid result = apiInstance.claim(id, assignee);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BpmnTaskPublicAPIApi#claim");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BpmnTaskPublicAPIApi;

public class BpmnTaskPublicAPIApiExample {

    public static void main(String[] args) {
        BpmnTaskPublicAPIApi apiInstance = new BpmnTaskPublicAPIApi();
        String id = id_example; // String | 
        String assignee = assignee_example; // String | 
        try {
            HvlResponseVoid result = apiInstance.claim(id, assignee);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BpmnTaskPublicAPIApi#claim");
            e.printStackTrace();
        }
    }
}
String *id = id_example; // 
String *assignee = assignee_example; // 

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

// Claims the task.
[apiInstance claimWith:id
    assignee:assignee
              completionHandler: ^(HvlResponseVoid output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlBpmnEngineServer = require('hvl_bpmn_engine_server');

var api = new HvlBpmnEngineServer.BpmnTaskPublicAPIApi()
var id = id_example; // {{String}} 
var assignee = assignee_example; // {{String}} 

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

namespace Example
{
    public class claimExample
    {
        public void main()
        {

            var apiInstance = new BpmnTaskPublicAPIApi();
            var id = id_example;  // String | 
            var assignee = assignee_example;  // String | 

            try
            {
                // Claims the task.
                HvlResponseVoid result = apiInstance.claim(id, assignee);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BpmnTaskPublicAPIApi.claim: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiBpmnTaskPublicAPIApi();
$id = id_example; // String | 
$assignee = assignee_example; // String | 

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

my $api_instance = WWW::SwaggerClient::BpmnTaskPublicAPIApi->new();
my $id = id_example; # String | 
my $assignee = assignee_example; # String | 

eval { 
    my $result = $api_instance->claim(id => $id, assignee => $assignee);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BpmnTaskPublicAPIApi->claim: $@\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.BpmnTaskPublicAPIApi()
id = id_example # String | 
assignee = assignee_example # String | 

try: 
    # Claims the task.
    api_response = api_instance.claim(id, assignee)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BpmnTaskPublicAPIApi->claim: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
Required
assignee*
String
Required

Responses

Status: 200 - OK


complete

Completes the task.


/task/complete

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"http://keysys.hvlnet.net:6080/task/complete"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BpmnTaskPublicAPIApi;

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

public class BpmnTaskPublicAPIApiExample {

    public static void main(String[] args) {
        
        BpmnTaskPublicAPIApi apiInstance = new BpmnTaskPublicAPIApi();
        HvlBpmnCompleteTaskModel body = ; // HvlBpmnCompleteTaskModel | 
        try {
            HvlResponseVoid result = apiInstance.complete(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BpmnTaskPublicAPIApi#complete");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BpmnTaskPublicAPIApi;

public class BpmnTaskPublicAPIApiExample {

    public static void main(String[] args) {
        BpmnTaskPublicAPIApi apiInstance = new BpmnTaskPublicAPIApi();
        HvlBpmnCompleteTaskModel body = ; // HvlBpmnCompleteTaskModel | 
        try {
            HvlResponseVoid result = apiInstance.complete(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BpmnTaskPublicAPIApi#complete");
            e.printStackTrace();
        }
    }
}
HvlBpmnCompleteTaskModel *body = ; // 

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

// Completes the task.
[apiInstance completeWith:body
              completionHandler: ^(HvlResponseVoid output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlBpmnEngineServer = require('hvl_bpmn_engine_server');

var api = new HvlBpmnEngineServer.BpmnTaskPublicAPIApi()
var body = ; // {{HvlBpmnCompleteTaskModel}} 

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

namespace Example
{
    public class completeExample
    {
        public void main()
        {

            var apiInstance = new BpmnTaskPublicAPIApi();
            var body = new HvlBpmnCompleteTaskModel(); // HvlBpmnCompleteTaskModel | 

            try
            {
                // Completes the task.
                HvlResponseVoid result = apiInstance.complete(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BpmnTaskPublicAPIApi.complete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiBpmnTaskPublicAPIApi();
$body = ; // HvlBpmnCompleteTaskModel | 

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

my $api_instance = WWW::SwaggerClient::BpmnTaskPublicAPIApi->new();
my $body = WWW::SwaggerClient::Object::HvlBpmnCompleteTaskModel->new(); # HvlBpmnCompleteTaskModel | 

eval { 
    my $result = $api_instance->complete(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BpmnTaskPublicAPIApi->complete: $@\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.BpmnTaskPublicAPIApi()
body =  # HvlBpmnCompleteTaskModel | 

try: 
    # Completes the task.
    api_response = api_instance.complete(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BpmnTaskPublicAPIApi->complete: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - OK


getById

Gets the task by id.


/task/{id}

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"http://keysys.hvlnet.net:6080/task/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BpmnTaskPublicAPIApi;

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

public class BpmnTaskPublicAPIApiExample {

    public static void main(String[] args) {
        
        BpmnTaskPublicAPIApi apiInstance = new BpmnTaskPublicAPIApi();
        String id = id_example; // String | 
        try {
            HvlResponseHvlBpmnTaskModel result = apiInstance.getById(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BpmnTaskPublicAPIApi#getById");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BpmnTaskPublicAPIApi;

public class BpmnTaskPublicAPIApiExample {

    public static void main(String[] args) {
        BpmnTaskPublicAPIApi apiInstance = new BpmnTaskPublicAPIApi();
        String id = id_example; // String | 
        try {
            HvlResponseHvlBpmnTaskModel result = apiInstance.getById(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BpmnTaskPublicAPIApi#getById");
            e.printStackTrace();
        }
    }
}
String *id = id_example; // 

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

// Gets the task by id.
[apiInstance getByIdWith:id
              completionHandler: ^(HvlResponseHvlBpmnTaskModel output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlBpmnEngineServer = require('hvl_bpmn_engine_server');

var api = new HvlBpmnEngineServer.BpmnTaskPublicAPIApi()
var id = id_example; // {{String}} 

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

namespace Example
{
    public class getByIdExample
    {
        public void main()
        {

            var apiInstance = new BpmnTaskPublicAPIApi();
            var id = id_example;  // String | 

            try
            {
                // Gets the task by id.
                HvlResponseHvlBpmnTaskModel result = apiInstance.getById(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BpmnTaskPublicAPIApi.getById: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiBpmnTaskPublicAPIApi();
$id = id_example; // String | 

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

my $api_instance = WWW::SwaggerClient::BpmnTaskPublicAPIApi->new();
my $id = id_example; # String | 

eval { 
    my $result = $api_instance->getById(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BpmnTaskPublicAPIApi->getById: $@\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.BpmnTaskPublicAPIApi()
id = id_example # String | 

try: 
    # Gets the task by id.
    api_response = api_instance.get_by_id(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BpmnTaskPublicAPIApi->getById: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
Required

Responses

Status: 200 - OK


getVariable1

Gets the task variable.


/task/variable/{taskId}/{variableName}

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"http://keysys.hvlnet.net:6080/task/variable/{taskId}/{variableName}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BpmnTaskPublicAPIApi;

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

public class BpmnTaskPublicAPIApiExample {

    public static void main(String[] args) {
        
        BpmnTaskPublicAPIApi apiInstance = new BpmnTaskPublicAPIApi();
        String taskId = taskId_example; // String | 
        String variableName = variableName_example; // String | 
        try {
            HvlResponseObject result = apiInstance.getVariable1(taskId, variableName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BpmnTaskPublicAPIApi#getVariable1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BpmnTaskPublicAPIApi;

public class BpmnTaskPublicAPIApiExample {

    public static void main(String[] args) {
        BpmnTaskPublicAPIApi apiInstance = new BpmnTaskPublicAPIApi();
        String taskId = taskId_example; // String | 
        String variableName = variableName_example; // String | 
        try {
            HvlResponseObject result = apiInstance.getVariable1(taskId, variableName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BpmnTaskPublicAPIApi#getVariable1");
            e.printStackTrace();
        }
    }
}
String *taskId = taskId_example; // 
String *variableName = variableName_example; // 

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

// Gets the task variable.
[apiInstance getVariable1With:taskId
    variableName:variableName
              completionHandler: ^(HvlResponseObject output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlBpmnEngineServer = require('hvl_bpmn_engine_server');

var api = new HvlBpmnEngineServer.BpmnTaskPublicAPIApi()
var taskId = taskId_example; // {{String}} 
var variableName = variableName_example; // {{String}} 

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

namespace Example
{
    public class getVariable1Example
    {
        public void main()
        {

            var apiInstance = new BpmnTaskPublicAPIApi();
            var taskId = taskId_example;  // String | 
            var variableName = variableName_example;  // String | 

            try
            {
                // Gets the task variable.
                HvlResponseObject result = apiInstance.getVariable1(taskId, variableName);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BpmnTaskPublicAPIApi.getVariable1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiBpmnTaskPublicAPIApi();
$taskId = taskId_example; // String | 
$variableName = variableName_example; // String | 

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

my $api_instance = WWW::SwaggerClient::BpmnTaskPublicAPIApi->new();
my $taskId = taskId_example; # String | 
my $variableName = variableName_example; # String | 

eval { 
    my $result = $api_instance->getVariable1(taskId => $taskId, variableName => $variableName);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BpmnTaskPublicAPIApi->getVariable1: $@\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.BpmnTaskPublicAPIApi()
taskId = taskId_example # String | 
variableName = variableName_example # String | 

try: 
    # Gets the task variable.
    api_response = api_instance.get_variable1(taskId, variableName)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BpmnTaskPublicAPIApi->getVariable1: %s\n" % e)

Parameters

Path parameters
Name Description
taskId*
String
Required
variableName*
String
Required

Responses

Status: 200 - OK


getVariables

Gets the task variables.


/task/variables/{taskId}

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"http://keysys.hvlnet.net:6080/task/variables/{taskId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BpmnTaskPublicAPIApi;

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

public class BpmnTaskPublicAPIApiExample {

    public static void main(String[] args) {
        
        BpmnTaskPublicAPIApi apiInstance = new BpmnTaskPublicAPIApi();
        String taskId = taskId_example; // String | 
        try {
            HvlResponseMapStringObject result = apiInstance.getVariables(taskId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BpmnTaskPublicAPIApi#getVariables");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BpmnTaskPublicAPIApi;

public class BpmnTaskPublicAPIApiExample {

    public static void main(String[] args) {
        BpmnTaskPublicAPIApi apiInstance = new BpmnTaskPublicAPIApi();
        String taskId = taskId_example; // String | 
        try {
            HvlResponseMapStringObject result = apiInstance.getVariables(taskId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BpmnTaskPublicAPIApi#getVariables");
            e.printStackTrace();
        }
    }
}
String *taskId = taskId_example; // 

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

// Gets the task variables.
[apiInstance getVariablesWith:taskId
              completionHandler: ^(HvlResponseMapStringObject output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlBpmnEngineServer = require('hvl_bpmn_engine_server');

var api = new HvlBpmnEngineServer.BpmnTaskPublicAPIApi()
var taskId = taskId_example; // {{String}} 

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

namespace Example
{
    public class getVariablesExample
    {
        public void main()
        {

            var apiInstance = new BpmnTaskPublicAPIApi();
            var taskId = taskId_example;  // String | 

            try
            {
                // Gets the task variables.
                HvlResponseMapStringObject result = apiInstance.getVariables(taskId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BpmnTaskPublicAPIApi.getVariables: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiBpmnTaskPublicAPIApi();
$taskId = taskId_example; // String | 

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

my $api_instance = WWW::SwaggerClient::BpmnTaskPublicAPIApi->new();
my $taskId = taskId_example; # String | 

eval { 
    my $result = $api_instance->getVariables(taskId => $taskId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BpmnTaskPublicAPIApi->getVariables: $@\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.BpmnTaskPublicAPIApi()
taskId = taskId_example # String | 

try: 
    # Gets the task variables.
    api_response = api_instance.get_variables(taskId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BpmnTaskPublicAPIApi->getVariables: %s\n" % e)

Parameters

Path parameters
Name Description
taskId*
String
Required

Responses

Status: 200 - OK


queryList

Query list.


/task/list

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"http://keysys.hvlnet.net:6080/task/list"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BpmnTaskPublicAPIApi;

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

public class BpmnTaskPublicAPIApiExample {

    public static void main(String[] args) {
        
        BpmnTaskPublicAPIApi apiInstance = new BpmnTaskPublicAPIApi();
        HvlBpmnTaskQueryModel body = ; // HvlBpmnTaskQueryModel | 
        try {
            HvlResponseListHvlBpmnTaskModel result = apiInstance.queryList(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BpmnTaskPublicAPIApi#queryList");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BpmnTaskPublicAPIApi;

public class BpmnTaskPublicAPIApiExample {

    public static void main(String[] args) {
        BpmnTaskPublicAPIApi apiInstance = new BpmnTaskPublicAPIApi();
        HvlBpmnTaskQueryModel body = ; // HvlBpmnTaskQueryModel | 
        try {
            HvlResponseListHvlBpmnTaskModel result = apiInstance.queryList(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BpmnTaskPublicAPIApi#queryList");
            e.printStackTrace();
        }
    }
}
HvlBpmnTaskQueryModel *body = ; // 

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

// Query list.
[apiInstance queryListWith:body
              completionHandler: ^(HvlResponseListHvlBpmnTaskModel output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlBpmnEngineServer = require('hvl_bpmn_engine_server');

var api = new HvlBpmnEngineServer.BpmnTaskPublicAPIApi()
var body = ; // {{HvlBpmnTaskQueryModel}} 

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

namespace Example
{
    public class queryListExample
    {
        public void main()
        {

            var apiInstance = new BpmnTaskPublicAPIApi();
            var body = new HvlBpmnTaskQueryModel(); // HvlBpmnTaskQueryModel | 

            try
            {
                // Query list.
                HvlResponseListHvlBpmnTaskModel result = apiInstance.queryList(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BpmnTaskPublicAPIApi.queryList: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiBpmnTaskPublicAPIApi();
$body = ; // HvlBpmnTaskQueryModel | 

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

my $api_instance = WWW::SwaggerClient::BpmnTaskPublicAPIApi->new();
my $body = WWW::SwaggerClient::Object::HvlBpmnTaskQueryModel->new(); # HvlBpmnTaskQueryModel | 

eval { 
    my $result = $api_instance->queryList(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BpmnTaskPublicAPIApi->queryList: $@\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.BpmnTaskPublicAPIApi()
body =  # HvlBpmnTaskQueryModel | 

try: 
    # Query list.
    api_response = api_instance.query_list(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BpmnTaskPublicAPIApi->queryList: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - OK


queryPage

Query page.


/task/page

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"http://keysys.hvlnet.net:6080/task/page"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BpmnTaskPublicAPIApi;

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

public class BpmnTaskPublicAPIApiExample {

    public static void main(String[] args) {
        
        BpmnTaskPublicAPIApi apiInstance = new BpmnTaskPublicAPIApi();
        HvlBpmnTaskQueryModel body = ; // HvlBpmnTaskQueryModel | 
        try {
            HvlResponseHvlPageHvlBpmnTaskModel result = apiInstance.queryPage(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BpmnTaskPublicAPIApi#queryPage");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BpmnTaskPublicAPIApi;

public class BpmnTaskPublicAPIApiExample {

    public static void main(String[] args) {
        BpmnTaskPublicAPIApi apiInstance = new BpmnTaskPublicAPIApi();
        HvlBpmnTaskQueryModel body = ; // HvlBpmnTaskQueryModel | 
        try {
            HvlResponseHvlPageHvlBpmnTaskModel result = apiInstance.queryPage(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BpmnTaskPublicAPIApi#queryPage");
            e.printStackTrace();
        }
    }
}
HvlBpmnTaskQueryModel *body = ; // 

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

// Query page.
[apiInstance queryPageWith:body
              completionHandler: ^(HvlResponseHvlPageHvlBpmnTaskModel output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlBpmnEngineServer = require('hvl_bpmn_engine_server');

var api = new HvlBpmnEngineServer.BpmnTaskPublicAPIApi()
var body = ; // {{HvlBpmnTaskQueryModel}} 

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

namespace Example
{
    public class queryPageExample
    {
        public void main()
        {

            var apiInstance = new BpmnTaskPublicAPIApi();
            var body = new HvlBpmnTaskQueryModel(); // HvlBpmnTaskQueryModel | 

            try
            {
                // Query page.
                HvlResponseHvlPageHvlBpmnTaskModel result = apiInstance.queryPage(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BpmnTaskPublicAPIApi.queryPage: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiBpmnTaskPublicAPIApi();
$body = ; // HvlBpmnTaskQueryModel | 

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

my $api_instance = WWW::SwaggerClient::BpmnTaskPublicAPIApi->new();
my $body = WWW::SwaggerClient::Object::HvlBpmnTaskQueryModel->new(); # HvlBpmnTaskQueryModel | 

eval { 
    my $result = $api_instance->queryPage(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BpmnTaskPublicAPIApi->queryPage: $@\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.BpmnTaskPublicAPIApi()
body =  # HvlBpmnTaskQueryModel | 

try: 
    # Query page.
    api_response = api_instance.query_page(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BpmnTaskPublicAPIApi->queryPage: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - OK


unclaim

Unclaims the task.


/task/{id}/unclaim

Usage and SDK Samples

curl -X GET\
-H "Accept: */*"\
"http://keysys.hvlnet.net:6080/task/{id}/unclaim"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BpmnTaskPublicAPIApi;

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

public class BpmnTaskPublicAPIApiExample {

    public static void main(String[] args) {
        
        BpmnTaskPublicAPIApi apiInstance = new BpmnTaskPublicAPIApi();
        String id = id_example; // String | 
        try {
            HvlResponseVoid result = apiInstance.unclaim(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BpmnTaskPublicAPIApi#unclaim");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BpmnTaskPublicAPIApi;

public class BpmnTaskPublicAPIApiExample {

    public static void main(String[] args) {
        BpmnTaskPublicAPIApi apiInstance = new BpmnTaskPublicAPIApi();
        String id = id_example; // String | 
        try {
            HvlResponseVoid result = apiInstance.unclaim(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BpmnTaskPublicAPIApi#unclaim");
            e.printStackTrace();
        }
    }
}
String *id = id_example; // 

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

// Unclaims the task.
[apiInstance unclaimWith:id
              completionHandler: ^(HvlResponseVoid output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlBpmnEngineServer = require('hvl_bpmn_engine_server');

var api = new HvlBpmnEngineServer.BpmnTaskPublicAPIApi()
var id = id_example; // {{String}} 

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

namespace Example
{
    public class unclaimExample
    {
        public void main()
        {

            var apiInstance = new BpmnTaskPublicAPIApi();
            var id = id_example;  // String | 

            try
            {
                // Unclaims the task.
                HvlResponseVoid result = apiInstance.unclaim(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BpmnTaskPublicAPIApi.unclaim: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiBpmnTaskPublicAPIApi();
$id = id_example; // String | 

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

my $api_instance = WWW::SwaggerClient::BpmnTaskPublicAPIApi->new();
my $id = id_example; # String | 

eval { 
    my $result = $api_instance->unclaim(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BpmnTaskPublicAPIApi->unclaim: $@\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.BpmnTaskPublicAPIApi()
id = id_example # String | 

try: 
    # Unclaims the task.
    api_response = api_instance.unclaim(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BpmnTaskPublicAPIApi->unclaim: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
Required

Responses

Status: 200 - OK


BpmnTransactionalPublicAPI

completeRollback

Completes distributed transaction rollback step.


/transactional/complete-rollback/business-key/{businessKey}

Usage and SDK Samples

curl -X POST\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"http://keysys.hvlnet.net:6080/transactional/complete-rollback/business-key/{businessKey}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BpmnTransactionalPublicAPIApi;

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

public class BpmnTransactionalPublicAPIApiExample {

    public static void main(String[] args) {
        
        BpmnTransactionalPublicAPIApi apiInstance = new BpmnTransactionalPublicAPIApi();
        map[String, Object] body = ; // map[String, Object] | 
        String businessKey = businessKey_example; // String | 
        try {
            HvlResponseVoid result = apiInstance.completeRollback(body, businessKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BpmnTransactionalPublicAPIApi#completeRollback");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BpmnTransactionalPublicAPIApi;

public class BpmnTransactionalPublicAPIApiExample {

    public static void main(String[] args) {
        BpmnTransactionalPublicAPIApi apiInstance = new BpmnTransactionalPublicAPIApi();
        map[String, Object] body = ; // map[String, Object] | 
        String businessKey = businessKey_example; // String | 
        try {
            HvlResponseVoid result = apiInstance.completeRollback(body, businessKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BpmnTransactionalPublicAPIApi#completeRollback");
            e.printStackTrace();
        }
    }
}
map[String, Object] *body = ; // 
String *businessKey = businessKey_example; // 

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

// Completes distributed transaction rollback step.
[apiInstance completeRollbackWith:body
    businessKey:businessKey
              completionHandler: ^(HvlResponseVoid output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlBpmnEngineServer = require('hvl_bpmn_engine_server');

var api = new HvlBpmnEngineServer.BpmnTransactionalPublicAPIApi()
var body = ; // {{map[String, Object]}} 
var businessKey = businessKey_example; // {{String}} 

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

namespace Example
{
    public class completeRollbackExample
    {
        public void main()
        {

            var apiInstance = new BpmnTransactionalPublicAPIApi();
            var body = new map[String, Object](); // map[String, Object] | 
            var businessKey = businessKey_example;  // String | 

            try
            {
                // Completes distributed transaction rollback step.
                HvlResponseVoid result = apiInstance.completeRollback(body, businessKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BpmnTransactionalPublicAPIApi.completeRollback: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiBpmnTransactionalPublicAPIApi();
$body = ; // map[String, Object] | 
$businessKey = businessKey_example; // String | 

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

my $api_instance = WWW::SwaggerClient::BpmnTransactionalPublicAPIApi->new();
my $body = WWW::SwaggerClient::Object::map[String, Object]->new(); # map[String, Object] | 
my $businessKey = businessKey_example; # String | 

eval { 
    my $result = $api_instance->completeRollback(body => $body, businessKey => $businessKey);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BpmnTransactionalPublicAPIApi->completeRollback: $@\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.BpmnTransactionalPublicAPIApi()
body =  # map[String, Object] | 
businessKey = businessKey_example # String | 

try: 
    # Completes distributed transaction rollback step.
    api_response = api_instance.complete_rollback(body, businessKey)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BpmnTransactionalPublicAPIApi->completeRollback: %s\n" % e)

Parameters

Path parameters
Name Description
businessKey*
String
Required
Body parameters
Name Description
body *

Responses

Status: 200 - OK


completeStep

Completes distributed transaction step.


/transactional/complete-step/business-key/{businessKey}

Usage and SDK Samples

curl -X POST\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"http://keysys.hvlnet.net:6080/transactional/complete-step/business-key/{businessKey}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BpmnTransactionalPublicAPIApi;

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

public class BpmnTransactionalPublicAPIApiExample {

    public static void main(String[] args) {
        
        BpmnTransactionalPublicAPIApi apiInstance = new BpmnTransactionalPublicAPIApi();
        map[String, Object] body = ; // map[String, Object] | 
        String businessKey = businessKey_example; // String | 
        try {
            HvlResponseVoid result = apiInstance.completeStep(body, businessKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BpmnTransactionalPublicAPIApi#completeStep");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BpmnTransactionalPublicAPIApi;

public class BpmnTransactionalPublicAPIApiExample {

    public static void main(String[] args) {
        BpmnTransactionalPublicAPIApi apiInstance = new BpmnTransactionalPublicAPIApi();
        map[String, Object] body = ; // map[String, Object] | 
        String businessKey = businessKey_example; // String | 
        try {
            HvlResponseVoid result = apiInstance.completeStep(body, businessKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BpmnTransactionalPublicAPIApi#completeStep");
            e.printStackTrace();
        }
    }
}
map[String, Object] *body = ; // 
String *businessKey = businessKey_example; // 

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

// Completes distributed transaction step.
[apiInstance completeStepWith:body
    businessKey:businessKey
              completionHandler: ^(HvlResponseVoid output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlBpmnEngineServer = require('hvl_bpmn_engine_server');

var api = new HvlBpmnEngineServer.BpmnTransactionalPublicAPIApi()
var body = ; // {{map[String, Object]}} 
var businessKey = businessKey_example; // {{String}} 

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

namespace Example
{
    public class completeStepExample
    {
        public void main()
        {

            var apiInstance = new BpmnTransactionalPublicAPIApi();
            var body = new map[String, Object](); // map[String, Object] | 
            var businessKey = businessKey_example;  // String | 

            try
            {
                // Completes distributed transaction step.
                HvlResponseVoid result = apiInstance.completeStep(body, businessKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BpmnTransactionalPublicAPIApi.completeStep: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiBpmnTransactionalPublicAPIApi();
$body = ; // map[String, Object] | 
$businessKey = businessKey_example; // String | 

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

my $api_instance = WWW::SwaggerClient::BpmnTransactionalPublicAPIApi->new();
my $body = WWW::SwaggerClient::Object::map[String, Object]->new(); # map[String, Object] | 
my $businessKey = businessKey_example; # String | 

eval { 
    my $result = $api_instance->completeStep(body => $body, businessKey => $businessKey);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BpmnTransactionalPublicAPIApi->completeStep: $@\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.BpmnTransactionalPublicAPIApi()
body =  # map[String, Object] | 
businessKey = businessKey_example # String | 

try: 
    # Completes distributed transaction step.
    api_response = api_instance.complete_step(body, businessKey)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BpmnTransactionalPublicAPIApi->completeStep: %s\n" % e)

Parameters

Path parameters
Name Description
businessKey*
String
Required
Body parameters
Name Description
body *

Responses

Status: 200 - OK


startProcessInstanceByKey

Start process instance which includes distributed transaction sub activity by process definition key.


/transactional/start/by-process-defitinion-key/{processDefinitionKey}

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"http://keysys.hvlnet.net:6080/transactional/start/by-process-defitinion-key/{processDefinitionKey}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BpmnTransactionalPublicAPIApi;

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

public class BpmnTransactionalPublicAPIApiExample {

    public static void main(String[] args) {
        
        BpmnTransactionalPublicAPIApi apiInstance = new BpmnTransactionalPublicAPIApi();
        HvlBpmnStartProcessInstanceModel body = ; // HvlBpmnStartProcessInstanceModel | 
        String processDefinitionKey = processDefinitionKey_example; // String | 
        try {
            HvlResponseHvlBpmnProcessInstanceModel result = apiInstance.startProcessInstanceByKey(body, processDefinitionKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BpmnTransactionalPublicAPIApi#startProcessInstanceByKey");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BpmnTransactionalPublicAPIApi;

public class BpmnTransactionalPublicAPIApiExample {

    public static void main(String[] args) {
        BpmnTransactionalPublicAPIApi apiInstance = new BpmnTransactionalPublicAPIApi();
        HvlBpmnStartProcessInstanceModel body = ; // HvlBpmnStartProcessInstanceModel | 
        String processDefinitionKey = processDefinitionKey_example; // String | 
        try {
            HvlResponseHvlBpmnProcessInstanceModel result = apiInstance.startProcessInstanceByKey(body, processDefinitionKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BpmnTransactionalPublicAPIApi#startProcessInstanceByKey");
            e.printStackTrace();
        }
    }
}
HvlBpmnStartProcessInstanceModel *body = ; // 
String *processDefinitionKey = processDefinitionKey_example; // 

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

// Start process instance which includes distributed transaction sub activity by process definition key.
[apiInstance startProcessInstanceByKeyWith:body
    processDefinitionKey:processDefinitionKey
              completionHandler: ^(HvlResponseHvlBpmnProcessInstanceModel output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlBpmnEngineServer = require('hvl_bpmn_engine_server');

var api = new HvlBpmnEngineServer.BpmnTransactionalPublicAPIApi()
var body = ; // {{HvlBpmnStartProcessInstanceModel}} 
var processDefinitionKey = processDefinitionKey_example; // {{String}} 

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

namespace Example
{
    public class startProcessInstanceByKeyExample
    {
        public void main()
        {

            var apiInstance = new BpmnTransactionalPublicAPIApi();
            var body = new HvlBpmnStartProcessInstanceModel(); // HvlBpmnStartProcessInstanceModel | 
            var processDefinitionKey = processDefinitionKey_example;  // String | 

            try
            {
                // Start process instance which includes distributed transaction sub activity by process definition key.
                HvlResponseHvlBpmnProcessInstanceModel result = apiInstance.startProcessInstanceByKey(body, processDefinitionKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BpmnTransactionalPublicAPIApi.startProcessInstanceByKey: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiBpmnTransactionalPublicAPIApi();
$body = ; // HvlBpmnStartProcessInstanceModel | 
$processDefinitionKey = processDefinitionKey_example; // String | 

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

my $api_instance = WWW::SwaggerClient::BpmnTransactionalPublicAPIApi->new();
my $body = WWW::SwaggerClient::Object::HvlBpmnStartProcessInstanceModel->new(); # HvlBpmnStartProcessInstanceModel | 
my $processDefinitionKey = processDefinitionKey_example; # String | 

eval { 
    my $result = $api_instance->startProcessInstanceByKey(body => $body, processDefinitionKey => $processDefinitionKey);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BpmnTransactionalPublicAPIApi->startProcessInstanceByKey: $@\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.BpmnTransactionalPublicAPIApi()
body =  # HvlBpmnStartProcessInstanceModel | 
processDefinitionKey = processDefinitionKey_example # String | 

try: 
    # Start process instance which includes distributed transaction sub activity by process definition key.
    api_response = api_instance.start_process_instance_by_key(body, processDefinitionKey)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BpmnTransactionalPublicAPIApi->startProcessInstanceByKey: %s\n" % e)

Parameters

Path parameters
Name Description
processDefinitionKey*
String
Required
Body parameters
Name Description
body *

Responses

Status: 200 - OK


startRollback

Starts distributed transaction rollback step.


/transactional/start-rollback/business-key/{businessKey}

Usage and SDK Samples

curl -X POST\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"http://keysys.hvlnet.net:6080/transactional/start-rollback/business-key/{businessKey}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BpmnTransactionalPublicAPIApi;

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

public class BpmnTransactionalPublicAPIApiExample {

    public static void main(String[] args) {
        
        BpmnTransactionalPublicAPIApi apiInstance = new BpmnTransactionalPublicAPIApi();
        map[String, Object] body = ; // map[String, Object] | 
        String businessKey = businessKey_example; // String | 
        try {
            HvlResponseVoid result = apiInstance.startRollback(body, businessKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BpmnTransactionalPublicAPIApi#startRollback");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BpmnTransactionalPublicAPIApi;

public class BpmnTransactionalPublicAPIApiExample {

    public static void main(String[] args) {
        BpmnTransactionalPublicAPIApi apiInstance = new BpmnTransactionalPublicAPIApi();
        map[String, Object] body = ; // map[String, Object] | 
        String businessKey = businessKey_example; // String | 
        try {
            HvlResponseVoid result = apiInstance.startRollback(body, businessKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BpmnTransactionalPublicAPIApi#startRollback");
            e.printStackTrace();
        }
    }
}
map[String, Object] *body = ; // 
String *businessKey = businessKey_example; // 

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

// Starts distributed transaction rollback step.
[apiInstance startRollbackWith:body
    businessKey:businessKey
              completionHandler: ^(HvlResponseVoid output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlBpmnEngineServer = require('hvl_bpmn_engine_server');

var api = new HvlBpmnEngineServer.BpmnTransactionalPublicAPIApi()
var body = ; // {{map[String, Object]}} 
var businessKey = businessKey_example; // {{String}} 

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

namespace Example
{
    public class startRollbackExample
    {
        public void main()
        {

            var apiInstance = new BpmnTransactionalPublicAPIApi();
            var body = new map[String, Object](); // map[String, Object] | 
            var businessKey = businessKey_example;  // String | 

            try
            {
                // Starts distributed transaction rollback step.
                HvlResponseVoid result = apiInstance.startRollback(body, businessKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BpmnTransactionalPublicAPIApi.startRollback: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiBpmnTransactionalPublicAPIApi();
$body = ; // map[String, Object] | 
$businessKey = businessKey_example; // String | 

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

my $api_instance = WWW::SwaggerClient::BpmnTransactionalPublicAPIApi->new();
my $body = WWW::SwaggerClient::Object::map[String, Object]->new(); # map[String, Object] | 
my $businessKey = businessKey_example; # String | 

eval { 
    my $result = $api_instance->startRollback(body => $body, businessKey => $businessKey);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BpmnTransactionalPublicAPIApi->startRollback: $@\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.BpmnTransactionalPublicAPIApi()
body =  # map[String, Object] | 
businessKey = businessKey_example # String | 

try: 
    # Starts distributed transaction rollback step.
    api_response = api_instance.start_rollback(body, businessKey)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BpmnTransactionalPublicAPIApi->startRollback: %s\n" % e)

Parameters

Path parameters
Name Description
businessKey*
String
Required
Body parameters
Name Description
body *

Responses

Status: 200 - OK