AS Server - API - Adaptor

Default

adaptorGet

Adaptor_Get


/Adaptor/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/Adaptor/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.adaptorGet(reqPeriodiD, reqPeriodgUID, reqPeriodisGetExtraInfo, reqPeriodtenantID, reqPeriodwebsiteID, reqPerioduserID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#adaptorGet");
            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.adaptorGet(reqPeriodiD, reqPeriodgUID, reqPeriodisGetExtraInfo, reqPeriodtenantID, reqPeriodwebsiteID, reqPerioduserID);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->adaptorGet: $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.adaptorGet(reqPeriodiD, reqPeriodgUID, reqPeriodisGetExtraInfo, reqPeriodtenantID, reqPeriodwebsiteID, reqPerioduserID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#adaptorGet");
            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)

// Adaptor_Get
[apiInstance adaptorGetWith: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 AsServerApiAdaptor = require('as_server_api_adaptor');

// Create an instance of the API class
var api = new AsServerApiAdaptor.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.adaptorGet(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class adaptorGetExample
    {
        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 {
                // Adaptor_Get
                Object result = apiInstance.adaptorGet(reqPeriodiD, reqPeriodgUID, reqPeriodisGetExtraInfo, reqPeriodtenantID, reqPeriodwebsiteID, reqPerioduserID);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.adaptorGet: " + 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->adaptorGet($reqPeriodiD, $reqPeriodgUID, $reqPeriodisGetExtraInfo, $reqPeriodtenantID, $reqPeriodwebsiteID, $reqPerioduserID);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->adaptorGet: ', $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->adaptorGet(reqPeriodiD => $reqPeriodiD, reqPeriodgUID => $reqPeriodgUID, reqPeriodisGetExtraInfo => $reqPeriodisGetExtraInfo, reqPeriodtenantID => $reqPeriodtenantID, reqPeriodwebsiteID => $reqPeriodwebsiteID, reqPerioduserID => $reqPerioduserID);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->adaptorGet: $@\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:
    # Adaptor_Get
    api_response = api_instance.adaptor_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->adaptorGet: %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.adaptorGet(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


adaptorGetAdaptorByType

Adaptor_GetAdaptorByType


/Adaptor/getadaptorbytype

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json,text/json,application/xml,text/xml" \
 "https://api.dev.spenda.co/api/Adaptor/getadaptorbytype?adaptorTypes=adaptorTypes_example"
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();
        String adaptorTypes = adaptorTypes_example; // String | 

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

final api_instance = DefaultApi();

final String adaptorTypes = new String(); // String | 

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

import org.openapitools.client.api.DefaultApi;

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

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


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *adaptorTypes = adaptorTypes_example; //  (default to null)

// Adaptor_GetAdaptorByType
[apiInstance adaptorGetAdaptorByTypeWith:adaptorTypes
              completionHandler: ^(ActionResults_AdaptorSetup_ output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiAdaptor = require('as_server_api_adaptor');

// Create an instance of the API class
var api = new AsServerApiAdaptor.DefaultApi()
var adaptorTypes = adaptorTypes_example; // {String} 

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

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

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var adaptorTypes = adaptorTypes_example;  // String |  (default to null)

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

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

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

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

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

pub fn main() {
    let adaptorTypes = adaptorTypes_example; // String

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

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

Scopes

Parameters

Query parameters
Name Description
adaptorTypes*
String
Required

Responses


adaptorGetSetup

Adaptor_GetSetup


/Adaptor/setup

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json,text/json,application/xml,text/xml" \
 "https://api.dev.spenda.co/api/Adaptor/setup?filter.currentWebsiteId=56&filter.adaptorId=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 filterPeriodcurrentWebsiteId = 56; // Integer | 
        Integer filterPeriodadaptorId = 56; // Integer | 

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

final api_instance = DefaultApi();

final Integer filterPeriodcurrentWebsiteId = new Integer(); // Integer | 
final Integer filterPeriodadaptorId = new Integer(); // Integer | 

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

import org.openapitools.client.api.DefaultApi;

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

        try {
            ActionResults_AdaptorSetup_ result = apiInstance.adaptorGetSetup(filterPeriodcurrentWebsiteId, filterPeriodadaptorId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#adaptorGetSetup");
            e.printStackTrace();
        }
    }
}


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

// Adaptor_GetSetup
[apiInstance adaptorGetSetupWith:filterPeriodcurrentWebsiteId
    filterPeriodadaptorId:filterPeriodadaptorId
              completionHandler: ^(ActionResults_AdaptorSetup_ output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiAdaptor = require('as_server_api_adaptor');

// Create an instance of the API class
var api = new AsServerApiAdaptor.DefaultApi()
var opts = {
  'filterPeriodcurrentWebsiteId': 56, // {Integer} 
  'filterPeriodadaptorId': 56 // {Integer} 
};

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

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

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

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

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

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

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

try:
    # Adaptor_GetSetup
    api_response = api_instance.adaptor_get_setup(filterPeriodcurrentWebsiteId=filterPeriodcurrentWebsiteId, filterPeriodadaptorId=filterPeriodadaptorId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->adaptorGetSetup: %s\n" % e)
extern crate DefaultApi;

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

    let mut context = DefaultApi::Context::default();
    let result = client.adaptorGetSetup(filterPeriodcurrentWebsiteId, filterPeriodadaptorId, &context).wait();

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

Scopes

Parameters

Query parameters
Name Description
filter.currentWebsiteId
Integer (int32)
filter.adaptorId
Integer (int32)

Responses


adaptorPostSetup

Adaptor_PostSetup


/Adaptor/setup

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/Adaptor/setup" \
 -d '{
  "Adaptor" : {
    "Description" : "Description",
    "AdaptorCategory" : 4,
    "IsActive" : true,
    "IsAuthorized" : true,
    "DefaultInventoryClass" : {
      "Description" : "Description",
      "IsApprovedForWeb" : true,
      "IsApprovedForPOS" : true,
      "SalesPostingInventoryRevenueAccountCode" : "SalesPostingInventoryRevenueAccountCode",
      "IsActive" : true,
      "CountOfProducts" : 7,
      "SalesPostingInventoryExpenseAccountCode" : "SalesPostingInventoryExpenseAccountCode",
      "SalesPostingInventoryCode" : "SalesPostingInventoryCode",
      "Name" : "Name",
      "GUIDstring" : "GUIDstring",
      "SalesPostingInventoryID" : 2,
      "SalesPostingInventoryName" : "SalesPostingInventoryName",
      "Version" : 6.965117697638846,
      "SyncLogs" : [ {
        "Status" : "Status",
        "LastImportDateTime" : "2000-01-23T04:56:07.000+00:00",
        "AdaptorID" : 6,
        "LastImportDateTime_offset" : 0,
        "LastExportDateTime_offset" : 4,
        "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" : 8,
        "ID" : 7,
        "LastImportDateTime_utc" : "2000-01-23T04:56:07.000+00:00"
      }, {
        "Status" : "Status",
        "LastImportDateTime" : "2000-01-23T04:56:07.000+00:00",
        "AdaptorID" : 6,
        "LastImportDateTime_offset" : 0,
        "LastExportDateTime_offset" : 4,
        "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" : 8,
        "ID" : 7,
        "LastImportDateTime_utc" : "2000-01-23T04:56:07.000+00:00"
      } ],
      "CreatedWith" : "CreatedWith",
      "ServicePostingInventoryID" : 6,
      "InventoryClassGroup" : {
        "IsDefault" : true,
        "Description" : "Description",
        "IsActive" : true,
        "GUID" : "00000000-0000-0000-0000-000000000000",
        "Name" : "Name",
        "GUIDstring" : "GUIDstring",
        "SupplierID" : 3,
        "InventoryClasses" : [ null, null ],
        "RowNumber" : 6,
        "BSID" : "BSID",
        "Version" : 5.944895607614016,
        "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" : 3,
          "BSID" : "BSID",
          "Version" : 7.143538047012306,
          "CreatedWith" : "CreatedWith",
          "IsSystem" : true,
          "ID" : 0,
          "InventoryClassGroups" : [ null, null ]
        }
      },
      "ID" : 1,
      "PostingBehaviour" : "PostingBehaviour",
      "ServicePostingInventoryCode" : "ServicePostingInventoryCode",
      "ServicePostingInventoryExpenseAccountCode" : "ServicePostingInventoryExpenseAccountCode",
      "ModifiedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
      "GUID" : "00000000-0000-0000-0000-000000000000",
      "RowNumber" : 3,
      "BSID" : "BSID",
      "IsAutoCreateGenericAccountInventory" : true,
      "CreatedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
      "ServicePostingInventoryRevenueAccountCode" : "ServicePostingInventoryRevenueAccountCode",
      "IsSystem" : true,
      "IsApprovedForService" : true,
      "ServicePostingInventoryName" : "ServicePostingInventoryName"
    },
    "TranslatorDetails" : [ {
      "WebsiteID" : 3,
      "Description" : "Description",
      "IsEnabled" : true,
      "IsActive" : true,
      "MasterAdaptorID" : 2,
      "AdaptorID" : 7,
      "IsUsedByTenant" : true,
      "Instructions" : [ {
        "KeyName" : "KeyName",
        "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
        "Description" : "Description",
        "FriendlyName" : "FriendlyName",
        "ValueType" : 1,
        "IsTriggerReconfigure" : true,
        "Value" : "Value",
        "IsReadOnly" : true
      }, {
        "KeyName" : "KeyName",
        "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
        "Description" : "Description",
        "FriendlyName" : "FriendlyName",
        "ValueType" : 1,
        "IsTriggerReconfigure" : true,
        "Value" : "Value",
        "IsReadOnly" : true
      } ],
      "InstructionsXML" : "InstructionsXML",
      "Name" : "Name",
      "IconURL" : "IconURL",
      "IsSource" : true,
      "TenantID" : 9,
      "Version" : "Version",
      "UserID" : 2,
      "ID" : 5,
      "MasterTranslatorID" : 5,
      "TranslationDefinition" : "TranslationDefinition",
      "IsTarget" : true
    }, {
      "WebsiteID" : 3,
      "Description" : "Description",
      "IsEnabled" : true,
      "IsActive" : true,
      "MasterAdaptorID" : 2,
      "AdaptorID" : 7,
      "IsUsedByTenant" : true,
      "Instructions" : [ {
        "KeyName" : "KeyName",
        "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
        "Description" : "Description",
        "FriendlyName" : "FriendlyName",
        "ValueType" : 1,
        "IsTriggerReconfigure" : true,
        "Value" : "Value",
        "IsReadOnly" : true
      }, {
        "KeyName" : "KeyName",
        "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
        "Description" : "Description",
        "FriendlyName" : "FriendlyName",
        "ValueType" : 1,
        "IsTriggerReconfigure" : true,
        "Value" : "Value",
        "IsReadOnly" : true
      } ],
      "InstructionsXML" : "InstructionsXML",
      "Name" : "Name",
      "IconURL" : "IconURL",
      "IsSource" : true,
      "TenantID" : 9,
      "Version" : "Version",
      "UserID" : 2,
      "ID" : 5,
      "MasterTranslatorID" : 5,
      "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" : 7,
    "Version" : "Version",
    "UserID" : 0,
    "OrganisationName" : "OrganisationName",
    "FullIconUrl" : "FullIconUrl",
    "ID" : 0,
    "WebsiteID" : 9,
    "DefaultCustomerClass" : {
      "HasBeenSaved" : true,
      "CountOfCustomers" : 4,
      "IsAccountCustomerBatched" : true,
      "Description" : "Description",
      "IsApprovedForWeb" : true,
      "IsApprovedForPOS" : true,
      "IsActive" : true,
      "BatchInvoiceFrequencyDays" : 7,
      "BatchInvoicePrefix" : "BatchInvoicePrefix",
      "Name" : "Name",
      "GUIDstring" : "GUIDstring",
      "IsAutoApprovedforClaimRequests" : true,
      "IsAutoSendPayByLinkInvoice" : true,
      "TradingTermDays" : 4,
      "DefaultPricingBandID" : 6,
      "ID" : 3,
      "PostingBehaviour" : "PostingBehaviour",
      "IsCanSetFundingRate" : true,
      "CreditLimit" : 3.2588565619047607,
      "LoyaltyDescription" : "LoyaltyDescription",
      "GUID" : "00000000-0000-0000-0000-000000000000",
      "GenericAccountCustomerID" : 5,
      "TradingTermID" : 0,
      "IsLoyaltyEligible" : true,
      "IsBatchInvoice" : true,
      "GenericAccountCustomerName" : "GenericAccountCustomerName",
      "AccountCustomerRefNumberPrefix" : "AccountCustomerRefNumberPrefix",
      "IsExemptFromMerchantSurcharge" : true,
      "FundingRate" : 3.0205796992916243,
      "IsAutoCreateGenericAccountCustomer" : true,
      "BSID" : "BSID",
      "IsSystem" : true,
      "IsApprovedForService" : true,
      "TradingTermType" : "TradingTermType",
      "PrimaryOperationalCustomer" : {
        "IsIndividual" : true,
        "CompanyName" : "CompanyName",
        "PrimaryContactFullName" : "PrimaryContactFullName",
        "CustomerID" : 1
      }
    },
    "Messages" : [ "Messages", "Messages" ],
    "Actions" : [ {
      "WebsiteID" : 9,
      "Action" : "Action",
      "Description" : "Description",
      "IsActive" : true,
      "AdaptorID" : 7,
      "TriggerXML" : "TriggerXML",
      "TranslatorActionDetails" : [ {
        "WebsiteID" : 9,
        "Action" : "Action",
        "Description" : "Description",
        "IsEnabled" : true,
        "IsActive" : true,
        "DatTypeID" : 4,
        "Instructions" : [ {
          "KeyName" : "KeyName",
          "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
          "Description" : "Description",
          "FriendlyName" : "FriendlyName",
          "ValueType" : 1,
          "IsTriggerReconfigure" : true,
          "Value" : "Value",
          "IsReadOnly" : true
        }, {
          "KeyName" : "KeyName",
          "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
          "Description" : "Description",
          "FriendlyName" : "FriendlyName",
          "ValueType" : 1,
          "IsTriggerReconfigure" : true,
          "Value" : "Value",
          "IsReadOnly" : true
        } ],
        "InstructionsXML" : "InstructionsXML",
        "Name" : "Name",
        "RefDatTypeID" : 5,
        "TenantID" : 9,
        "UserID" : 6,
        "TranslatorID" : 7,
        "AdaptorActionID" : 1,
        "ID" : 6,
        "TranslationDefinition" : "TranslationDefinition"
      }, {
        "WebsiteID" : 9,
        "Action" : "Action",
        "Description" : "Description",
        "IsEnabled" : true,
        "IsActive" : true,
        "DatTypeID" : 4,
        "Instructions" : [ {
          "KeyName" : "KeyName",
          "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
          "Description" : "Description",
          "FriendlyName" : "FriendlyName",
          "ValueType" : 1,
          "IsTriggerReconfigure" : true,
          "Value" : "Value",
          "IsReadOnly" : true
        }, {
          "KeyName" : "KeyName",
          "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
          "Description" : "Description",
          "FriendlyName" : "FriendlyName",
          "ValueType" : 1,
          "IsTriggerReconfigure" : true,
          "Value" : "Value",
          "IsReadOnly" : true
        } ],
        "InstructionsXML" : "InstructionsXML",
        "Name" : "Name",
        "RefDatTypeID" : 5,
        "TenantID" : 9,
        "UserID" : 6,
        "TranslatorID" : 7,
        "AdaptorActionID" : 1,
        "ID" : 6,
        "TranslationDefinition" : "TranslationDefinition"
      } ],
      "DatTypeID" : 1,
      "Instructions" : [ {
        "KeyName" : "KeyName",
        "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
        "Description" : "Description",
        "FriendlyName" : "FriendlyName",
        "ValueType" : 1,
        "IsTriggerReconfigure" : true,
        "Value" : "Value",
        "IsReadOnly" : true
      }, {
        "KeyName" : "KeyName",
        "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
        "Description" : "Description",
        "FriendlyName" : "FriendlyName",
        "ValueType" : 1,
        "IsTriggerReconfigure" : true,
        "Value" : "Value",
        "IsReadOnly" : true
      } ],
      "InstructionsXML" : "InstructionsXML",
      "Name" : "Name",
      "LastExecDateTime" : "2000-01-23T04:56:07.000+00:00",
      "RefDatTypeID" : 1,
      "TenantID" : 8,
      "UserID" : 6,
      "LastExecUserID" : 1,
      "LastExecDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
      "ID" : 4,
      "IsAutoQueue" : true
    }, {
      "WebsiteID" : 9,
      "Action" : "Action",
      "Description" : "Description",
      "IsActive" : true,
      "AdaptorID" : 7,
      "TriggerXML" : "TriggerXML",
      "TranslatorActionDetails" : [ {
        "WebsiteID" : 9,
        "Action" : "Action",
        "Description" : "Description",
        "IsEnabled" : true,
        "IsActive" : true,
        "DatTypeID" : 4,
        "Instructions" : [ {
          "KeyName" : "KeyName",
          "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
          "Description" : "Description",
          "FriendlyName" : "FriendlyName",
          "ValueType" : 1,
          "IsTriggerReconfigure" : true,
          "Value" : "Value",
          "IsReadOnly" : true
        }, {
          "KeyName" : "KeyName",
          "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
          "Description" : "Description",
          "FriendlyName" : "FriendlyName",
          "ValueType" : 1,
          "IsTriggerReconfigure" : true,
          "Value" : "Value",
          "IsReadOnly" : true
        } ],
        "InstructionsXML" : "InstructionsXML",
        "Name" : "Name",
        "RefDatTypeID" : 5,
        "TenantID" : 9,
        "UserID" : 6,
        "TranslatorID" : 7,
        "AdaptorActionID" : 1,
        "ID" : 6,
        "TranslationDefinition" : "TranslationDefinition"
      }, {
        "WebsiteID" : 9,
        "Action" : "Action",
        "Description" : "Description",
        "IsEnabled" : true,
        "IsActive" : true,
        "DatTypeID" : 4,
        "Instructions" : [ {
          "KeyName" : "KeyName",
          "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
          "Description" : "Description",
          "FriendlyName" : "FriendlyName",
          "ValueType" : 1,
          "IsTriggerReconfigure" : true,
          "Value" : "Value",
          "IsReadOnly" : true
        }, {
          "KeyName" : "KeyName",
          "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
          "Description" : "Description",
          "FriendlyName" : "FriendlyName",
          "ValueType" : 1,
          "IsTriggerReconfigure" : true,
          "Value" : "Value",
          "IsReadOnly" : true
        } ],
        "InstructionsXML" : "InstructionsXML",
        "Name" : "Name",
        "RefDatTypeID" : 5,
        "TenantID" : 9,
        "UserID" : 6,
        "TranslatorID" : 7,
        "AdaptorActionID" : 1,
        "ID" : 6,
        "TranslationDefinition" : "TranslationDefinition"
      } ],
      "DatTypeID" : 1,
      "Instructions" : [ {
        "KeyName" : "KeyName",
        "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
        "Description" : "Description",
        "FriendlyName" : "FriendlyName",
        "ValueType" : 1,
        "IsTriggerReconfigure" : true,
        "Value" : "Value",
        "IsReadOnly" : true
      }, {
        "KeyName" : "KeyName",
        "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
        "Description" : "Description",
        "FriendlyName" : "FriendlyName",
        "ValueType" : 1,
        "IsTriggerReconfigure" : true,
        "Value" : "Value",
        "IsReadOnly" : true
      } ],
      "InstructionsXML" : "InstructionsXML",
      "Name" : "Name",
      "LastExecDateTime" : "2000-01-23T04:56:07.000+00:00",
      "RefDatTypeID" : 1,
      "TenantID" : 8,
      "UserID" : 6,
      "LastExecUserID" : 1,
      "LastExecDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
      "ID" : 4,
      "IsAutoQueue" : true
    } ],
    "MasterAdaptorID" : 6,
    "OrganisationId" : "OrganisationId",
    "IsUsedByTenant" : true,
    "Instructions" : [ {
      "KeyName" : "KeyName",
      "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
      "Description" : "Description",
      "FriendlyName" : "FriendlyName",
      "ValueType" : 1,
      "IsTriggerReconfigure" : true,
      "Value" : "Value",
      "IsReadOnly" : true
    }, {
      "KeyName" : "KeyName",
      "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
      "Description" : "Description",
      "FriendlyName" : "FriendlyName",
      "ValueType" : 1,
      "IsTriggerReconfigure" : true,
      "Value" : "Value",
      "IsReadOnly" : true
    } ],
    "InstructionsXML" : "InstructionsXML",
    "IconURL" : "IconURL",
    "Type" : "Type",
    "IsTarget" : true
  },
  "Schedules" : [ {
    "Info" : {
      "Status" : "Status",
      "TimeOfDay" : "2000-01-23T04:56:07.000+00:00",
      "IsEnabled" : true,
      "IsActive" : true,
      "IntervalType" : 0,
      "TaskTypeID" : 8,
      "RecurrenceType" : 1,
      "DatTypeFriendlyName" : "DatTypeFriendlyName",
      "NameFriendlyName" : "NameFriendlyName",
      "DocumentID" : 4,
      "DatTypeID" : 6,
      "WorkflowID" : 6,
      "Name" : "Name",
      "IsRecurringSchedule" : true,
      "IDs" : [ 2, 2 ],
      "AdaptorDetails" : {
        "Description" : "Description",
        "AdaptorCategory" : 4,
        "IsActive" : true,
        "IsAuthorized" : true,
        "DefaultInventoryClass" : {
          "Description" : "Description",
          "IsApprovedForWeb" : true,
          "IsApprovedForPOS" : true,
          "SalesPostingInventoryRevenueAccountCode" : "SalesPostingInventoryRevenueAccountCode",
          "IsActive" : true,
          "CountOfProducts" : 7,
          "SalesPostingInventoryExpenseAccountCode" : "SalesPostingInventoryExpenseAccountCode",
          "SalesPostingInventoryCode" : "SalesPostingInventoryCode",
          "Name" : "Name",
          "GUIDstring" : "GUIDstring",
          "SalesPostingInventoryID" : 2,
          "SalesPostingInventoryName" : "SalesPostingInventoryName",
          "Version" : 6.965117697638846,
          "SyncLogs" : [ {
            "Status" : "Status",
            "LastImportDateTime" : "2000-01-23T04:56:07.000+00:00",
            "AdaptorID" : 6,
            "LastImportDateTime_offset" : 0,
            "LastExportDateTime_offset" : 4,
            "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" : 8,
            "ID" : 7,
            "LastImportDateTime_utc" : "2000-01-23T04:56:07.000+00:00"
          }, {
            "Status" : "Status",
            "LastImportDateTime" : "2000-01-23T04:56:07.000+00:00",
            "AdaptorID" : 6,
            "LastImportDateTime_offset" : 0,
            "LastExportDateTime_offset" : 4,
            "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" : 8,
            "ID" : 7,
            "LastImportDateTime_utc" : "2000-01-23T04:56:07.000+00:00"
          } ],
          "CreatedWith" : "CreatedWith",
          "ServicePostingInventoryID" : 6,
          "InventoryClassGroup" : {
            "IsDefault" : true,
            "Description" : "Description",
            "IsActive" : true,
            "GUID" : "00000000-0000-0000-0000-000000000000",
            "Name" : "Name",
            "GUIDstring" : "GUIDstring",
            "SupplierID" : 3,
            "InventoryClasses" : [ null, null ],
            "RowNumber" : 6,
            "BSID" : "BSID",
            "Version" : 5.944895607614016,
            "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" : 3,
              "BSID" : "BSID",
              "Version" : 7.143538047012306,
              "CreatedWith" : "CreatedWith",
              "IsSystem" : true,
              "ID" : 0,
              "InventoryClassGroups" : [ null, null ]
            }
          },
          "ID" : 1,
          "PostingBehaviour" : "PostingBehaviour",
          "ServicePostingInventoryCode" : "ServicePostingInventoryCode",
          "ServicePostingInventoryExpenseAccountCode" : "ServicePostingInventoryExpenseAccountCode",
          "ModifiedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
          "GUID" : "00000000-0000-0000-0000-000000000000",
          "RowNumber" : 3,
          "BSID" : "BSID",
          "IsAutoCreateGenericAccountInventory" : true,
          "CreatedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
          "ServicePostingInventoryRevenueAccountCode" : "ServicePostingInventoryRevenueAccountCode",
          "IsSystem" : true,
          "IsApprovedForService" : true,
          "ServicePostingInventoryName" : "ServicePostingInventoryName"
        },
        "TranslatorDetails" : [ {
          "WebsiteID" : 3,
          "Description" : "Description",
          "IsEnabled" : true,
          "IsActive" : true,
          "MasterAdaptorID" : 2,
          "AdaptorID" : 7,
          "IsUsedByTenant" : true,
          "Instructions" : [ {
            "KeyName" : "KeyName",
            "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
            "Description" : "Description",
            "FriendlyName" : "FriendlyName",
            "ValueType" : 1,
            "IsTriggerReconfigure" : true,
            "Value" : "Value",
            "IsReadOnly" : true
          }, {
            "KeyName" : "KeyName",
            "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
            "Description" : "Description",
            "FriendlyName" : "FriendlyName",
            "ValueType" : 1,
            "IsTriggerReconfigure" : true,
            "Value" : "Value",
            "IsReadOnly" : true
          } ],
          "InstructionsXML" : "InstructionsXML",
          "Name" : "Name",
          "IconURL" : "IconURL",
          "IsSource" : true,
          "TenantID" : 9,
          "Version" : "Version",
          "UserID" : 2,
          "ID" : 5,
          "MasterTranslatorID" : 5,
          "TranslationDefinition" : "TranslationDefinition",
          "IsTarget" : true
        }, {
          "WebsiteID" : 3,
          "Description" : "Description",
          "IsEnabled" : true,
          "IsActive" : true,
          "MasterAdaptorID" : 2,
          "AdaptorID" : 7,
          "IsUsedByTenant" : true,
          "Instructions" : [ {
            "KeyName" : "KeyName",
            "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
            "Description" : "Description",
            "FriendlyName" : "FriendlyName",
            "ValueType" : 1,
            "IsTriggerReconfigure" : true,
            "Value" : "Value",
            "IsReadOnly" : true
          }, {
            "KeyName" : "KeyName",
            "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
            "Description" : "Description",
            "FriendlyName" : "FriendlyName",
            "ValueType" : 1,
            "IsTriggerReconfigure" : true,
            "Value" : "Value",
            "IsReadOnly" : true
          } ],
          "InstructionsXML" : "InstructionsXML",
          "Name" : "Name",
          "IconURL" : "IconURL",
          "IsSource" : true,
          "TenantID" : 9,
          "Version" : "Version",
          "UserID" : 2,
          "ID" : 5,
          "MasterTranslatorID" : 5,
          "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" : 7,
        "Version" : "Version",
        "UserID" : 0,
        "OrganisationName" : "OrganisationName",
        "FullIconUrl" : "FullIconUrl",
        "ID" : 0,
        "WebsiteID" : 9,
        "DefaultCustomerClass" : {
          "HasBeenSaved" : true,
          "CountOfCustomers" : 4,
          "IsAccountCustomerBatched" : true,
          "Description" : "Description",
          "IsApprovedForWeb" : true,
          "IsApprovedForPOS" : true,
          "IsActive" : true,
          "BatchInvoiceFrequencyDays" : 7,
          "BatchInvoicePrefix" : "BatchInvoicePrefix",
          "Name" : "Name",
          "GUIDstring" : "GUIDstring",
          "IsAutoApprovedforClaimRequests" : true,
          "IsAutoSendPayByLinkInvoice" : true,
          "TradingTermDays" : 4,
          "DefaultPricingBandID" : 6,
          "ID" : 3,
          "PostingBehaviour" : "PostingBehaviour",
          "IsCanSetFundingRate" : true,
          "CreditLimit" : 3.2588565619047607,
          "LoyaltyDescription" : "LoyaltyDescription",
          "GUID" : "00000000-0000-0000-0000-000000000000",
          "GenericAccountCustomerID" : 5,
          "TradingTermID" : 0,
          "IsLoyaltyEligible" : true,
          "IsBatchInvoice" : true,
          "GenericAccountCustomerName" : "GenericAccountCustomerName",
          "AccountCustomerRefNumberPrefix" : "AccountCustomerRefNumberPrefix",
          "IsExemptFromMerchantSurcharge" : true,
          "FundingRate" : 3.0205796992916243,
          "IsAutoCreateGenericAccountCustomer" : true,
          "BSID" : "BSID",
          "IsSystem" : true,
          "IsApprovedForService" : true,
          "TradingTermType" : "TradingTermType",
          "PrimaryOperationalCustomer" : {
            "IsIndividual" : true,
            "CompanyName" : "CompanyName",
            "PrimaryContactFullName" : "PrimaryContactFullName",
            "CustomerID" : 1
          }
        },
        "Messages" : [ "Messages", "Messages" ],
        "Actions" : [ {
          "WebsiteID" : 9,
          "Action" : "Action",
          "Description" : "Description",
          "IsActive" : true,
          "AdaptorID" : 7,
          "TriggerXML" : "TriggerXML",
          "TranslatorActionDetails" : [ {
            "WebsiteID" : 9,
            "Action" : "Action",
            "Description" : "Description",
            "IsEnabled" : true,
            "IsActive" : true,
            "DatTypeID" : 4,
            "Instructions" : [ {
              "KeyName" : "KeyName",
              "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
              "Description" : "Description",
              "FriendlyName" : "FriendlyName",
              "ValueType" : 1,
              "IsTriggerReconfigure" : true,
              "Value" : "Value",
              "IsReadOnly" : true
            }, {
              "KeyName" : "KeyName",
              "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
              "Description" : "Description",
              "FriendlyName" : "FriendlyName",
              "ValueType" : 1,
              "IsTriggerReconfigure" : true,
              "Value" : "Value",
              "IsReadOnly" : true
            } ],
            "InstructionsXML" : "InstructionsXML",
            "Name" : "Name",
            "RefDatTypeID" : 5,
            "TenantID" : 9,
            "UserID" : 6,
            "TranslatorID" : 7,
            "AdaptorActionID" : 1,
            "ID" : 6,
            "TranslationDefinition" : "TranslationDefinition"
          }, {
            "WebsiteID" : 9,
            "Action" : "Action",
            "Description" : "Description",
            "IsEnabled" : true,
            "IsActive" : true,
            "DatTypeID" : 4,
            "Instructions" : [ {
              "KeyName" : "KeyName",
              "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
              "Description" : "Description",
              "FriendlyName" : "FriendlyName",
              "ValueType" : 1,
              "IsTriggerReconfigure" : true,
              "Value" : "Value",
              "IsReadOnly" : true
            }, {
              "KeyName" : "KeyName",
              "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
              "Description" : "Description",
              "FriendlyName" : "FriendlyName",
              "ValueType" : 1,
              "IsTriggerReconfigure" : true,
              "Value" : "Value",
              "IsReadOnly" : true
            } ],
            "InstructionsXML" : "InstructionsXML",
            "Name" : "Name",
            "RefDatTypeID" : 5,
            "TenantID" : 9,
            "UserID" : 6,
            "TranslatorID" : 7,
            "AdaptorActionID" : 1,
            "ID" : 6,
            "TranslationDefinition" : "TranslationDefinition"
          } ],
          "DatTypeID" : 1,
          "Instructions" : [ {
            "KeyName" : "KeyName",
            "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
            "Description" : "Description",
            "FriendlyName" : "FriendlyName",
            "ValueType" : 1,
            "IsTriggerReconfigure" : true,
            "Value" : "Value",
            "IsReadOnly" : true
          }, {
            "KeyName" : "KeyName",
            "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
            "Description" : "Description",
            "FriendlyName" : "FriendlyName",
            "ValueType" : 1,
            "IsTriggerReconfigure" : true,
            "Value" : "Value",
            "IsReadOnly" : true
          } ],
          "InstructionsXML" : "InstructionsXML",
          "Name" : "Name",
          "LastExecDateTime" : "2000-01-23T04:56:07.000+00:00",
          "RefDatTypeID" : 1,
          "TenantID" : 8,
          "UserID" : 6,
          "LastExecUserID" : 1,
          "LastExecDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
          "ID" : 4,
          "IsAutoQueue" : true
        }, {
          "WebsiteID" : 9,
          "Action" : "Action",
          "Description" : "Description",
          "IsActive" : true,
          "AdaptorID" : 7,
          "TriggerXML" : "TriggerXML",
          "TranslatorActionDetails" : [ {
            "WebsiteID" : 9,
            "Action" : "Action",
            "Description" : "Description",
            "IsEnabled" : true,
            "IsActive" : true,
            "DatTypeID" : 4,
            "Instructions" : [ {
              "KeyName" : "KeyName",
              "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
              "Description" : "Description",
              "FriendlyName" : "FriendlyName",
              "ValueType" : 1,
              "IsTriggerReconfigure" : true,
              "Value" : "Value",
              "IsReadOnly" : true
            }, {
              "KeyName" : "KeyName",
              "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
              "Description" : "Description",
              "FriendlyName" : "FriendlyName",
              "ValueType" : 1,
              "IsTriggerReconfigure" : true,
              "Value" : "Value",
              "IsReadOnly" : true
            } ],
            "InstructionsXML" : "InstructionsXML",
            "Name" : "Name",
            "RefDatTypeID" : 5,
            "TenantID" : 9,
            "UserID" : 6,
            "TranslatorID" : 7,
            "AdaptorActionID" : 1,
            "ID" : 6,
            "TranslationDefinition" : "TranslationDefinition"
          }, {
            "WebsiteID" : 9,
            "Action" : "Action",
            "Description" : "Description",
            "IsEnabled" : true,
            "IsActive" : true,
            "DatTypeID" : 4,
            "Instructions" : [ {
              "KeyName" : "KeyName",
              "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
              "Description" : "Description",
              "FriendlyName" : "FriendlyName",
              "ValueType" : 1,
              "IsTriggerReconfigure" : true,
              "Value" : "Value",
              "IsReadOnly" : true
            }, {
              "KeyName" : "KeyName",
              "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
              "Description" : "Description",
              "FriendlyName" : "FriendlyName",
              "ValueType" : 1,
              "IsTriggerReconfigure" : true,
              "Value" : "Value",
              "IsReadOnly" : true
            } ],
            "InstructionsXML" : "InstructionsXML",
            "Name" : "Name",
            "RefDatTypeID" : 5,
            "TenantID" : 9,
            "UserID" : 6,
            "TranslatorID" : 7,
            "AdaptorActionID" : 1,
            "ID" : 6,
            "TranslationDefinition" : "TranslationDefinition"
          } ],
          "DatTypeID" : 1,
          "Instructions" : [ {
            "KeyName" : "KeyName",
            "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
            "Description" : "Description",
            "FriendlyName" : "FriendlyName",
            "ValueType" : 1,
            "IsTriggerReconfigure" : true,
            "Value" : "Value",
            "IsReadOnly" : true
          }, {
            "KeyName" : "KeyName",
            "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
            "Description" : "Description",
            "FriendlyName" : "FriendlyName",
            "ValueType" : 1,
            "IsTriggerReconfigure" : true,
            "Value" : "Value",
            "IsReadOnly" : true
          } ],
          "InstructionsXML" : "InstructionsXML",
          "Name" : "Name",
          "LastExecDateTime" : "2000-01-23T04:56:07.000+00:00",
          "RefDatTypeID" : 1,
          "TenantID" : 8,
          "UserID" : 6,
          "LastExecUserID" : 1,
          "LastExecDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
          "ID" : 4,
          "IsAutoQueue" : true
        } ],
        "MasterAdaptorID" : 6,
        "OrganisationId" : "OrganisationId",
        "IsUsedByTenant" : true,
        "Instructions" : [ {
          "KeyName" : "KeyName",
          "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
          "Description" : "Description",
          "FriendlyName" : "FriendlyName",
          "ValueType" : 1,
          "IsTriggerReconfigure" : true,
          "Value" : "Value",
          "IsReadOnly" : true
        }, {
          "KeyName" : "KeyName",
          "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
          "Description" : "Description",
          "FriendlyName" : "FriendlyName",
          "ValueType" : 1,
          "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" : 8,
      "Interval" : 3
    },
    "IsUsedInCurrentAdaptor" : true
  }, {
    "Info" : {
      "Status" : "Status",
      "TimeOfDay" : "2000-01-23T04:56:07.000+00:00",
      "IsEnabled" : true,
      "IsActive" : true,
      "IntervalType" : 0,
      "TaskTypeID" : 8,
      "RecurrenceType" : 1,
      "DatTypeFriendlyName" : "DatTypeFriendlyName",
      "NameFriendlyName" : "NameFriendlyName",
      "DocumentID" : 4,
      "DatTypeID" : 6,
      "WorkflowID" : 6,
      "Name" : "Name",
      "IsRecurringSchedule" : true,
      "IDs" : [ 2, 2 ],
      "AdaptorDetails" : {
        "Description" : "Description",
        "AdaptorCategory" : 4,
        "IsActive" : true,
        "IsAuthorized" : true,
        "DefaultInventoryClass" : {
          "Description" : "Description",
          "IsApprovedForWeb" : true,
          "IsApprovedForPOS" : true,
          "SalesPostingInventoryRevenueAccountCode" : "SalesPostingInventoryRevenueAccountCode",
          "IsActive" : true,
          "CountOfProducts" : 7,
          "SalesPostingInventoryExpenseAccountCode" : "SalesPostingInventoryExpenseAccountCode",
          "SalesPostingInventoryCode" : "SalesPostingInventoryCode",
          "Name" : "Name",
          "GUIDstring" : "GUIDstring",
          "SalesPostingInventoryID" : 2,
          "SalesPostingInventoryName" : "SalesPostingInventoryName",
          "Version" : 6.965117697638846,
          "SyncLogs" : [ {
            "Status" : "Status",
            "LastImportDateTime" : "2000-01-23T04:56:07.000+00:00",
            "AdaptorID" : 6,
            "LastImportDateTime_offset" : 0,
            "LastExportDateTime_offset" : 4,
            "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" : 8,
            "ID" : 7,
            "LastImportDateTime_utc" : "2000-01-23T04:56:07.000+00:00"
          }, {
            "Status" : "Status",
            "LastImportDateTime" : "2000-01-23T04:56:07.000+00:00",
            "AdaptorID" : 6,
            "LastImportDateTime_offset" : 0,
            "LastExportDateTime_offset" : 4,
            "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" : 8,
            "ID" : 7,
            "LastImportDateTime_utc" : "2000-01-23T04:56:07.000+00:00"
          } ],
          "CreatedWith" : "CreatedWith",
          "ServicePostingInventoryID" : 6,
          "InventoryClassGroup" : {
            "IsDefault" : true,
            "Description" : "Description",
            "IsActive" : true,
            "GUID" : "00000000-0000-0000-0000-000000000000",
            "Name" : "Name",
            "GUIDstring" : "GUIDstring",
            "SupplierID" : 3,
            "InventoryClasses" : [ null, null ],
            "RowNumber" : 6,
            "BSID" : "BSID",
            "Version" : 5.944895607614016,
            "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" : 3,
              "BSID" : "BSID",
              "Version" : 7.143538047012306,
              "CreatedWith" : "CreatedWith",
              "IsSystem" : true,
              "ID" : 0,
              "InventoryClassGroups" : [ null, null ]
            }
          },
          "ID" : 1,
          "PostingBehaviour" : "PostingBehaviour",
          "ServicePostingInventoryCode" : "ServicePostingInventoryCode",
          "ServicePostingInventoryExpenseAccountCode" : "ServicePostingInventoryExpenseAccountCode",
          "ModifiedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
          "GUID" : "00000000-0000-0000-0000-000000000000",
          "RowNumber" : 3,
          "BSID" : "BSID",
          "IsAutoCreateGenericAccountInventory" : true,
          "CreatedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
          "ServicePostingInventoryRevenueAccountCode" : "ServicePostingInventoryRevenueAccountCode",
          "IsSystem" : true,
          "IsApprovedForService" : true,
          "ServicePostingInventoryName" : "ServicePostingInventoryName"
        },
        "TranslatorDetails" : [ {
          "WebsiteID" : 3,
          "Description" : "Description",
          "IsEnabled" : true,
          "IsActive" : true,
          "MasterAdaptorID" : 2,
          "AdaptorID" : 7,
          "IsUsedByTenant" : true,
          "Instructions" : [ {
            "KeyName" : "KeyName",
            "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
            "Description" : "Description",
            "FriendlyName" : "FriendlyName",
            "ValueType" : 1,
            "IsTriggerReconfigure" : true,
            "Value" : "Value",
            "IsReadOnly" : true
          }, {
            "KeyName" : "KeyName",
            "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
            "Description" : "Description",
            "FriendlyName" : "FriendlyName",
            "ValueType" : 1,
            "IsTriggerReconfigure" : true,
            "Value" : "Value",
            "IsReadOnly" : true
          } ],
          "InstructionsXML" : "InstructionsXML",
          "Name" : "Name",
          "IconURL" : "IconURL",
          "IsSource" : true,
          "TenantID" : 9,
          "Version" : "Version",
          "UserID" : 2,
          "ID" : 5,
          "MasterTranslatorID" : 5,
          "TranslationDefinition" : "TranslationDefinition",
          "IsTarget" : true
        }, {
          "WebsiteID" : 3,
          "Description" : "Description",
          "IsEnabled" : true,
          "IsActive" : true,
          "MasterAdaptorID" : 2,
          "AdaptorID" : 7,
          "IsUsedByTenant" : true,
          "Instructions" : [ {
            "KeyName" : "KeyName",
            "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
            "Description" : "Description",
            "FriendlyName" : "FriendlyName",
            "ValueType" : 1,
            "IsTriggerReconfigure" : true,
            "Value" : "Value",
            "IsReadOnly" : true
          }, {
            "KeyName" : "KeyName",
            "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
            "Description" : "Description",
            "FriendlyName" : "FriendlyName",
            "ValueType" : 1,
            "IsTriggerReconfigure" : true,
            "Value" : "Value",
            "IsReadOnly" : true
          } ],
          "InstructionsXML" : "InstructionsXML",
          "Name" : "Name",
          "IconURL" : "IconURL",
          "IsSource" : true,
          "TenantID" : 9,
          "Version" : "Version",
          "UserID" : 2,
          "ID" : 5,
          "MasterTranslatorID" : 5,
          "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" : 7,
        "Version" : "Version",
        "UserID" : 0,
        "OrganisationName" : "OrganisationName",
        "FullIconUrl" : "FullIconUrl",
        "ID" : 0,
        "WebsiteID" : 9,
        "DefaultCustomerClass" : {
          "HasBeenSaved" : true,
          "CountOfCustomers" : 4,
          "IsAccountCustomerBatched" : true,
          "Description" : "Description",
          "IsApprovedForWeb" : true,
          "IsApprovedForPOS" : true,
          "IsActive" : true,
          "BatchInvoiceFrequencyDays" : 7,
          "BatchInvoicePrefix" : "BatchInvoicePrefix",
          "Name" : "Name",
          "GUIDstring" : "GUIDstring",
          "IsAutoApprovedforClaimRequests" : true,
          "IsAutoSendPayByLinkInvoice" : true,
          "TradingTermDays" : 4,
          "DefaultPricingBandID" : 6,
          "ID" : 3,
          "PostingBehaviour" : "PostingBehaviour",
          "IsCanSetFundingRate" : true,
          "CreditLimit" : 3.2588565619047607,
          "LoyaltyDescription" : "LoyaltyDescription",
          "GUID" : "00000000-0000-0000-0000-000000000000",
          "GenericAccountCustomerID" : 5,
          "TradingTermID" : 0,
          "IsLoyaltyEligible" : true,
          "IsBatchInvoice" : true,
          "GenericAccountCustomerName" : "GenericAccountCustomerName",
          "AccountCustomerRefNumberPrefix" : "AccountCustomerRefNumberPrefix",
          "IsExemptFromMerchantSurcharge" : true,
          "FundingRate" : 3.0205796992916243,
          "IsAutoCreateGenericAccountCustomer" : true,
          "BSID" : "BSID",
          "IsSystem" : true,
          "IsApprovedForService" : true,
          "TradingTermType" : "TradingTermType",
          "PrimaryOperationalCustomer" : {
            "IsIndividual" : true,
            "CompanyName" : "CompanyName",
            "PrimaryContactFullName" : "PrimaryContactFullName",
            "CustomerID" : 1
          }
        },
        "Messages" : [ "Messages", "Messages" ],
        "Actions" : [ {
          "WebsiteID" : 9,
          "Action" : "Action",
          "Description" : "Description",
          "IsActive" : true,
          "AdaptorID" : 7,
          "TriggerXML" : "TriggerXML",
          "TranslatorActionDetails" : [ {
            "WebsiteID" : 9,
            "Action" : "Action",
            "Description" : "Description",
            "IsEnabled" : true,
            "IsActive" : true,
            "DatTypeID" : 4,
            "Instructions" : [ {
              "KeyName" : "KeyName",
              "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
              "Description" : "Description",
              "FriendlyName" : "FriendlyName",
              "ValueType" : 1,
              "IsTriggerReconfigure" : true,
              "Value" : "Value",
              "IsReadOnly" : true
            }, {
              "KeyName" : "KeyName",
              "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
              "Description" : "Description",
              "FriendlyName" : "FriendlyName",
              "ValueType" : 1,
              "IsTriggerReconfigure" : true,
              "Value" : "Value",
              "IsReadOnly" : true
            } ],
            "InstructionsXML" : "InstructionsXML",
            "Name" : "Name",
            "RefDatTypeID" : 5,
            "TenantID" : 9,
            "UserID" : 6,
            "TranslatorID" : 7,
            "AdaptorActionID" : 1,
            "ID" : 6,
            "TranslationDefinition" : "TranslationDefinition"
          }, {
            "WebsiteID" : 9,
            "Action" : "Action",
            "Description" : "Description",
            "IsEnabled" : true,
            "IsActive" : true,
            "DatTypeID" : 4,
            "Instructions" : [ {
              "KeyName" : "KeyName",
              "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
              "Description" : "Description",
              "FriendlyName" : "FriendlyName",
              "ValueType" : 1,
              "IsTriggerReconfigure" : true,
              "Value" : "Value",
              "IsReadOnly" : true
            }, {
              "KeyName" : "KeyName",
              "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
              "Description" : "Description",
              "FriendlyName" : "FriendlyName",
              "ValueType" : 1,
              "IsTriggerReconfigure" : true,
              "Value" : "Value",
              "IsReadOnly" : true
            } ],
            "InstructionsXML" : "InstructionsXML",
            "Name" : "Name",
            "RefDatTypeID" : 5,
            "TenantID" : 9,
            "UserID" : 6,
            "TranslatorID" : 7,
            "AdaptorActionID" : 1,
            "ID" : 6,
            "TranslationDefinition" : "TranslationDefinition"
          } ],
          "DatTypeID" : 1,
          "Instructions" : [ {
            "KeyName" : "KeyName",
            "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
            "Description" : "Description",
            "FriendlyName" : "FriendlyName",
            "ValueType" : 1,
            "IsTriggerReconfigure" : true,
            "Value" : "Value",
            "IsReadOnly" : true
          }, {
            "KeyName" : "KeyName",
            "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
            "Description" : "Description",
            "FriendlyName" : "FriendlyName",
            "ValueType" : 1,
            "IsTriggerReconfigure" : true,
            "Value" : "Value",
            "IsReadOnly" : true
          } ],
          "InstructionsXML" : "InstructionsXML",
          "Name" : "Name",
          "LastExecDateTime" : "2000-01-23T04:56:07.000+00:00",
          "RefDatTypeID" : 1,
          "TenantID" : 8,
          "UserID" : 6,
          "LastExecUserID" : 1,
          "LastExecDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
          "ID" : 4,
          "IsAutoQueue" : true
        }, {
          "WebsiteID" : 9,
          "Action" : "Action",
          "Description" : "Description",
          "IsActive" : true,
          "AdaptorID" : 7,
          "TriggerXML" : "TriggerXML",
          "TranslatorActionDetails" : [ {
            "WebsiteID" : 9,
            "Action" : "Action",
            "Description" : "Description",
            "IsEnabled" : true,
            "IsActive" : true,
            "DatTypeID" : 4,
            "Instructions" : [ {
              "KeyName" : "KeyName",
              "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
              "Description" : "Description",
              "FriendlyName" : "FriendlyName",
              "ValueType" : 1,
              "IsTriggerReconfigure" : true,
              "Value" : "Value",
              "IsReadOnly" : true
            }, {
              "KeyName" : "KeyName",
              "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
              "Description" : "Description",
              "FriendlyName" : "FriendlyName",
              "ValueType" : 1,
              "IsTriggerReconfigure" : true,
              "Value" : "Value",
              "IsReadOnly" : true
            } ],
            "InstructionsXML" : "InstructionsXML",
            "Name" : "Name",
            "RefDatTypeID" : 5,
            "TenantID" : 9,
            "UserID" : 6,
            "TranslatorID" : 7,
            "AdaptorActionID" : 1,
            "ID" : 6,
            "TranslationDefinition" : "TranslationDefinition"
          }, {
            "WebsiteID" : 9,
            "Action" : "Action",
            "Description" : "Description",
            "IsEnabled" : true,
            "IsActive" : true,
            "DatTypeID" : 4,
            "Instructions" : [ {
              "KeyName" : "KeyName",
              "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
              "Description" : "Description",
              "FriendlyName" : "FriendlyName",
              "ValueType" : 1,
              "IsTriggerReconfigure" : true,
              "Value" : "Value",
              "IsReadOnly" : true
            }, {
              "KeyName" : "KeyName",
              "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
              "Description" : "Description",
              "FriendlyName" : "FriendlyName",
              "ValueType" : 1,
              "IsTriggerReconfigure" : true,
              "Value" : "Value",
              "IsReadOnly" : true
            } ],
            "InstructionsXML" : "InstructionsXML",
            "Name" : "Name",
            "RefDatTypeID" : 5,
            "TenantID" : 9,
            "UserID" : 6,
            "TranslatorID" : 7,
            "AdaptorActionID" : 1,
            "ID" : 6,
            "TranslationDefinition" : "TranslationDefinition"
          } ],
          "DatTypeID" : 1,
          "Instructions" : [ {
            "KeyName" : "KeyName",
            "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
            "Description" : "Description",
            "FriendlyName" : "FriendlyName",
            "ValueType" : 1,
            "IsTriggerReconfigure" : true,
            "Value" : "Value",
            "IsReadOnly" : true
          }, {
            "KeyName" : "KeyName",
            "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
            "Description" : "Description",
            "FriendlyName" : "FriendlyName",
            "ValueType" : 1,
            "IsTriggerReconfigure" : true,
            "Value" : "Value",
            "IsReadOnly" : true
          } ],
          "InstructionsXML" : "InstructionsXML",
          "Name" : "Name",
          "LastExecDateTime" : "2000-01-23T04:56:07.000+00:00",
          "RefDatTypeID" : 1,
          "TenantID" : 8,
          "UserID" : 6,
          "LastExecUserID" : 1,
          "LastExecDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
          "ID" : 4,
          "IsAutoQueue" : true
        } ],
        "MasterAdaptorID" : 6,
        "OrganisationId" : "OrganisationId",
        "IsUsedByTenant" : true,
        "Instructions" : [ {
          "KeyName" : "KeyName",
          "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
          "Description" : "Description",
          "FriendlyName" : "FriendlyName",
          "ValueType" : 1,
          "IsTriggerReconfigure" : true,
          "Value" : "Value",
          "IsReadOnly" : true
        }, {
          "KeyName" : "KeyName",
          "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
          "Description" : "Description",
          "FriendlyName" : "FriendlyName",
          "ValueType" : 1,
          "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" : 8,
      "Interval" : 3
    },
    "IsUsedInCurrentAdaptor" : true
  } ],
  "DatTypes" : [ {
    "Read" : {
      "Action" : "Action",
      "CurrentAdaptorActionID" : 7,
      "NewAdaptorId" : 4,
      "SyncFromDate" : "2000-01-23T04:56:07.000+00:00",
      "CurrentAdaptorId" : 5
    },
    "Write" : {
      "Action" : "Action",
      "CurrentAdaptorActionID" : 7,
      "NewAdaptorId" : 4,
      "SyncFromDate" : "2000-01-23T04:56:07.000+00:00",
      "CurrentAdaptorId" : 5
    },
    "RefDatType" : 0,
    "DatType" : 9,
    "IsUsedInCurrentWebsite" : true,
    "Name" : "Name"
  }, {
    "Read" : {
      "Action" : "Action",
      "CurrentAdaptorActionID" : 7,
      "NewAdaptorId" : 4,
      "SyncFromDate" : "2000-01-23T04:56:07.000+00:00",
      "CurrentAdaptorId" : 5
    },
    "Write" : {
      "Action" : "Action",
      "CurrentAdaptorActionID" : 7,
      "NewAdaptorId" : 4,
      "SyncFromDate" : "2000-01-23T04:56:07.000+00:00",
      "CurrentAdaptorId" : 5
    },
    "RefDatType" : 0,
    "DatType" : 9,
    "IsUsedInCurrentWebsite" : true,
    "Name" : "Name"
  } ],
  "Accounts" : [ {
    "BankName" : "BankName",
    "Description" : "Description",
    "OpeningBalance" : 1.8268702177058116,
    "IsActive" : true,
    "ParentAccountName" : "ParentAccountName",
    "ParentAccountCode" : "ParentAccountCode",
    "Name" : "Name",
    "GUIDstring" : "GUIDstring",
    "CurrencyCode" : "CurrencyCode",
    "BankBSB" : "BankBSB",
    "Version" : 8.863729185622827,
    "SyncLogs" : [ {
      "Status" : "Status",
      "LastImportDateTime" : "2000-01-23T04:56:07.000+00:00",
      "AdaptorID" : 6,
      "LastImportDateTime_offset" : 0,
      "LastExportDateTime_offset" : 4,
      "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" : 8,
      "ID" : 7,
      "LastImportDateTime_utc" : "2000-01-23T04:56:07.000+00:00"
    }, {
      "Status" : "Status",
      "LastImportDateTime" : "2000-01-23T04:56:07.000+00:00",
      "AdaptorID" : 6,
      "LastImportDateTime_offset" : 0,
      "LastExportDateTime_offset" : 4,
      "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" : 8,
      "ID" : 7,
      "LastImportDateTime_utc" : "2000-01-23T04:56:07.000+00:00"
    } ],
    "ID" : 9,
    "OpeningDate" : "2000-01-23T04:56:07.000+00:00",
    "IsEnablePayments" : true,
    "GUID" : "00000000-0000-0000-0000-000000000000",
    "Code" : "Code",
    "TaxType" : "TaxType",
    "ClosingBalance" : 3.502657762086401,
    "RowNumber" : 4,
    "Type" : "Type",
    "BankAccountName" : "BankAccountName",
    "ParentAccountBSID" : "ParentAccountBSID",
    "BSID" : "BSID",
    "IsShowOnInvoice" : true,
    "IsParentAccount" : true,
    "BankAccountType" : "BankAccountType",
    "Class" : "Class",
    "ClosingDate" : "2000-01-23T04:56:07.000+00:00",
    "Balance" : 9.183123594773994,
    "BankAccountNumber" : "BankAccountNumber",
    "IsShowInExpenseClaims" : true,
    "ParentAccountID" : 8
  }, {
    "BankName" : "BankName",
    "Description" : "Description",
    "OpeningBalance" : 1.8268702177058116,
    "IsActive" : true,
    "ParentAccountName" : "ParentAccountName",
    "ParentAccountCode" : "ParentAccountCode",
    "Name" : "Name",
    "GUIDstring" : "GUIDstring",
    "CurrencyCode" : "CurrencyCode",
    "BankBSB" : "BankBSB",
    "Version" : 8.863729185622827,
    "SyncLogs" : [ {
      "Status" : "Status",
      "LastImportDateTime" : "2000-01-23T04:56:07.000+00:00",
      "AdaptorID" : 6,
      "LastImportDateTime_offset" : 0,
      "LastExportDateTime_offset" : 4,
      "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" : 8,
      "ID" : 7,
      "LastImportDateTime_utc" : "2000-01-23T04:56:07.000+00:00"
    }, {
      "Status" : "Status",
      "LastImportDateTime" : "2000-01-23T04:56:07.000+00:00",
      "AdaptorID" : 6,
      "LastImportDateTime_offset" : 0,
      "LastExportDateTime_offset" : 4,
      "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" : 8,
      "ID" : 7,
      "LastImportDateTime_utc" : "2000-01-23T04:56:07.000+00:00"
    } ],
    "ID" : 9,
    "OpeningDate" : "2000-01-23T04:56:07.000+00:00",
    "IsEnablePayments" : true,
    "GUID" : "00000000-0000-0000-0000-000000000000",
    "Code" : "Code",
    "TaxType" : "TaxType",
    "ClosingBalance" : 3.502657762086401,
    "RowNumber" : 4,
    "Type" : "Type",
    "BankAccountName" : "BankAccountName",
    "ParentAccountBSID" : "ParentAccountBSID",
    "BSID" : "BSID",
    "IsShowOnInvoice" : true,
    "IsParentAccount" : true,
    "BankAccountType" : "BankAccountType",
    "Class" : "Class",
    "ClosingDate" : "2000-01-23T04:56:07.000+00:00",
    "Balance" : 9.183123594773994,
    "BankAccountNumber" : "BankAccountNumber",
    "IsShowInExpenseClaims" : true,
    "ParentAccountID" : 8
  } ]
}' \
 -d 'Custom MIME type example not yet supported: text/json' \
 -d '<AdaptorSetup>
  <AdaptorDetails>
    <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>
    <null>
      <KeyName>aeiou</KeyName>
      <FriendlyName>aeiou</FriendlyName>
      <Value>aeiou</Value>
      <ValueType>123</ValueType>
      <ValueOptions>aeiou</ValueOptions>
      <Description>aeiou</Description>
      <IsReadOnly>true</IsReadOnly>
      <IsTriggerReconfigure>true</IsTriggerReconfigure>
    </null>
    <null>
      <ID>123</ID>
      <MasterTranslatorID>123</MasterTranslatorID>
      <MasterAdaptorID>123</MasterAdaptorID>
      <AdaptorID>123</AdaptorID>
      <Name>aeiou</Name>
      <IconURL>aeiou</IconURL>
      <Description>aeiou</Description>
      <Version>aeiou</Version>
      <IsSource>true</IsSource>
      <IsTarget>true</IsTarget>
      <TranslationDefinition>aeiou</TranslationDefinition>
      <InstructionsXML>aeiou</InstructionsXML>
      <IsActive>true</IsActive>
      <IsUsedByTenant>true</IsUsedByTenant>
      <IsEnabled>true</IsEnabled>
      <TenantID>123</TenantID>
      <WebsiteID>123</WebsiteID>
      <UserID>123</UserID>
    </null>
    <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>
    <IsAuthorized>true</IsAuthorized>
    <null>
      <Username>aeiou</Username>
      <TokenKey>aeiou</TokenKey>
      <TokenSecret>aeiou</TokenSecret>
      <Verifier>aeiou</Verifier>
      <Provider>aeiou</Provider>
      <OrgID>aeiou</OrgID>
      <OrgName>aeiou</OrgName>
      <UserAgent>aeiou</UserAgent>
      <ConsumerKey>aeiou</ConsumerKey>
      <ConsumerSecret>aeiou</ConsumerSecret>
      <Session>aeiou</Session>
      <ExpiresAt>2000-01-23T04:56:07.000Z</ExpiresAt>
      <SessionExpiresAt>2000-01-23T04:56:07.000Z</SessionExpiresAt>
      <HasExpired>true</HasExpired>
      <HasSessionExpired>true</HasSessionExpired>
    </null>
    <Type>aeiou</Type>
    <OrganisationId>aeiou</OrganisationId>
    <OrganisationName>aeiou</OrganisationName>
    <Messages>aeiou</Messages>
    <null>
      <GUID>00000000-0000-0000-0000-000000000000</GUID>
      <SalesPostingInventoryName>aeiou</SalesPostingInventoryName>
      <SalesPostingInventoryRevenueAccountCode>aeiou</SalesPostingInventoryRevenueAccountCode>
      <SalesPostingInventoryExpenseAccountCode>aeiou</SalesPostingInventoryExpenseAccountCode>
      <ServicePostingInventoryName>aeiou</ServicePostingInventoryName>
      <ServicePostingInventoryRevenueAccountCode>aeiou</ServicePostingInventoryRevenueAccountCode>
      <ServicePostingInventoryExpenseAccountCode>aeiou</ServicePostingInventoryExpenseAccountCode>
      <IsAutoCreateGenericAccountInventory>true</IsAutoCreateGenericAccountInventory>
      <RowNumber>123456789</RowNumber>
      <Version>3.149</Version>
      <ID>123</ID>
      <GUIDstring>aeiou</GUIDstring>
      <BSID>aeiou</BSID>
      <CreatedWith>aeiou</CreatedWith>
      <Name>aeiou</Name>
      <Description>aeiou</Description>
      <IsActive>true</IsActive>
      <SalesPostingInventoryID>123</SalesPostingInventoryID>
      <ServicePostingInventoryID>123</ServicePostingInventoryID>
      <IsApprovedForWeb>true</IsApprovedForWeb>
      <IsApprovedForService>true</IsApprovedForService>
      <IsApprovedForPOS>true</IsApprovedForPOS>
      <PostingBehaviour>aeiou</PostingBehaviour>
      <CountOfProducts>123</CountOfProducts>
      <IsSystem>true</IsSystem>
      <CreatedDateTime_utc>2000-01-23T04:56:07.000Z</CreatedDateTime_utc>
      <ModifiedDateTime_utc>2000-01-23T04:56:07.000Z</ModifiedDateTime_utc>
      <SalesPostingInventoryCode>aeiou</SalesPostingInventoryCode>
      <ServicePostingInventoryCode>aeiou</ServicePostingInventoryCode>
    </null>
    <null>
      <GUID>00000000-0000-0000-0000-000000000000</GUID>
      <HasBeenSaved>true</HasBeenSaved>
      <IsAutoCreateGenericAccountCustomer>true</IsAutoCreateGenericAccountCustomer>
      <IsCanSetFundingRate>true</IsCanSetFundingRate>
      <FundingRate>3.149</FundingRate>
      <ID>123</ID>
      <GUIDstring>aeiou</GUIDstring>
      <BSID>aeiou</BSID>
      <Name>aeiou</Name>
      <Description>aeiou</Description>
      <IsActive>true</IsActive>
      <IsBatchInvoice>true</IsBatchInvoice>
      <BatchInvoiceFrequencyDays>123</BatchInvoiceFrequencyDays>
      <BatchInvoicePrefix>aeiou</BatchInvoicePrefix>
      <GenericAccountCustomerID>123</GenericAccountCustomerID>
      <GenericAccountCustomerName>aeiou</GenericAccountCustomerName>
      <PostingBehaviour>aeiou</PostingBehaviour>
      <CreditLimit>3.149</CreditLimit>
      <TradingTermDays>123</TradingTermDays>
      <TradingTermID>123</TradingTermID>
      <TradingTermType>aeiou</TradingTermType>
      <DefaultPricingBandID>123</DefaultPricingBandID>
      <IsApprovedForWeb>true</IsApprovedForWeb>
      <IsApprovedForService>true</IsApprovedForService>
      <IsApprovedForPOS>true</IsApprovedForPOS>
      <IsAutoSendPayByLinkInvoice>true</IsAutoSendPayByLinkInvoice>
      <AccountCustomerRefNumberPrefix>aeiou</AccountCustomerRefNumberPrefix>
      <CountOfCustomers>123</CountOfCustomers>
      <IsSystem>true</IsSystem>
      <IsExemptFromMerchantSurcharge>true</IsExemptFromMerchantSurcharge>
      <IsAccountCustomerBatched>true</IsAccountCustomerBatched>
      <IsAutoApprovedforClaimRequests>true</IsAutoApprovedforClaimRequests>
      <IsLoyaltyEligible>true</IsLoyaltyEligible>
      <LoyaltyDescription>aeiou</LoyaltyDescription>
    </null>
    <AdaptorCategory>123</AdaptorCategory>
    <TenantID>123</TenantID>
    <WebsiteID>123</WebsiteID>
    <UserID>123</UserID>
  </AdaptorDetails>
  <null>
    <IsUsedInCurrentWebsite>true</IsUsedInCurrentWebsite>
    <DatType>123</DatType>
    <RefDatType>123</RefDatType>
    <Name>aeiou</Name>
  </null>
  <null>
    <IsUsedInCurrentAdaptor>true</IsUsedInCurrentAdaptor>
  </null>
  <null>
    <GUID>00000000-0000-0000-0000-000000000000</GUID>
    <RowNumber>123456789</RowNumber>
    <Version>3.149</Version>
    <ID>123</ID>
    <GUIDstring>aeiou</GUIDstring>
    <BSID>aeiou</BSID>
    <Code>aeiou</Code>
    <Name>aeiou</Name>
    <Description>aeiou</Description>
    <Type>aeiou</Type>
    <TaxType>aeiou</TaxType>
    <Class>aeiou</Class>
    <IsEnablePayments>true</IsEnablePayments>
    <IsShowInExpenseClaims>true</IsShowInExpenseClaims>
    <BankAccountNumber>aeiou</BankAccountNumber>
    <BankAccountName>aeiou</BankAccountName>
    <BankAccountType>aeiou</BankAccountType>
    <BankBSB>aeiou</BankBSB>
    <BankName>aeiou</BankName>
    <CurrencyCode>aeiou</CurrencyCode>
    <IsActive>true</IsActive>
    <IsShowOnInvoice>true</IsShowOnInvoice>
    <OpeningBalance>3.149</OpeningBalance>
    <OpeningDate>2000-01-23T04:56:07.000Z</OpeningDate>
    <ClosingBalance>3.149</ClosingBalance>
    <ClosingDate>2000-01-23T04:56:07.000Z</ClosingDate>
    <Balance>3.149</Balance>
    <IsParentAccount>true</IsParentAccount>
    <ParentAccountID>123</ParentAccountID>
    <ParentAccountBSID>aeiou</ParentAccountBSID>
    <ParentAccountCode>aeiou</ParentAccountCode>
    <ParentAccountName>aeiou</ParentAccountName>
  </null>
</AdaptorSetup>' \
 -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();
        AdaptorSetup adaptorSetup = ; // AdaptorSetup | 

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

final api_instance = DefaultApi();

final AdaptorSetup adaptorSetup = new AdaptorSetup(); // AdaptorSetup | 

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

import org.openapitools.client.api.DefaultApi;

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

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


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

// Adaptor_PostSetup
[apiInstance adaptorPostSetupWith:adaptorSetup
              completionHandler: ^(ActionResults output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiAdaptor = require('as_server_api_adaptor');

// Create an instance of the API class
var api = new AsServerApiAdaptor.DefaultApi()
var opts = {
  'adaptorSetup':  // {AdaptorSetup} 
};

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

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

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

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

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

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

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

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

pub fn main() {
    let adaptorSetup = ; // AdaptorSetup

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

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

Scopes

Parameters

Body parameters
Name Description
adaptorSetup

Responses


adaptorReconfigureAdaptor

Adaptor_ReconfigureAdaptor


/Adaptor/{adaptorID}/reconfigure

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/Adaptor/{adaptorID}/reconfigure" \
 -d '{
  "KeyName" : "KeyName",
  "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
  "Description" : "Description",
  "FriendlyName" : "FriendlyName",
  "ValueType" : 1,
  "IsTriggerReconfigure" : true,
  "Value" : "Value",
  "IsReadOnly" : true
}' \
 -d 'Custom MIME type example not yet supported: text/json' \
 -d '<null>
  <KeyName>aeiou</KeyName>
  <FriendlyName>aeiou</FriendlyName>
  <Value>aeiou</Value>
  <ValueType>123</ValueType>
  <ValueOptions>aeiou</ValueOptions>
  <Description>aeiou</Description>
  <IsReadOnly>true</IsReadOnly>
  <IsTriggerReconfigure>true</IsTriggerReconfigure>
</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();
        Integer adaptorID = 56; // Integer | 
        array[Instruction] instruction = [{"KeyName":"string","FriendlyName":"string","Value":"string","ValueType":0,"ValueOptions":["string"],"Description":"string","IsReadOnly":true,"IsTriggerReconfigure":true}]; // array[Instruction] | 

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

final api_instance = DefaultApi();

final Integer adaptorID = new Integer(); // Integer | 
final array[Instruction] instruction = new array[Instruction](); // array[Instruction] | 

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

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Integer adaptorID = 56; // Integer | 
        array[Instruction] instruction = [{"KeyName":"string","FriendlyName":"string","Value":"string","ValueType":0,"ValueOptions":["string"],"Description":"string","IsReadOnly":true,"IsTriggerReconfigure":true}]; // array[Instruction] | 

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


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Integer *adaptorID = 56; //  (default to null)
array[Instruction] *instruction = [{"KeyName":"string","FriendlyName":"string","Value":"string","ValueType":0,"ValueOptions":["string"],"Description":"string","IsReadOnly":true,"IsTriggerReconfigure":true}]; //  (optional)

// Adaptor_ReconfigureAdaptor
[apiInstance adaptorReconfigureAdaptorWith:adaptorID
    instruction:instruction
              completionHandler: ^(ActionResults output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiAdaptor = require('as_server_api_adaptor');

// Create an instance of the API class
var api = new AsServerApiAdaptor.DefaultApi()
var adaptorID = 56; // {Integer} 
var opts = {
  'instruction': [{"KeyName":"string","FriendlyName":"string","Value":"string","ValueType":0,"ValueOptions":["string"],"Description":"string","IsReadOnly":true,"IsTriggerReconfigure":true}] // {array[Instruction]} 
};

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

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

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var adaptorID = 56;  // Integer |  (default to null)
            var instruction = new array[Instruction](); // array[Instruction] |  (optional) 

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

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$adaptorID = 56; // Integer | 
$instruction = [{"KeyName":"string","FriendlyName":"string","Value":"string","ValueType":0,"ValueOptions":["string"],"Description":"string","IsReadOnly":true,"IsTriggerReconfigure":true}]; // array[Instruction] | 

try {
    $result = $api_instance->adaptorReconfigureAdaptor($adaptorID, $instruction);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->adaptorReconfigureAdaptor: ', $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 $adaptorID = 56; # Integer | 
my $instruction = [WWW::OPenAPIClient::Object::array[Instruction]->new()]; # array[Instruction] | 

eval {
    my $result = $api_instance->adaptorReconfigureAdaptor(adaptorID => $adaptorID, instruction => $instruction);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->adaptorReconfigureAdaptor: $@\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()
adaptorID = 56 # Integer |  (default to null)
instruction = [{"KeyName":"string","FriendlyName":"string","Value":"string","ValueType":0,"ValueOptions":["string"],"Description":"string","IsReadOnly":true,"IsTriggerReconfigure":true}] # array[Instruction] |  (optional)

try:
    # Adaptor_ReconfigureAdaptor
    api_response = api_instance.adaptor_reconfigure_adaptor(adaptorID, instruction=instruction)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->adaptorReconfigureAdaptor: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let adaptorID = 56; // Integer
    let instruction = [{"KeyName":"string","FriendlyName":"string","Value":"string","ValueType":0,"ValueOptions":["string"],"Description":"string","IsReadOnly":true,"IsTriggerReconfigure":true}]; // array[Instruction]

    let mut context = DefaultApi::Context::default();
    let result = client.adaptorReconfigureAdaptor(adaptorID, instruction, &context).wait();

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

Scopes

Parameters

Path parameters
Name Description
adaptorID*
Integer (int32)
Required
Body parameters
Name Description
instruction

Responses


adaptorSave

Adaptor_Save


/Adaptor/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/Adaptor/Save" \
 -d '{
  "Description" : "Description",
  "AdaptorCategory" : 4,
  "IsActive" : true,
  "IsAuthorized" : true,
  "DefaultInventoryClass" : {
    "Description" : "Description",
    "IsApprovedForWeb" : true,
    "IsApprovedForPOS" : true,
    "SalesPostingInventoryRevenueAccountCode" : "SalesPostingInventoryRevenueAccountCode",
    "IsActive" : true,
    "CountOfProducts" : 7,
    "SalesPostingInventoryExpenseAccountCode" : "SalesPostingInventoryExpenseAccountCode",
    "SalesPostingInventoryCode" : "SalesPostingInventoryCode",
    "Name" : "Name",
    "GUIDstring" : "GUIDstring",
    "SalesPostingInventoryID" : 2,
    "SalesPostingInventoryName" : "SalesPostingInventoryName",
    "Version" : 6.965117697638846,
    "SyncLogs" : [ {
      "Status" : "Status",
      "LastImportDateTime" : "2000-01-23T04:56:07.000+00:00",
      "AdaptorID" : 6,
      "LastImportDateTime_offset" : 0,
      "LastExportDateTime_offset" : 4,
      "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" : 8,
      "ID" : 7,
      "LastImportDateTime_utc" : "2000-01-23T04:56:07.000+00:00"
    }, {
      "Status" : "Status",
      "LastImportDateTime" : "2000-01-23T04:56:07.000+00:00",
      "AdaptorID" : 6,
      "LastImportDateTime_offset" : 0,
      "LastExportDateTime_offset" : 4,
      "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" : 8,
      "ID" : 7,
      "LastImportDateTime_utc" : "2000-01-23T04:56:07.000+00:00"
    } ],
    "CreatedWith" : "CreatedWith",
    "ServicePostingInventoryID" : 6,
    "InventoryClassGroup" : {
      "IsDefault" : true,
      "Description" : "Description",
      "IsActive" : true,
      "GUID" : "00000000-0000-0000-0000-000000000000",
      "Name" : "Name",
      "GUIDstring" : "GUIDstring",
      "SupplierID" : 3,
      "InventoryClasses" : [ null, null ],
      "RowNumber" : 6,
      "BSID" : "BSID",
      "Version" : 5.944895607614016,
      "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" : 3,
        "BSID" : "BSID",
        "Version" : 7.143538047012306,
        "CreatedWith" : "CreatedWith",
        "IsSystem" : true,
        "ID" : 0,
        "InventoryClassGroups" : [ null, null ]
      }
    },
    "ID" : 1,
    "PostingBehaviour" : "PostingBehaviour",
    "ServicePostingInventoryCode" : "ServicePostingInventoryCode",
    "ServicePostingInventoryExpenseAccountCode" : "ServicePostingInventoryExpenseAccountCode",
    "ModifiedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
    "GUID" : "00000000-0000-0000-0000-000000000000",
    "RowNumber" : 3,
    "BSID" : "BSID",
    "IsAutoCreateGenericAccountInventory" : true,
    "CreatedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
    "ServicePostingInventoryRevenueAccountCode" : "ServicePostingInventoryRevenueAccountCode",
    "IsSystem" : true,
    "IsApprovedForService" : true,
    "ServicePostingInventoryName" : "ServicePostingInventoryName"
  },
  "TranslatorDetails" : [ {
    "WebsiteID" : 3,
    "Description" : "Description",
    "IsEnabled" : true,
    "IsActive" : true,
    "MasterAdaptorID" : 2,
    "AdaptorID" : 7,
    "IsUsedByTenant" : true,
    "Instructions" : [ {
      "KeyName" : "KeyName",
      "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
      "Description" : "Description",
      "FriendlyName" : "FriendlyName",
      "ValueType" : 1,
      "IsTriggerReconfigure" : true,
      "Value" : "Value",
      "IsReadOnly" : true
    }, {
      "KeyName" : "KeyName",
      "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
      "Description" : "Description",
      "FriendlyName" : "FriendlyName",
      "ValueType" : 1,
      "IsTriggerReconfigure" : true,
      "Value" : "Value",
      "IsReadOnly" : true
    } ],
    "InstructionsXML" : "InstructionsXML",
    "Name" : "Name",
    "IconURL" : "IconURL",
    "IsSource" : true,
    "TenantID" : 9,
    "Version" : "Version",
    "UserID" : 2,
    "ID" : 5,
    "MasterTranslatorID" : 5,
    "TranslationDefinition" : "TranslationDefinition",
    "IsTarget" : true
  }, {
    "WebsiteID" : 3,
    "Description" : "Description",
    "IsEnabled" : true,
    "IsActive" : true,
    "MasterAdaptorID" : 2,
    "AdaptorID" : 7,
    "IsUsedByTenant" : true,
    "Instructions" : [ {
      "KeyName" : "KeyName",
      "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
      "Description" : "Description",
      "FriendlyName" : "FriendlyName",
      "ValueType" : 1,
      "IsTriggerReconfigure" : true,
      "Value" : "Value",
      "IsReadOnly" : true
    }, {
      "KeyName" : "KeyName",
      "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
      "Description" : "Description",
      "FriendlyName" : "FriendlyName",
      "ValueType" : 1,
      "IsTriggerReconfigure" : true,
      "Value" : "Value",
      "IsReadOnly" : true
    } ],
    "InstructionsXML" : "InstructionsXML",
    "Name" : "Name",
    "IconURL" : "IconURL",
    "IsSource" : true,
    "TenantID" : 9,
    "Version" : "Version",
    "UserID" : 2,
    "ID" : 5,
    "MasterTranslatorID" : 5,
    "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" : 7,
  "Version" : "Version",
  "UserID" : 0,
  "OrganisationName" : "OrganisationName",
  "FullIconUrl" : "FullIconUrl",
  "ID" : 0,
  "WebsiteID" : 9,
  "DefaultCustomerClass" : {
    "HasBeenSaved" : true,
    "CountOfCustomers" : 4,
    "IsAccountCustomerBatched" : true,
    "Description" : "Description",
    "IsApprovedForWeb" : true,
    "IsApprovedForPOS" : true,
    "IsActive" : true,
    "BatchInvoiceFrequencyDays" : 7,
    "BatchInvoicePrefix" : "BatchInvoicePrefix",
    "Name" : "Name",
    "GUIDstring" : "GUIDstring",
    "IsAutoApprovedforClaimRequests" : true,
    "IsAutoSendPayByLinkInvoice" : true,
    "TradingTermDays" : 4,
    "DefaultPricingBandID" : 6,
    "ID" : 3,
    "PostingBehaviour" : "PostingBehaviour",
    "IsCanSetFundingRate" : true,
    "CreditLimit" : 3.2588565619047607,
    "LoyaltyDescription" : "LoyaltyDescription",
    "GUID" : "00000000-0000-0000-0000-000000000000",
    "GenericAccountCustomerID" : 5,
    "TradingTermID" : 0,
    "IsLoyaltyEligible" : true,
    "IsBatchInvoice" : true,
    "GenericAccountCustomerName" : "GenericAccountCustomerName",
    "AccountCustomerRefNumberPrefix" : "AccountCustomerRefNumberPrefix",
    "IsExemptFromMerchantSurcharge" : true,
    "FundingRate" : 3.0205796992916243,
    "IsAutoCreateGenericAccountCustomer" : true,
    "BSID" : "BSID",
    "IsSystem" : true,
    "IsApprovedForService" : true,
    "TradingTermType" : "TradingTermType",
    "PrimaryOperationalCustomer" : {
      "IsIndividual" : true,
      "CompanyName" : "CompanyName",
      "PrimaryContactFullName" : "PrimaryContactFullName",
      "CustomerID" : 1
    }
  },
  "Messages" : [ "Messages", "Messages" ],
  "Actions" : [ {
    "WebsiteID" : 9,
    "Action" : "Action",
    "Description" : "Description",
    "IsActive" : true,
    "AdaptorID" : 7,
    "TriggerXML" : "TriggerXML",
    "TranslatorActionDetails" : [ {
      "WebsiteID" : 9,
      "Action" : "Action",
      "Description" : "Description",
      "IsEnabled" : true,
      "IsActive" : true,
      "DatTypeID" : 4,
      "Instructions" : [ {
        "KeyName" : "KeyName",
        "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
        "Description" : "Description",
        "FriendlyName" : "FriendlyName",
        "ValueType" : 1,
        "IsTriggerReconfigure" : true,
        "Value" : "Value",
        "IsReadOnly" : true
      }, {
        "KeyName" : "KeyName",
        "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
        "Description" : "Description",
        "FriendlyName" : "FriendlyName",
        "ValueType" : 1,
        "IsTriggerReconfigure" : true,
        "Value" : "Value",
        "IsReadOnly" : true
      } ],
      "InstructionsXML" : "InstructionsXML",
      "Name" : "Name",
      "RefDatTypeID" : 5,
      "TenantID" : 9,
      "UserID" : 6,
      "TranslatorID" : 7,
      "AdaptorActionID" : 1,
      "ID" : 6,
      "TranslationDefinition" : "TranslationDefinition"
    }, {
      "WebsiteID" : 9,
      "Action" : "Action",
      "Description" : "Description",
      "IsEnabled" : true,
      "IsActive" : true,
      "DatTypeID" : 4,
      "Instructions" : [ {
        "KeyName" : "KeyName",
        "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
        "Description" : "Description",
        "FriendlyName" : "FriendlyName",
        "ValueType" : 1,
        "IsTriggerReconfigure" : true,
        "Value" : "Value",
        "IsReadOnly" : true
      }, {
        "KeyName" : "KeyName",
        "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
        "Description" : "Description",
        "FriendlyName" : "FriendlyName",
        "ValueType" : 1,
        "IsTriggerReconfigure" : true,
        "Value" : "Value",
        "IsReadOnly" : true
      } ],
      "InstructionsXML" : "InstructionsXML",
      "Name" : "Name",
      "RefDatTypeID" : 5,
      "TenantID" : 9,
      "UserID" : 6,
      "TranslatorID" : 7,
      "AdaptorActionID" : 1,
      "ID" : 6,
      "TranslationDefinition" : "TranslationDefinition"
    } ],
    "DatTypeID" : 1,
    "Instructions" : [ {
      "KeyName" : "KeyName",
      "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
      "Description" : "Description",
      "FriendlyName" : "FriendlyName",
      "ValueType" : 1,
      "IsTriggerReconfigure" : true,
      "Value" : "Value",
      "IsReadOnly" : true
    }, {
      "KeyName" : "KeyName",
      "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
      "Description" : "Description",
      "FriendlyName" : "FriendlyName",
      "ValueType" : 1,
      "IsTriggerReconfigure" : true,
      "Value" : "Value",
      "IsReadOnly" : true
    } ],
    "InstructionsXML" : "InstructionsXML",
    "Name" : "Name",
    "LastExecDateTime" : "2000-01-23T04:56:07.000+00:00",
    "RefDatTypeID" : 1,
    "TenantID" : 8,
    "UserID" : 6,
    "LastExecUserID" : 1,
    "LastExecDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
    "ID" : 4,
    "IsAutoQueue" : true
  }, {
    "WebsiteID" : 9,
    "Action" : "Action",
    "Description" : "Description",
    "IsActive" : true,
    "AdaptorID" : 7,
    "TriggerXML" : "TriggerXML",
    "TranslatorActionDetails" : [ {
      "WebsiteID" : 9,
      "Action" : "Action",
      "Description" : "Description",
      "IsEnabled" : true,
      "IsActive" : true,
      "DatTypeID" : 4,
      "Instructions" : [ {
        "KeyName" : "KeyName",
        "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
        "Description" : "Description",
        "FriendlyName" : "FriendlyName",
        "ValueType" : 1,
        "IsTriggerReconfigure" : true,
        "Value" : "Value",
        "IsReadOnly" : true
      }, {
        "KeyName" : "KeyName",
        "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
        "Description" : "Description",
        "FriendlyName" : "FriendlyName",
        "ValueType" : 1,
        "IsTriggerReconfigure" : true,
        "Value" : "Value",
        "IsReadOnly" : true
      } ],
      "InstructionsXML" : "InstructionsXML",
      "Name" : "Name",
      "RefDatTypeID" : 5,
      "TenantID" : 9,
      "UserID" : 6,
      "TranslatorID" : 7,
      "AdaptorActionID" : 1,
      "ID" : 6,
      "TranslationDefinition" : "TranslationDefinition"
    }, {
      "WebsiteID" : 9,
      "Action" : "Action",
      "Description" : "Description",
      "IsEnabled" : true,
      "IsActive" : true,
      "DatTypeID" : 4,
      "Instructions" : [ {
        "KeyName" : "KeyName",
        "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
        "Description" : "Description",
        "FriendlyName" : "FriendlyName",
        "ValueType" : 1,
        "IsTriggerReconfigure" : true,
        "Value" : "Value",
        "IsReadOnly" : true
      }, {
        "KeyName" : "KeyName",
        "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
        "Description" : "Description",
        "FriendlyName" : "FriendlyName",
        "ValueType" : 1,
        "IsTriggerReconfigure" : true,
        "Value" : "Value",
        "IsReadOnly" : true
      } ],
      "InstructionsXML" : "InstructionsXML",
      "Name" : "Name",
      "RefDatTypeID" : 5,
      "TenantID" : 9,
      "UserID" : 6,
      "TranslatorID" : 7,
      "AdaptorActionID" : 1,
      "ID" : 6,
      "TranslationDefinition" : "TranslationDefinition"
    } ],
    "DatTypeID" : 1,
    "Instructions" : [ {
      "KeyName" : "KeyName",
      "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
      "Description" : "Description",
      "FriendlyName" : "FriendlyName",
      "ValueType" : 1,
      "IsTriggerReconfigure" : true,
      "Value" : "Value",
      "IsReadOnly" : true
    }, {
      "KeyName" : "KeyName",
      "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
      "Description" : "Description",
      "FriendlyName" : "FriendlyName",
      "ValueType" : 1,
      "IsTriggerReconfigure" : true,
      "Value" : "Value",
      "IsReadOnly" : true
    } ],
    "InstructionsXML" : "InstructionsXML",
    "Name" : "Name",
    "LastExecDateTime" : "2000-01-23T04:56:07.000+00:00",
    "RefDatTypeID" : 1,
    "TenantID" : 8,
    "UserID" : 6,
    "LastExecUserID" : 1,
    "LastExecDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
    "ID" : 4,
    "IsAutoQueue" : true
  } ],
  "MasterAdaptorID" : 6,
  "OrganisationId" : "OrganisationId",
  "IsUsedByTenant" : true,
  "Instructions" : [ {
    "KeyName" : "KeyName",
    "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
    "Description" : "Description",
    "FriendlyName" : "FriendlyName",
    "ValueType" : 1,
    "IsTriggerReconfigure" : true,
    "Value" : "Value",
    "IsReadOnly" : true
  }, {
    "KeyName" : "KeyName",
    "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
    "Description" : "Description",
    "FriendlyName" : "FriendlyName",
    "ValueType" : 1,
    "IsTriggerReconfigure" : true,
    "Value" : "Value",
    "IsReadOnly" : true
  } ],
  "InstructionsXML" : "InstructionsXML",
  "IconURL" : "IconURL",
  "Type" : "Type",
  "IsTarget" : true
}' \
 -d 'Custom MIME type example not yet supported: text/json' \
 -d '<AdaptorDetails>
  <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>
  <null>
    <KeyName>aeiou</KeyName>
    <FriendlyName>aeiou</FriendlyName>
    <Value>aeiou</Value>
    <ValueType>123</ValueType>
    <ValueOptions>aeiou</ValueOptions>
    <Description>aeiou</Description>
    <IsReadOnly>true</IsReadOnly>
    <IsTriggerReconfigure>true</IsTriggerReconfigure>
  </null>
  <null>
    <ID>123</ID>
    <MasterTranslatorID>123</MasterTranslatorID>
    <MasterAdaptorID>123</MasterAdaptorID>
    <AdaptorID>123</AdaptorID>
    <Name>aeiou</Name>
    <IconURL>aeiou</IconURL>
    <Description>aeiou</Description>
    <Version>aeiou</Version>
    <IsSource>true</IsSource>
    <IsTarget>true</IsTarget>
    <TranslationDefinition>aeiou</TranslationDefinition>
    <InstructionsXML>aeiou</InstructionsXML>
    <IsActive>true</IsActive>
    <IsUsedByTenant>true</IsUsedByTenant>
    <IsEnabled>true</IsEnabled>
    <TenantID>123</TenantID>
    <WebsiteID>123</WebsiteID>
    <UserID>123</UserID>
  </null>
  <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>
  <IsAuthorized>true</IsAuthorized>
  <null>
    <Username>aeiou</Username>
    <TokenKey>aeiou</TokenKey>
    <TokenSecret>aeiou</TokenSecret>
    <Verifier>aeiou</Verifier>
    <Provider>aeiou</Provider>
    <OrgID>aeiou</OrgID>
    <OrgName>aeiou</OrgName>
    <UserAgent>aeiou</UserAgent>
    <ConsumerKey>aeiou</ConsumerKey>
    <ConsumerSecret>aeiou</ConsumerSecret>
    <Session>aeiou</Session>
    <ExpiresAt>2000-01-23T04:56:07.000Z</ExpiresAt>
    <SessionExpiresAt>2000-01-23T04:56:07.000Z</SessionExpiresAt>
    <HasExpired>true</HasExpired>
    <HasSessionExpired>true</HasSessionExpired>
  </null>
  <Type>aeiou</Type>
  <OrganisationId>aeiou</OrganisationId>
  <OrganisationName>aeiou</OrganisationName>
  <Messages>aeiou</Messages>
  <null>
    <GUID>00000000-0000-0000-0000-000000000000</GUID>
    <SalesPostingInventoryName>aeiou</SalesPostingInventoryName>
    <SalesPostingInventoryRevenueAccountCode>aeiou</SalesPostingInventoryRevenueAccountCode>
    <SalesPostingInventoryExpenseAccountCode>aeiou</SalesPostingInventoryExpenseAccountCode>
    <ServicePostingInventoryName>aeiou</ServicePostingInventoryName>
    <ServicePostingInventoryRevenueAccountCode>aeiou</ServicePostingInventoryRevenueAccountCode>
    <ServicePostingInventoryExpenseAccountCode>aeiou</ServicePostingInventoryExpenseAccountCode>
    <IsAutoCreateGenericAccountInventory>true</IsAutoCreateGenericAccountInventory>
    <RowNumber>123456789</RowNumber>
    <Version>3.149</Version>
    <ID>123</ID>
    <GUIDstring>aeiou</GUIDstring>
    <BSID>aeiou</BSID>
    <CreatedWith>aeiou</CreatedWith>
    <Name>aeiou</Name>
    <Description>aeiou</Description>
    <IsActive>true</IsActive>
    <SalesPostingInventoryID>123</SalesPostingInventoryID>
    <ServicePostingInventoryID>123</ServicePostingInventoryID>
    <IsApprovedForWeb>true</IsApprovedForWeb>
    <IsApprovedForService>true</IsApprovedForService>
    <IsApprovedForPOS>true</IsApprovedForPOS>
    <PostingBehaviour>aeiou</PostingBehaviour>
    <CountOfProducts>123</CountOfProducts>
    <IsSystem>true</IsSystem>
    <CreatedDateTime_utc>2000-01-23T04:56:07.000Z</CreatedDateTime_utc>
    <ModifiedDateTime_utc>2000-01-23T04:56:07.000Z</ModifiedDateTime_utc>
    <SalesPostingInventoryCode>aeiou</SalesPostingInventoryCode>
    <ServicePostingInventoryCode>aeiou</ServicePostingInventoryCode>
  </null>
  <null>
    <GUID>00000000-0000-0000-0000-000000000000</GUID>
    <HasBeenSaved>true</HasBeenSaved>
    <IsAutoCreateGenericAccountCustomer>true</IsAutoCreateGenericAccountCustomer>
    <IsCanSetFundingRate>true</IsCanSetFundingRate>
    <FundingRate>3.149</FundingRate>
    <ID>123</ID>
    <GUIDstring>aeiou</GUIDstring>
    <BSID>aeiou</BSID>
    <Name>aeiou</Name>
    <Description>aeiou</Description>
    <IsActive>true</IsActive>
    <IsBatchInvoice>true</IsBatchInvoice>
    <BatchInvoiceFrequencyDays>123</BatchInvoiceFrequencyDays>
    <BatchInvoicePrefix>aeiou</BatchInvoicePrefix>
    <GenericAccountCustomerID>123</GenericAccountCustomerID>
    <GenericAccountCustomerName>aeiou</GenericAccountCustomerName>
    <PostingBehaviour>aeiou</PostingBehaviour>
    <CreditLimit>3.149</CreditLimit>
    <TradingTermDays>123</TradingTermDays>
    <TradingTermID>123</TradingTermID>
    <TradingTermType>aeiou</TradingTermType>
    <DefaultPricingBandID>123</DefaultPricingBandID>
    <IsApprovedForWeb>true</IsApprovedForWeb>
    <IsApprovedForService>true</IsApprovedForService>
    <IsApprovedForPOS>true</IsApprovedForPOS>
    <IsAutoSendPayByLinkInvoice>true</IsAutoSendPayByLinkInvoice>
    <AccountCustomerRefNumberPrefix>aeiou</AccountCustomerRefNumberPrefix>
    <CountOfCustomers>123</CountOfCustomers>
    <IsSystem>true</IsSystem>
    <IsExemptFromMerchantSurcharge>true</IsExemptFromMerchantSurcharge>
    <IsAccountCustomerBatched>true</IsAccountCustomerBatched>
    <IsAutoApprovedforClaimRequests>true</IsAutoApprovedforClaimRequests>
    <IsLoyaltyEligible>true</IsLoyaltyEligible>
    <LoyaltyDescription>aeiou</LoyaltyDescription>
  </null>
  <AdaptorCategory>123</AdaptorCategory>
  <TenantID>123</TenantID>
  <WebsiteID>123</WebsiteID>
  <UserID>123</UserID>
</AdaptorDetails>' \
 -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();
        AdaptorDetails adaptorDetails = ; // AdaptorDetails | 

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

final api_instance = DefaultApi();

final AdaptorDetails adaptorDetails = new AdaptorDetails(); // AdaptorDetails | 

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

import org.openapitools.client.api.DefaultApi;

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

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


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

// Adaptor_Save
[apiInstance adaptorSaveWith:adaptorDetails
              completionHandler: ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiAdaptor = require('as_server_api_adaptor');

// Create an instance of the API class
var api = new AsServerApiAdaptor.DefaultApi()
var opts = {
  'adaptorDetails':  // {AdaptorDetails} 
};

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

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

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

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

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

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

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

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

pub fn main() {
    let adaptorDetails = ; // AdaptorDetails

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

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

Scopes

Parameters

Body parameters
Name Description
adaptorDetails

Responses


adaptorSearch

Adaptor_Search


/Adaptor/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/Adaptor/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.adaptorSearch(searchFilter);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#adaptorSearch");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

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

try {
    final result = await api_instance.adaptorSearch(searchFilter);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->adaptorSearch: $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.adaptorSearch(searchFilter);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#adaptorSearch");
            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)

// Adaptor_Search
[apiInstance adaptorSearchWith:searchFilter
              completionHandler: ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiAdaptor = require('as_server_api_adaptor');

// Create an instance of the API class
var api = new AsServerApiAdaptor.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.adaptorSearch(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

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

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

            try {
                // Adaptor_Search
                Object result = apiInstance.adaptorSearch(searchFilter);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.adaptorSearch: " + 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->adaptorSearch($searchFilter);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->adaptorSearch: ', $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->adaptorSearch(searchFilter => $searchFilter);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->adaptorSearch: $@\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:
    # Adaptor_Search
    api_response = api_instance.adaptor_search(searchFilter=searchFilter)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->adaptorSearch: %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.adaptorSearch(searchFilter, &context).wait();

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

Scopes

Parameters

Body parameters
Name Description
searchFilter

Responses


adaptorSelect

Adaptor_Select


/Adaptor/Select

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/Adaptor/Select" \
 -d 'Custom MIME type example not yet supported: text/json' \
 -d '' \
 -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();
        ActionRequestListInt32 actionRequestListInt32 = {"Value":[0],"TenantID":0,"WebsiteID":0,"UserID":0}; // ActionRequestListInt32 | 

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

final api_instance = DefaultApi();

final ActionRequestListInt32 actionRequestListInt32 = new ActionRequestListInt32(); // ActionRequestListInt32 | 

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

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        ActionRequestListInt32 actionRequestListInt32 = {"Value":[0],"TenantID":0,"WebsiteID":0,"UserID":0}; // ActionRequestListInt32 | 

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


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
ActionRequestListInt32 *actionRequestListInt32 = {"Value":[0],"TenantID":0,"WebsiteID":0,"UserID":0}; //  (optional)

// Adaptor_Select
[apiInstance adaptorSelectWith:actionRequestListInt32
              completionHandler: ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiAdaptor = require('as_server_api_adaptor');

// Create an instance of the API class
var api = new AsServerApiAdaptor.DefaultApi()
var opts = {
  'actionRequestListInt32': {"Value":[0],"TenantID":0,"WebsiteID":0,"UserID":0} // {ActionRequestListInt32} 
};

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

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

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

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

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$actionRequestListInt32 = {"Value":[0],"TenantID":0,"WebsiteID":0,"UserID":0}; // ActionRequestListInt32 | 

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

eval {
    my $result = $api_instance->adaptorSelect(actionRequestListInt32 => $actionRequestListInt32);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->adaptorSelect: $@\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()
actionRequestListInt32 = {"Value":[0],"TenantID":0,"WebsiteID":0,"UserID":0} # ActionRequestListInt32 |  (optional)

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

pub fn main() {
    let actionRequestListInt32 = {"Value":[0],"TenantID":0,"WebsiteID":0,"UserID":0}; // ActionRequestListInt32

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

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

Scopes

Parameters

Body parameters
Name Description
actionRequestListInt32

Responses


adaptorUnselect

Adaptor_Unselect


/Adaptor/Unselect

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/Adaptor/Unselect" \
 -d 'Custom MIME type example not yet supported: text/json' \
 -d '' \
 -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();
        ActionRequestInt32 actionRequestInt32 = {"Value":0,"TenantID":0,"WebsiteID":0,"UserID":0}; // ActionRequestInt32 | 

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

final api_instance = DefaultApi();

final ActionRequestInt32 actionRequestInt32 = new ActionRequestInt32(); // ActionRequestInt32 | 

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

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        ActionRequestInt32 actionRequestInt32 = {"Value":0,"TenantID":0,"WebsiteID":0,"UserID":0}; // ActionRequestInt32 | 

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


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
ActionRequestInt32 *actionRequestInt32 = {"Value":0,"TenantID":0,"WebsiteID":0,"UserID":0}; //  (optional)

// Adaptor_Unselect
[apiInstance adaptorUnselectWith:actionRequestInt32
              completionHandler: ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiAdaptor = require('as_server_api_adaptor');

// Create an instance of the API class
var api = new AsServerApiAdaptor.DefaultApi()
var opts = {
  'actionRequestInt32': {"Value":0,"TenantID":0,"WebsiteID":0,"UserID":0} // {ActionRequestInt32} 
};

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

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

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

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

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$actionRequestInt32 = {"Value":0,"TenantID":0,"WebsiteID":0,"UserID":0}; // ActionRequestInt32 | 

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

eval {
    my $result = $api_instance->adaptorUnselect(actionRequestInt32 => $actionRequestInt32);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->adaptorUnselect: $@\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()
actionRequestInt32 = {"Value":0,"TenantID":0,"WebsiteID":0,"UserID":0} # ActionRequestInt32 |  (optional)

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

pub fn main() {
    let actionRequestInt32 = {"Value":0,"TenantID":0,"WebsiteID":0,"UserID":0}; // ActionRequestInt32

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

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

Scopes

Parameters

Body parameters
Name Description
actionRequestInt32

Responses


adaptorUpdateInstructions

Adaptor_UpdateInstructions


/Adaptor/{adaptorID}/instructions

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/Adaptor/{adaptorID}/instructions" \
 -d 'Custom MIME type example not yet supported: text/json' \
 -d '' \
 -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 adaptorID = 56; // Integer | 
        ActionRequestListInstruction actionRequestListInstruction = {"Value":[{"KeyName":"string","FriendlyName":"string","Value":"string","ValueType":0,"ValueOptions":["string"],"Description":"string","IsReadOnly":true,"IsTriggerReconfigure":true}],"TenantID":0,"WebsiteID":0,"UserID":0}; // ActionRequestListInstruction | 

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

final api_instance = DefaultApi();

final Integer adaptorID = new Integer(); // Integer | 
final ActionRequestListInstruction actionRequestListInstruction = new ActionRequestListInstruction(); // ActionRequestListInstruction | 

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

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Integer adaptorID = 56; // Integer | 
        ActionRequestListInstruction actionRequestListInstruction = {"Value":[{"KeyName":"string","FriendlyName":"string","Value":"string","ValueType":0,"ValueOptions":["string"],"Description":"string","IsReadOnly":true,"IsTriggerReconfigure":true}],"TenantID":0,"WebsiteID":0,"UserID":0}; // ActionRequestListInstruction | 

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


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Integer *adaptorID = 56; //  (default to null)
ActionRequestListInstruction *actionRequestListInstruction = {"Value":[{"KeyName":"string","FriendlyName":"string","Value":"string","ValueType":0,"ValueOptions":["string"],"Description":"string","IsReadOnly":true,"IsTriggerReconfigure":true}],"TenantID":0,"WebsiteID":0,"UserID":0}; //  (optional)

// Adaptor_UpdateInstructions
[apiInstance adaptorUpdateInstructionsWith:adaptorID
    actionRequestListInstruction:actionRequestListInstruction
              completionHandler: ^(ActionResults output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiAdaptor = require('as_server_api_adaptor');

// Create an instance of the API class
var api = new AsServerApiAdaptor.DefaultApi()
var adaptorID = 56; // {Integer} 
var opts = {
  'actionRequestListInstruction': {"Value":[{"KeyName":"string","FriendlyName":"string","Value":"string","ValueType":0,"ValueOptions":["string"],"Description":"string","IsReadOnly":true,"IsTriggerReconfigure":true}],"TenantID":0,"WebsiteID":0,"UserID":0} // {ActionRequestListInstruction} 
};

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

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

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

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

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$adaptorID = 56; // Integer | 
$actionRequestListInstruction = {"Value":[{"KeyName":"string","FriendlyName":"string","Value":"string","ValueType":0,"ValueOptions":["string"],"Description":"string","IsReadOnly":true,"IsTriggerReconfigure":true}],"TenantID":0,"WebsiteID":0,"UserID":0}; // ActionRequestListInstruction | 

try {
    $result = $api_instance->adaptorUpdateInstructions($adaptorID, $actionRequestListInstruction);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->adaptorUpdateInstructions: ', $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 $adaptorID = 56; # Integer | 
my $actionRequestListInstruction = WWW::OPenAPIClient::Object::ActionRequestListInstruction->new(); # ActionRequestListInstruction | 

eval {
    my $result = $api_instance->adaptorUpdateInstructions(adaptorID => $adaptorID, actionRequestListInstruction => $actionRequestListInstruction);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->adaptorUpdateInstructions: $@\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()
adaptorID = 56 # Integer |  (default to null)
actionRequestListInstruction = {"Value":[{"KeyName":"string","FriendlyName":"string","Value":"string","ValueType":0,"ValueOptions":["string"],"Description":"string","IsReadOnly":true,"IsTriggerReconfigure":true}],"TenantID":0,"WebsiteID":0,"UserID":0} # ActionRequestListInstruction |  (optional)

try:
    # Adaptor_UpdateInstructions
    api_response = api_instance.adaptor_update_instructions(adaptorID, actionRequestListInstruction=actionRequestListInstruction)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->adaptorUpdateInstructions: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let adaptorID = 56; // Integer
    let actionRequestListInstruction = {"Value":[{"KeyName":"string","FriendlyName":"string","Value":"string","ValueType":0,"ValueOptions":["string"],"Description":"string","IsReadOnly":true,"IsTriggerReconfigure":true}],"TenantID":0,"WebsiteID":0,"UserID":0}; // ActionRequestListInstruction

    let mut context = DefaultApi::Context::default();
    let result = client.adaptorUpdateInstructions(adaptorID, actionRequestListInstruction, &context).wait();

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

Scopes

Parameters

Path parameters
Name Description
adaptorID*
Integer (int32)
Required
Body parameters
Name Description
actionRequestListInstruction

Responses