AS Server - API - ScheduledTasks

Default

scheduledTaskDelete

ScheduledTask_Delete


/ScheduledTasks/ScheduledTask/Delete/{id}

Usage and SDK Samples

curl -X DELETE \
 -H "Accept: application/json,text/json,application/xml,text/xml" \
 "https://api.dev.spenda.co/api/ScheduledTasks/ScheduledTask/Delete/{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();
        Integer id = 56; // Integer | Format - int32.

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

final api_instance = DefaultApi();

final Integer id = new Integer(); // Integer | Format - int32.

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

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Integer id = 56; // Integer | Format - int32.

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


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Integer *id = 56; // Format - int32. (default to null)

// ScheduledTask_Delete
[apiInstance scheduledTaskDeleteWith:id
              completionHandler: ^(ActionResults output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiScheduledTasks = require('as_server_api_scheduled_tasks');

// Create an instance of the API class
var api = new AsServerApiScheduledTasks.DefaultApi()
var id = 56; // {Integer} Format - int32.

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

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

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = 56;  // Integer | Format - int32. (default to null)

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

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = 56; // Integer | Format - int32.

try {
    $result = $api_instance->scheduledTaskDelete($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->scheduledTaskDelete: ', $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 = 56; # Integer | Format - int32.

eval {
    my $result = $api_instance->scheduledTaskDelete(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->scheduledTaskDelete: $@\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 = 56 # Integer | Format - int32. (default to null)

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

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

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

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

Scopes

Parameters

Path parameters
Name Description
id*
Integer (int32)
Format - int32.
Required

Responses


scheduledTaskGet

ScheduledTask_Get


/ScheduledTasks/

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json,text/json,application/xml,text/xml" \
 "https://api.dev.spenda.co/api/ScheduledTasks/?filter.statuses=&filter.statusStrings=&filter.status=&filter.searchString=filterPeriodsearchString_example&filter.searchNameOnly=true&filter.search=filterPeriodsearch_example&filter.startDate=2013-10-20T19:20:30+01:00&filter.endDate=2013-10-20T19:20:30+01:00&filter.datePeriod=filterPerioddatePeriod_example&filter.isExactMatch=true&filter.isGetBasicInfo=true&filter.includeDeleted=true&filter.includeLogs=true&filter.ignoreID=56&filter.parentID=56&filter.getCountOnly=true&filter.transactionTypeDatTypeID=56&filter.categoryID=56&filter.adaptorID=56&filter.categoryIDs=&filter.brandIDs=&filter.iDs=&filter.gUIDs=&filter.linkedSupplierID=56&filter.isApprovedForPOS=true&filter.isApprovedForWeb=true&filter.isApprovedForService=true&filter.iD=56&filter.isHierarchicalSort=true&filter.types=&filter.isShowFavourites=true&filter.isHidden=true&filter.includeSystemTasks=true&filter.isSystem=true&filter.batchStatus=filterPeriodbatchStatus_example&filter.sortField=filterPeriodsortField_example&filter.sortAsc=true&filter.groupBy=filterPeriodgroupBy_example&filter.lastRowNumber=789&filter.maxResults=56&filter.tenantID=56&filter.websiteID=56&filter.userID=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();
        array[Integer] filterPeriodstatuses = ; // array[Integer] | 
        array[String] filterPeriodstatusStrings = ; // array[String] | 
        array[String] filterPeriodstatus = ; // array[String] | 
        String filterPeriodsearchString = filterPeriodsearchString_example; // String | 
        Boolean filterPeriodsearchNameOnly = true; // Boolean | 
        String filterPeriodsearch = filterPeriodsearch_example; // String | 
        Date filterPeriodstartDate = 2013-10-20T19:20:30+01:00; // Date | Format - date-time (as date-time in RFC3339).
        Date filterPeriodendDate = 2013-10-20T19:20:30+01:00; // Date | Format - date-time (as date-time in RFC3339).
        String filterPerioddatePeriod = filterPerioddatePeriod_example; // String | 
        Boolean filterPeriodisExactMatch = true; // Boolean | 
        Boolean filterPeriodisGetBasicInfo = true; // Boolean | 
        Boolean filterPeriodincludeDeleted = true; // Boolean | 
        Boolean filterPeriodincludeLogs = true; // Boolean | 
        Integer filterPeriodignoreID = 56; // Integer | Format - int32.
        Integer filterPeriodparentID = 56; // Integer | Format - int32.
        Boolean filterPeriodgetCountOnly = true; // Boolean | 
        Integer filterPeriodtransactionTypeDatTypeID = 56; // Integer | Format - int32.
        Integer filterPeriodcategoryID = 56; // Integer | Format - int32.
        Integer filterPeriodadaptorID = 56; // Integer | Format - int32.
        array[Integer] filterPeriodcategoryIDs = ; // array[Integer] | 
        array[Integer] filterPeriodbrandIDs = ; // array[Integer] | 
        array[Integer] filterPeriodiDs = ; // array[Integer] | 
        array[String] filterPeriodgUIDs = ; // array[String] | 
        Integer filterPeriodlinkedSupplierID = 56; // Integer | Format - int32.
        Boolean filterPeriodisApprovedForPOS = true; // Boolean | 
        Boolean filterPeriodisApprovedForWeb = true; // Boolean | 
        Boolean filterPeriodisApprovedForService = true; // Boolean | 
        Integer filterPeriodiD = 56; // Integer | Format - int32.
        Boolean filterPeriodisHierarchicalSort = true; // Boolean | 
        array[String] filterPeriodtypes = ; // array[String] | 
        Boolean filterPeriodisShowFavourites = true; // Boolean | 
        Boolean filterPeriodisHidden = true; // Boolean | 
        Boolean filterPeriodincludeSystemTasks = true; // Boolean | 
        Boolean filterPeriodisSystem = true; // Boolean | 
        String filterPeriodbatchStatus = filterPeriodbatchStatus_example; // String | 
        String filterPeriodsortField = filterPeriodsortField_example; // String | 
        Boolean filterPeriodsortAsc = true; // Boolean | 
        String filterPeriodgroupBy = filterPeriodgroupBy_example; // String | 
        Long filterPeriodlastRowNumber = 789; // Long | Format - int64.
        Integer filterPeriodmaxResults = 56; // Integer | Format - int32.
        Integer filterPeriodtenantID = 56; // Integer | Format - int32.
        Integer filterPeriodwebsiteID = 56; // Integer | Format - int32.
        Integer filterPerioduserID = 56; // Integer | Format - int32.

        try {
            PagedCollection_ScheduledTaskInfo_ result = apiInstance.scheduledTaskGet(filterPeriodstatuses, filterPeriodstatusStrings, filterPeriodstatus, filterPeriodsearchString, filterPeriodsearchNameOnly, filterPeriodsearch, filterPeriodstartDate, filterPeriodendDate, filterPerioddatePeriod, filterPeriodisExactMatch, filterPeriodisGetBasicInfo, filterPeriodincludeDeleted, filterPeriodincludeLogs, filterPeriodignoreID, filterPeriodparentID, filterPeriodgetCountOnly, filterPeriodtransactionTypeDatTypeID, filterPeriodcategoryID, filterPeriodadaptorID, filterPeriodcategoryIDs, filterPeriodbrandIDs, filterPeriodiDs, filterPeriodgUIDs, filterPeriodlinkedSupplierID, filterPeriodisApprovedForPOS, filterPeriodisApprovedForWeb, filterPeriodisApprovedForService, filterPeriodiD, filterPeriodisHierarchicalSort, filterPeriodtypes, filterPeriodisShowFavourites, filterPeriodisHidden, filterPeriodincludeSystemTasks, filterPeriodisSystem, filterPeriodbatchStatus, filterPeriodsortField, filterPeriodsortAsc, filterPeriodgroupBy, filterPeriodlastRowNumber, filterPeriodmaxResults, filterPeriodtenantID, filterPeriodwebsiteID, filterPerioduserID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#scheduledTaskGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final array[Integer] filterPeriodstatuses = new array[Integer](); // array[Integer] | 
final array[String] filterPeriodstatusStrings = new array[String](); // array[String] | 
final array[String] filterPeriodstatus = new array[String](); // array[String] | 
final String filterPeriodsearchString = new String(); // String | 
final Boolean filterPeriodsearchNameOnly = new Boolean(); // Boolean | 
final String filterPeriodsearch = new String(); // String | 
final Date filterPeriodstartDate = new Date(); // Date | Format - date-time (as date-time in RFC3339).
final Date filterPeriodendDate = new Date(); // Date | Format - date-time (as date-time in RFC3339).
final String filterPerioddatePeriod = new String(); // String | 
final Boolean filterPeriodisExactMatch = new Boolean(); // Boolean | 
final Boolean filterPeriodisGetBasicInfo = new Boolean(); // Boolean | 
final Boolean filterPeriodincludeDeleted = new Boolean(); // Boolean | 
final Boolean filterPeriodincludeLogs = new Boolean(); // Boolean | 
final Integer filterPeriodignoreID = new Integer(); // Integer | Format - int32.
final Integer filterPeriodparentID = new Integer(); // Integer | Format - int32.
final Boolean filterPeriodgetCountOnly = new Boolean(); // Boolean | 
final Integer filterPeriodtransactionTypeDatTypeID = new Integer(); // Integer | Format - int32.
final Integer filterPeriodcategoryID = new Integer(); // Integer | Format - int32.
final Integer filterPeriodadaptorID = new Integer(); // Integer | Format - int32.
final array[Integer] filterPeriodcategoryIDs = new array[Integer](); // array[Integer] | 
final array[Integer] filterPeriodbrandIDs = new array[Integer](); // array[Integer] | 
final array[Integer] filterPeriodiDs = new array[Integer](); // array[Integer] | 
final array[String] filterPeriodgUIDs = new array[String](); // array[String] | 
final Integer filterPeriodlinkedSupplierID = new Integer(); // Integer | Format - int32.
final Boolean filterPeriodisApprovedForPOS = new Boolean(); // Boolean | 
final Boolean filterPeriodisApprovedForWeb = new Boolean(); // Boolean | 
final Boolean filterPeriodisApprovedForService = new Boolean(); // Boolean | 
final Integer filterPeriodiD = new Integer(); // Integer | Format - int32.
final Boolean filterPeriodisHierarchicalSort = new Boolean(); // Boolean | 
final array[String] filterPeriodtypes = new array[String](); // array[String] | 
final Boolean filterPeriodisShowFavourites = new Boolean(); // Boolean | 
final Boolean filterPeriodisHidden = new Boolean(); // Boolean | 
final Boolean filterPeriodincludeSystemTasks = new Boolean(); // Boolean | 
final Boolean filterPeriodisSystem = new Boolean(); // Boolean | 
final String filterPeriodbatchStatus = new String(); // String | 
final String filterPeriodsortField = new String(); // String | 
final Boolean filterPeriodsortAsc = new Boolean(); // Boolean | 
final String filterPeriodgroupBy = new String(); // String | 
final Long filterPeriodlastRowNumber = new Long(); // Long | Format - int64.
final Integer filterPeriodmaxResults = new Integer(); // Integer | Format - int32.
final Integer filterPeriodtenantID = new Integer(); // Integer | Format - int32.
final Integer filterPeriodwebsiteID = new Integer(); // Integer | Format - int32.
final Integer filterPerioduserID = new Integer(); // Integer | Format - int32.

try {
    final result = await api_instance.scheduledTaskGet(filterPeriodstatuses, filterPeriodstatusStrings, filterPeriodstatus, filterPeriodsearchString, filterPeriodsearchNameOnly, filterPeriodsearch, filterPeriodstartDate, filterPeriodendDate, filterPerioddatePeriod, filterPeriodisExactMatch, filterPeriodisGetBasicInfo, filterPeriodincludeDeleted, filterPeriodincludeLogs, filterPeriodignoreID, filterPeriodparentID, filterPeriodgetCountOnly, filterPeriodtransactionTypeDatTypeID, filterPeriodcategoryID, filterPeriodadaptorID, filterPeriodcategoryIDs, filterPeriodbrandIDs, filterPeriodiDs, filterPeriodgUIDs, filterPeriodlinkedSupplierID, filterPeriodisApprovedForPOS, filterPeriodisApprovedForWeb, filterPeriodisApprovedForService, filterPeriodiD, filterPeriodisHierarchicalSort, filterPeriodtypes, filterPeriodisShowFavourites, filterPeriodisHidden, filterPeriodincludeSystemTasks, filterPeriodisSystem, filterPeriodbatchStatus, filterPeriodsortField, filterPeriodsortAsc, filterPeriodgroupBy, filterPeriodlastRowNumber, filterPeriodmaxResults, filterPeriodtenantID, filterPeriodwebsiteID, filterPerioduserID);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->scheduledTaskGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        array[Integer] filterPeriodstatuses = ; // array[Integer] | 
        array[String] filterPeriodstatusStrings = ; // array[String] | 
        array[String] filterPeriodstatus = ; // array[String] | 
        String filterPeriodsearchString = filterPeriodsearchString_example; // String | 
        Boolean filterPeriodsearchNameOnly = true; // Boolean | 
        String filterPeriodsearch = filterPeriodsearch_example; // String | 
        Date filterPeriodstartDate = 2013-10-20T19:20:30+01:00; // Date | Format - date-time (as date-time in RFC3339).
        Date filterPeriodendDate = 2013-10-20T19:20:30+01:00; // Date | Format - date-time (as date-time in RFC3339).
        String filterPerioddatePeriod = filterPerioddatePeriod_example; // String | 
        Boolean filterPeriodisExactMatch = true; // Boolean | 
        Boolean filterPeriodisGetBasicInfo = true; // Boolean | 
        Boolean filterPeriodincludeDeleted = true; // Boolean | 
        Boolean filterPeriodincludeLogs = true; // Boolean | 
        Integer filterPeriodignoreID = 56; // Integer | Format - int32.
        Integer filterPeriodparentID = 56; // Integer | Format - int32.
        Boolean filterPeriodgetCountOnly = true; // Boolean | 
        Integer filterPeriodtransactionTypeDatTypeID = 56; // Integer | Format - int32.
        Integer filterPeriodcategoryID = 56; // Integer | Format - int32.
        Integer filterPeriodadaptorID = 56; // Integer | Format - int32.
        array[Integer] filterPeriodcategoryIDs = ; // array[Integer] | 
        array[Integer] filterPeriodbrandIDs = ; // array[Integer] | 
        array[Integer] filterPeriodiDs = ; // array[Integer] | 
        array[String] filterPeriodgUIDs = ; // array[String] | 
        Integer filterPeriodlinkedSupplierID = 56; // Integer | Format - int32.
        Boolean filterPeriodisApprovedForPOS = true; // Boolean | 
        Boolean filterPeriodisApprovedForWeb = true; // Boolean | 
        Boolean filterPeriodisApprovedForService = true; // Boolean | 
        Integer filterPeriodiD = 56; // Integer | Format - int32.
        Boolean filterPeriodisHierarchicalSort = true; // Boolean | 
        array[String] filterPeriodtypes = ; // array[String] | 
        Boolean filterPeriodisShowFavourites = true; // Boolean | 
        Boolean filterPeriodisHidden = true; // Boolean | 
        Boolean filterPeriodincludeSystemTasks = true; // Boolean | 
        Boolean filterPeriodisSystem = true; // Boolean | 
        String filterPeriodbatchStatus = filterPeriodbatchStatus_example; // String | 
        String filterPeriodsortField = filterPeriodsortField_example; // String | 
        Boolean filterPeriodsortAsc = true; // Boolean | 
        String filterPeriodgroupBy = filterPeriodgroupBy_example; // String | 
        Long filterPeriodlastRowNumber = 789; // Long | Format - int64.
        Integer filterPeriodmaxResults = 56; // Integer | Format - int32.
        Integer filterPeriodtenantID = 56; // Integer | Format - int32.
        Integer filterPeriodwebsiteID = 56; // Integer | Format - int32.
        Integer filterPerioduserID = 56; // Integer | Format - int32.

        try {
            PagedCollection_ScheduledTaskInfo_ result = apiInstance.scheduledTaskGet(filterPeriodstatuses, filterPeriodstatusStrings, filterPeriodstatus, filterPeriodsearchString, filterPeriodsearchNameOnly, filterPeriodsearch, filterPeriodstartDate, filterPeriodendDate, filterPerioddatePeriod, filterPeriodisExactMatch, filterPeriodisGetBasicInfo, filterPeriodincludeDeleted, filterPeriodincludeLogs, filterPeriodignoreID, filterPeriodparentID, filterPeriodgetCountOnly, filterPeriodtransactionTypeDatTypeID, filterPeriodcategoryID, filterPeriodadaptorID, filterPeriodcategoryIDs, filterPeriodbrandIDs, filterPeriodiDs, filterPeriodgUIDs, filterPeriodlinkedSupplierID, filterPeriodisApprovedForPOS, filterPeriodisApprovedForWeb, filterPeriodisApprovedForService, filterPeriodiD, filterPeriodisHierarchicalSort, filterPeriodtypes, filterPeriodisShowFavourites, filterPeriodisHidden, filterPeriodincludeSystemTasks, filterPeriodisSystem, filterPeriodbatchStatus, filterPeriodsortField, filterPeriodsortAsc, filterPeriodgroupBy, filterPeriodlastRowNumber, filterPeriodmaxResults, filterPeriodtenantID, filterPeriodwebsiteID, filterPerioduserID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#scheduledTaskGet");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
array[Integer] *filterPeriodstatuses = ; //  (optional) (default to null)
array[String] *filterPeriodstatusStrings = ; //  (optional) (default to null)
array[String] *filterPeriodstatus = ; //  (optional) (default to null)
String *filterPeriodsearchString = filterPeriodsearchString_example; //  (optional) (default to null)
Boolean *filterPeriodsearchNameOnly = true; //  (optional) (default to null)
String *filterPeriodsearch = filterPeriodsearch_example; //  (optional) (default to null)
Date *filterPeriodstartDate = 2013-10-20T19:20:30+01:00; // Format - date-time (as date-time in RFC3339). (optional) (default to null)
Date *filterPeriodendDate = 2013-10-20T19:20:30+01:00; // Format - date-time (as date-time in RFC3339). (optional) (default to null)
String *filterPerioddatePeriod = filterPerioddatePeriod_example; //  (optional) (default to null)
Boolean *filterPeriodisExactMatch = true; //  (optional) (default to null)
Boolean *filterPeriodisGetBasicInfo = true; //  (optional) (default to null)
Boolean *filterPeriodincludeDeleted = true; //  (optional) (default to null)
Boolean *filterPeriodincludeLogs = true; //  (optional) (default to null)
Integer *filterPeriodignoreID = 56; // Format - int32. (optional) (default to null)
Integer *filterPeriodparentID = 56; // Format - int32. (optional) (default to null)
Boolean *filterPeriodgetCountOnly = true; //  (optional) (default to null)
Integer *filterPeriodtransactionTypeDatTypeID = 56; // Format - int32. (optional) (default to null)
Integer *filterPeriodcategoryID = 56; // Format - int32. (optional) (default to null)
Integer *filterPeriodadaptorID = 56; // Format - int32. (optional) (default to null)
array[Integer] *filterPeriodcategoryIDs = ; //  (optional) (default to null)
array[Integer] *filterPeriodbrandIDs = ; //  (optional) (default to null)
array[Integer] *filterPeriodiDs = ; //  (optional) (default to null)
array[String] *filterPeriodgUIDs = ; //  (optional) (default to null)
Integer *filterPeriodlinkedSupplierID = 56; // Format - int32. (optional) (default to null)
Boolean *filterPeriodisApprovedForPOS = true; //  (optional) (default to null)
Boolean *filterPeriodisApprovedForWeb = true; //  (optional) (default to null)
Boolean *filterPeriodisApprovedForService = true; //  (optional) (default to null)
Integer *filterPeriodiD = 56; // Format - int32. (optional) (default to null)
Boolean *filterPeriodisHierarchicalSort = true; //  (optional) (default to null)
array[String] *filterPeriodtypes = ; //  (optional) (default to null)
Boolean *filterPeriodisShowFavourites = true; //  (optional) (default to null)
Boolean *filterPeriodisHidden = true; //  (optional) (default to null)
Boolean *filterPeriodincludeSystemTasks = true; //  (optional) (default to null)
Boolean *filterPeriodisSystem = true; //  (optional) (default to null)
String *filterPeriodbatchStatus = filterPeriodbatchStatus_example; //  (optional) (default to null)
String *filterPeriodsortField = filterPeriodsortField_example; //  (optional) (default to null)
Boolean *filterPeriodsortAsc = true; //  (optional) (default to null)
String *filterPeriodgroupBy = filterPeriodgroupBy_example; //  (optional) (default to null)
Long *filterPeriodlastRowNumber = 789; // Format - int64. (optional) (default to null)
Integer *filterPeriodmaxResults = 56; // Format - int32. (optional) (default to null)
Integer *filterPeriodtenantID = 56; // Format - int32. (optional) (default to null)
Integer *filterPeriodwebsiteID = 56; // Format - int32. (optional) (default to null)
Integer *filterPerioduserID = 56; // Format - int32. (optional) (default to null)

// ScheduledTask_Get
[apiInstance scheduledTaskGetWith:filterPeriodstatuses
    filterPeriodstatusStrings:filterPeriodstatusStrings
    filterPeriodstatus:filterPeriodstatus
    filterPeriodsearchString:filterPeriodsearchString
    filterPeriodsearchNameOnly:filterPeriodsearchNameOnly
    filterPeriodsearch:filterPeriodsearch
    filterPeriodstartDate:filterPeriodstartDate
    filterPeriodendDate:filterPeriodendDate
    filterPerioddatePeriod:filterPerioddatePeriod
    filterPeriodisExactMatch:filterPeriodisExactMatch
    filterPeriodisGetBasicInfo:filterPeriodisGetBasicInfo
    filterPeriodincludeDeleted:filterPeriodincludeDeleted
    filterPeriodincludeLogs:filterPeriodincludeLogs
    filterPeriodignoreID:filterPeriodignoreID
    filterPeriodparentID:filterPeriodparentID
    filterPeriodgetCountOnly:filterPeriodgetCountOnly
    filterPeriodtransactionTypeDatTypeID:filterPeriodtransactionTypeDatTypeID
    filterPeriodcategoryID:filterPeriodcategoryID
    filterPeriodadaptorID:filterPeriodadaptorID
    filterPeriodcategoryIDs:filterPeriodcategoryIDs
    filterPeriodbrandIDs:filterPeriodbrandIDs
    filterPeriodiDs:filterPeriodiDs
    filterPeriodgUIDs:filterPeriodgUIDs
    filterPeriodlinkedSupplierID:filterPeriodlinkedSupplierID
    filterPeriodisApprovedForPOS:filterPeriodisApprovedForPOS
    filterPeriodisApprovedForWeb:filterPeriodisApprovedForWeb
    filterPeriodisApprovedForService:filterPeriodisApprovedForService
    filterPeriodiD:filterPeriodiD
    filterPeriodisHierarchicalSort:filterPeriodisHierarchicalSort
    filterPeriodtypes:filterPeriodtypes
    filterPeriodisShowFavourites:filterPeriodisShowFavourites
    filterPeriodisHidden:filterPeriodisHidden
    filterPeriodincludeSystemTasks:filterPeriodincludeSystemTasks
    filterPeriodisSystem:filterPeriodisSystem
    filterPeriodbatchStatus:filterPeriodbatchStatus
    filterPeriodsortField:filterPeriodsortField
    filterPeriodsortAsc:filterPeriodsortAsc
    filterPeriodgroupBy:filterPeriodgroupBy
    filterPeriodlastRowNumber:filterPeriodlastRowNumber
    filterPeriodmaxResults:filterPeriodmaxResults
    filterPeriodtenantID:filterPeriodtenantID
    filterPeriodwebsiteID:filterPeriodwebsiteID
    filterPerioduserID:filterPerioduserID
              completionHandler: ^(PagedCollection_ScheduledTaskInfo_ output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiScheduledTasks = require('as_server_api_scheduled_tasks');

// Create an instance of the API class
var api = new AsServerApiScheduledTasks.DefaultApi()
var opts = {
  'filterPeriodstatuses': , // {array[Integer]} 
  'filterPeriodstatusStrings': , // {array[String]} 
  'filterPeriodstatus': , // {array[String]} 
  'filterPeriodsearchString': filterPeriodsearchString_example, // {String} 
  'filterPeriodsearchNameOnly': true, // {Boolean} 
  'filterPeriodsearch': filterPeriodsearch_example, // {String} 
  'filterPeriodstartDate': 2013-10-20T19:20:30+01:00, // {Date} Format - date-time (as date-time in RFC3339).
  'filterPeriodendDate': 2013-10-20T19:20:30+01:00, // {Date} Format - date-time (as date-time in RFC3339).
  'filterPerioddatePeriod': filterPerioddatePeriod_example, // {String} 
  'filterPeriodisExactMatch': true, // {Boolean} 
  'filterPeriodisGetBasicInfo': true, // {Boolean} 
  'filterPeriodincludeDeleted': true, // {Boolean} 
  'filterPeriodincludeLogs': true, // {Boolean} 
  'filterPeriodignoreID': 56, // {Integer} Format - int32.
  'filterPeriodparentID': 56, // {Integer} Format - int32.
  'filterPeriodgetCountOnly': true, // {Boolean} 
  'filterPeriodtransactionTypeDatTypeID': 56, // {Integer} Format - int32.
  'filterPeriodcategoryID': 56, // {Integer} Format - int32.
  'filterPeriodadaptorID': 56, // {Integer} Format - int32.
  'filterPeriodcategoryIDs': , // {array[Integer]} 
  'filterPeriodbrandIDs': , // {array[Integer]} 
  'filterPeriodiDs': , // {array[Integer]} 
  'filterPeriodgUIDs': , // {array[String]} 
  'filterPeriodlinkedSupplierID': 56, // {Integer} Format - int32.
  'filterPeriodisApprovedForPOS': true, // {Boolean} 
  'filterPeriodisApprovedForWeb': true, // {Boolean} 
  'filterPeriodisApprovedForService': true, // {Boolean} 
  'filterPeriodiD': 56, // {Integer} Format - int32.
  'filterPeriodisHierarchicalSort': true, // {Boolean} 
  'filterPeriodtypes': , // {array[String]} 
  'filterPeriodisShowFavourites': true, // {Boolean} 
  'filterPeriodisHidden': true, // {Boolean} 
  'filterPeriodincludeSystemTasks': true, // {Boolean} 
  'filterPeriodisSystem': true, // {Boolean} 
  'filterPeriodbatchStatus': filterPeriodbatchStatus_example, // {String} 
  'filterPeriodsortField': filterPeriodsortField_example, // {String} 
  'filterPeriodsortAsc': true, // {Boolean} 
  'filterPeriodgroupBy': filterPeriodgroupBy_example, // {String} 
  'filterPeriodlastRowNumber': 789, // {Long} Format - int64.
  'filterPeriodmaxResults': 56, // {Integer} Format - int32.
  'filterPeriodtenantID': 56, // {Integer} Format - int32.
  'filterPeriodwebsiteID': 56, // {Integer} Format - int32.
  'filterPerioduserID': 56 // {Integer} Format - int32.
};

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

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

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var filterPeriodstatuses = new array[Integer](); // array[Integer] |  (optional)  (default to null)
            var filterPeriodstatusStrings = new array[String](); // array[String] |  (optional)  (default to null)
            var filterPeriodstatus = new array[String](); // array[String] |  (optional)  (default to null)
            var filterPeriodsearchString = filterPeriodsearchString_example;  // String |  (optional)  (default to null)
            var filterPeriodsearchNameOnly = true;  // Boolean |  (optional)  (default to null)
            var filterPeriodsearch = filterPeriodsearch_example;  // String |  (optional)  (default to null)
            var filterPeriodstartDate = 2013-10-20T19:20:30+01:00;  // Date | Format - date-time (as date-time in RFC3339). (optional)  (default to null)
            var filterPeriodendDate = 2013-10-20T19:20:30+01:00;  // Date | Format - date-time (as date-time in RFC3339). (optional)  (default to null)
            var filterPerioddatePeriod = filterPerioddatePeriod_example;  // String |  (optional)  (default to null)
            var filterPeriodisExactMatch = true;  // Boolean |  (optional)  (default to null)
            var filterPeriodisGetBasicInfo = true;  // Boolean |  (optional)  (default to null)
            var filterPeriodincludeDeleted = true;  // Boolean |  (optional)  (default to null)
            var filterPeriodincludeLogs = true;  // Boolean |  (optional)  (default to null)
            var filterPeriodignoreID = 56;  // Integer | Format - int32. (optional)  (default to null)
            var filterPeriodparentID = 56;  // Integer | Format - int32. (optional)  (default to null)
            var filterPeriodgetCountOnly = true;  // Boolean |  (optional)  (default to null)
            var filterPeriodtransactionTypeDatTypeID = 56;  // Integer | Format - int32. (optional)  (default to null)
            var filterPeriodcategoryID = 56;  // Integer | Format - int32. (optional)  (default to null)
            var filterPeriodadaptorID = 56;  // Integer | Format - int32. (optional)  (default to null)
            var filterPeriodcategoryIDs = new array[Integer](); // array[Integer] |  (optional)  (default to null)
            var filterPeriodbrandIDs = new array[Integer](); // array[Integer] |  (optional)  (default to null)
            var filterPeriodiDs = new array[Integer](); // array[Integer] |  (optional)  (default to null)
            var filterPeriodgUIDs = new array[String](); // array[String] |  (optional)  (default to null)
            var filterPeriodlinkedSupplierID = 56;  // Integer | Format - int32. (optional)  (default to null)
            var filterPeriodisApprovedForPOS = true;  // Boolean |  (optional)  (default to null)
            var filterPeriodisApprovedForWeb = true;  // Boolean |  (optional)  (default to null)
            var filterPeriodisApprovedForService = true;  // Boolean |  (optional)  (default to null)
            var filterPeriodiD = 56;  // Integer | Format - int32. (optional)  (default to null)
            var filterPeriodisHierarchicalSort = true;  // Boolean |  (optional)  (default to null)
            var filterPeriodtypes = new array[String](); // array[String] |  (optional)  (default to null)
            var filterPeriodisShowFavourites = true;  // Boolean |  (optional)  (default to null)
            var filterPeriodisHidden = true;  // Boolean |  (optional)  (default to null)
            var filterPeriodincludeSystemTasks = true;  // Boolean |  (optional)  (default to null)
            var filterPeriodisSystem = true;  // Boolean |  (optional)  (default to null)
            var filterPeriodbatchStatus = filterPeriodbatchStatus_example;  // String |  (optional)  (default to null)
            var filterPeriodsortField = filterPeriodsortField_example;  // String |  (optional)  (default to null)
            var filterPeriodsortAsc = true;  // Boolean |  (optional)  (default to null)
            var filterPeriodgroupBy = filterPeriodgroupBy_example;  // String |  (optional)  (default to null)
            var filterPeriodlastRowNumber = 789;  // Long | Format - int64. (optional)  (default to null)
            var filterPeriodmaxResults = 56;  // Integer | Format - int32. (optional)  (default to null)
            var filterPeriodtenantID = 56;  // Integer | Format - int32. (optional)  (default to null)
            var filterPeriodwebsiteID = 56;  // Integer | Format - int32. (optional)  (default to null)
            var filterPerioduserID = 56;  // Integer | Format - int32. (optional)  (default to null)

            try {
                // ScheduledTask_Get
                PagedCollection_ScheduledTaskInfo_ result = apiInstance.scheduledTaskGet(filterPeriodstatuses, filterPeriodstatusStrings, filterPeriodstatus, filterPeriodsearchString, filterPeriodsearchNameOnly, filterPeriodsearch, filterPeriodstartDate, filterPeriodendDate, filterPerioddatePeriod, filterPeriodisExactMatch, filterPeriodisGetBasicInfo, filterPeriodincludeDeleted, filterPeriodincludeLogs, filterPeriodignoreID, filterPeriodparentID, filterPeriodgetCountOnly, filterPeriodtransactionTypeDatTypeID, filterPeriodcategoryID, filterPeriodadaptorID, filterPeriodcategoryIDs, filterPeriodbrandIDs, filterPeriodiDs, filterPeriodgUIDs, filterPeriodlinkedSupplierID, filterPeriodisApprovedForPOS, filterPeriodisApprovedForWeb, filterPeriodisApprovedForService, filterPeriodiD, filterPeriodisHierarchicalSort, filterPeriodtypes, filterPeriodisShowFavourites, filterPeriodisHidden, filterPeriodincludeSystemTasks, filterPeriodisSystem, filterPeriodbatchStatus, filterPeriodsortField, filterPeriodsortAsc, filterPeriodgroupBy, filterPeriodlastRowNumber, filterPeriodmaxResults, filterPeriodtenantID, filterPeriodwebsiteID, filterPerioduserID);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.scheduledTaskGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$filterPeriodstatuses = ; // array[Integer] | 
$filterPeriodstatusStrings = ; // array[String] | 
$filterPeriodstatus = ; // array[String] | 
$filterPeriodsearchString = filterPeriodsearchString_example; // String | 
$filterPeriodsearchNameOnly = true; // Boolean | 
$filterPeriodsearch = filterPeriodsearch_example; // String | 
$filterPeriodstartDate = 2013-10-20T19:20:30+01:00; // Date | Format - date-time (as date-time in RFC3339).
$filterPeriodendDate = 2013-10-20T19:20:30+01:00; // Date | Format - date-time (as date-time in RFC3339).
$filterPerioddatePeriod = filterPerioddatePeriod_example; // String | 
$filterPeriodisExactMatch = true; // Boolean | 
$filterPeriodisGetBasicInfo = true; // Boolean | 
$filterPeriodincludeDeleted = true; // Boolean | 
$filterPeriodincludeLogs = true; // Boolean | 
$filterPeriodignoreID = 56; // Integer | Format - int32.
$filterPeriodparentID = 56; // Integer | Format - int32.
$filterPeriodgetCountOnly = true; // Boolean | 
$filterPeriodtransactionTypeDatTypeID = 56; // Integer | Format - int32.
$filterPeriodcategoryID = 56; // Integer | Format - int32.
$filterPeriodadaptorID = 56; // Integer | Format - int32.
$filterPeriodcategoryIDs = ; // array[Integer] | 
$filterPeriodbrandIDs = ; // array[Integer] | 
$filterPeriodiDs = ; // array[Integer] | 
$filterPeriodgUIDs = ; // array[String] | 
$filterPeriodlinkedSupplierID = 56; // Integer | Format - int32.
$filterPeriodisApprovedForPOS = true; // Boolean | 
$filterPeriodisApprovedForWeb = true; // Boolean | 
$filterPeriodisApprovedForService = true; // Boolean | 
$filterPeriodiD = 56; // Integer | Format - int32.
$filterPeriodisHierarchicalSort = true; // Boolean | 
$filterPeriodtypes = ; // array[String] | 
$filterPeriodisShowFavourites = true; // Boolean | 
$filterPeriodisHidden = true; // Boolean | 
$filterPeriodincludeSystemTasks = true; // Boolean | 
$filterPeriodisSystem = true; // Boolean | 
$filterPeriodbatchStatus = filterPeriodbatchStatus_example; // String | 
$filterPeriodsortField = filterPeriodsortField_example; // String | 
$filterPeriodsortAsc = true; // Boolean | 
$filterPeriodgroupBy = filterPeriodgroupBy_example; // String | 
$filterPeriodlastRowNumber = 789; // Long | Format - int64.
$filterPeriodmaxResults = 56; // Integer | Format - int32.
$filterPeriodtenantID = 56; // Integer | Format - int32.
$filterPeriodwebsiteID = 56; // Integer | Format - int32.
$filterPerioduserID = 56; // Integer | Format - int32.

try {
    $result = $api_instance->scheduledTaskGet($filterPeriodstatuses, $filterPeriodstatusStrings, $filterPeriodstatus, $filterPeriodsearchString, $filterPeriodsearchNameOnly, $filterPeriodsearch, $filterPeriodstartDate, $filterPeriodendDate, $filterPerioddatePeriod, $filterPeriodisExactMatch, $filterPeriodisGetBasicInfo, $filterPeriodincludeDeleted, $filterPeriodincludeLogs, $filterPeriodignoreID, $filterPeriodparentID, $filterPeriodgetCountOnly, $filterPeriodtransactionTypeDatTypeID, $filterPeriodcategoryID, $filterPeriodadaptorID, $filterPeriodcategoryIDs, $filterPeriodbrandIDs, $filterPeriodiDs, $filterPeriodgUIDs, $filterPeriodlinkedSupplierID, $filterPeriodisApprovedForPOS, $filterPeriodisApprovedForWeb, $filterPeriodisApprovedForService, $filterPeriodiD, $filterPeriodisHierarchicalSort, $filterPeriodtypes, $filterPeriodisShowFavourites, $filterPeriodisHidden, $filterPeriodincludeSystemTasks, $filterPeriodisSystem, $filterPeriodbatchStatus, $filterPeriodsortField, $filterPeriodsortAsc, $filterPeriodgroupBy, $filterPeriodlastRowNumber, $filterPeriodmaxResults, $filterPeriodtenantID, $filterPeriodwebsiteID, $filterPerioduserID);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->scheduledTaskGet: ', $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 $filterPeriodstatuses = []; # array[Integer] | 
my $filterPeriodstatusStrings = []; # array[String] | 
my $filterPeriodstatus = []; # array[String] | 
my $filterPeriodsearchString = filterPeriodsearchString_example; # String | 
my $filterPeriodsearchNameOnly = true; # Boolean | 
my $filterPeriodsearch = filterPeriodsearch_example; # String | 
my $filterPeriodstartDate = 2013-10-20T19:20:30+01:00; # Date | Format - date-time (as date-time in RFC3339).
my $filterPeriodendDate = 2013-10-20T19:20:30+01:00; # Date | Format - date-time (as date-time in RFC3339).
my $filterPerioddatePeriod = filterPerioddatePeriod_example; # String | 
my $filterPeriodisExactMatch = true; # Boolean | 
my $filterPeriodisGetBasicInfo = true; # Boolean | 
my $filterPeriodincludeDeleted = true; # Boolean | 
my $filterPeriodincludeLogs = true; # Boolean | 
my $filterPeriodignoreID = 56; # Integer | Format - int32.
my $filterPeriodparentID = 56; # Integer | Format - int32.
my $filterPeriodgetCountOnly = true; # Boolean | 
my $filterPeriodtransactionTypeDatTypeID = 56; # Integer | Format - int32.
my $filterPeriodcategoryID = 56; # Integer | Format - int32.
my $filterPeriodadaptorID = 56; # Integer | Format - int32.
my $filterPeriodcategoryIDs = []; # array[Integer] | 
my $filterPeriodbrandIDs = []; # array[Integer] | 
my $filterPeriodiDs = []; # array[Integer] | 
my $filterPeriodgUIDs = []; # array[String] | 
my $filterPeriodlinkedSupplierID = 56; # Integer | Format - int32.
my $filterPeriodisApprovedForPOS = true; # Boolean | 
my $filterPeriodisApprovedForWeb = true; # Boolean | 
my $filterPeriodisApprovedForService = true; # Boolean | 
my $filterPeriodiD = 56; # Integer | Format - int32.
my $filterPeriodisHierarchicalSort = true; # Boolean | 
my $filterPeriodtypes = []; # array[String] | 
my $filterPeriodisShowFavourites = true; # Boolean | 
my $filterPeriodisHidden = true; # Boolean | 
my $filterPeriodincludeSystemTasks = true; # Boolean | 
my $filterPeriodisSystem = true; # Boolean | 
my $filterPeriodbatchStatus = filterPeriodbatchStatus_example; # String | 
my $filterPeriodsortField = filterPeriodsortField_example; # String | 
my $filterPeriodsortAsc = true; # Boolean | 
my $filterPeriodgroupBy = filterPeriodgroupBy_example; # String | 
my $filterPeriodlastRowNumber = 789; # Long | Format - int64.
my $filterPeriodmaxResults = 56; # Integer | Format - int32.
my $filterPeriodtenantID = 56; # Integer | Format - int32.
my $filterPeriodwebsiteID = 56; # Integer | Format - int32.
my $filterPerioduserID = 56; # Integer | Format - int32.

eval {
    my $result = $api_instance->scheduledTaskGet(filterPeriodstatuses => $filterPeriodstatuses, filterPeriodstatusStrings => $filterPeriodstatusStrings, filterPeriodstatus => $filterPeriodstatus, filterPeriodsearchString => $filterPeriodsearchString, filterPeriodsearchNameOnly => $filterPeriodsearchNameOnly, filterPeriodsearch => $filterPeriodsearch, filterPeriodstartDate => $filterPeriodstartDate, filterPeriodendDate => $filterPeriodendDate, filterPerioddatePeriod => $filterPerioddatePeriod, filterPeriodisExactMatch => $filterPeriodisExactMatch, filterPeriodisGetBasicInfo => $filterPeriodisGetBasicInfo, filterPeriodincludeDeleted => $filterPeriodincludeDeleted, filterPeriodincludeLogs => $filterPeriodincludeLogs, filterPeriodignoreID => $filterPeriodignoreID, filterPeriodparentID => $filterPeriodparentID, filterPeriodgetCountOnly => $filterPeriodgetCountOnly, filterPeriodtransactionTypeDatTypeID => $filterPeriodtransactionTypeDatTypeID, filterPeriodcategoryID => $filterPeriodcategoryID, filterPeriodadaptorID => $filterPeriodadaptorID, filterPeriodcategoryIDs => $filterPeriodcategoryIDs, filterPeriodbrandIDs => $filterPeriodbrandIDs, filterPeriodiDs => $filterPeriodiDs, filterPeriodgUIDs => $filterPeriodgUIDs, filterPeriodlinkedSupplierID => $filterPeriodlinkedSupplierID, filterPeriodisApprovedForPOS => $filterPeriodisApprovedForPOS, filterPeriodisApprovedForWeb => $filterPeriodisApprovedForWeb, filterPeriodisApprovedForService => $filterPeriodisApprovedForService, filterPeriodiD => $filterPeriodiD, filterPeriodisHierarchicalSort => $filterPeriodisHierarchicalSort, filterPeriodtypes => $filterPeriodtypes, filterPeriodisShowFavourites => $filterPeriodisShowFavourites, filterPeriodisHidden => $filterPeriodisHidden, filterPeriodincludeSystemTasks => $filterPeriodincludeSystemTasks, filterPeriodisSystem => $filterPeriodisSystem, filterPeriodbatchStatus => $filterPeriodbatchStatus, filterPeriodsortField => $filterPeriodsortField, filterPeriodsortAsc => $filterPeriodsortAsc, filterPeriodgroupBy => $filterPeriodgroupBy, filterPeriodlastRowNumber => $filterPeriodlastRowNumber, filterPeriodmaxResults => $filterPeriodmaxResults, filterPeriodtenantID => $filterPeriodtenantID, filterPeriodwebsiteID => $filterPeriodwebsiteID, filterPerioduserID => $filterPerioduserID);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->scheduledTaskGet: $@\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()
filterPeriodstatuses =  # array[Integer] |  (optional) (default to null)
filterPeriodstatusStrings =  # array[String] |  (optional) (default to null)
filterPeriodstatus =  # array[String] |  (optional) (default to null)
filterPeriodsearchString = filterPeriodsearchString_example # String |  (optional) (default to null)
filterPeriodsearchNameOnly = true # Boolean |  (optional) (default to null)
filterPeriodsearch = filterPeriodsearch_example # String |  (optional) (default to null)
filterPeriodstartDate = 2013-10-20T19:20:30+01:00 # Date | Format - date-time (as date-time in RFC3339). (optional) (default to null)
filterPeriodendDate = 2013-10-20T19:20:30+01:00 # Date | Format - date-time (as date-time in RFC3339). (optional) (default to null)
filterPerioddatePeriod = filterPerioddatePeriod_example # String |  (optional) (default to null)
filterPeriodisExactMatch = true # Boolean |  (optional) (default to null)
filterPeriodisGetBasicInfo = true # Boolean |  (optional) (default to null)
filterPeriodincludeDeleted = true # Boolean |  (optional) (default to null)
filterPeriodincludeLogs = true # Boolean |  (optional) (default to null)
filterPeriodignoreID = 56 # Integer | Format - int32. (optional) (default to null)
filterPeriodparentID = 56 # Integer | Format - int32. (optional) (default to null)
filterPeriodgetCountOnly = true # Boolean |  (optional) (default to null)
filterPeriodtransactionTypeDatTypeID = 56 # Integer | Format - int32. (optional) (default to null)
filterPeriodcategoryID = 56 # Integer | Format - int32. (optional) (default to null)
filterPeriodadaptorID = 56 # Integer | Format - int32. (optional) (default to null)
filterPeriodcategoryIDs =  # array[Integer] |  (optional) (default to null)
filterPeriodbrandIDs =  # array[Integer] |  (optional) (default to null)
filterPeriodiDs =  # array[Integer] |  (optional) (default to null)
filterPeriodgUIDs =  # array[String] |  (optional) (default to null)
filterPeriodlinkedSupplierID = 56 # Integer | Format - int32. (optional) (default to null)
filterPeriodisApprovedForPOS = true # Boolean |  (optional) (default to null)
filterPeriodisApprovedForWeb = true # Boolean |  (optional) (default to null)
filterPeriodisApprovedForService = true # Boolean |  (optional) (default to null)
filterPeriodiD = 56 # Integer | Format - int32. (optional) (default to null)
filterPeriodisHierarchicalSort = true # Boolean |  (optional) (default to null)
filterPeriodtypes =  # array[String] |  (optional) (default to null)
filterPeriodisShowFavourites = true # Boolean |  (optional) (default to null)
filterPeriodisHidden = true # Boolean |  (optional) (default to null)
filterPeriodincludeSystemTasks = true # Boolean |  (optional) (default to null)
filterPeriodisSystem = true # Boolean |  (optional) (default to null)
filterPeriodbatchStatus = filterPeriodbatchStatus_example # String |  (optional) (default to null)
filterPeriodsortField = filterPeriodsortField_example # String |  (optional) (default to null)
filterPeriodsortAsc = true # Boolean |  (optional) (default to null)
filterPeriodgroupBy = filterPeriodgroupBy_example # String |  (optional) (default to null)
filterPeriodlastRowNumber = 789 # Long | Format - int64. (optional) (default to null)
filterPeriodmaxResults = 56 # Integer | Format - int32. (optional) (default to null)
filterPeriodtenantID = 56 # Integer | Format - int32. (optional) (default to null)
filterPeriodwebsiteID = 56 # Integer | Format - int32. (optional) (default to null)
filterPerioduserID = 56 # Integer | Format - int32. (optional) (default to null)

try:
    # ScheduledTask_Get
    api_response = api_instance.scheduled_task_get(filterPeriodstatuses=filterPeriodstatuses, filterPeriodstatusStrings=filterPeriodstatusStrings, filterPeriodstatus=filterPeriodstatus, filterPeriodsearchString=filterPeriodsearchString, filterPeriodsearchNameOnly=filterPeriodsearchNameOnly, filterPeriodsearch=filterPeriodsearch, filterPeriodstartDate=filterPeriodstartDate, filterPeriodendDate=filterPeriodendDate, filterPerioddatePeriod=filterPerioddatePeriod, filterPeriodisExactMatch=filterPeriodisExactMatch, filterPeriodisGetBasicInfo=filterPeriodisGetBasicInfo, filterPeriodincludeDeleted=filterPeriodincludeDeleted, filterPeriodincludeLogs=filterPeriodincludeLogs, filterPeriodignoreID=filterPeriodignoreID, filterPeriodparentID=filterPeriodparentID, filterPeriodgetCountOnly=filterPeriodgetCountOnly, filterPeriodtransactionTypeDatTypeID=filterPeriodtransactionTypeDatTypeID, filterPeriodcategoryID=filterPeriodcategoryID, filterPeriodadaptorID=filterPeriodadaptorID, filterPeriodcategoryIDs=filterPeriodcategoryIDs, filterPeriodbrandIDs=filterPeriodbrandIDs, filterPeriodiDs=filterPeriodiDs, filterPeriodgUIDs=filterPeriodgUIDs, filterPeriodlinkedSupplierID=filterPeriodlinkedSupplierID, filterPeriodisApprovedForPOS=filterPeriodisApprovedForPOS, filterPeriodisApprovedForWeb=filterPeriodisApprovedForWeb, filterPeriodisApprovedForService=filterPeriodisApprovedForService, filterPeriodiD=filterPeriodiD, filterPeriodisHierarchicalSort=filterPeriodisHierarchicalSort, filterPeriodtypes=filterPeriodtypes, filterPeriodisShowFavourites=filterPeriodisShowFavourites, filterPeriodisHidden=filterPeriodisHidden, filterPeriodincludeSystemTasks=filterPeriodincludeSystemTasks, filterPeriodisSystem=filterPeriodisSystem, filterPeriodbatchStatus=filterPeriodbatchStatus, filterPeriodsortField=filterPeriodsortField, filterPeriodsortAsc=filterPeriodsortAsc, filterPeriodgroupBy=filterPeriodgroupBy, filterPeriodlastRowNumber=filterPeriodlastRowNumber, filterPeriodmaxResults=filterPeriodmaxResults, filterPeriodtenantID=filterPeriodtenantID, filterPeriodwebsiteID=filterPeriodwebsiteID, filterPerioduserID=filterPerioduserID)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->scheduledTaskGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let filterPeriodstatuses = ; // array[Integer]
    let filterPeriodstatusStrings = ; // array[String]
    let filterPeriodstatus = ; // array[String]
    let filterPeriodsearchString = filterPeriodsearchString_example; // String
    let filterPeriodsearchNameOnly = true; // Boolean
    let filterPeriodsearch = filterPeriodsearch_example; // String
    let filterPeriodstartDate = 2013-10-20T19:20:30+01:00; // Date
    let filterPeriodendDate = 2013-10-20T19:20:30+01:00; // Date
    let filterPerioddatePeriod = filterPerioddatePeriod_example; // String
    let filterPeriodisExactMatch = true; // Boolean
    let filterPeriodisGetBasicInfo = true; // Boolean
    let filterPeriodincludeDeleted = true; // Boolean
    let filterPeriodincludeLogs = true; // Boolean
    let filterPeriodignoreID = 56; // Integer
    let filterPeriodparentID = 56; // Integer
    let filterPeriodgetCountOnly = true; // Boolean
    let filterPeriodtransactionTypeDatTypeID = 56; // Integer
    let filterPeriodcategoryID = 56; // Integer
    let filterPeriodadaptorID = 56; // Integer
    let filterPeriodcategoryIDs = ; // array[Integer]
    let filterPeriodbrandIDs = ; // array[Integer]
    let filterPeriodiDs = ; // array[Integer]
    let filterPeriodgUIDs = ; // array[String]
    let filterPeriodlinkedSupplierID = 56; // Integer
    let filterPeriodisApprovedForPOS = true; // Boolean
    let filterPeriodisApprovedForWeb = true; // Boolean
    let filterPeriodisApprovedForService = true; // Boolean
    let filterPeriodiD = 56; // Integer
    let filterPeriodisHierarchicalSort = true; // Boolean
    let filterPeriodtypes = ; // array[String]
    let filterPeriodisShowFavourites = true; // Boolean
    let filterPeriodisHidden = true; // Boolean
    let filterPeriodincludeSystemTasks = true; // Boolean
    let filterPeriodisSystem = true; // Boolean
    let filterPeriodbatchStatus = filterPeriodbatchStatus_example; // String
    let filterPeriodsortField = filterPeriodsortField_example; // String
    let filterPeriodsortAsc = true; // Boolean
    let filterPeriodgroupBy = filterPeriodgroupBy_example; // String
    let filterPeriodlastRowNumber = 789; // Long
    let filterPeriodmaxResults = 56; // Integer
    let filterPeriodtenantID = 56; // Integer
    let filterPeriodwebsiteID = 56; // Integer
    let filterPerioduserID = 56; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.scheduledTaskGet(filterPeriodstatuses, filterPeriodstatusStrings, filterPeriodstatus, filterPeriodsearchString, filterPeriodsearchNameOnly, filterPeriodsearch, filterPeriodstartDate, filterPeriodendDate, filterPerioddatePeriod, filterPeriodisExactMatch, filterPeriodisGetBasicInfo, filterPeriodincludeDeleted, filterPeriodincludeLogs, filterPeriodignoreID, filterPeriodparentID, filterPeriodgetCountOnly, filterPeriodtransactionTypeDatTypeID, filterPeriodcategoryID, filterPeriodadaptorID, filterPeriodcategoryIDs, filterPeriodbrandIDs, filterPeriodiDs, filterPeriodgUIDs, filterPeriodlinkedSupplierID, filterPeriodisApprovedForPOS, filterPeriodisApprovedForWeb, filterPeriodisApprovedForService, filterPeriodiD, filterPeriodisHierarchicalSort, filterPeriodtypes, filterPeriodisShowFavourites, filterPeriodisHidden, filterPeriodincludeSystemTasks, filterPeriodisSystem, filterPeriodbatchStatus, filterPeriodsortField, filterPeriodsortAsc, filterPeriodgroupBy, filterPeriodlastRowNumber, filterPeriodmaxResults, filterPeriodtenantID, filterPeriodwebsiteID, filterPerioduserID, &context).wait();

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

Scopes

Parameters

Query parameters
Name Description
filter.statuses
array[Integer] (int32)
filter.statusStrings
array[String]
filter.status
array[String]
filter.searchString
String
filter.searchNameOnly
Boolean
filter.search
String
filter.startDate
Date (date-time)
Format - date-time (as date-time in RFC3339).
filter.endDate
Date (date-time)
Format - date-time (as date-time in RFC3339).
filter.datePeriod
String
filter.isExactMatch
Boolean
filter.isGetBasicInfo
Boolean
filter.includeDeleted
Boolean
filter.includeLogs
Boolean
filter.ignoreID
Integer (int32)
Format - int32.
filter.parentID
Integer (int32)
Format - int32.
filter.getCountOnly
Boolean
filter.transactionTypeDatTypeID
Integer (int32)
Format - int32.
filter.categoryID
Integer (int32)
Format - int32.
filter.adaptorID
Integer (int32)
Format - int32.
filter.categoryIDs
array[Integer] (int32)
filter.brandIDs
array[Integer] (int32)
filter.iDs
array[Integer] (int32)
filter.gUIDs
array[String]
filter.linkedSupplierID
Integer (int32)
Format - int32.
filter.isApprovedForPOS
Boolean
filter.isApprovedForWeb
Boolean
filter.isApprovedForService
Boolean
filter.iD
Integer (int32)
Format - int32.
filter.isHierarchicalSort
Boolean
filter.types
array[String]
filter.isShowFavourites
Boolean
filter.isHidden
Boolean
filter.includeSystemTasks
Boolean
filter.isSystem
Boolean
filter.batchStatus
String
filter.sortField
String
filter.sortAsc
Boolean
filter.groupBy
String
filter.lastRowNumber
Long (int64)
Format - int64.
filter.maxResults
Integer (int32)
Format - int32.
filter.tenantID
Integer (int32)
Format - int32.
filter.websiteID
Integer (int32)
Format - int32.
filter.userID
Integer (int32)
Format - int32.

Responses


scheduledTaskGetByID

ScheduledTask_GetByID


/ScheduledTasks/{id}

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json,text/json,application/xml,text/xml" \
 "https://api.dev.spenda.co/api/ScheduledTasks/{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();
        Integer id = 56; // Integer | Format - int32.

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

final api_instance = DefaultApi();

final Integer id = new Integer(); // Integer | Format - int32.

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

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Integer id = 56; // Integer | Format - int32.

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


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Integer *id = 56; // Format - int32. (default to null)

// ScheduledTask_GetByID
[apiInstance scheduledTaskGetByIDWith:id
              completionHandler: ^(ScheduledTaskInfo output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiScheduledTasks = require('as_server_api_scheduled_tasks');

// Create an instance of the API class
var api = new AsServerApiScheduledTasks.DefaultApi()
var id = 56; // {Integer} Format - int32.

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

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

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = 56;  // Integer | Format - int32. (default to null)

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

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = 56; // Integer | Format - int32.

try {
    $result = $api_instance->scheduledTaskGetByID($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->scheduledTaskGetByID: ', $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 = 56; # Integer | Format - int32.

eval {
    my $result = $api_instance->scheduledTaskGetByID(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->scheduledTaskGetByID: $@\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 = 56 # Integer | Format - int32. (default to null)

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

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

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

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

Scopes

Parameters

Path parameters
Name Description
id*
Integer (int32)
Format - int32.
Required

Responses


scheduledTaskPost

ScheduledTask_Post


/ScheduledTasks/

Usage and SDK Samples

curl -X POST \
 -H "Accept: application/json,text/json,application/xml,text/xml" \
 -H "Content-Type: application/json,text/json,application/xml,text/xml,application/x-www-form-urlencoded" \
 "https://api.dev.spenda.co/api/ScheduledTasks/" \
 -d '{
  "Status" : "Status",
  "TimeOfDay" : "2000-01-23T04:56:07.000+00:00",
  "IsEnabled" : true,
  "IsActive" : true,
  "IntervalType" : 5,
  "TaskTypeID" : 6,
  "RecurrenceType" : 8,
  "DatTypeFriendlyName" : "DatTypeFriendlyName",
  "NameFriendlyName" : "NameFriendlyName",
  "DocumentID" : 1,
  "DatTypeID" : 3,
  "WorkflowID" : 0,
  "Name" : "Name",
  "IsRecurringSchedule" : true,
  "IDs" : [ 2, 2 ],
  "AdaptorDetails" : {
    "Description" : "Description",
    "AdaptorCategory" : 7,
    "IsActive" : true,
    "IsAuthorized" : true,
    "DefaultInventoryClass" : {
      "Description" : "Description",
      "IsApprovedForWeb" : true,
      "IsApprovedForPOS" : true,
      "SalesPostingInventoryRevenueAccountCode" : "SalesPostingInventoryRevenueAccountCode",
      "IsActive" : true,
      "CountOfProducts" : 4,
      "SalesPostingInventoryExpenseAccountCode" : "SalesPostingInventoryExpenseAccountCode",
      "SalesPostingInventoryCode" : "SalesPostingInventoryCode",
      "Name" : "Name",
      "GUIDstring" : "GUIDstring",
      "SalesPostingInventoryID" : 3,
      "SalesPostingInventoryName" : "SalesPostingInventoryName",
      "Version" : 6.704019297950036,
      "SyncLogs" : [ {
        "Status" : "Status",
        "LastImportDateTime" : "2000-01-23T04:56:07.000+00:00",
        "AdaptorID" : 3,
        "LastImportDateTime_offset" : 7,
        "LastExportDateTime_offset" : 5,
        "LastModifiedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
        "LastExportDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
        "BSID" : "BSID",
        "Details" : "Details",
        "SyncCode" : "SyncCode",
        "LastExportDateTime" : "2000-01-23T04:56:07.000+00:00",
        "LastModifiedDateTime_offset" : 3,
        "ID" : 3,
        "LastImportDateTime_utc" : "2000-01-23T04:56:07.000+00:00"
      }, {
        "Status" : "Status",
        "LastImportDateTime" : "2000-01-23T04:56:07.000+00:00",
        "AdaptorID" : 3,
        "LastImportDateTime_offset" : 7,
        "LastExportDateTime_offset" : 5,
        "LastModifiedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
        "LastExportDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
        "BSID" : "BSID",
        "Details" : "Details",
        "SyncCode" : "SyncCode",
        "LastExportDateTime" : "2000-01-23T04:56:07.000+00:00",
        "LastModifiedDateTime_offset" : 3,
        "ID" : 3,
        "LastImportDateTime_utc" : "2000-01-23T04:56:07.000+00:00"
      } ],
      "CreatedWith" : "CreatedWith",
      "ServicePostingInventoryID" : 7,
      "InventoryClassGroup" : {
        "IsDefault" : true,
        "Description" : "Description",
        "IsActive" : true,
        "GUID" : "00000000-0000-0000-0000-000000000000",
        "Name" : "Name",
        "GUIDstring" : "GUIDstring",
        "SupplierID" : 0,
        "InventoryClasses" : [ null, null ],
        "RowNumber" : 0,
        "BSID" : "BSID",
        "Version" : 7.058770351582356,
        "CreatedWith" : "CreatedWith",
        "IsSystem" : true,
        "ID" : 6,
        "InventoryClassGroupType" : {
          "IsDefault" : true,
          "Description" : "Description",
          "IsActive" : true,
          "GUID" : "00000000-0000-0000-0000-000000000000",
          "Name" : "Name",
          "GUIDstring" : "GUIDstring",
          "IsGeneric" : true,
          "RowNumber" : 4,
          "BSID" : "BSID",
          "Version" : 8.969578798196912,
          "CreatedWith" : "CreatedWith",
          "IsSystem" : true,
          "ID" : 7,
          "InventoryClassGroups" : [ null, null ]
        }
      },
      "ID" : 3,
      "PostingBehaviour" : "PostingBehaviour",
      "ServicePostingInventoryCode" : "ServicePostingInventoryCode",
      "ServicePostingInventoryExpenseAccountCode" : "ServicePostingInventoryExpenseAccountCode",
      "ModifiedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
      "GUID" : "00000000-0000-0000-0000-000000000000",
      "RowNumber" : 5,
      "BSID" : "BSID",
      "IsAutoCreateGenericAccountInventory" : true,
      "CreatedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
      "ServicePostingInventoryRevenueAccountCode" : "ServicePostingInventoryRevenueAccountCode",
      "IsSystem" : true,
      "IsApprovedForService" : true,
      "ServicePostingInventoryName" : "ServicePostingInventoryName"
    },
    "TranslatorDetails" : [ {
      "WebsiteID" : 1,
      "Description" : "Description",
      "IsEnabled" : true,
      "IsActive" : true,
      "MasterAdaptorID" : 7,
      "AdaptorID" : 1,
      "IsUsedByTenant" : true,
      "Instructions" : [ {
        "KeyName" : "KeyName",
        "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
        "Description" : "Description",
        "FriendlyName" : "FriendlyName",
        "ValueType" : 3,
        "IsTriggerReconfigure" : true,
        "Value" : "Value",
        "IsReadOnly" : true
      }, {
        "KeyName" : "KeyName",
        "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
        "Description" : "Description",
        "FriendlyName" : "FriendlyName",
        "ValueType" : 3,
        "IsTriggerReconfigure" : true,
        "Value" : "Value",
        "IsReadOnly" : true
      } ],
      "InstructionsXML" : "InstructionsXML",
      "Name" : "Name",
      "IconURL" : "IconURL",
      "IsSource" : true,
      "TenantID" : 1,
      "Version" : "Version",
      "UserID" : 6,
      "ID" : 2,
      "MasterTranslatorID" : 4,
      "TranslationDefinition" : "TranslationDefinition",
      "IsTarget" : true
    }, {
      "WebsiteID" : 1,
      "Description" : "Description",
      "IsEnabled" : true,
      "IsActive" : true,
      "MasterAdaptorID" : 7,
      "AdaptorID" : 1,
      "IsUsedByTenant" : true,
      "Instructions" : [ {
        "KeyName" : "KeyName",
        "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
        "Description" : "Description",
        "FriendlyName" : "FriendlyName",
        "ValueType" : 3,
        "IsTriggerReconfigure" : true,
        "Value" : "Value",
        "IsReadOnly" : true
      }, {
        "KeyName" : "KeyName",
        "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
        "Description" : "Description",
        "FriendlyName" : "FriendlyName",
        "ValueType" : 3,
        "IsTriggerReconfigure" : true,
        "Value" : "Value",
        "IsReadOnly" : true
      } ],
      "InstructionsXML" : "InstructionsXML",
      "Name" : "Name",
      "IconURL" : "IconURL",
      "IsSource" : true,
      "TenantID" : 1,
      "Version" : "Version",
      "UserID" : 6,
      "ID" : 2,
      "MasterTranslatorID" : 4,
      "TranslationDefinition" : "TranslationDefinition",
      "IsTarget" : true
    } ],
    "Name" : "Name",
    "TokenDetails" : {
      "HasExpired" : true,
      "TokenSecret" : "TokenSecret",
      "TokenKey" : "TokenKey",
      "OrgName" : "OrgName",
      "Verifier" : "Verifier",
      "Provider" : "Provider",
      "OrgID" : "OrgID",
      "HasSessionExpired" : true,
      "Username" : "Username",
      "ConsumerKey" : "ConsumerKey",
      "UserAgent" : "UserAgent",
      "ConsumerSecret" : "ConsumerSecret",
      "SessionExpiresAt" : "2000-01-23T04:56:07.000+00:00",
      "ExpiresAt" : "2000-01-23T04:56:07.000+00:00",
      "Session" : "Session"
    },
    "IsSource" : true,
    "TenantID" : 5,
    "Version" : "Version",
    "UserID" : 6,
    "OrganisationName" : "OrganisationName",
    "FullIconUrl" : "FullIconUrl",
    "ID" : 7,
    "WebsiteID" : 4,
    "DefaultCustomerClass" : {
      "HasBeenSaved" : true,
      "CountOfCustomers" : 9,
      "IsAccountCustomerBatched" : true,
      "Description" : "Description",
      "IsApprovedForWeb" : true,
      "IsApprovedForPOS" : true,
      "IsActive" : true,
      "BatchInvoiceFrequencyDays" : 4,
      "BatchInvoicePrefix" : "BatchInvoicePrefix",
      "Name" : "Name",
      "GUIDstring" : "GUIDstring",
      "IsAutoApprovedforClaimRequests" : true,
      "IsAutoSendPayByLinkInvoice" : true,
      "TradingTermDays" : 7,
      "DefaultPricingBandID" : 0,
      "ID" : 6,
      "PostingBehaviour" : "PostingBehaviour",
      "IsCanSetFundingRate" : true,
      "CreditLimit" : 4.678947989005849,
      "LoyaltyDescription" : "LoyaltyDescription",
      "GUID" : "00000000-0000-0000-0000-000000000000",
      "GenericAccountCustomerID" : 1,
      "TradingTermID" : 9,
      "IsLoyaltyEligible" : true,
      "IsBatchInvoice" : true,
      "GenericAccountCustomerName" : "GenericAccountCustomerName",
      "AccountCustomerRefNumberPrefix" : "AccountCustomerRefNumberPrefix",
      "IsExemptFromMerchantSurcharge" : true,
      "FundingRate" : 0.2025324113236393,
      "IsAutoCreateGenericAccountCustomer" : true,
      "BSID" : "BSID",
      "IsSystem" : true,
      "IsApprovedForService" : true,
      "TradingTermType" : "TradingTermType",
      "PrimaryOperationalCustomer" : {
        "IsIndividual" : true,
        "CompanyName" : "CompanyName",
        "PrimaryContactFullName" : "PrimaryContactFullName",
        "CustomerID" : 0
      }
    },
    "Messages" : [ "Messages", "Messages" ],
    "Actions" : [ {
      "WebsiteID" : 6,
      "Action" : "Action",
      "Description" : "Description",
      "IsActive" : true,
      "AdaptorID" : 1,
      "TriggerXML" : "TriggerXML",
      "TranslatorActionDetails" : [ {
        "WebsiteID" : 6,
        "Action" : "Action",
        "Description" : "Description",
        "IsEnabled" : true,
        "IsActive" : true,
        "DatTypeID" : 9,
        "Instructions" : [ {
          "KeyName" : "KeyName",
          "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
          "Description" : "Description",
          "FriendlyName" : "FriendlyName",
          "ValueType" : 3,
          "IsTriggerReconfigure" : true,
          "Value" : "Value",
          "IsReadOnly" : true
        }, {
          "KeyName" : "KeyName",
          "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
          "Description" : "Description",
          "FriendlyName" : "FriendlyName",
          "ValueType" : 3,
          "IsTriggerReconfigure" : true,
          "Value" : "Value",
          "IsReadOnly" : true
        } ],
        "InstructionsXML" : "InstructionsXML",
        "Name" : "Name",
        "RefDatTypeID" : 6,
        "TenantID" : 3,
        "UserID" : 1,
        "TranslatorID" : 6,
        "AdaptorActionID" : 8,
        "ID" : 9,
        "TranslationDefinition" : "TranslationDefinition"
      }, {
        "WebsiteID" : 6,
        "Action" : "Action",
        "Description" : "Description",
        "IsEnabled" : true,
        "IsActive" : true,
        "DatTypeID" : 9,
        "Instructions" : [ {
          "KeyName" : "KeyName",
          "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
          "Description" : "Description",
          "FriendlyName" : "FriendlyName",
          "ValueType" : 3,
          "IsTriggerReconfigure" : true,
          "Value" : "Value",
          "IsReadOnly" : true
        }, {
          "KeyName" : "KeyName",
          "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
          "Description" : "Description",
          "FriendlyName" : "FriendlyName",
          "ValueType" : 3,
          "IsTriggerReconfigure" : true,
          "Value" : "Value",
          "IsReadOnly" : true
        } ],
        "InstructionsXML" : "InstructionsXML",
        "Name" : "Name",
        "RefDatTypeID" : 6,
        "TenantID" : 3,
        "UserID" : 1,
        "TranslatorID" : 6,
        "AdaptorActionID" : 8,
        "ID" : 9,
        "TranslationDefinition" : "TranslationDefinition"
      } ],
      "DatTypeID" : 4,
      "Instructions" : [ {
        "KeyName" : "KeyName",
        "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
        "Description" : "Description",
        "FriendlyName" : "FriendlyName",
        "ValueType" : 3,
        "IsTriggerReconfigure" : true,
        "Value" : "Value",
        "IsReadOnly" : true
      }, {
        "KeyName" : "KeyName",
        "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
        "Description" : "Description",
        "FriendlyName" : "FriendlyName",
        "ValueType" : 3,
        "IsTriggerReconfigure" : true,
        "Value" : "Value",
        "IsReadOnly" : true
      } ],
      "InstructionsXML" : "InstructionsXML",
      "Name" : "Name",
      "LastExecDateTime" : "2000-01-23T04:56:07.000+00:00",
      "RefDatTypeID" : 5,
      "TenantID" : 2,
      "UserID" : 6,
      "LastExecUserID" : 9,
      "LastExecDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
      "ID" : 7,
      "IsAutoQueue" : true
    }, {
      "WebsiteID" : 6,
      "Action" : "Action",
      "Description" : "Description",
      "IsActive" : true,
      "AdaptorID" : 1,
      "TriggerXML" : "TriggerXML",
      "TranslatorActionDetails" : [ {
        "WebsiteID" : 6,
        "Action" : "Action",
        "Description" : "Description",
        "IsEnabled" : true,
        "IsActive" : true,
        "DatTypeID" : 9,
        "Instructions" : [ {
          "KeyName" : "KeyName",
          "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
          "Description" : "Description",
          "FriendlyName" : "FriendlyName",
          "ValueType" : 3,
          "IsTriggerReconfigure" : true,
          "Value" : "Value",
          "IsReadOnly" : true
        }, {
          "KeyName" : "KeyName",
          "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
          "Description" : "Description",
          "FriendlyName" : "FriendlyName",
          "ValueType" : 3,
          "IsTriggerReconfigure" : true,
          "Value" : "Value",
          "IsReadOnly" : true
        } ],
        "InstructionsXML" : "InstructionsXML",
        "Name" : "Name",
        "RefDatTypeID" : 6,
        "TenantID" : 3,
        "UserID" : 1,
        "TranslatorID" : 6,
        "AdaptorActionID" : 8,
        "ID" : 9,
        "TranslationDefinition" : "TranslationDefinition"
      }, {
        "WebsiteID" : 6,
        "Action" : "Action",
        "Description" : "Description",
        "IsEnabled" : true,
        "IsActive" : true,
        "DatTypeID" : 9,
        "Instructions" : [ {
          "KeyName" : "KeyName",
          "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
          "Description" : "Description",
          "FriendlyName" : "FriendlyName",
          "ValueType" : 3,
          "IsTriggerReconfigure" : true,
          "Value" : "Value",
          "IsReadOnly" : true
        }, {
          "KeyName" : "KeyName",
          "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
          "Description" : "Description",
          "FriendlyName" : "FriendlyName",
          "ValueType" : 3,
          "IsTriggerReconfigure" : true,
          "Value" : "Value",
          "IsReadOnly" : true
        } ],
        "InstructionsXML" : "InstructionsXML",
        "Name" : "Name",
        "RefDatTypeID" : 6,
        "TenantID" : 3,
        "UserID" : 1,
        "TranslatorID" : 6,
        "AdaptorActionID" : 8,
        "ID" : 9,
        "TranslationDefinition" : "TranslationDefinition"
      } ],
      "DatTypeID" : 4,
      "Instructions" : [ {
        "KeyName" : "KeyName",
        "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
        "Description" : "Description",
        "FriendlyName" : "FriendlyName",
        "ValueType" : 3,
        "IsTriggerReconfigure" : true,
        "Value" : "Value",
        "IsReadOnly" : true
      }, {
        "KeyName" : "KeyName",
        "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
        "Description" : "Description",
        "FriendlyName" : "FriendlyName",
        "ValueType" : 3,
        "IsTriggerReconfigure" : true,
        "Value" : "Value",
        "IsReadOnly" : true
      } ],
      "InstructionsXML" : "InstructionsXML",
      "Name" : "Name",
      "LastExecDateTime" : "2000-01-23T04:56:07.000+00:00",
      "RefDatTypeID" : 5,
      "TenantID" : 2,
      "UserID" : 6,
      "LastExecUserID" : 9,
      "LastExecDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
      "ID" : 7,
      "IsAutoQueue" : true
    } ],
    "MasterAdaptorID" : 9,
    "OrganisationId" : "OrganisationId",
    "IsUsedByTenant" : true,
    "Instructions" : [ {
      "KeyName" : "KeyName",
      "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
      "Description" : "Description",
      "FriendlyName" : "FriendlyName",
      "ValueType" : 3,
      "IsTriggerReconfigure" : true,
      "Value" : "Value",
      "IsReadOnly" : true
    }, {
      "KeyName" : "KeyName",
      "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
      "Description" : "Description",
      "FriendlyName" : "FriendlyName",
      "ValueType" : 3,
      "IsTriggerReconfigure" : true,
      "Value" : "Value",
      "IsReadOnly" : true
    } ],
    "InstructionsXML" : "InstructionsXML",
    "IconURL" : "IconURL",
    "Type" : "Type",
    "IsTarget" : true
  },
  "CompletedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
  "ID" : 4,
  "Interval" : 5
}' \
 -d 'Custom MIME type example not yet supported: text/json' \
 -d '<null>
  <WorkflowID>123</WorkflowID>
  <TaskTypeID>123</TaskTypeID>
  <Name>aeiou</Name>
  <NameFriendlyName>aeiou</NameFriendlyName>
  <DocumentID>123</DocumentID>
  <IsActive>true</IsActive>
  <IsRecurringSchedule>true</IsRecurringSchedule>
  <IsEnabled>true</IsEnabled>
  <Interval>123</Interval>
  <IntervalType>123</IntervalType>
  <CompletedDateTime_utc>2000-01-23T04:56:07.000Z</CompletedDateTime_utc>
  <Status>aeiou</Status>
  <IDs>123</IDs>
  <RecurrenceType>123</RecurrenceType>
  <TimeOfDay>2000-01-23T04:56:07.000Z</TimeOfDay>
  <ID>123</ID>
  <DatTypeID>123</DatTypeID>
  <DatTypeFriendlyName>aeiou</DatTypeFriendlyName>
</null>' \
 -d 'Custom MIME type example not yet supported: text/xml' \
 -d 'Custom MIME type example not yet supported: application/x-www-form-urlencoded'
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();
        array[ScheduledTaskInfo] scheduledTaskInfo = ; // array[ScheduledTaskInfo] | 

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

final api_instance = DefaultApi();

final array[ScheduledTaskInfo] scheduledTaskInfo = new array[ScheduledTaskInfo](); // array[ScheduledTaskInfo] | 

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

import org.openapitools.client.api.DefaultApi;

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

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


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

// ScheduledTask_Post
[apiInstance scheduledTaskPostWith:scheduledTaskInfo
              completionHandler: ^(ActionResults output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiScheduledTasks = require('as_server_api_scheduled_tasks');

// Create an instance of the API class
var api = new AsServerApiScheduledTasks.DefaultApi()
var opts = {
  'scheduledTaskInfo':  // {array[ScheduledTaskInfo]} 
};

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

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

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var scheduledTaskInfo = new array[ScheduledTaskInfo](); // array[ScheduledTaskInfo] |  (optional) 

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

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$scheduledTaskInfo = ; // array[ScheduledTaskInfo] | 

try {
    $result = $api_instance->scheduledTaskPost($scheduledTaskInfo);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->scheduledTaskPost: ', $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 $scheduledTaskInfo = [WWW::OPenAPIClient::Object::array[ScheduledTaskInfo]->new()]; # array[ScheduledTaskInfo] | 

eval {
    my $result = $api_instance->scheduledTaskPost(scheduledTaskInfo => $scheduledTaskInfo);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->scheduledTaskPost: $@\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()
scheduledTaskInfo =  # array[ScheduledTaskInfo] |  (optional)

try:
    # ScheduledTask_Post
    api_response = api_instance.scheduled_task_post(scheduledTaskInfo=scheduledTaskInfo)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->scheduledTaskPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let scheduledTaskInfo = ; // array[ScheduledTaskInfo]

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

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

Scopes

Parameters

Body parameters
Name Description
scheduledTaskInfo

Responses


scheduledTaskPut

ScheduledTask_Put


/ScheduledTasks/ScheduledTask/Put/{id}

Usage and SDK Samples

curl -X PUT \
 -H "Accept: application/json,text/json,application/xml,text/xml" \
 -H "Content-Type: application/json,text/json,application/xml,text/xml,application/x-www-form-urlencoded" \
 "https://api.dev.spenda.co/api/ScheduledTasks/ScheduledTask/Put/{id}" \
 -d '{
  "Status" : "Status",
  "TimeOfDay" : "2000-01-23T04:56:07.000+00:00",
  "IsEnabled" : true,
  "IsActive" : true,
  "IntervalType" : 5,
  "TaskTypeID" : 6,
  "RecurrenceType" : 8,
  "DatTypeFriendlyName" : "DatTypeFriendlyName",
  "NameFriendlyName" : "NameFriendlyName",
  "DocumentID" : 1,
  "DatTypeID" : 3,
  "WorkflowID" : 0,
  "Name" : "Name",
  "IsRecurringSchedule" : true,
  "IDs" : [ 2, 2 ],
  "AdaptorDetails" : {
    "Description" : "Description",
    "AdaptorCategory" : 7,
    "IsActive" : true,
    "IsAuthorized" : true,
    "DefaultInventoryClass" : {
      "Description" : "Description",
      "IsApprovedForWeb" : true,
      "IsApprovedForPOS" : true,
      "SalesPostingInventoryRevenueAccountCode" : "SalesPostingInventoryRevenueAccountCode",
      "IsActive" : true,
      "CountOfProducts" : 4,
      "SalesPostingInventoryExpenseAccountCode" : "SalesPostingInventoryExpenseAccountCode",
      "SalesPostingInventoryCode" : "SalesPostingInventoryCode",
      "Name" : "Name",
      "GUIDstring" : "GUIDstring",
      "SalesPostingInventoryID" : 3,
      "SalesPostingInventoryName" : "SalesPostingInventoryName",
      "Version" : 6.704019297950036,
      "SyncLogs" : [ {
        "Status" : "Status",
        "LastImportDateTime" : "2000-01-23T04:56:07.000+00:00",
        "AdaptorID" : 3,
        "LastImportDateTime_offset" : 7,
        "LastExportDateTime_offset" : 5,
        "LastModifiedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
        "LastExportDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
        "BSID" : "BSID",
        "Details" : "Details",
        "SyncCode" : "SyncCode",
        "LastExportDateTime" : "2000-01-23T04:56:07.000+00:00",
        "LastModifiedDateTime_offset" : 3,
        "ID" : 3,
        "LastImportDateTime_utc" : "2000-01-23T04:56:07.000+00:00"
      }, {
        "Status" : "Status",
        "LastImportDateTime" : "2000-01-23T04:56:07.000+00:00",
        "AdaptorID" : 3,
        "LastImportDateTime_offset" : 7,
        "LastExportDateTime_offset" : 5,
        "LastModifiedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
        "LastExportDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
        "BSID" : "BSID",
        "Details" : "Details",
        "SyncCode" : "SyncCode",
        "LastExportDateTime" : "2000-01-23T04:56:07.000+00:00",
        "LastModifiedDateTime_offset" : 3,
        "ID" : 3,
        "LastImportDateTime_utc" : "2000-01-23T04:56:07.000+00:00"
      } ],
      "CreatedWith" : "CreatedWith",
      "ServicePostingInventoryID" : 7,
      "InventoryClassGroup" : {
        "IsDefault" : true,
        "Description" : "Description",
        "IsActive" : true,
        "GUID" : "00000000-0000-0000-0000-000000000000",
        "Name" : "Name",
        "GUIDstring" : "GUIDstring",
        "SupplierID" : 0,
        "InventoryClasses" : [ null, null ],
        "RowNumber" : 0,
        "BSID" : "BSID",
        "Version" : 7.058770351582356,
        "CreatedWith" : "CreatedWith",
        "IsSystem" : true,
        "ID" : 6,
        "InventoryClassGroupType" : {
          "IsDefault" : true,
          "Description" : "Description",
          "IsActive" : true,
          "GUID" : "00000000-0000-0000-0000-000000000000",
          "Name" : "Name",
          "GUIDstring" : "GUIDstring",
          "IsGeneric" : true,
          "RowNumber" : 4,
          "BSID" : "BSID",
          "Version" : 8.969578798196912,
          "CreatedWith" : "CreatedWith",
          "IsSystem" : true,
          "ID" : 7,
          "InventoryClassGroups" : [ null, null ]
        }
      },
      "ID" : 3,
      "PostingBehaviour" : "PostingBehaviour",
      "ServicePostingInventoryCode" : "ServicePostingInventoryCode",
      "ServicePostingInventoryExpenseAccountCode" : "ServicePostingInventoryExpenseAccountCode",
      "ModifiedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
      "GUID" : "00000000-0000-0000-0000-000000000000",
      "RowNumber" : 5,
      "BSID" : "BSID",
      "IsAutoCreateGenericAccountInventory" : true,
      "CreatedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
      "ServicePostingInventoryRevenueAccountCode" : "ServicePostingInventoryRevenueAccountCode",
      "IsSystem" : true,
      "IsApprovedForService" : true,
      "ServicePostingInventoryName" : "ServicePostingInventoryName"
    },
    "TranslatorDetails" : [ {
      "WebsiteID" : 1,
      "Description" : "Description",
      "IsEnabled" : true,
      "IsActive" : true,
      "MasterAdaptorID" : 7,
      "AdaptorID" : 1,
      "IsUsedByTenant" : true,
      "Instructions" : [ {
        "KeyName" : "KeyName",
        "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
        "Description" : "Description",
        "FriendlyName" : "FriendlyName",
        "ValueType" : 3,
        "IsTriggerReconfigure" : true,
        "Value" : "Value",
        "IsReadOnly" : true
      }, {
        "KeyName" : "KeyName",
        "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
        "Description" : "Description",
        "FriendlyName" : "FriendlyName",
        "ValueType" : 3,
        "IsTriggerReconfigure" : true,
        "Value" : "Value",
        "IsReadOnly" : true
      } ],
      "InstructionsXML" : "InstructionsXML",
      "Name" : "Name",
      "IconURL" : "IconURL",
      "IsSource" : true,
      "TenantID" : 1,
      "Version" : "Version",
      "UserID" : 6,
      "ID" : 2,
      "MasterTranslatorID" : 4,
      "TranslationDefinition" : "TranslationDefinition",
      "IsTarget" : true
    }, {
      "WebsiteID" : 1,
      "Description" : "Description",
      "IsEnabled" : true,
      "IsActive" : true,
      "MasterAdaptorID" : 7,
      "AdaptorID" : 1,
      "IsUsedByTenant" : true,
      "Instructions" : [ {
        "KeyName" : "KeyName",
        "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
        "Description" : "Description",
        "FriendlyName" : "FriendlyName",
        "ValueType" : 3,
        "IsTriggerReconfigure" : true,
        "Value" : "Value",
        "IsReadOnly" : true
      }, {
        "KeyName" : "KeyName",
        "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
        "Description" : "Description",
        "FriendlyName" : "FriendlyName",
        "ValueType" : 3,
        "IsTriggerReconfigure" : true,
        "Value" : "Value",
        "IsReadOnly" : true
      } ],
      "InstructionsXML" : "InstructionsXML",
      "Name" : "Name",
      "IconURL" : "IconURL",
      "IsSource" : true,
      "TenantID" : 1,
      "Version" : "Version",
      "UserID" : 6,
      "ID" : 2,
      "MasterTranslatorID" : 4,
      "TranslationDefinition" : "TranslationDefinition",
      "IsTarget" : true
    } ],
    "Name" : "Name",
    "TokenDetails" : {
      "HasExpired" : true,
      "TokenSecret" : "TokenSecret",
      "TokenKey" : "TokenKey",
      "OrgName" : "OrgName",
      "Verifier" : "Verifier",
      "Provider" : "Provider",
      "OrgID" : "OrgID",
      "HasSessionExpired" : true,
      "Username" : "Username",
      "ConsumerKey" : "ConsumerKey",
      "UserAgent" : "UserAgent",
      "ConsumerSecret" : "ConsumerSecret",
      "SessionExpiresAt" : "2000-01-23T04:56:07.000+00:00",
      "ExpiresAt" : "2000-01-23T04:56:07.000+00:00",
      "Session" : "Session"
    },
    "IsSource" : true,
    "TenantID" : 5,
    "Version" : "Version",
    "UserID" : 6,
    "OrganisationName" : "OrganisationName",
    "FullIconUrl" : "FullIconUrl",
    "ID" : 7,
    "WebsiteID" : 4,
    "DefaultCustomerClass" : {
      "HasBeenSaved" : true,
      "CountOfCustomers" : 9,
      "IsAccountCustomerBatched" : true,
      "Description" : "Description",
      "IsApprovedForWeb" : true,
      "IsApprovedForPOS" : true,
      "IsActive" : true,
      "BatchInvoiceFrequencyDays" : 4,
      "BatchInvoicePrefix" : "BatchInvoicePrefix",
      "Name" : "Name",
      "GUIDstring" : "GUIDstring",
      "IsAutoApprovedforClaimRequests" : true,
      "IsAutoSendPayByLinkInvoice" : true,
      "TradingTermDays" : 7,
      "DefaultPricingBandID" : 0,
      "ID" : 6,
      "PostingBehaviour" : "PostingBehaviour",
      "IsCanSetFundingRate" : true,
      "CreditLimit" : 4.678947989005849,
      "LoyaltyDescription" : "LoyaltyDescription",
      "GUID" : "00000000-0000-0000-0000-000000000000",
      "GenericAccountCustomerID" : 1,
      "TradingTermID" : 9,
      "IsLoyaltyEligible" : true,
      "IsBatchInvoice" : true,
      "GenericAccountCustomerName" : "GenericAccountCustomerName",
      "AccountCustomerRefNumberPrefix" : "AccountCustomerRefNumberPrefix",
      "IsExemptFromMerchantSurcharge" : true,
      "FundingRate" : 0.2025324113236393,
      "IsAutoCreateGenericAccountCustomer" : true,
      "BSID" : "BSID",
      "IsSystem" : true,
      "IsApprovedForService" : true,
      "TradingTermType" : "TradingTermType",
      "PrimaryOperationalCustomer" : {
        "IsIndividual" : true,
        "CompanyName" : "CompanyName",
        "PrimaryContactFullName" : "PrimaryContactFullName",
        "CustomerID" : 0
      }
    },
    "Messages" : [ "Messages", "Messages" ],
    "Actions" : [ {
      "WebsiteID" : 6,
      "Action" : "Action",
      "Description" : "Description",
      "IsActive" : true,
      "AdaptorID" : 1,
      "TriggerXML" : "TriggerXML",
      "TranslatorActionDetails" : [ {
        "WebsiteID" : 6,
        "Action" : "Action",
        "Description" : "Description",
        "IsEnabled" : true,
        "IsActive" : true,
        "DatTypeID" : 9,
        "Instructions" : [ {
          "KeyName" : "KeyName",
          "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
          "Description" : "Description",
          "FriendlyName" : "FriendlyName",
          "ValueType" : 3,
          "IsTriggerReconfigure" : true,
          "Value" : "Value",
          "IsReadOnly" : true
        }, {
          "KeyName" : "KeyName",
          "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
          "Description" : "Description",
          "FriendlyName" : "FriendlyName",
          "ValueType" : 3,
          "IsTriggerReconfigure" : true,
          "Value" : "Value",
          "IsReadOnly" : true
        } ],
        "InstructionsXML" : "InstructionsXML",
        "Name" : "Name",
        "RefDatTypeID" : 6,
        "TenantID" : 3,
        "UserID" : 1,
        "TranslatorID" : 6,
        "AdaptorActionID" : 8,
        "ID" : 9,
        "TranslationDefinition" : "TranslationDefinition"
      }, {
        "WebsiteID" : 6,
        "Action" : "Action",
        "Description" : "Description",
        "IsEnabled" : true,
        "IsActive" : true,
        "DatTypeID" : 9,
        "Instructions" : [ {
          "KeyName" : "KeyName",
          "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
          "Description" : "Description",
          "FriendlyName" : "FriendlyName",
          "ValueType" : 3,
          "IsTriggerReconfigure" : true,
          "Value" : "Value",
          "IsReadOnly" : true
        }, {
          "KeyName" : "KeyName",
          "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
          "Description" : "Description",
          "FriendlyName" : "FriendlyName",
          "ValueType" : 3,
          "IsTriggerReconfigure" : true,
          "Value" : "Value",
          "IsReadOnly" : true
        } ],
        "InstructionsXML" : "InstructionsXML",
        "Name" : "Name",
        "RefDatTypeID" : 6,
        "TenantID" : 3,
        "UserID" : 1,
        "TranslatorID" : 6,
        "AdaptorActionID" : 8,
        "ID" : 9,
        "TranslationDefinition" : "TranslationDefinition"
      } ],
      "DatTypeID" : 4,
      "Instructions" : [ {
        "KeyName" : "KeyName",
        "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
        "Description" : "Description",
        "FriendlyName" : "FriendlyName",
        "ValueType" : 3,
        "IsTriggerReconfigure" : true,
        "Value" : "Value",
        "IsReadOnly" : true
      }, {
        "KeyName" : "KeyName",
        "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
        "Description" : "Description",
        "FriendlyName" : "FriendlyName",
        "ValueType" : 3,
        "IsTriggerReconfigure" : true,
        "Value" : "Value",
        "IsReadOnly" : true
      } ],
      "InstructionsXML" : "InstructionsXML",
      "Name" : "Name",
      "LastExecDateTime" : "2000-01-23T04:56:07.000+00:00",
      "RefDatTypeID" : 5,
      "TenantID" : 2,
      "UserID" : 6,
      "LastExecUserID" : 9,
      "LastExecDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
      "ID" : 7,
      "IsAutoQueue" : true
    }, {
      "WebsiteID" : 6,
      "Action" : "Action",
      "Description" : "Description",
      "IsActive" : true,
      "AdaptorID" : 1,
      "TriggerXML" : "TriggerXML",
      "TranslatorActionDetails" : [ {
        "WebsiteID" : 6,
        "Action" : "Action",
        "Description" : "Description",
        "IsEnabled" : true,
        "IsActive" : true,
        "DatTypeID" : 9,
        "Instructions" : [ {
          "KeyName" : "KeyName",
          "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
          "Description" : "Description",
          "FriendlyName" : "FriendlyName",
          "ValueType" : 3,
          "IsTriggerReconfigure" : true,
          "Value" : "Value",
          "IsReadOnly" : true
        }, {
          "KeyName" : "KeyName",
          "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
          "Description" : "Description",
          "FriendlyName" : "FriendlyName",
          "ValueType" : 3,
          "IsTriggerReconfigure" : true,
          "Value" : "Value",
          "IsReadOnly" : true
        } ],
        "InstructionsXML" : "InstructionsXML",
        "Name" : "Name",
        "RefDatTypeID" : 6,
        "TenantID" : 3,
        "UserID" : 1,
        "TranslatorID" : 6,
        "AdaptorActionID" : 8,
        "ID" : 9,
        "TranslationDefinition" : "TranslationDefinition"
      }, {
        "WebsiteID" : 6,
        "Action" : "Action",
        "Description" : "Description",
        "IsEnabled" : true,
        "IsActive" : true,
        "DatTypeID" : 9,
        "Instructions" : [ {
          "KeyName" : "KeyName",
          "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
          "Description" : "Description",
          "FriendlyName" : "FriendlyName",
          "ValueType" : 3,
          "IsTriggerReconfigure" : true,
          "Value" : "Value",
          "IsReadOnly" : true
        }, {
          "KeyName" : "KeyName",
          "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
          "Description" : "Description",
          "FriendlyName" : "FriendlyName",
          "ValueType" : 3,
          "IsTriggerReconfigure" : true,
          "Value" : "Value",
          "IsReadOnly" : true
        } ],
        "InstructionsXML" : "InstructionsXML",
        "Name" : "Name",
        "RefDatTypeID" : 6,
        "TenantID" : 3,
        "UserID" : 1,
        "TranslatorID" : 6,
        "AdaptorActionID" : 8,
        "ID" : 9,
        "TranslationDefinition" : "TranslationDefinition"
      } ],
      "DatTypeID" : 4,
      "Instructions" : [ {
        "KeyName" : "KeyName",
        "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
        "Description" : "Description",
        "FriendlyName" : "FriendlyName",
        "ValueType" : 3,
        "IsTriggerReconfigure" : true,
        "Value" : "Value",
        "IsReadOnly" : true
      }, {
        "KeyName" : "KeyName",
        "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
        "Description" : "Description",
        "FriendlyName" : "FriendlyName",
        "ValueType" : 3,
        "IsTriggerReconfigure" : true,
        "Value" : "Value",
        "IsReadOnly" : true
      } ],
      "InstructionsXML" : "InstructionsXML",
      "Name" : "Name",
      "LastExecDateTime" : "2000-01-23T04:56:07.000+00:00",
      "RefDatTypeID" : 5,
      "TenantID" : 2,
      "UserID" : 6,
      "LastExecUserID" : 9,
      "LastExecDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
      "ID" : 7,
      "IsAutoQueue" : true
    } ],
    "MasterAdaptorID" : 9,
    "OrganisationId" : "OrganisationId",
    "IsUsedByTenant" : true,
    "Instructions" : [ {
      "KeyName" : "KeyName",
      "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
      "Description" : "Description",
      "FriendlyName" : "FriendlyName",
      "ValueType" : 3,
      "IsTriggerReconfigure" : true,
      "Value" : "Value",
      "IsReadOnly" : true
    }, {
      "KeyName" : "KeyName",
      "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
      "Description" : "Description",
      "FriendlyName" : "FriendlyName",
      "ValueType" : 3,
      "IsTriggerReconfigure" : true,
      "Value" : "Value",
      "IsReadOnly" : true
    } ],
    "InstructionsXML" : "InstructionsXML",
    "IconURL" : "IconURL",
    "Type" : "Type",
    "IsTarget" : true
  },
  "CompletedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
  "ID" : 4,
  "Interval" : 5
}' \
 -d 'Custom MIME type example not yet supported: text/json' \
 -d '<ScheduledTaskInfo>
  <WorkflowID>123</WorkflowID>
  <TaskTypeID>123</TaskTypeID>
  <Name>aeiou</Name>
  <NameFriendlyName>aeiou</NameFriendlyName>
  <DocumentID>123</DocumentID>
  <IsActive>true</IsActive>
  <IsRecurringSchedule>true</IsRecurringSchedule>
  <IsEnabled>true</IsEnabled>
  <Interval>123</Interval>
  <IntervalType>123</IntervalType>
  <CompletedDateTime_utc>2000-01-23T04:56:07.000Z</CompletedDateTime_utc>
  <Status>aeiou</Status>
  <IDs>123</IDs>
  <null>
    <ID>123</ID>
    <MasterAdaptorID>123</MasterAdaptorID>
    <Name>aeiou</Name>
    <IconURL>aeiou</IconURL>
    <FullIconUrl>aeiou</FullIconUrl>
    <Description>aeiou</Description>
    <Version>aeiou</Version>
    <IsSource>true</IsSource>
    <IsTarget>true</IsTarget>
    <InstructionsXML>aeiou</InstructionsXML>
    <IsActive>true</IsActive>
    <IsUsedByTenant>true</IsUsedByTenant>
    <IsAuthorized>true</IsAuthorized>
    <Type>aeiou</Type>
    <OrganisationId>aeiou</OrganisationId>
    <OrganisationName>aeiou</OrganisationName>
    <Messages>aeiou</Messages>
    <AdaptorCategory>123</AdaptorCategory>
    <TenantID>123</TenantID>
    <WebsiteID>123</WebsiteID>
    <UserID>123</UserID>
  </null>
  <RecurrenceType>123</RecurrenceType>
  <TimeOfDay>2000-01-23T04:56:07.000Z</TimeOfDay>
  <ID>123</ID>
  <DatTypeID>123</DatTypeID>
  <DatTypeFriendlyName>aeiou</DatTypeFriendlyName>
</ScheduledTaskInfo>' \
 -d 'Custom MIME type example not yet supported: text/xml' \
 -d 'Custom MIME type example not yet supported: application/x-www-form-urlencoded'
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 id = 56; // Integer | Format - int32.
        ScheduledTaskInfo scheduledTaskInfo = ; // ScheduledTaskInfo | 

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

final api_instance = DefaultApi();

final Integer id = new Integer(); // Integer | Format - int32.
final ScheduledTaskInfo scheduledTaskInfo = new ScheduledTaskInfo(); // ScheduledTaskInfo | 

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

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Integer id = 56; // Integer | Format - int32.
        ScheduledTaskInfo scheduledTaskInfo = ; // ScheduledTaskInfo | 

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


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Integer *id = 56; // Format - int32. (default to null)
ScheduledTaskInfo *scheduledTaskInfo = ; //  (optional)

// ScheduledTask_Put
[apiInstance scheduledTaskPutWith:id
    scheduledTaskInfo:scheduledTaskInfo
              completionHandler: ^(ActionResults_Int32_ output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiScheduledTasks = require('as_server_api_scheduled_tasks');

// Create an instance of the API class
var api = new AsServerApiScheduledTasks.DefaultApi()
var id = 56; // {Integer} Format - int32.
var opts = {
  'scheduledTaskInfo':  // {ScheduledTaskInfo} 
};

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

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

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = 56;  // Integer | Format - int32. (default to null)
            var scheduledTaskInfo = new ScheduledTaskInfo(); // ScheduledTaskInfo |  (optional) 

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

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = 56; // Integer | Format - int32.
$scheduledTaskInfo = ; // ScheduledTaskInfo | 

try {
    $result = $api_instance->scheduledTaskPut($id, $scheduledTaskInfo);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->scheduledTaskPut: ', $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 = 56; # Integer | Format - int32.
my $scheduledTaskInfo = WWW::OPenAPIClient::Object::ScheduledTaskInfo->new(); # ScheduledTaskInfo | 

eval {
    my $result = $api_instance->scheduledTaskPut(id => $id, scheduledTaskInfo => $scheduledTaskInfo);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->scheduledTaskPut: $@\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 = 56 # Integer | Format - int32. (default to null)
scheduledTaskInfo =  # ScheduledTaskInfo |  (optional)

try:
    # ScheduledTask_Put
    api_response = api_instance.scheduled_task_put(id, scheduledTaskInfo=scheduledTaskInfo)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->scheduledTaskPut: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = 56; // Integer
    let scheduledTaskInfo = ; // ScheduledTaskInfo

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

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

Scopes

Parameters

Path parameters
Name Description
id*
Integer (int32)
Format - int32.
Required
Body parameters
Name Description
scheduledTaskInfo

Responses