AS Server - API - AdaptorAction

Default

adaptorActionGet

AdaptorAction_Get


/AdaptorAction/Get

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json,text/json,application/xml,text/xml" \
 -H "Content-Type: application/x-www-form-urlencoded" \
 "https://api.dev.spenda.co/api/AdaptorAction/Get?req.iD=56&req.gUID=38400000-8cf0-11bd-b23e-10b96e4ef00d&req.isGetExtraInfo=true&req.tenantID=56&req.websiteID=56&req.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();
        Integer reqPeriodiD = 56; // Integer | 
        UUID reqPeriodgUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | 
        Boolean reqPeriodisGetExtraInfo = true; // Boolean | 
        Integer reqPeriodtenantID = 56; // Integer | 
        Integer reqPeriodwebsiteID = 56; // Integer | 
        Integer reqPerioduserID = 56; // Integer | 

        try {
            Object result = apiInstance.adaptorActionGet(reqPeriodiD, reqPeriodgUID, reqPeriodisGetExtraInfo, reqPeriodtenantID, reqPeriodwebsiteID, reqPerioduserID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#adaptorActionGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Integer reqPeriodiD = new Integer(); // Integer | 
final UUID reqPeriodgUID = new UUID(); // UUID | 
final Boolean reqPeriodisGetExtraInfo = new Boolean(); // Boolean | 
final Integer reqPeriodtenantID = new Integer(); // Integer | 
final Integer reqPeriodwebsiteID = new Integer(); // Integer | 
final Integer reqPerioduserID = new Integer(); // Integer | 

try {
    final result = await api_instance.adaptorActionGet(reqPeriodiD, reqPeriodgUID, reqPeriodisGetExtraInfo, reqPeriodtenantID, reqPeriodwebsiteID, reqPerioduserID);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->adaptorActionGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Integer reqPeriodiD = 56; // Integer | 
        UUID reqPeriodgUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | 
        Boolean reqPeriodisGetExtraInfo = true; // Boolean | 
        Integer reqPeriodtenantID = 56; // Integer | 
        Integer reqPeriodwebsiteID = 56; // Integer | 
        Integer reqPerioduserID = 56; // Integer | 

        try {
            Object result = apiInstance.adaptorActionGet(reqPeriodiD, reqPeriodgUID, reqPeriodisGetExtraInfo, reqPeriodtenantID, reqPeriodwebsiteID, reqPerioduserID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#adaptorActionGet");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Integer *reqPeriodiD = 56; //  (optional) (default to null)
UUID *reqPeriodgUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d; //  (optional) (default to null)
Boolean *reqPeriodisGetExtraInfo = true; //  (optional) (default to null)
Integer *reqPeriodtenantID = 56; //  (optional) (default to null)
Integer *reqPeriodwebsiteID = 56; //  (optional) (default to null)
Integer *reqPerioduserID = 56; //  (optional) (default to null)

// AdaptorAction_Get
[apiInstance adaptorActionGetWith:reqPeriodiD
    reqPeriodgUID:reqPeriodgUID
    reqPeriodisGetExtraInfo:reqPeriodisGetExtraInfo
    reqPeriodtenantID:reqPeriodtenantID
    reqPeriodwebsiteID:reqPeriodwebsiteID
    reqPerioduserID:reqPerioduserID
              completionHandler: ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiAdaptorAction = require('as_server_api_adaptor_action');

// Create an instance of the API class
var api = new AsServerApiAdaptorAction.DefaultApi()
var opts = {
  'reqPeriodiD': 56, // {Integer} 
  'reqPeriodgUID': 38400000-8cf0-11bd-b23e-10b96e4ef00d, // {UUID} 
  'reqPeriodisGetExtraInfo': true, // {Boolean} 
  'reqPeriodtenantID': 56, // {Integer} 
  'reqPeriodwebsiteID': 56, // {Integer} 
  'reqPerioduserID': 56 // {Integer} 
};

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

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

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var reqPeriodiD = 56;  // Integer |  (optional)  (default to null)
            var reqPeriodgUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d;  // UUID |  (optional)  (default to null)
            var reqPeriodisGetExtraInfo = true;  // Boolean |  (optional)  (default to null)
            var reqPeriodtenantID = 56;  // Integer |  (optional)  (default to null)
            var reqPeriodwebsiteID = 56;  // Integer |  (optional)  (default to null)
            var reqPerioduserID = 56;  // Integer |  (optional)  (default to null)

            try {
                // AdaptorAction_Get
                Object result = apiInstance.adaptorActionGet(reqPeriodiD, reqPeriodgUID, reqPeriodisGetExtraInfo, reqPeriodtenantID, reqPeriodwebsiteID, reqPerioduserID);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.adaptorActionGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$reqPeriodiD = 56; // Integer | 
$reqPeriodgUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | 
$reqPeriodisGetExtraInfo = true; // Boolean | 
$reqPeriodtenantID = 56; // Integer | 
$reqPeriodwebsiteID = 56; // Integer | 
$reqPerioduserID = 56; // Integer | 

try {
    $result = $api_instance->adaptorActionGet($reqPeriodiD, $reqPeriodgUID, $reqPeriodisGetExtraInfo, $reqPeriodtenantID, $reqPeriodwebsiteID, $reqPerioduserID);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->adaptorActionGet: ', $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 $reqPeriodiD = 56; # Integer | 
my $reqPeriodgUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | 
my $reqPeriodisGetExtraInfo = true; # Boolean | 
my $reqPeriodtenantID = 56; # Integer | 
my $reqPeriodwebsiteID = 56; # Integer | 
my $reqPerioduserID = 56; # Integer | 

eval {
    my $result = $api_instance->adaptorActionGet(reqPeriodiD => $reqPeriodiD, reqPeriodgUID => $reqPeriodgUID, reqPeriodisGetExtraInfo => $reqPeriodisGetExtraInfo, reqPeriodtenantID => $reqPeriodtenantID, reqPeriodwebsiteID => $reqPeriodwebsiteID, reqPerioduserID => $reqPerioduserID);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->adaptorActionGet: $@\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()
reqPeriodiD = 56 # Integer |  (optional) (default to null)
reqPeriodgUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID |  (optional) (default to null)
reqPeriodisGetExtraInfo = true # Boolean |  (optional) (default to null)
reqPeriodtenantID = 56 # Integer |  (optional) (default to null)
reqPeriodwebsiteID = 56 # Integer |  (optional) (default to null)
reqPerioduserID = 56 # Integer |  (optional) (default to null)

try:
    # AdaptorAction_Get
    api_response = api_instance.adaptor_action_get(reqPeriodiD=reqPeriodiD, reqPeriodgUID=reqPeriodgUID, reqPeriodisGetExtraInfo=reqPeriodisGetExtraInfo, reqPeriodtenantID=reqPeriodtenantID, reqPeriodwebsiteID=reqPeriodwebsiteID, reqPerioduserID=reqPerioduserID)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->adaptorActionGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let reqPeriodiD = 56; // Integer
    let reqPeriodgUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let reqPeriodisGetExtraInfo = true; // Boolean
    let reqPeriodtenantID = 56; // Integer
    let reqPeriodwebsiteID = 56; // Integer
    let reqPerioduserID = 56; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.adaptorActionGet(reqPeriodiD, reqPeriodgUID, reqPeriodisGetExtraInfo, reqPeriodtenantID, reqPeriodwebsiteID, reqPerioduserID, &context).wait();

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

Scopes

Parameters

Query parameters
Name Description
req.iD
Integer (int32)
req.gUID
UUID (uuid)
req.isGetExtraInfo
Boolean
req.tenantID
Integer (int32)
req.websiteID
Integer (int32)
req.userID
Integer (int32)

Responses


adaptorActionGetActionAdaptorLog

AdaptorAction_GetActionAdaptorLog


/AdaptorAction/log/{adaptorActionLogID}

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json,text/json,application/xml,text/xml" \
 "https://api.dev.spenda.co/api/AdaptorAction/log/{adaptorActionLogID}"
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 adaptorActionLogID = 56; // Integer | 

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

final api_instance = DefaultApi();

final Integer adaptorActionLogID = new Integer(); // Integer | 

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

import org.openapitools.client.api.DefaultApi;

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

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


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

// AdaptorAction_GetActionAdaptorLog
[apiInstance adaptorActionGetActionAdaptorLogWith:adaptorActionLogID
              completionHandler: ^(ActionResults output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiAdaptorAction = require('as_server_api_adaptor_action');

// Create an instance of the API class
var api = new AsServerApiAdaptorAction.DefaultApi()
var adaptorActionLogID = 56; // {Integer} 

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

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

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var adaptorActionLogID = 56;  // Integer |  (default to null)

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

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

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

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

try:
    # AdaptorAction_GetActionAdaptorLog
    api_response = api_instance.adaptor_action_get_action_adaptor_log(adaptorActionLogID)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->adaptorActionGetActionAdaptorLog: %s\n" % e)
extern crate DefaultApi;

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

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

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

Scopes

Parameters

Path parameters
Name Description
adaptorActionLogID*
Integer (int32)
Required

Responses


adaptorActionGetPurchaseInvoiceImportSummary

AdaptorAction_GetPurchaseInvoiceImportSummary


/AdaptorAction/purchaseinvoiceimportsummary

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json,text/json,application/xml,text/xml" \
 "https://api.dev.spenda.co/api/AdaptorAction/purchaseinvoiceimportsummary"
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();

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

final api_instance = DefaultApi();


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

import org.openapitools.client.api.DefaultApi;

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

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


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];

// AdaptorAction_GetPurchaseInvoiceImportSummary
[apiInstance adaptorActionGetPurchaseInvoiceImportSummaryWithCompletionHandler: 
              ^(ActionResults_List_AdaptorActionLogResponse__ output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiAdaptorAction = require('as_server_api_adaptor_action');

// Create an instance of the API class
var api = new AsServerApiAdaptorAction.DefaultApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.adaptorActionGetPurchaseInvoiceImportSummary(callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

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

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

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

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

try {
    $result = $api_instance->adaptorActionGetPurchaseInvoiceImportSummary();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->adaptorActionGetPurchaseInvoiceImportSummary: ', $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();

eval {
    my $result = $api_instance->adaptorActionGetPurchaseInvoiceImportSummary();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->adaptorActionGetPurchaseInvoiceImportSummary: $@\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()

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

pub fn main() {

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

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

Scopes

Parameters

Responses


adaptorActionImport

AdaptorAction_Import


/AdaptorAction/import

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/AdaptorAction/import" \
 -d '{
  "Path" : "Path",
  "SizeFriendly" : "SizeFriendly",
  "IsSuccess" : true,
  "Type" : "Type",
  "Messages" : [ "Messages", "Messages" ],
  "Size" : 0,
  "Thumb" : "Thumb",
  "IsImage" : true,
  "ErrorCode" : 6,
  "Url" : "Url",
  "Name" : "Name"
}' \
 -d 'Custom MIME type example not yet supported: text/json' \
 -d '<FileDetails>
  <Name>aeiou</Name>
  <Path>aeiou</Path>
  <Type>aeiou</Type>
  <Url>aeiou</Url>
  <Size>123456789</Size>
  <SizeFriendly>aeiou</SizeFriendly>
  <Thumb>aeiou</Thumb>
  <IsImage>true</IsImage>
  <IsSuccess>true</IsSuccess>
  <Messages>aeiou</Messages>
  <ErrorCode>123</ErrorCode>
</FileDetails>' \
 -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();
        FileDetails fileDetails = {"Name":"string","Path":"string","Type":"string","Url":"string","Size":0,"SizeFriendly":"string","Thumb":"string","IsImage":true,"IsSuccess":true,"Messages":["string"],"ErrorCode":0}; // FileDetails | 

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

final api_instance = DefaultApi();

final FileDetails fileDetails = new FileDetails(); // FileDetails | 

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

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        FileDetails fileDetails = {"Name":"string","Path":"string","Type":"string","Url":"string","Size":0,"SizeFriendly":"string","Thumb":"string","IsImage":true,"IsSuccess":true,"Messages":["string"],"ErrorCode":0}; // FileDetails | 

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


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
FileDetails *fileDetails = {"Name":"string","Path":"string","Type":"string","Url":"string","Size":0,"SizeFriendly":"string","Thumb":"string","IsImage":true,"IsSuccess":true,"Messages":["string"],"ErrorCode":0}; //  (optional)

// AdaptorAction_Import
[apiInstance adaptorActionImportWith:fileDetails
              completionHandler: ^(SynkResults output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiAdaptorAction = require('as_server_api_adaptor_action');

// Create an instance of the API class
var api = new AsServerApiAdaptorAction.DefaultApi()
var opts = {
  'fileDetails': {"Name":"string","Path":"string","Type":"string","Url":"string","Size":0,"SizeFriendly":"string","Thumb":"string","IsImage":true,"IsSuccess":true,"Messages":["string"],"ErrorCode":0} // {FileDetails} 
};

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

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

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

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

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$fileDetails = {"Name":"string","Path":"string","Type":"string","Url":"string","Size":0,"SizeFriendly":"string","Thumb":"string","IsImage":true,"IsSuccess":true,"Messages":["string"],"ErrorCode":0}; // FileDetails | 

try {
    $result = $api_instance->adaptorActionImport($fileDetails);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->adaptorActionImport: ', $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 $fileDetails = WWW::OPenAPIClient::Object::FileDetails->new(); # FileDetails | 

eval {
    my $result = $api_instance->adaptorActionImport(fileDetails => $fileDetails);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->adaptorActionImport: $@\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()
fileDetails = {"Name":"string","Path":"string","Type":"string","Url":"string","Size":0,"SizeFriendly":"string","Thumb":"string","IsImage":true,"IsSuccess":true,"Messages":["string"],"ErrorCode":0} # FileDetails |  (optional)

try:
    # AdaptorAction_Import
    api_response = api_instance.adaptor_action_import(fileDetails=fileDetails)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->adaptorActionImport: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let fileDetails = {"Name":"string","Path":"string","Type":"string","Url":"string","Size":0,"SizeFriendly":"string","Thumb":"string","IsImage":true,"IsSuccess":true,"Messages":["string"],"ErrorCode":0}; // FileDetails

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

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

Scopes

Parameters

Body parameters
Name Description
fileDetails

Responses


adaptorActionSave

AdaptorAction_Save


/AdaptorAction/Save

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/AdaptorAction/Save" \
 -d '{
  "WebsiteID" : 6,
  "Action" : "Action",
  "Description" : "Description",
  "IsActive" : true,
  "AdaptorID" : 6,
  "TriggerXML" : "TriggerXML",
  "TranslatorActionDetails" : [ {
    "WebsiteID" : 1,
    "Action" : "Action",
    "Description" : "Description",
    "IsEnabled" : true,
    "IsActive" : true,
    "DatTypeID" : 2,
    "Instructions" : [ {
      "KeyName" : "KeyName",
      "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
      "Description" : "Description",
      "FriendlyName" : "FriendlyName",
      "ValueType" : 2,
      "IsTriggerReconfigure" : true,
      "Value" : "Value",
      "IsReadOnly" : true
    }, {
      "KeyName" : "KeyName",
      "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
      "Description" : "Description",
      "FriendlyName" : "FriendlyName",
      "ValueType" : 2,
      "IsTriggerReconfigure" : true,
      "Value" : "Value",
      "IsReadOnly" : true
    } ],
    "InstructionsXML" : "InstructionsXML",
    "Name" : "Name",
    "RefDatTypeID" : 4,
    "TenantID" : 7,
    "UserID" : 1,
    "TranslatorID" : 9,
    "AdaptorActionID" : 3,
    "ID" : 7,
    "TranslationDefinition" : "TranslationDefinition"
  }, {
    "WebsiteID" : 1,
    "Action" : "Action",
    "Description" : "Description",
    "IsEnabled" : true,
    "IsActive" : true,
    "DatTypeID" : 2,
    "Instructions" : [ {
      "KeyName" : "KeyName",
      "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
      "Description" : "Description",
      "FriendlyName" : "FriendlyName",
      "ValueType" : 2,
      "IsTriggerReconfigure" : true,
      "Value" : "Value",
      "IsReadOnly" : true
    }, {
      "KeyName" : "KeyName",
      "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
      "Description" : "Description",
      "FriendlyName" : "FriendlyName",
      "ValueType" : 2,
      "IsTriggerReconfigure" : true,
      "Value" : "Value",
      "IsReadOnly" : true
    } ],
    "InstructionsXML" : "InstructionsXML",
    "Name" : "Name",
    "RefDatTypeID" : 4,
    "TenantID" : 7,
    "UserID" : 1,
    "TranslatorID" : 9,
    "AdaptorActionID" : 3,
    "ID" : 7,
    "TranslationDefinition" : "TranslationDefinition"
  } ],
  "DatTypeID" : 1,
  "Instructions" : [ {
    "KeyName" : "KeyName",
    "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
    "Description" : "Description",
    "FriendlyName" : "FriendlyName",
    "ValueType" : 2,
    "IsTriggerReconfigure" : true,
    "Value" : "Value",
    "IsReadOnly" : true
  }, {
    "KeyName" : "KeyName",
    "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
    "Description" : "Description",
    "FriendlyName" : "FriendlyName",
    "ValueType" : 2,
    "IsTriggerReconfigure" : true,
    "Value" : "Value",
    "IsReadOnly" : true
  } ],
  "InstructionsXML" : "InstructionsXML",
  "Name" : "Name",
  "LastExecDateTime" : "2000-01-23T04:56:07.000+00:00",
  "RefDatTypeID" : 5,
  "TenantID" : 1,
  "UserID" : 7,
  "LastExecUserID" : 5,
  "LastExecDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
  "ID" : 0,
  "IsAutoQueue" : true
}' \
 -d 'Custom MIME type example not yet supported: text/json' \
 -d '<null>
  <ID>123</ID>
  <AdaptorID>123</AdaptorID>
  <Name>aeiou</Name>
  <Description>aeiou</Description>
  <Action>aeiou</Action>
  <DatTypeID>123</DatTypeID>
  <RefDatTypeID>123</RefDatTypeID>
  <InstructionsXML>aeiou</InstructionsXML>
  <TriggerXML>aeiou</TriggerXML>
  <LastExecDateTime>2000-01-23T04:56:07.000Z</LastExecDateTime>
  <LastExecDateTime_utc>2000-01-23T04:56:07.000Z</LastExecDateTime_utc>
  <LastExecUserID>123</LastExecUserID>
  <IsActive>true</IsActive>
  <IsAutoQueue>true</IsAutoQueue>
  <TenantID>123</TenantID>
  <WebsiteID>123</WebsiteID>
  <UserID>123</UserID>
</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[AdaptorActionDetails] adaptorActionDetails = [{"ID":0,"AdaptorID":0,"Name":"string","Description":"string","Action":"string","DatTypeID":0,"RefDatTypeID":0,"InstructionsXML":"string","TriggerXML":"string","LastExecDateTime":"string","LastExecDateTime_utc":"string","LastExecUserID":0,"IsActive":true,"Instructions":[{"KeyName":"string","FriendlyName":"string","Value":"string","ValueType":0,"ValueOptions":["string"],"Description":"string","IsReadOnly":true,"IsTriggerReconfigure":true}],"TranslatorActionDetails":[{"ID":0,"TranslatorID":0,"AdaptorActionID":0,"Name":"string","Description":"string","Action":"string","DatTypeID":0,"RefDatTypeID":0,"InstructionsXML":"string","TranslationDefinition":"string","IsActive":true,"IsEnabled":true,"Instructions":[{"KeyName":"string","FriendlyName":"string","Value":"string","ValueType":0,"ValueOptions":["string"],"Description":"string","IsReadOnly":true,"IsTriggerReconfigure":true}],"TenantID":0,"WebsiteID":0,"UserID":0}],"IsAutoQueue":true,"TenantID":0,"WebsiteID":0,"UserID":0}]; // array[AdaptorActionDetails] | 

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

final api_instance = DefaultApi();

final array[AdaptorActionDetails] adaptorActionDetails = new array[AdaptorActionDetails](); // array[AdaptorActionDetails] | 

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

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        array[AdaptorActionDetails] adaptorActionDetails = [{"ID":0,"AdaptorID":0,"Name":"string","Description":"string","Action":"string","DatTypeID":0,"RefDatTypeID":0,"InstructionsXML":"string","TriggerXML":"string","LastExecDateTime":"string","LastExecDateTime_utc":"string","LastExecUserID":0,"IsActive":true,"Instructions":[{"KeyName":"string","FriendlyName":"string","Value":"string","ValueType":0,"ValueOptions":["string"],"Description":"string","IsReadOnly":true,"IsTriggerReconfigure":true}],"TranslatorActionDetails":[{"ID":0,"TranslatorID":0,"AdaptorActionID":0,"Name":"string","Description":"string","Action":"string","DatTypeID":0,"RefDatTypeID":0,"InstructionsXML":"string","TranslationDefinition":"string","IsActive":true,"IsEnabled":true,"Instructions":[{"KeyName":"string","FriendlyName":"string","Value":"string","ValueType":0,"ValueOptions":["string"],"Description":"string","IsReadOnly":true,"IsTriggerReconfigure":true}],"TenantID":0,"WebsiteID":0,"UserID":0}],"IsAutoQueue":true,"TenantID":0,"WebsiteID":0,"UserID":0}]; // array[AdaptorActionDetails] | 

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


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
array[AdaptorActionDetails] *adaptorActionDetails = [{"ID":0,"AdaptorID":0,"Name":"string","Description":"string","Action":"string","DatTypeID":0,"RefDatTypeID":0,"InstructionsXML":"string","TriggerXML":"string","LastExecDateTime":"string","LastExecDateTime_utc":"string","LastExecUserID":0,"IsActive":true,"Instructions":[{"KeyName":"string","FriendlyName":"string","Value":"string","ValueType":0,"ValueOptions":["string"],"Description":"string","IsReadOnly":true,"IsTriggerReconfigure":true}],"TranslatorActionDetails":[{"ID":0,"TranslatorID":0,"AdaptorActionID":0,"Name":"string","Description":"string","Action":"string","DatTypeID":0,"RefDatTypeID":0,"InstructionsXML":"string","TranslationDefinition":"string","IsActive":true,"IsEnabled":true,"Instructions":[{"KeyName":"string","FriendlyName":"string","Value":"string","ValueType":0,"ValueOptions":["string"],"Description":"string","IsReadOnly":true,"IsTriggerReconfigure":true}],"TenantID":0,"WebsiteID":0,"UserID":0}],"IsAutoQueue":true,"TenantID":0,"WebsiteID":0,"UserID":0}]; //  (optional)

// AdaptorAction_Save
[apiInstance adaptorActionSaveWith:adaptorActionDetails
              completionHandler: ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiAdaptorAction = require('as_server_api_adaptor_action');

// Create an instance of the API class
var api = new AsServerApiAdaptorAction.DefaultApi()
var opts = {
  'adaptorActionDetails': [{"ID":0,"AdaptorID":0,"Name":"string","Description":"string","Action":"string","DatTypeID":0,"RefDatTypeID":0,"InstructionsXML":"string","TriggerXML":"string","LastExecDateTime":"string","LastExecDateTime_utc":"string","LastExecUserID":0,"IsActive":true,"Instructions":[{"KeyName":"string","FriendlyName":"string","Value":"string","ValueType":0,"ValueOptions":["string"],"Description":"string","IsReadOnly":true,"IsTriggerReconfigure":true}],"TranslatorActionDetails":[{"ID":0,"TranslatorID":0,"AdaptorActionID":0,"Name":"string","Description":"string","Action":"string","DatTypeID":0,"RefDatTypeID":0,"InstructionsXML":"string","TranslationDefinition":"string","IsActive":true,"IsEnabled":true,"Instructions":[{"KeyName":"string","FriendlyName":"string","Value":"string","ValueType":0,"ValueOptions":["string"],"Description":"string","IsReadOnly":true,"IsTriggerReconfigure":true}],"TenantID":0,"WebsiteID":0,"UserID":0}],"IsAutoQueue":true,"TenantID":0,"WebsiteID":0,"UserID":0}] // {array[AdaptorActionDetails]} 
};

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

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

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

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

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$adaptorActionDetails = [{"ID":0,"AdaptorID":0,"Name":"string","Description":"string","Action":"string","DatTypeID":0,"RefDatTypeID":0,"InstructionsXML":"string","TriggerXML":"string","LastExecDateTime":"string","LastExecDateTime_utc":"string","LastExecUserID":0,"IsActive":true,"Instructions":[{"KeyName":"string","FriendlyName":"string","Value":"string","ValueType":0,"ValueOptions":["string"],"Description":"string","IsReadOnly":true,"IsTriggerReconfigure":true}],"TranslatorActionDetails":[{"ID":0,"TranslatorID":0,"AdaptorActionID":0,"Name":"string","Description":"string","Action":"string","DatTypeID":0,"RefDatTypeID":0,"InstructionsXML":"string","TranslationDefinition":"string","IsActive":true,"IsEnabled":true,"Instructions":[{"KeyName":"string","FriendlyName":"string","Value":"string","ValueType":0,"ValueOptions":["string"],"Description":"string","IsReadOnly":true,"IsTriggerReconfigure":true}],"TenantID":0,"WebsiteID":0,"UserID":0}],"IsAutoQueue":true,"TenantID":0,"WebsiteID":0,"UserID":0}]; // array[AdaptorActionDetails] | 

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

eval {
    my $result = $api_instance->adaptorActionSave(adaptorActionDetails => $adaptorActionDetails);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->adaptorActionSave: $@\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()
adaptorActionDetails = [{"ID":0,"AdaptorID":0,"Name":"string","Description":"string","Action":"string","DatTypeID":0,"RefDatTypeID":0,"InstructionsXML":"string","TriggerXML":"string","LastExecDateTime":"string","LastExecDateTime_utc":"string","LastExecUserID":0,"IsActive":true,"Instructions":[{"KeyName":"string","FriendlyName":"string","Value":"string","ValueType":0,"ValueOptions":["string"],"Description":"string","IsReadOnly":true,"IsTriggerReconfigure":true}],"TranslatorActionDetails":[{"ID":0,"TranslatorID":0,"AdaptorActionID":0,"Name":"string","Description":"string","Action":"string","DatTypeID":0,"RefDatTypeID":0,"InstructionsXML":"string","TranslationDefinition":"string","IsActive":true,"IsEnabled":true,"Instructions":[{"KeyName":"string","FriendlyName":"string","Value":"string","ValueType":0,"ValueOptions":["string"],"Description":"string","IsReadOnly":true,"IsTriggerReconfigure":true}],"TenantID":0,"WebsiteID":0,"UserID":0}],"IsAutoQueue":true,"TenantID":0,"WebsiteID":0,"UserID":0}] # array[AdaptorActionDetails] |  (optional)

try:
    # AdaptorAction_Save
    api_response = api_instance.adaptor_action_save(adaptorActionDetails=adaptorActionDetails)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->adaptorActionSave: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let adaptorActionDetails = [{"ID":0,"AdaptorID":0,"Name":"string","Description":"string","Action":"string","DatTypeID":0,"RefDatTypeID":0,"InstructionsXML":"string","TriggerXML":"string","LastExecDateTime":"string","LastExecDateTime_utc":"string","LastExecUserID":0,"IsActive":true,"Instructions":[{"KeyName":"string","FriendlyName":"string","Value":"string","ValueType":0,"ValueOptions":["string"],"Description":"string","IsReadOnly":true,"IsTriggerReconfigure":true}],"TranslatorActionDetails":[{"ID":0,"TranslatorID":0,"AdaptorActionID":0,"Name":"string","Description":"string","Action":"string","DatTypeID":0,"RefDatTypeID":0,"InstructionsXML":"string","TranslationDefinition":"string","IsActive":true,"IsEnabled":true,"Instructions":[{"KeyName":"string","FriendlyName":"string","Value":"string","ValueType":0,"ValueOptions":["string"],"Description":"string","IsReadOnly":true,"IsTriggerReconfigure":true}],"TenantID":0,"WebsiteID":0,"UserID":0}],"IsAutoQueue":true,"TenantID":0,"WebsiteID":0,"UserID":0}]; // array[AdaptorActionDetails]

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

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

Scopes

Parameters

Body parameters
Name Description
adaptorActionDetails

Responses


adaptorActionSearch

AdaptorAction_Search


/AdaptorAction/Search

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/AdaptorAction/Search" \
 -d '{
  "ParentID" : 1,
  "Types" : [ "Types", "Types" ],
  "IsApprovedForPOS" : true,
  "IsApprovedForWeb" : true,
  "AdaptorID" : 2,
  "SortField" : "SortField",
  "IsExactMatch" : true,
  "CategoryIDs" : [ 7, 7 ],
  "GetCountOnly" : true,
  "SearchString" : "SearchString",
  "IncludeDeleted" : true,
  "IncludeSystemTasks" : true,
  "StartDate" : "2000-01-23T04:56:07.000+00:00",
  "TenantID" : 1,
  "IgnoreID" : 6,
  "IsShowFavourites" : true,
  "IsHierarchicalSort" : true,
  "UserID" : 6,
  "Search" : "Search",
  "SortAsc" : true,
  "GUIDs" : [ "GUIDs", "GUIDs" ],
  "IncludeLogs" : true,
  "ID" : 4,
  "LinkedSupplierID" : 2,
  "Status" : [ "Status", "Status" ],
  "CategoryID" : 5,
  "WebsiteID" : 1,
  "IsHidden" : true,
  "GroupBy" : "GroupBy",
  "BrandIDs" : [ 9, 9 ],
  "LastRowNumber" : 7,
  "MaxResults" : 1,
  "EndDate" : "2000-01-23T04:56:07.000+00:00",
  "Statuses" : [ 0, 0 ],
  "StatusStrings" : [ "StatusStrings", "StatusStrings" ],
  "IsGetBasicInfo" : true,
  "BatchStatus" : "BatchStatus",
  "DatePeriod" : "DatePeriod",
  "IDs" : [ 3, 3 ],
  "IsSystem" : true,
  "SearchNameOnly" : true,
  "IsApprovedForService" : true,
  "TransactionTypeDatTypeID" : 5
}' \
 -d 'Custom MIME type example not yet supported: text/json' \
 -d '<SearchFilter>
  <Statuses>123</Statuses>
  <StatusStrings>aeiou</StatusStrings>
  <Status>aeiou</Status>
  <SearchString>aeiou</SearchString>
  <SearchNameOnly>true</SearchNameOnly>
  <Search>aeiou</Search>
  <StartDate>2000-01-23T04:56:07.000Z</StartDate>
  <EndDate>2000-01-23T04:56:07.000Z</EndDate>
  <DatePeriod>aeiou</DatePeriod>
  <IsExactMatch>true</IsExactMatch>
  <IsGetBasicInfo>true</IsGetBasicInfo>
  <IncludeDeleted>true</IncludeDeleted>
  <IncludeLogs>true</IncludeLogs>
  <IgnoreID>123</IgnoreID>
  <ParentID>123</ParentID>
  <GetCountOnly>true</GetCountOnly>
  <TransactionTypeDatTypeID>123</TransactionTypeDatTypeID>
  <CategoryID>123</CategoryID>
  <AdaptorID>123</AdaptorID>
  <CategoryIDs>123</CategoryIDs>
  <BrandIDs>123</BrandIDs>
  <IDs>123</IDs>
  <GUIDs>aeiou</GUIDs>
  <LinkedSupplierID>123</LinkedSupplierID>
  <IsApprovedForPOS>true</IsApprovedForPOS>
  <IsApprovedForWeb>true</IsApprovedForWeb>
  <IsApprovedForService>true</IsApprovedForService>
  <ID>123</ID>
  <IsHierarchicalSort>true</IsHierarchicalSort>
  <Types>aeiou</Types>
  <IsShowFavourites>true</IsShowFavourites>
  <IsHidden>true</IsHidden>
  <IncludeSystemTasks>true</IncludeSystemTasks>
  <IsSystem>true</IsSystem>
  <BatchStatus>aeiou</BatchStatus>
  <SortField>aeiou</SortField>
  <SortAsc>true</SortAsc>
  <GroupBy>aeiou</GroupBy>
  <LastRowNumber>123456789</LastRowNumber>
  <MaxResults>123</MaxResults>
  <TenantID>123</TenantID>
  <WebsiteID>123</WebsiteID>
  <UserID>123</UserID>
</SearchFilter>' \
 -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();
        SearchFilter searchFilter = {"Statuses":[0],"StatusStrings":["string"],"Status":["string"],"SearchString":"string","SearchNameOnly":true,"Search":"string","StartDate":"string","EndDate":"string","DatePeriod":"string","IsExactMatch":true,"IsGetBasicInfo":true,"IncludeDeleted":true,"IncludeLogs":true,"IgnoreID":0,"ParentID":0,"GetCountOnly":true,"TransactionTypeDatTypeID":0,"CategoryID":0,"AdaptorID":0,"CategoryIDs":[0],"BrandIDs":[0],"IDs":[0],"GUIDs":["string"],"LinkedSupplierID":0,"IsApprovedForPOS":true,"IsApprovedForWeb":true,"IsApprovedForService":true,"ID":0,"IsHierarchicalSort":true,"Types":["string"],"IsShowFavourites":true,"IsHidden":true,"IncludeSystemTasks":true,"IsSystem":true,"BatchStatus":"string","SortField":"string","SortAsc":true,"GroupBy":"string","LastRowNumber":0,"MaxResults":0,"TenantID":0,"WebsiteID":0,"UserID":0}; // SearchFilter | 

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

final api_instance = DefaultApi();

final SearchFilter searchFilter = new SearchFilter(); // SearchFilter | 

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

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        SearchFilter searchFilter = {"Statuses":[0],"StatusStrings":["string"],"Status":["string"],"SearchString":"string","SearchNameOnly":true,"Search":"string","StartDate":"string","EndDate":"string","DatePeriod":"string","IsExactMatch":true,"IsGetBasicInfo":true,"IncludeDeleted":true,"IncludeLogs":true,"IgnoreID":0,"ParentID":0,"GetCountOnly":true,"TransactionTypeDatTypeID":0,"CategoryID":0,"AdaptorID":0,"CategoryIDs":[0],"BrandIDs":[0],"IDs":[0],"GUIDs":["string"],"LinkedSupplierID":0,"IsApprovedForPOS":true,"IsApprovedForWeb":true,"IsApprovedForService":true,"ID":0,"IsHierarchicalSort":true,"Types":["string"],"IsShowFavourites":true,"IsHidden":true,"IncludeSystemTasks":true,"IsSystem":true,"BatchStatus":"string","SortField":"string","SortAsc":true,"GroupBy":"string","LastRowNumber":0,"MaxResults":0,"TenantID":0,"WebsiteID":0,"UserID":0}; // SearchFilter | 

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


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
SearchFilter *searchFilter = {"Statuses":[0],"StatusStrings":["string"],"Status":["string"],"SearchString":"string","SearchNameOnly":true,"Search":"string","StartDate":"string","EndDate":"string","DatePeriod":"string","IsExactMatch":true,"IsGetBasicInfo":true,"IncludeDeleted":true,"IncludeLogs":true,"IgnoreID":0,"ParentID":0,"GetCountOnly":true,"TransactionTypeDatTypeID":0,"CategoryID":0,"AdaptorID":0,"CategoryIDs":[0],"BrandIDs":[0],"IDs":[0],"GUIDs":["string"],"LinkedSupplierID":0,"IsApprovedForPOS":true,"IsApprovedForWeb":true,"IsApprovedForService":true,"ID":0,"IsHierarchicalSort":true,"Types":["string"],"IsShowFavourites":true,"IsHidden":true,"IncludeSystemTasks":true,"IsSystem":true,"BatchStatus":"string","SortField":"string","SortAsc":true,"GroupBy":"string","LastRowNumber":0,"MaxResults":0,"TenantID":0,"WebsiteID":0,"UserID":0}; //  (optional)

// AdaptorAction_Search
[apiInstance adaptorActionSearchWith:searchFilter
              completionHandler: ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiAdaptorAction = require('as_server_api_adaptor_action');

// Create an instance of the API class
var api = new AsServerApiAdaptorAction.DefaultApi()
var opts = {
  'searchFilter': {"Statuses":[0],"StatusStrings":["string"],"Status":["string"],"SearchString":"string","SearchNameOnly":true,"Search":"string","StartDate":"string","EndDate":"string","DatePeriod":"string","IsExactMatch":true,"IsGetBasicInfo":true,"IncludeDeleted":true,"IncludeLogs":true,"IgnoreID":0,"ParentID":0,"GetCountOnly":true,"TransactionTypeDatTypeID":0,"CategoryID":0,"AdaptorID":0,"CategoryIDs":[0],"BrandIDs":[0],"IDs":[0],"GUIDs":["string"],"LinkedSupplierID":0,"IsApprovedForPOS":true,"IsApprovedForWeb":true,"IsApprovedForService":true,"ID":0,"IsHierarchicalSort":true,"Types":["string"],"IsShowFavourites":true,"IsHidden":true,"IncludeSystemTasks":true,"IsSystem":true,"BatchStatus":"string","SortField":"string","SortAsc":true,"GroupBy":"string","LastRowNumber":0,"MaxResults":0,"TenantID":0,"WebsiteID":0,"UserID":0} // {SearchFilter} 
};

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

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

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

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

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$searchFilter = {"Statuses":[0],"StatusStrings":["string"],"Status":["string"],"SearchString":"string","SearchNameOnly":true,"Search":"string","StartDate":"string","EndDate":"string","DatePeriod":"string","IsExactMatch":true,"IsGetBasicInfo":true,"IncludeDeleted":true,"IncludeLogs":true,"IgnoreID":0,"ParentID":0,"GetCountOnly":true,"TransactionTypeDatTypeID":0,"CategoryID":0,"AdaptorID":0,"CategoryIDs":[0],"BrandIDs":[0],"IDs":[0],"GUIDs":["string"],"LinkedSupplierID":0,"IsApprovedForPOS":true,"IsApprovedForWeb":true,"IsApprovedForService":true,"ID":0,"IsHierarchicalSort":true,"Types":["string"],"IsShowFavourites":true,"IsHidden":true,"IncludeSystemTasks":true,"IsSystem":true,"BatchStatus":"string","SortField":"string","SortAsc":true,"GroupBy":"string","LastRowNumber":0,"MaxResults":0,"TenantID":0,"WebsiteID":0,"UserID":0}; // SearchFilter | 

try {
    $result = $api_instance->adaptorActionSearch($searchFilter);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->adaptorActionSearch: ', $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 $searchFilter = WWW::OPenAPIClient::Object::SearchFilter->new(); # SearchFilter | 

eval {
    my $result = $api_instance->adaptorActionSearch(searchFilter => $searchFilter);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->adaptorActionSearch: $@\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()
searchFilter = {"Statuses":[0],"StatusStrings":["string"],"Status":["string"],"SearchString":"string","SearchNameOnly":true,"Search":"string","StartDate":"string","EndDate":"string","DatePeriod":"string","IsExactMatch":true,"IsGetBasicInfo":true,"IncludeDeleted":true,"IncludeLogs":true,"IgnoreID":0,"ParentID":0,"GetCountOnly":true,"TransactionTypeDatTypeID":0,"CategoryID":0,"AdaptorID":0,"CategoryIDs":[0],"BrandIDs":[0],"IDs":[0],"GUIDs":["string"],"LinkedSupplierID":0,"IsApprovedForPOS":true,"IsApprovedForWeb":true,"IsApprovedForService":true,"ID":0,"IsHierarchicalSort":true,"Types":["string"],"IsShowFavourites":true,"IsHidden":true,"IncludeSystemTasks":true,"IsSystem":true,"BatchStatus":"string","SortField":"string","SortAsc":true,"GroupBy":"string","LastRowNumber":0,"MaxResults":0,"TenantID":0,"WebsiteID":0,"UserID":0} # SearchFilter |  (optional)

try:
    # AdaptorAction_Search
    api_response = api_instance.adaptor_action_search(searchFilter=searchFilter)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->adaptorActionSearch: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let searchFilter = {"Statuses":[0],"StatusStrings":["string"],"Status":["string"],"SearchString":"string","SearchNameOnly":true,"Search":"string","StartDate":"string","EndDate":"string","DatePeriod":"string","IsExactMatch":true,"IsGetBasicInfo":true,"IncludeDeleted":true,"IncludeLogs":true,"IgnoreID":0,"ParentID":0,"GetCountOnly":true,"TransactionTypeDatTypeID":0,"CategoryID":0,"AdaptorID":0,"CategoryIDs":[0],"BrandIDs":[0],"IDs":[0],"GUIDs":["string"],"LinkedSupplierID":0,"IsApprovedForPOS":true,"IsApprovedForWeb":true,"IsApprovedForService":true,"ID":0,"IsHierarchicalSort":true,"Types":["string"],"IsShowFavourites":true,"IsHidden":true,"IncludeSystemTasks":true,"IsSystem":true,"BatchStatus":"string","SortField":"string","SortAsc":true,"GroupBy":"string","LastRowNumber":0,"MaxResults":0,"TenantID":0,"WebsiteID":0,"UserID":0}; // SearchFilter

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

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

Scopes

Parameters

Body parameters
Name Description
searchFilter

Responses