Mod Scheduler API

Default

createSchedulerTimers

Create timer for a module


/scheduler/timers

Usage and SDK Samples

curl -X POST \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "http://localhost:8081/scheduler/timers" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

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

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        TimerDescriptor timerDescriptor = ; // TimerDescriptor | 

        try {
            timerDescriptor result = apiInstance.createSchedulerTimers(timerDescriptor);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#createSchedulerTimers");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final TimerDescriptor timerDescriptor = new TimerDescriptor(); // TimerDescriptor | 

try {
    final result = await api_instance.createSchedulerTimers(timerDescriptor);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->createSchedulerTimers: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        TimerDescriptor timerDescriptor = ; // TimerDescriptor | 

        try {
            timerDescriptor result = apiInstance.createSchedulerTimers(timerDescriptor);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#createSchedulerTimers");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
TimerDescriptor *timerDescriptor = ; //  (optional)

[apiInstance createSchedulerTimersWith:timerDescriptor
              completionHandler: ^(timerDescriptor output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var ModSchedulerApi = require('mod_scheduler_api');

// Create an instance of the API class
var api = new ModSchedulerApi.DefaultApi()
var opts = {
  'timerDescriptor':  // {TimerDescriptor} 
};

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

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

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var timerDescriptor = new TimerDescriptor(); // TimerDescriptor |  (optional) 

            try {
                timerDescriptor result = apiInstance.createSchedulerTimers(timerDescriptor);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.createSchedulerTimers: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$timerDescriptor = ; // TimerDescriptor | 

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

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $timerDescriptor = WWW::OPenAPIClient::Object::TimerDescriptor->new(); # TimerDescriptor | 

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

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
timerDescriptor =  # TimerDescriptor |  (optional)

try:
    api_response = api_instance.create_scheduler_timers(timerDescriptor=timerDescriptor)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->createSchedulerTimers: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let timerDescriptor = ; // TimerDescriptor

    let mut context = DefaultApi::Context::default();
    let result = client.createSchedulerTimers(timerDescriptor, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
Name Description
timerDescriptor

Responses


deleteSchedulerTimerById

delete scheduler timer by id


/scheduler/timers/{id}

Usage and SDK Samples

curl -X DELETE \
 -H "Accept: application/json" \
 "http://localhost:8081/scheduler/timers/{id}"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

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

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | Entity/document id

        try {
            apiInstance.deleteSchedulerTimerById(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deleteSchedulerTimerById");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final UUID id = new UUID(); // UUID | Entity/document id

try {
    final result = await api_instance.deleteSchedulerTimerById(id);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->deleteSchedulerTimerById: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | Entity/document id

        try {
            apiInstance.deleteSchedulerTimerById(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deleteSchedulerTimerById");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // Entity/document id (default to null)

[apiInstance deleteSchedulerTimerByIdWith:id
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var ModSchedulerApi = require('mod_scheduler_api');

// Create an instance of the API class
var api = new ModSchedulerApi.DefaultApi()
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} Entity/document id

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

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

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d;  // UUID | Entity/document id (default to null)

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

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | Entity/document id

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

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | Entity/document id

eval {
    $api_instance->deleteSchedulerTimerById(id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->deleteSchedulerTimerById: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | Entity/document id (default to null)

try:
    api_instance.delete_scheduler_timer_by_id(id)
except ApiException as e:
    print("Exception when calling DefaultApi->deleteSchedulerTimerById: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.deleteSchedulerTimerById(id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
UUID (uuid)
Entity/document id
Required

Responses


getSchedulerTimerById

Retrieve scheduler timer by id


/scheduler/timers/{id}

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json" \
 "http://localhost:8081/scheduler/timers/{id}"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

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

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | Entity/document id

        try {
            timerDescriptor result = apiInstance.getSchedulerTimerById(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getSchedulerTimerById");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final UUID id = new UUID(); // UUID | Entity/document id

try {
    final result = await api_instance.getSchedulerTimerById(id);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->getSchedulerTimerById: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | Entity/document id

        try {
            timerDescriptor result = apiInstance.getSchedulerTimerById(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getSchedulerTimerById");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // Entity/document id (default to null)

[apiInstance getSchedulerTimerByIdWith:id
              completionHandler: ^(timerDescriptor output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var ModSchedulerApi = require('mod_scheduler_api');

// Create an instance of the API class
var api = new ModSchedulerApi.DefaultApi()
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} Entity/document id

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

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

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d;  // UUID | Entity/document id (default to null)

            try {
                timerDescriptor result = apiInstance.getSchedulerTimerById(id);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.getSchedulerTimerById: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | Entity/document id

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

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | Entity/document id

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

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | Entity/document id (default to null)

try:
    api_response = api_instance.get_scheduler_timer_by_id(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->getSchedulerTimerById: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.getSchedulerTimerById(id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
UUID (uuid)
Entity/document id
Required

Responses


getSchedulerTimers

Retrieve timer list


/scheduler/timers

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json" \
 "http://localhost:8081/scheduler/timers?offset=56&limit=56"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

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

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Integer offset = 56; // Integer | Skip over a number of elements by specifying an offset value for the query.
        Integer limit = 56; // Integer | Limit the number of elements returned in the response.

        try {
            timerDescriptorList result = apiInstance.getSchedulerTimers(offset, limit);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getSchedulerTimers");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Integer offset = new Integer(); // Integer | Skip over a number of elements by specifying an offset value for the query.
final Integer limit = new Integer(); // Integer | Limit the number of elements returned in the response.

try {
    final result = await api_instance.getSchedulerTimers(offset, limit);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->getSchedulerTimers: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Integer offset = 56; // Integer | Skip over a number of elements by specifying an offset value for the query.
        Integer limit = 56; // Integer | Limit the number of elements returned in the response.

        try {
            timerDescriptorList result = apiInstance.getSchedulerTimers(offset, limit);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getSchedulerTimers");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Integer *offset = 56; // Skip over a number of elements by specifying an offset value for the query. (optional) (default to 0)
Integer *limit = 56; // Limit the number of elements returned in the response. (optional) (default to 10)

[apiInstance getSchedulerTimersWith:offset
    limit:limit
              completionHandler: ^(timerDescriptorList output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var ModSchedulerApi = require('mod_scheduler_api');

// Create an instance of the API class
var api = new ModSchedulerApi.DefaultApi()
var opts = {
  'offset': 56, // {Integer} Skip over a number of elements by specifying an offset value for the query.
  'limit': 56 // {Integer} Limit the number of elements returned in the response.
};

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

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

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var offset = 56;  // Integer | Skip over a number of elements by specifying an offset value for the query. (optional)  (default to 0)
            var limit = 56;  // Integer | Limit the number of elements returned in the response. (optional)  (default to 10)

            try {
                timerDescriptorList result = apiInstance.getSchedulerTimers(offset, limit);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.getSchedulerTimers: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$offset = 56; // Integer | Skip over a number of elements by specifying an offset value for the query.
$limit = 56; // Integer | Limit the number of elements returned in the response.

try {
    $result = $api_instance->getSchedulerTimers($offset, $limit);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->getSchedulerTimers: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $offset = 56; # Integer | Skip over a number of elements by specifying an offset value for the query.
my $limit = 56; # Integer | Limit the number of elements returned in the response.

eval {
    my $result = $api_instance->getSchedulerTimers(offset => $offset, limit => $limit);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->getSchedulerTimers: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
offset = 56 # Integer | Skip over a number of elements by specifying an offset value for the query. (optional) (default to 0)
limit = 56 # Integer | Limit the number of elements returned in the response. (optional) (default to 10)

try:
    api_response = api_instance.get_scheduler_timers(offset=offset, limit=limit)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->getSchedulerTimers: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let offset = 56; // Integer
    let limit = 56; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.getSchedulerTimers(offset, limit, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
Name Description
offset
Integer
Skip over a number of elements by specifying an offset value for the query.
limit
Integer
Limit the number of elements returned in the response.

Responses


updateSchedulerTimerById

Update scheduler timer by id


/scheduler/timers/{id}

Usage and SDK Samples

curl -X PUT \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "http://localhost:8081/scheduler/timers/{id}" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

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

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | Entity/document id
        TimerDescriptor timerDescriptor = ; // TimerDescriptor | 

        try {
            timerDescriptor result = apiInstance.updateSchedulerTimerById(id, timerDescriptor);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#updateSchedulerTimerById");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final UUID id = new UUID(); // UUID | Entity/document id
final TimerDescriptor timerDescriptor = new TimerDescriptor(); // TimerDescriptor | 

try {
    final result = await api_instance.updateSchedulerTimerById(id, timerDescriptor);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->updateSchedulerTimerById: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | Entity/document id
        TimerDescriptor timerDescriptor = ; // TimerDescriptor | 

        try {
            timerDescriptor result = apiInstance.updateSchedulerTimerById(id, timerDescriptor);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#updateSchedulerTimerById");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // Entity/document id (default to null)
TimerDescriptor *timerDescriptor = ; //  (optional)

[apiInstance updateSchedulerTimerByIdWith:id
    timerDescriptor:timerDescriptor
              completionHandler: ^(timerDescriptor output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var ModSchedulerApi = require('mod_scheduler_api');

// Create an instance of the API class
var api = new ModSchedulerApi.DefaultApi()
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} Entity/document id
var opts = {
  'timerDescriptor':  // {TimerDescriptor} 
};

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

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

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d;  // UUID | Entity/document id (default to null)
            var timerDescriptor = new TimerDescriptor(); // TimerDescriptor |  (optional) 

            try {
                timerDescriptor result = apiInstance.updateSchedulerTimerById(id, timerDescriptor);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.updateSchedulerTimerById: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | Entity/document id
$timerDescriptor = ; // TimerDescriptor | 

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

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | Entity/document id
my $timerDescriptor = WWW::OPenAPIClient::Object::TimerDescriptor->new(); # TimerDescriptor | 

eval {
    my $result = $api_instance->updateSchedulerTimerById(id => $id, timerDescriptor => $timerDescriptor);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->updateSchedulerTimerById: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | Entity/document id (default to null)
timerDescriptor =  # TimerDescriptor |  (optional)

try:
    api_response = api_instance.update_scheduler_timer_by_id(id, timerDescriptor=timerDescriptor)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->updateSchedulerTimerById: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let timerDescriptor = ; // TimerDescriptor

    let mut context = DefaultApi::Context::default();
    let result = client.updateSchedulerTimerById(id, timerDescriptor, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
UUID (uuid)
Entity/document id
Required
Body parameters
Name Description
timerDescriptor

Responses