getActivityInstanceDetail
Get activity instance details for given process instance ID
/so/monitoring/activity-instance/{processInstanceId}
Usage and SDK Samples
curl -X GET "http://localhost/so/monitoring/activity-instance/{processInstanceId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.GetActivityInstanceDetailApi;
import java.io.File;
import java.util.*;
public class GetActivityInstanceDetailApiExample {
public static void main(String[] args) {
GetActivityInstanceDetailApi apiInstance = new GetActivityInstanceDetailApi();
String processInstanceId = processInstanceId_example; // String |
try {
array[inline_response_200_3] result = apiInstance.getActivityInstanceDetail(processInstanceId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling GetActivityInstanceDetailApi#getActivityInstanceDetail");
e.printStackTrace();
}
}
}
import io.swagger.client.api.GetActivityInstanceDetailApi;
public class GetActivityInstanceDetailApiExample {
public static void main(String[] args) {
GetActivityInstanceDetailApi apiInstance = new GetActivityInstanceDetailApi();
String processInstanceId = processInstanceId_example; // String |
try {
array[inline_response_200_3] result = apiInstance.getActivityInstanceDetail(processInstanceId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling GetActivityInstanceDetailApi#getActivityInstanceDetail");
e.printStackTrace();
}
}
}
String *processInstanceId = processInstanceId_example; //
GetActivityInstanceDetailApi *apiInstance = [[GetActivityInstanceDetailApi alloc] init];
// Get activity instance details for given process instance ID
[apiInstance getActivityInstanceDetailWith:processInstanceId
completionHandler: ^(array[inline_response_200_3] output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
if (error) {
NSLog(@"Error: %@", error);
}
}];
var SoMonitoringApIs = require('so_monitoring_ap_is');
var api = new SoMonitoringApIs.GetActivityInstanceDetailApi()
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.getActivityInstanceDetail(processInstanceId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class getActivityInstanceDetailExample
{
public void main()
{
var apiInstance = new GetActivityInstanceDetailApi();
var processInstanceId = processInstanceId_example; // String |
try
{
// Get activity instance details for given process instance ID
array[inline_response_200_3] result = apiInstance.getActivityInstanceDetail(processInstanceId);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling GetActivityInstanceDetailApi.getActivityInstanceDetail: " + e.Message );
}
}
}
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\Api\GetActivityInstanceDetailApi();
$processInstanceId = processInstanceId_example; // String |
try {
$result = $api_instance->getActivityInstanceDetail($processInstanceId);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling GetActivityInstanceDetailApi->getActivityInstanceDetail: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::GetActivityInstanceDetailApi;
my $api_instance = WWW::SwaggerClient::GetActivityInstanceDetailApi->new();
my $processInstanceId = processInstanceId_example; # String |
eval {
my $result = $api_instance->getActivityInstanceDetail(processInstanceId => $processInstanceId);
print Dumper($result);
};
if ($@) {
warn "Exception when calling GetActivityInstanceDetailApi->getActivityInstanceDetail: $@\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.GetActivityInstanceDetailApi()
processInstanceId = processInstanceId_example # String |
try:
# Get activity instance details for given process instance ID
api_response = api_instance.get_activity_instance_detail(processInstanceId)
pprint(api_response)
except ApiException as e:
print("Exception when calling GetActivityInstanceDetailApi->getActivityInstanceDetail: %s\n" % e)
Parameters
Path parameters
Name | Description |
---|---|
processInstanceId* |
String
Required
|