AS Server - API - Synk

Default

synkAnalyse

Synk_Analyse


/Synk/Analyse

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/Synk/Analyse" \
 -d '{
  "Action" : "Action",
  "IsRunNow" : true,
  "AdaptorIDToIgnore" : 0,
  "AdaptorID" : 1,
  "DateRangeEnd" : "2000-01-23T04:56:07.000+00:00",
  "IsImportUnPaidInvoicesOnly" : true,
  "POSTerminalShiftID" : 7,
  "MaxWaitSecs" : 9,
  "DateRangeStart" : "2000-01-23T04:56:07.000+00:00",
  "TenantID" : 1,
  "IsImportForADateRange" : true,
  "UserID" : 1,
  "IsSetValidToSync" : true,
  "IsAnalyse" : true,
  "TranslatorID" : 2,
  "ID" : 6,
  "WebsiteID" : 1,
  "IsMakeActionActiveIfNot" : true,
  "ScheduledTaskID" : 7,
  "DatTypeID" : 5,
  "IDList" : [ 3, 3 ],
  "EmailAddress" : "EmailAddress",
  "RefDatTypeID" : 5,
  "CustomerIDs" : [ 2, 2 ],
  "DomainUrl" : "DomainUrl",
  "IsSaveToAutoQueue" : true,
  "Filter" : {
    "ParentID" : 1,
    "Types" : [ "Types", "Types" ],
    "IsApprovedForPOS" : true,
    "IsApprovedForWeb" : true,
    "AdaptorID" : 7,
    "IsShowPublishedOnly" : true,
    "SortField" : "SortField",
    "IncludeAdaptorID" : 2,
    "IsExactMatch" : true,
    "GetCountOnly" : true,
    "SearchString" : "SearchString",
    "IncludeDeleted" : true,
    "IncludeSystemTasks" : true,
    "StartDate" : "2000-01-23T04:56:07.000+00:00",
    "IsEarlyClaimShortPaymentOnly" : true,
    "CreatedByUserId" : 9,
    "TenantID" : 9,
    "IsHierarchicalSort" : true,
    "Search" : "Search",
    "CreatedWith" : "CreatedWith",
    "GUIDs" : [ "GUIDs", "GUIDs" ],
    "IncludeLogs" : true,
    "ID" : 9,
    "IncludePayments" : true,
    "Status" : [ "Status", "Status" ],
    "CategoryID" : 6,
    "WebsiteID" : 6,
    "GroupBy" : "GroupBy",
    "BrandIDs" : [ 4, 4 ],
    "LastRowNumber" : 6,
    "MaxResults" : 8,
    "IsShowChildVariants" : true,
    "SyncLogCodeType" : 5,
    "IDList" : [ 2, 2 ],
    "SyncStatusFilter" : "SyncStatusFilter",
    "IsShowAccountCustomersOnly" : true,
    "CustomerIDs" : [ 4, 4 ],
    "Statuses" : [ 7, 7 ],
    "IsGetBasicInfo" : true,
    "BatchStatus" : "BatchStatus",
    "ExcludeAdaptorID" : 7,
    "DatePeriod" : "DatePeriod",
    "IDs" : [ 5, 5 ],
    "IsSystem" : true,
    "SearchNameOnly" : true,
    "IsApprovedForService" : true,
    "DefaultSupplierID" : 5,
    "CategoryIDs" : [ 1, 1 ],
    "IsShowLinkedOnly" : true,
    "IgnoreID" : 1,
    "IsShowFavourites" : true,
    "UserID" : 3,
    "SortAsc" : true,
    "IsShowActiveOnly" : true,
    "LinkedSupplierID" : 9,
    "IsHidden" : true,
    "ClassID" : 3,
    "IsShowPostingInventoryOnly" : true,
    "EndDate" : "2000-01-23T04:56:07.000+00:00",
    "SyncLogCode" : "SyncLogCode",
    "StatusStrings" : [ "StatusStrings", "StatusStrings" ],
    "TransactionTypeDatTypeID" : 1
  },
  "IsQueue" : true,
  "LastExecDateTimeOverride_utc" : "2000-01-23T04:56:07.000+00:00",
  "IsSyncDependencies" : true,
  "IsUserInitiated" : true,
  "ClassIDs" : [ 4, 4 ]
}' \
 -d 'Custom MIME type example not yet supported: text/json' \
 -d '<AnalyseDataRequest>
  <IsSetValidToSync>true</IsSetValidToSync>
  <AdaptorIDToIgnore>123</AdaptorIDToIgnore>
  <ID>123</ID>
  <AdaptorID>123</AdaptorID>
  <Action>aeiou</Action>
  <DatTypeID>123</DatTypeID>
  <null>
    <SyncStatusFilter>aeiou</SyncStatusFilter>
    <IsShowActiveOnly>true</IsShowActiveOnly>
    <IsShowLinkedOnly>true</IsShowLinkedOnly>
    <IsShowChildVariants>true</IsShowChildVariants>
    <IsShowPublishedOnly>true</IsShowPublishedOnly>
    <IncludePayments>true</IncludePayments>
    <SyncLogCode>aeiou</SyncLogCode>
    <DefaultSupplierID>123</DefaultSupplierID>
    <SyncLogCodeType>123</SyncLogCodeType>
    <IncludeAdaptorID>123</IncludeAdaptorID>
    <ExcludeAdaptorID>123</ExcludeAdaptorID>
    <CreatedWith>aeiou</CreatedWith>
    <CreatedByUserId>123</CreatedByUserId>
    <ClassID>123</ClassID>
    <IsShowAccountCustomersOnly>true</IsShowAccountCustomersOnly>
    <IsShowPostingInventoryOnly>true</IsShowPostingInventoryOnly>
    <IDList>123</IDList>
    <CustomerIDs>123</CustomerIDs>
    <IsEarlyClaimShortPaymentOnly>true</IsEarlyClaimShortPaymentOnly>
    <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>
  </null>
  <IsSyncDependencies>true</IsSyncDependencies>
  <RefDatTypeID>123</RefDatTypeID>
  <IsQueue>true</IsQueue>
  <IsSaveToAutoQueue>true</IsSaveToAutoQueue>
  <IsAnalyse>true</IsAnalyse>
  <IsMakeActionActiveIfNot>true</IsMakeActionActiveIfNot>
  <TranslatorID>123</TranslatorID>
  <LastExecDateTimeOverride_utc>2000-01-23T04:56:07.000Z</LastExecDateTimeOverride_utc>
  <IsImportForADateRange>true</IsImportForADateRange>
  <DateRangeStart>2000-01-23T04:56:07.000Z</DateRangeStart>
  <DateRangeEnd>2000-01-23T04:56:07.000Z</DateRangeEnd>
  <ScheduledTaskID>123</ScheduledTaskID>
  <MaxWaitSecs>123</MaxWaitSecs>
  <IDList>123</IDList>
  <IsRunNow>true</IsRunNow>
  <CustomerIDs>123</CustomerIDs>
  <ClassIDs>123</ClassIDs>
  <IsUserInitiated>true</IsUserInitiated>
  <POSTerminalShiftID>123</POSTerminalShiftID>
  <IsImportUnPaidInvoicesOnly>true</IsImportUnPaidInvoicesOnly>
  <EmailAddress>aeiou</EmailAddress>
  <DomainUrl>aeiou</DomainUrl>
  <TenantID>123</TenantID>
  <WebsiteID>123</WebsiteID>
  <UserID>123</UserID>
</AnalyseDataRequest>' \
 -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();
        AnalyseDataRequest analyseDataRequest = {"IsSetValidToSync":true,"AdaptorIDToIgnore":0,"ID":0,"AdaptorID":0,"Action":"string","DatTypeID":0,"Filter":{"SyncStatusFilter":"string","IsShowActiveOnly":true,"IsShowLinkedOnly":true,"IsShowChildVariants":true,"IsShowPublishedOnly":true,"IncludePayments":true,"SyncLogCode":"string","DefaultSupplierID":0,"SyncLogCodeType":0,"IncludeAdaptorID":0,"ExcludeAdaptorID":0,"CreatedWith":"string","CreatedByUserId":0,"ClassID":0,"IsShowAccountCustomersOnly":true,"IsShowPostingInventoryOnly":true,"IDList":[0],"CustomerIDs":[0],"IsEarlyClaimShortPaymentOnly":true,"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},"IsSyncDependencies":true,"RefDatTypeID":0,"IsQueue":true,"IsSaveToAutoQueue":true,"IsAnalyse":true,"IsMakeActionActiveIfNot":true,"TranslatorID":0,"LastExecDateTimeOverride_utc":"string","IsImportForADateRange":true,"DateRangeStart":"string","DateRangeEnd":"string","ScheduledTaskID":0,"MaxWaitSecs":0,"IDList":[0],"IsRunNow":true,"CustomerIDs":[0],"ClassIDs":[0],"IsUserInitiated":true,"POSTerminalShiftID":0,"IsImportUnPaidInvoicesOnly":true,"EmailAddress":"string","DomainUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0}; // AnalyseDataRequest | 

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

final api_instance = DefaultApi();

final AnalyseDataRequest analyseDataRequest = new AnalyseDataRequest(); // AnalyseDataRequest | 

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

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        AnalyseDataRequest analyseDataRequest = {"IsSetValidToSync":true,"AdaptorIDToIgnore":0,"ID":0,"AdaptorID":0,"Action":"string","DatTypeID":0,"Filter":{"SyncStatusFilter":"string","IsShowActiveOnly":true,"IsShowLinkedOnly":true,"IsShowChildVariants":true,"IsShowPublishedOnly":true,"IncludePayments":true,"SyncLogCode":"string","DefaultSupplierID":0,"SyncLogCodeType":0,"IncludeAdaptorID":0,"ExcludeAdaptorID":0,"CreatedWith":"string","CreatedByUserId":0,"ClassID":0,"IsShowAccountCustomersOnly":true,"IsShowPostingInventoryOnly":true,"IDList":[0],"CustomerIDs":[0],"IsEarlyClaimShortPaymentOnly":true,"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},"IsSyncDependencies":true,"RefDatTypeID":0,"IsQueue":true,"IsSaveToAutoQueue":true,"IsAnalyse":true,"IsMakeActionActiveIfNot":true,"TranslatorID":0,"LastExecDateTimeOverride_utc":"string","IsImportForADateRange":true,"DateRangeStart":"string","DateRangeEnd":"string","ScheduledTaskID":0,"MaxWaitSecs":0,"IDList":[0],"IsRunNow":true,"CustomerIDs":[0],"ClassIDs":[0],"IsUserInitiated":true,"POSTerminalShiftID":0,"IsImportUnPaidInvoicesOnly":true,"EmailAddress":"string","DomainUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0}; // AnalyseDataRequest | 

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


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
AnalyseDataRequest *analyseDataRequest = {"IsSetValidToSync":true,"AdaptorIDToIgnore":0,"ID":0,"AdaptorID":0,"Action":"string","DatTypeID":0,"Filter":{"SyncStatusFilter":"string","IsShowActiveOnly":true,"IsShowLinkedOnly":true,"IsShowChildVariants":true,"IsShowPublishedOnly":true,"IncludePayments":true,"SyncLogCode":"string","DefaultSupplierID":0,"SyncLogCodeType":0,"IncludeAdaptorID":0,"ExcludeAdaptorID":0,"CreatedWith":"string","CreatedByUserId":0,"ClassID":0,"IsShowAccountCustomersOnly":true,"IsShowPostingInventoryOnly":true,"IDList":[0],"CustomerIDs":[0],"IsEarlyClaimShortPaymentOnly":true,"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},"IsSyncDependencies":true,"RefDatTypeID":0,"IsQueue":true,"IsSaveToAutoQueue":true,"IsAnalyse":true,"IsMakeActionActiveIfNot":true,"TranslatorID":0,"LastExecDateTimeOverride_utc":"string","IsImportForADateRange":true,"DateRangeStart":"string","DateRangeEnd":"string","ScheduledTaskID":0,"MaxWaitSecs":0,"IDList":[0],"IsRunNow":true,"CustomerIDs":[0],"ClassIDs":[0],"IsUserInitiated":true,"POSTerminalShiftID":0,"IsImportUnPaidInvoicesOnly":true,"EmailAddress":"string","DomainUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0}; //  (optional)

// Synk_Analyse
[apiInstance synkAnalyseWith:analyseDataRequest
              completionHandler: ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiSynk = require('as_server_api_synk');

// Create an instance of the API class
var api = new AsServerApiSynk.DefaultApi()
var opts = {
  'analyseDataRequest': {"IsSetValidToSync":true,"AdaptorIDToIgnore":0,"ID":0,"AdaptorID":0,"Action":"string","DatTypeID":0,"Filter":{"SyncStatusFilter":"string","IsShowActiveOnly":true,"IsShowLinkedOnly":true,"IsShowChildVariants":true,"IsShowPublishedOnly":true,"IncludePayments":true,"SyncLogCode":"string","DefaultSupplierID":0,"SyncLogCodeType":0,"IncludeAdaptorID":0,"ExcludeAdaptorID":0,"CreatedWith":"string","CreatedByUserId":0,"ClassID":0,"IsShowAccountCustomersOnly":true,"IsShowPostingInventoryOnly":true,"IDList":[0],"CustomerIDs":[0],"IsEarlyClaimShortPaymentOnly":true,"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},"IsSyncDependencies":true,"RefDatTypeID":0,"IsQueue":true,"IsSaveToAutoQueue":true,"IsAnalyse":true,"IsMakeActionActiveIfNot":true,"TranslatorID":0,"LastExecDateTimeOverride_utc":"string","IsImportForADateRange":true,"DateRangeStart":"string","DateRangeEnd":"string","ScheduledTaskID":0,"MaxWaitSecs":0,"IDList":[0],"IsRunNow":true,"CustomerIDs":[0],"ClassIDs":[0],"IsUserInitiated":true,"POSTerminalShiftID":0,"IsImportUnPaidInvoicesOnly":true,"EmailAddress":"string","DomainUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0} // {AnalyseDataRequest} 
};

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

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

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

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

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$analyseDataRequest = {"IsSetValidToSync":true,"AdaptorIDToIgnore":0,"ID":0,"AdaptorID":0,"Action":"string","DatTypeID":0,"Filter":{"SyncStatusFilter":"string","IsShowActiveOnly":true,"IsShowLinkedOnly":true,"IsShowChildVariants":true,"IsShowPublishedOnly":true,"IncludePayments":true,"SyncLogCode":"string","DefaultSupplierID":0,"SyncLogCodeType":0,"IncludeAdaptorID":0,"ExcludeAdaptorID":0,"CreatedWith":"string","CreatedByUserId":0,"ClassID":0,"IsShowAccountCustomersOnly":true,"IsShowPostingInventoryOnly":true,"IDList":[0],"CustomerIDs":[0],"IsEarlyClaimShortPaymentOnly":true,"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},"IsSyncDependencies":true,"RefDatTypeID":0,"IsQueue":true,"IsSaveToAutoQueue":true,"IsAnalyse":true,"IsMakeActionActiveIfNot":true,"TranslatorID":0,"LastExecDateTimeOverride_utc":"string","IsImportForADateRange":true,"DateRangeStart":"string","DateRangeEnd":"string","ScheduledTaskID":0,"MaxWaitSecs":0,"IDList":[0],"IsRunNow":true,"CustomerIDs":[0],"ClassIDs":[0],"IsUserInitiated":true,"POSTerminalShiftID":0,"IsImportUnPaidInvoicesOnly":true,"EmailAddress":"string","DomainUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0}; // AnalyseDataRequest | 

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

eval {
    my $result = $api_instance->synkAnalyse(analyseDataRequest => $analyseDataRequest);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->synkAnalyse: $@\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()
analyseDataRequest = {"IsSetValidToSync":true,"AdaptorIDToIgnore":0,"ID":0,"AdaptorID":0,"Action":"string","DatTypeID":0,"Filter":{"SyncStatusFilter":"string","IsShowActiveOnly":true,"IsShowLinkedOnly":true,"IsShowChildVariants":true,"IsShowPublishedOnly":true,"IncludePayments":true,"SyncLogCode":"string","DefaultSupplierID":0,"SyncLogCodeType":0,"IncludeAdaptorID":0,"ExcludeAdaptorID":0,"CreatedWith":"string","CreatedByUserId":0,"ClassID":0,"IsShowAccountCustomersOnly":true,"IsShowPostingInventoryOnly":true,"IDList":[0],"CustomerIDs":[0],"IsEarlyClaimShortPaymentOnly":true,"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},"IsSyncDependencies":true,"RefDatTypeID":0,"IsQueue":true,"IsSaveToAutoQueue":true,"IsAnalyse":true,"IsMakeActionActiveIfNot":true,"TranslatorID":0,"LastExecDateTimeOverride_utc":"string","IsImportForADateRange":true,"DateRangeStart":"string","DateRangeEnd":"string","ScheduledTaskID":0,"MaxWaitSecs":0,"IDList":[0],"IsRunNow":true,"CustomerIDs":[0],"ClassIDs":[0],"IsUserInitiated":true,"POSTerminalShiftID":0,"IsImportUnPaidInvoicesOnly":true,"EmailAddress":"string","DomainUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0} # AnalyseDataRequest |  (optional)

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

pub fn main() {
    let analyseDataRequest = {"IsSetValidToSync":true,"AdaptorIDToIgnore":0,"ID":0,"AdaptorID":0,"Action":"string","DatTypeID":0,"Filter":{"SyncStatusFilter":"string","IsShowActiveOnly":true,"IsShowLinkedOnly":true,"IsShowChildVariants":true,"IsShowPublishedOnly":true,"IncludePayments":true,"SyncLogCode":"string","DefaultSupplierID":0,"SyncLogCodeType":0,"IncludeAdaptorID":0,"ExcludeAdaptorID":0,"CreatedWith":"string","CreatedByUserId":0,"ClassID":0,"IsShowAccountCustomersOnly":true,"IsShowPostingInventoryOnly":true,"IDList":[0],"CustomerIDs":[0],"IsEarlyClaimShortPaymentOnly":true,"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},"IsSyncDependencies":true,"RefDatTypeID":0,"IsQueue":true,"IsSaveToAutoQueue":true,"IsAnalyse":true,"IsMakeActionActiveIfNot":true,"TranslatorID":0,"LastExecDateTimeOverride_utc":"string","IsImportForADateRange":true,"DateRangeStart":"string","DateRangeEnd":"string","ScheduledTaskID":0,"MaxWaitSecs":0,"IDList":[0],"IsRunNow":true,"CustomerIDs":[0],"ClassIDs":[0],"IsUserInitiated":true,"POSTerminalShiftID":0,"IsImportUnPaidInvoicesOnly":true,"EmailAddress":"string","DomainUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0}; // AnalyseDataRequest

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

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

Scopes

Parameters

Body parameters
Name Description
analyseDataRequest

Responses


synkAuthorize

Synk_Authorize


/Synk/Authorize

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/Synk/Authorize" \
 -d '{
  "CallbackUrl" : "CallbackUrl",
  "WebsiteID" : 5,
  "TenantID" : 1,
  "AuthorizeReturnUri" : "AuthorizeReturnUri",
  "UserID" : 5,
  "AdaptorAuthID" : 0,
  "AdaptorID" : 6,
  "AdaptorName" : "AdaptorName"
}' \
 -d 'Custom MIME type example not yet supported: text/json' \
 -d '<OAuthAuthorizeRequest>
  <AuthorizeReturnUri>aeiou</AuthorizeReturnUri>
  <AdaptorAuthID>123</AdaptorAuthID>
  <AdaptorID>123</AdaptorID>
  <AdaptorName>aeiou</AdaptorName>
  <CallbackUrl>aeiou</CallbackUrl>
  <TenantID>123</TenantID>
  <WebsiteID>123</WebsiteID>
  <UserID>123</UserID>
</OAuthAuthorizeRequest>' \
 -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();
        OAuthAuthorizeRequest oAuthAuthorizeRequest = {"AuthorizeReturnUri":"string","AdaptorAuthID":0,"AdaptorID":0,"AdaptorName":"string","CallbackUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0}; // OAuthAuthorizeRequest | 

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

final api_instance = DefaultApi();

final OAuthAuthorizeRequest oAuthAuthorizeRequest = new OAuthAuthorizeRequest(); // OAuthAuthorizeRequest | 

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

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        OAuthAuthorizeRequest oAuthAuthorizeRequest = {"AuthorizeReturnUri":"string","AdaptorAuthID":0,"AdaptorID":0,"AdaptorName":"string","CallbackUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0}; // OAuthAuthorizeRequest | 

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


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
OAuthAuthorizeRequest *oAuthAuthorizeRequest = {"AuthorizeReturnUri":"string","AdaptorAuthID":0,"AdaptorID":0,"AdaptorName":"string","CallbackUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0}; //  (optional)

// Synk_Authorize
[apiInstance synkAuthorizeWith:oAuthAuthorizeRequest
              completionHandler: ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiSynk = require('as_server_api_synk');

// Create an instance of the API class
var api = new AsServerApiSynk.DefaultApi()
var opts = {
  'oAuthAuthorizeRequest': {"AuthorizeReturnUri":"string","AdaptorAuthID":0,"AdaptorID":0,"AdaptorName":"string","CallbackUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0} // {OAuthAuthorizeRequest} 
};

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

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

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

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

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$oAuthAuthorizeRequest = {"AuthorizeReturnUri":"string","AdaptorAuthID":0,"AdaptorID":0,"AdaptorName":"string","CallbackUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0}; // OAuthAuthorizeRequest | 

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

eval {
    my $result = $api_instance->synkAuthorize(oAuthAuthorizeRequest => $oAuthAuthorizeRequest);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->synkAuthorize: $@\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()
oAuthAuthorizeRequest = {"AuthorizeReturnUri":"string","AdaptorAuthID":0,"AdaptorID":0,"AdaptorName":"string","CallbackUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0} # OAuthAuthorizeRequest |  (optional)

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

pub fn main() {
    let oAuthAuthorizeRequest = {"AuthorizeReturnUri":"string","AdaptorAuthID":0,"AdaptorID":0,"AdaptorName":"string","CallbackUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0}; // OAuthAuthorizeRequest

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

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

Scopes

Parameters

Body parameters
Name Description
oAuthAuthorizeRequest

Responses


synkBatchUpdate

Synk_BatchUpdate


/Synk/BatchUpdate

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/Synk/BatchUpdate" \
 -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();
        BatchUpdateRequestString batchUpdateRequestString = {"ColumnToUpdate":"string","Value":"string","IsForcedUpdate":true,"IDs":[0],"IsRemoveFromCollection":true,"SetToSyncStatus":"string","SetToIsActive":true,"ID":0,"AdaptorID":0,"Action":"string","DatTypeID":0,"Filter":{"SyncStatusFilter":"string","IsShowActiveOnly":true,"IsShowLinkedOnly":true,"IsShowChildVariants":true,"IsShowPublishedOnly":true,"IncludePayments":true,"SyncLogCode":"string","DefaultSupplierID":0,"SyncLogCodeType":0,"IncludeAdaptorID":0,"ExcludeAdaptorID":0,"CreatedWith":"string","CreatedByUserId":0,"ClassID":0,"IsShowAccountCustomersOnly":true,"IsShowPostingInventoryOnly":true,"IDList":[0],"CustomerIDs":[0],"IsEarlyClaimShortPaymentOnly":true,"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},"IsSyncDependencies":true,"RefDatTypeID":0,"IsQueue":true,"IsSaveToAutoQueue":true,"IsAnalyse":true,"IsMakeActionActiveIfNot":true,"TranslatorID":0,"LastExecDateTimeOverride_utc":"string","IsImportForADateRange":true,"DateRangeStart":"string","DateRangeEnd":"string","ScheduledTaskID":0,"MaxWaitSecs":0,"IDList":[0],"IsRunNow":true,"CustomerIDs":[0],"ClassIDs":[0],"IsUserInitiated":true,"POSTerminalShiftID":0,"IsImportUnPaidInvoicesOnly":true,"EmailAddress":"string","DomainUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0}; // BatchUpdateRequestString | 

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

final api_instance = DefaultApi();

final BatchUpdateRequestString batchUpdateRequestString = new BatchUpdateRequestString(); // BatchUpdateRequestString | 

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

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        BatchUpdateRequestString batchUpdateRequestString = {"ColumnToUpdate":"string","Value":"string","IsForcedUpdate":true,"IDs":[0],"IsRemoveFromCollection":true,"SetToSyncStatus":"string","SetToIsActive":true,"ID":0,"AdaptorID":0,"Action":"string","DatTypeID":0,"Filter":{"SyncStatusFilter":"string","IsShowActiveOnly":true,"IsShowLinkedOnly":true,"IsShowChildVariants":true,"IsShowPublishedOnly":true,"IncludePayments":true,"SyncLogCode":"string","DefaultSupplierID":0,"SyncLogCodeType":0,"IncludeAdaptorID":0,"ExcludeAdaptorID":0,"CreatedWith":"string","CreatedByUserId":0,"ClassID":0,"IsShowAccountCustomersOnly":true,"IsShowPostingInventoryOnly":true,"IDList":[0],"CustomerIDs":[0],"IsEarlyClaimShortPaymentOnly":true,"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},"IsSyncDependencies":true,"RefDatTypeID":0,"IsQueue":true,"IsSaveToAutoQueue":true,"IsAnalyse":true,"IsMakeActionActiveIfNot":true,"TranslatorID":0,"LastExecDateTimeOverride_utc":"string","IsImportForADateRange":true,"DateRangeStart":"string","DateRangeEnd":"string","ScheduledTaskID":0,"MaxWaitSecs":0,"IDList":[0],"IsRunNow":true,"CustomerIDs":[0],"ClassIDs":[0],"IsUserInitiated":true,"POSTerminalShiftID":0,"IsImportUnPaidInvoicesOnly":true,"EmailAddress":"string","DomainUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0}; // BatchUpdateRequestString | 

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


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
BatchUpdateRequestString *batchUpdateRequestString = {"ColumnToUpdate":"string","Value":"string","IsForcedUpdate":true,"IDs":[0],"IsRemoveFromCollection":true,"SetToSyncStatus":"string","SetToIsActive":true,"ID":0,"AdaptorID":0,"Action":"string","DatTypeID":0,"Filter":{"SyncStatusFilter":"string","IsShowActiveOnly":true,"IsShowLinkedOnly":true,"IsShowChildVariants":true,"IsShowPublishedOnly":true,"IncludePayments":true,"SyncLogCode":"string","DefaultSupplierID":0,"SyncLogCodeType":0,"IncludeAdaptorID":0,"ExcludeAdaptorID":0,"CreatedWith":"string","CreatedByUserId":0,"ClassID":0,"IsShowAccountCustomersOnly":true,"IsShowPostingInventoryOnly":true,"IDList":[0],"CustomerIDs":[0],"IsEarlyClaimShortPaymentOnly":true,"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},"IsSyncDependencies":true,"RefDatTypeID":0,"IsQueue":true,"IsSaveToAutoQueue":true,"IsAnalyse":true,"IsMakeActionActiveIfNot":true,"TranslatorID":0,"LastExecDateTimeOverride_utc":"string","IsImportForADateRange":true,"DateRangeStart":"string","DateRangeEnd":"string","ScheduledTaskID":0,"MaxWaitSecs":0,"IDList":[0],"IsRunNow":true,"CustomerIDs":[0],"ClassIDs":[0],"IsUserInitiated":true,"POSTerminalShiftID":0,"IsImportUnPaidInvoicesOnly":true,"EmailAddress":"string","DomainUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0}; //  (optional)

// Synk_BatchUpdate
[apiInstance synkBatchUpdateWith:batchUpdateRequestString
              completionHandler: ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiSynk = require('as_server_api_synk');

// Create an instance of the API class
var api = new AsServerApiSynk.DefaultApi()
var opts = {
  'batchUpdateRequestString': {"ColumnToUpdate":"string","Value":"string","IsForcedUpdate":true,"IDs":[0],"IsRemoveFromCollection":true,"SetToSyncStatus":"string","SetToIsActive":true,"ID":0,"AdaptorID":0,"Action":"string","DatTypeID":0,"Filter":{"SyncStatusFilter":"string","IsShowActiveOnly":true,"IsShowLinkedOnly":true,"IsShowChildVariants":true,"IsShowPublishedOnly":true,"IncludePayments":true,"SyncLogCode":"string","DefaultSupplierID":0,"SyncLogCodeType":0,"IncludeAdaptorID":0,"ExcludeAdaptorID":0,"CreatedWith":"string","CreatedByUserId":0,"ClassID":0,"IsShowAccountCustomersOnly":true,"IsShowPostingInventoryOnly":true,"IDList":[0],"CustomerIDs":[0],"IsEarlyClaimShortPaymentOnly":true,"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},"IsSyncDependencies":true,"RefDatTypeID":0,"IsQueue":true,"IsSaveToAutoQueue":true,"IsAnalyse":true,"IsMakeActionActiveIfNot":true,"TranslatorID":0,"LastExecDateTimeOverride_utc":"string","IsImportForADateRange":true,"DateRangeStart":"string","DateRangeEnd":"string","ScheduledTaskID":0,"MaxWaitSecs":0,"IDList":[0],"IsRunNow":true,"CustomerIDs":[0],"ClassIDs":[0],"IsUserInitiated":true,"POSTerminalShiftID":0,"IsImportUnPaidInvoicesOnly":true,"EmailAddress":"string","DomainUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0} // {BatchUpdateRequestString} 
};

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

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

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

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

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$batchUpdateRequestString = {"ColumnToUpdate":"string","Value":"string","IsForcedUpdate":true,"IDs":[0],"IsRemoveFromCollection":true,"SetToSyncStatus":"string","SetToIsActive":true,"ID":0,"AdaptorID":0,"Action":"string","DatTypeID":0,"Filter":{"SyncStatusFilter":"string","IsShowActiveOnly":true,"IsShowLinkedOnly":true,"IsShowChildVariants":true,"IsShowPublishedOnly":true,"IncludePayments":true,"SyncLogCode":"string","DefaultSupplierID":0,"SyncLogCodeType":0,"IncludeAdaptorID":0,"ExcludeAdaptorID":0,"CreatedWith":"string","CreatedByUserId":0,"ClassID":0,"IsShowAccountCustomersOnly":true,"IsShowPostingInventoryOnly":true,"IDList":[0],"CustomerIDs":[0],"IsEarlyClaimShortPaymentOnly":true,"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},"IsSyncDependencies":true,"RefDatTypeID":0,"IsQueue":true,"IsSaveToAutoQueue":true,"IsAnalyse":true,"IsMakeActionActiveIfNot":true,"TranslatorID":0,"LastExecDateTimeOverride_utc":"string","IsImportForADateRange":true,"DateRangeStart":"string","DateRangeEnd":"string","ScheduledTaskID":0,"MaxWaitSecs":0,"IDList":[0],"IsRunNow":true,"CustomerIDs":[0],"ClassIDs":[0],"IsUserInitiated":true,"POSTerminalShiftID":0,"IsImportUnPaidInvoicesOnly":true,"EmailAddress":"string","DomainUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0}; // BatchUpdateRequestString | 

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

eval {
    my $result = $api_instance->synkBatchUpdate(batchUpdateRequestString => $batchUpdateRequestString);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->synkBatchUpdate: $@\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()
batchUpdateRequestString = {"ColumnToUpdate":"string","Value":"string","IsForcedUpdate":true,"IDs":[0],"IsRemoveFromCollection":true,"SetToSyncStatus":"string","SetToIsActive":true,"ID":0,"AdaptorID":0,"Action":"string","DatTypeID":0,"Filter":{"SyncStatusFilter":"string","IsShowActiveOnly":true,"IsShowLinkedOnly":true,"IsShowChildVariants":true,"IsShowPublishedOnly":true,"IncludePayments":true,"SyncLogCode":"string","DefaultSupplierID":0,"SyncLogCodeType":0,"IncludeAdaptorID":0,"ExcludeAdaptorID":0,"CreatedWith":"string","CreatedByUserId":0,"ClassID":0,"IsShowAccountCustomersOnly":true,"IsShowPostingInventoryOnly":true,"IDList":[0],"CustomerIDs":[0],"IsEarlyClaimShortPaymentOnly":true,"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},"IsSyncDependencies":true,"RefDatTypeID":0,"IsQueue":true,"IsSaveToAutoQueue":true,"IsAnalyse":true,"IsMakeActionActiveIfNot":true,"TranslatorID":0,"LastExecDateTimeOverride_utc":"string","IsImportForADateRange":true,"DateRangeStart":"string","DateRangeEnd":"string","ScheduledTaskID":0,"MaxWaitSecs":0,"IDList":[0],"IsRunNow":true,"CustomerIDs":[0],"ClassIDs":[0],"IsUserInitiated":true,"POSTerminalShiftID":0,"IsImportUnPaidInvoicesOnly":true,"EmailAddress":"string","DomainUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0} # BatchUpdateRequestString |  (optional)

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

pub fn main() {
    let batchUpdateRequestString = {"ColumnToUpdate":"string","Value":"string","IsForcedUpdate":true,"IDs":[0],"IsRemoveFromCollection":true,"SetToSyncStatus":"string","SetToIsActive":true,"ID":0,"AdaptorID":0,"Action":"string","DatTypeID":0,"Filter":{"SyncStatusFilter":"string","IsShowActiveOnly":true,"IsShowLinkedOnly":true,"IsShowChildVariants":true,"IsShowPublishedOnly":true,"IncludePayments":true,"SyncLogCode":"string","DefaultSupplierID":0,"SyncLogCodeType":0,"IncludeAdaptorID":0,"ExcludeAdaptorID":0,"CreatedWith":"string","CreatedByUserId":0,"ClassID":0,"IsShowAccountCustomersOnly":true,"IsShowPostingInventoryOnly":true,"IDList":[0],"CustomerIDs":[0],"IsEarlyClaimShortPaymentOnly":true,"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},"IsSyncDependencies":true,"RefDatTypeID":0,"IsQueue":true,"IsSaveToAutoQueue":true,"IsAnalyse":true,"IsMakeActionActiveIfNot":true,"TranslatorID":0,"LastExecDateTimeOverride_utc":"string","IsImportForADateRange":true,"DateRangeStart":"string","DateRangeEnd":"string","ScheduledTaskID":0,"MaxWaitSecs":0,"IDList":[0],"IsRunNow":true,"CustomerIDs":[0],"ClassIDs":[0],"IsUserInitiated":true,"POSTerminalShiftID":0,"IsImportUnPaidInvoicesOnly":true,"EmailAddress":"string","DomainUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0}; // BatchUpdateRequestString

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

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

Scopes

Parameters

Body parameters
Name Description
batchUpdateRequestString

Responses


synkBatchUpdates

Synk_BatchUpdates


/Synk/BatchUpdates

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/Synk/BatchUpdates" \
 -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();
        BatchUpdateRequestsString batchUpdateRequestsString = {"Updates":[{"ColumnToUpdate":"string","Value":"string","IsForcedUpdate":true,"IDs":[0],"IsRemoveFromCollection":true,"SetToSyncStatus":"string","SetToIsActive":true,"ID":0,"AdaptorID":0,"Action":"string","DatTypeID":0,"Filter":{"SyncStatusFilter":"string","IsShowActiveOnly":true,"IsShowLinkedOnly":true,"IsShowChildVariants":true,"IsShowPublishedOnly":true,"IncludePayments":true,"SyncLogCode":"string","DefaultSupplierID":0,"SyncLogCodeType":0,"IncludeAdaptorID":0,"ExcludeAdaptorID":0,"CreatedWith":"string","CreatedByUserId":0,"ClassID":0,"IsShowAccountCustomersOnly":true,"IsShowPostingInventoryOnly":true,"IDList":[0],"CustomerIDs":[0],"IsEarlyClaimShortPaymentOnly":true,"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},"IsSyncDependencies":true,"RefDatTypeID":0,"IsQueue":true,"IsSaveToAutoQueue":true,"IsAnalyse":true,"IsMakeActionActiveIfNot":true,"TranslatorID":0,"LastExecDateTimeOverride_utc":"string","IsImportForADateRange":true,"DateRangeStart":"string","DateRangeEnd":"string","ScheduledTaskID":0,"MaxWaitSecs":0,"IDList":[0],"IsRunNow":true,"CustomerIDs":[0],"ClassIDs":[0],"IsUserInitiated":true,"POSTerminalShiftID":0,"IsImportUnPaidInvoicesOnly":true,"EmailAddress":"string","DomainUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0}],"TenantID":0,"WebsiteID":0,"UserID":0}; // BatchUpdateRequestsString | 

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

final api_instance = DefaultApi();

final BatchUpdateRequestsString batchUpdateRequestsString = new BatchUpdateRequestsString(); // BatchUpdateRequestsString | 

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

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        BatchUpdateRequestsString batchUpdateRequestsString = {"Updates":[{"ColumnToUpdate":"string","Value":"string","IsForcedUpdate":true,"IDs":[0],"IsRemoveFromCollection":true,"SetToSyncStatus":"string","SetToIsActive":true,"ID":0,"AdaptorID":0,"Action":"string","DatTypeID":0,"Filter":{"SyncStatusFilter":"string","IsShowActiveOnly":true,"IsShowLinkedOnly":true,"IsShowChildVariants":true,"IsShowPublishedOnly":true,"IncludePayments":true,"SyncLogCode":"string","DefaultSupplierID":0,"SyncLogCodeType":0,"IncludeAdaptorID":0,"ExcludeAdaptorID":0,"CreatedWith":"string","CreatedByUserId":0,"ClassID":0,"IsShowAccountCustomersOnly":true,"IsShowPostingInventoryOnly":true,"IDList":[0],"CustomerIDs":[0],"IsEarlyClaimShortPaymentOnly":true,"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},"IsSyncDependencies":true,"RefDatTypeID":0,"IsQueue":true,"IsSaveToAutoQueue":true,"IsAnalyse":true,"IsMakeActionActiveIfNot":true,"TranslatorID":0,"LastExecDateTimeOverride_utc":"string","IsImportForADateRange":true,"DateRangeStart":"string","DateRangeEnd":"string","ScheduledTaskID":0,"MaxWaitSecs":0,"IDList":[0],"IsRunNow":true,"CustomerIDs":[0],"ClassIDs":[0],"IsUserInitiated":true,"POSTerminalShiftID":0,"IsImportUnPaidInvoicesOnly":true,"EmailAddress":"string","DomainUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0}],"TenantID":0,"WebsiteID":0,"UserID":0}; // BatchUpdateRequestsString | 

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


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
BatchUpdateRequestsString *batchUpdateRequestsString = {"Updates":[{"ColumnToUpdate":"string","Value":"string","IsForcedUpdate":true,"IDs":[0],"IsRemoveFromCollection":true,"SetToSyncStatus":"string","SetToIsActive":true,"ID":0,"AdaptorID":0,"Action":"string","DatTypeID":0,"Filter":{"SyncStatusFilter":"string","IsShowActiveOnly":true,"IsShowLinkedOnly":true,"IsShowChildVariants":true,"IsShowPublishedOnly":true,"IncludePayments":true,"SyncLogCode":"string","DefaultSupplierID":0,"SyncLogCodeType":0,"IncludeAdaptorID":0,"ExcludeAdaptorID":0,"CreatedWith":"string","CreatedByUserId":0,"ClassID":0,"IsShowAccountCustomersOnly":true,"IsShowPostingInventoryOnly":true,"IDList":[0],"CustomerIDs":[0],"IsEarlyClaimShortPaymentOnly":true,"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},"IsSyncDependencies":true,"RefDatTypeID":0,"IsQueue":true,"IsSaveToAutoQueue":true,"IsAnalyse":true,"IsMakeActionActiveIfNot":true,"TranslatorID":0,"LastExecDateTimeOverride_utc":"string","IsImportForADateRange":true,"DateRangeStart":"string","DateRangeEnd":"string","ScheduledTaskID":0,"MaxWaitSecs":0,"IDList":[0],"IsRunNow":true,"CustomerIDs":[0],"ClassIDs":[0],"IsUserInitiated":true,"POSTerminalShiftID":0,"IsImportUnPaidInvoicesOnly":true,"EmailAddress":"string","DomainUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0}],"TenantID":0,"WebsiteID":0,"UserID":0}; //  (optional)

// Synk_BatchUpdates
[apiInstance synkBatchUpdatesWith:batchUpdateRequestsString
              completionHandler: ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiSynk = require('as_server_api_synk');

// Create an instance of the API class
var api = new AsServerApiSynk.DefaultApi()
var opts = {
  'batchUpdateRequestsString': {"Updates":[{"ColumnToUpdate":"string","Value":"string","IsForcedUpdate":true,"IDs":[0],"IsRemoveFromCollection":true,"SetToSyncStatus":"string","SetToIsActive":true,"ID":0,"AdaptorID":0,"Action":"string","DatTypeID":0,"Filter":{"SyncStatusFilter":"string","IsShowActiveOnly":true,"IsShowLinkedOnly":true,"IsShowChildVariants":true,"IsShowPublishedOnly":true,"IncludePayments":true,"SyncLogCode":"string","DefaultSupplierID":0,"SyncLogCodeType":0,"IncludeAdaptorID":0,"ExcludeAdaptorID":0,"CreatedWith":"string","CreatedByUserId":0,"ClassID":0,"IsShowAccountCustomersOnly":true,"IsShowPostingInventoryOnly":true,"IDList":[0],"CustomerIDs":[0],"IsEarlyClaimShortPaymentOnly":true,"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},"IsSyncDependencies":true,"RefDatTypeID":0,"IsQueue":true,"IsSaveToAutoQueue":true,"IsAnalyse":true,"IsMakeActionActiveIfNot":true,"TranslatorID":0,"LastExecDateTimeOverride_utc":"string","IsImportForADateRange":true,"DateRangeStart":"string","DateRangeEnd":"string","ScheduledTaskID":0,"MaxWaitSecs":0,"IDList":[0],"IsRunNow":true,"CustomerIDs":[0],"ClassIDs":[0],"IsUserInitiated":true,"POSTerminalShiftID":0,"IsImportUnPaidInvoicesOnly":true,"EmailAddress":"string","DomainUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0}],"TenantID":0,"WebsiteID":0,"UserID":0} // {BatchUpdateRequestsString} 
};

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

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

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

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

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$batchUpdateRequestsString = {"Updates":[{"ColumnToUpdate":"string","Value":"string","IsForcedUpdate":true,"IDs":[0],"IsRemoveFromCollection":true,"SetToSyncStatus":"string","SetToIsActive":true,"ID":0,"AdaptorID":0,"Action":"string","DatTypeID":0,"Filter":{"SyncStatusFilter":"string","IsShowActiveOnly":true,"IsShowLinkedOnly":true,"IsShowChildVariants":true,"IsShowPublishedOnly":true,"IncludePayments":true,"SyncLogCode":"string","DefaultSupplierID":0,"SyncLogCodeType":0,"IncludeAdaptorID":0,"ExcludeAdaptorID":0,"CreatedWith":"string","CreatedByUserId":0,"ClassID":0,"IsShowAccountCustomersOnly":true,"IsShowPostingInventoryOnly":true,"IDList":[0],"CustomerIDs":[0],"IsEarlyClaimShortPaymentOnly":true,"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},"IsSyncDependencies":true,"RefDatTypeID":0,"IsQueue":true,"IsSaveToAutoQueue":true,"IsAnalyse":true,"IsMakeActionActiveIfNot":true,"TranslatorID":0,"LastExecDateTimeOverride_utc":"string","IsImportForADateRange":true,"DateRangeStart":"string","DateRangeEnd":"string","ScheduledTaskID":0,"MaxWaitSecs":0,"IDList":[0],"IsRunNow":true,"CustomerIDs":[0],"ClassIDs":[0],"IsUserInitiated":true,"POSTerminalShiftID":0,"IsImportUnPaidInvoicesOnly":true,"EmailAddress":"string","DomainUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0}],"TenantID":0,"WebsiteID":0,"UserID":0}; // BatchUpdateRequestsString | 

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

eval {
    my $result = $api_instance->synkBatchUpdates(batchUpdateRequestsString => $batchUpdateRequestsString);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->synkBatchUpdates: $@\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()
batchUpdateRequestsString = {"Updates":[{"ColumnToUpdate":"string","Value":"string","IsForcedUpdate":true,"IDs":[0],"IsRemoveFromCollection":true,"SetToSyncStatus":"string","SetToIsActive":true,"ID":0,"AdaptorID":0,"Action":"string","DatTypeID":0,"Filter":{"SyncStatusFilter":"string","IsShowActiveOnly":true,"IsShowLinkedOnly":true,"IsShowChildVariants":true,"IsShowPublishedOnly":true,"IncludePayments":true,"SyncLogCode":"string","DefaultSupplierID":0,"SyncLogCodeType":0,"IncludeAdaptorID":0,"ExcludeAdaptorID":0,"CreatedWith":"string","CreatedByUserId":0,"ClassID":0,"IsShowAccountCustomersOnly":true,"IsShowPostingInventoryOnly":true,"IDList":[0],"CustomerIDs":[0],"IsEarlyClaimShortPaymentOnly":true,"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},"IsSyncDependencies":true,"RefDatTypeID":0,"IsQueue":true,"IsSaveToAutoQueue":true,"IsAnalyse":true,"IsMakeActionActiveIfNot":true,"TranslatorID":0,"LastExecDateTimeOverride_utc":"string","IsImportForADateRange":true,"DateRangeStart":"string","DateRangeEnd":"string","ScheduledTaskID":0,"MaxWaitSecs":0,"IDList":[0],"IsRunNow":true,"CustomerIDs":[0],"ClassIDs":[0],"IsUserInitiated":true,"POSTerminalShiftID":0,"IsImportUnPaidInvoicesOnly":true,"EmailAddress":"string","DomainUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0}],"TenantID":0,"WebsiteID":0,"UserID":0} # BatchUpdateRequestsString |  (optional)

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

pub fn main() {
    let batchUpdateRequestsString = {"Updates":[{"ColumnToUpdate":"string","Value":"string","IsForcedUpdate":true,"IDs":[0],"IsRemoveFromCollection":true,"SetToSyncStatus":"string","SetToIsActive":true,"ID":0,"AdaptorID":0,"Action":"string","DatTypeID":0,"Filter":{"SyncStatusFilter":"string","IsShowActiveOnly":true,"IsShowLinkedOnly":true,"IsShowChildVariants":true,"IsShowPublishedOnly":true,"IncludePayments":true,"SyncLogCode":"string","DefaultSupplierID":0,"SyncLogCodeType":0,"IncludeAdaptorID":0,"ExcludeAdaptorID":0,"CreatedWith":"string","CreatedByUserId":0,"ClassID":0,"IsShowAccountCustomersOnly":true,"IsShowPostingInventoryOnly":true,"IDList":[0],"CustomerIDs":[0],"IsEarlyClaimShortPaymentOnly":true,"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},"IsSyncDependencies":true,"RefDatTypeID":0,"IsQueue":true,"IsSaveToAutoQueue":true,"IsAnalyse":true,"IsMakeActionActiveIfNot":true,"TranslatorID":0,"LastExecDateTimeOverride_utc":"string","IsImportForADateRange":true,"DateRangeStart":"string","DateRangeEnd":"string","ScheduledTaskID":0,"MaxWaitSecs":0,"IDList":[0],"IsRunNow":true,"CustomerIDs":[0],"ClassIDs":[0],"IsUserInitiated":true,"POSTerminalShiftID":0,"IsImportUnPaidInvoicesOnly":true,"EmailAddress":"string","DomainUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0}],"TenantID":0,"WebsiteID":0,"UserID":0}; // BatchUpdateRequestsString

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

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

Scopes

Parameters

Body parameters
Name Description
batchUpdateRequestsString

Responses


synkClearAllBSIDs

Synk_ClearAllBSIDs


/Synk/ClearAllBSIDs

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/Synk/ClearAllBSIDs" \
 -d '{
  "IsBrands" : true,
  "IsPurchaseInvoices" : true,
  "IsBankTransactions" : true,
  "WebsiteID" : 1,
  "IsDebitNotes" : true,
  "AdaptorID" : 0,
  "ResetSynkStatusTo" : "ResetSynkStatusTo",
  "IsInvoices" : true,
  "IsSalesOrders" : true,
  "IsInventoryItems" : true,
  "IsTags" : true,
  "EmailAddress" : "EmailAddress",
  "IsCreditNotes" : true,
  "IsPurchasePayments" : true,
  "IsSpecifics" : true,
  "TenantID" : 6,
  "IsBankTransfers" : true,
  "DomainUrl" : "DomainUrl",
  "UserID" : 5,
  "IsSuppliers" : true,
  "IsAccounts" : true,
  "IsCategories" : true,
  "IsSalesPayments" : true,
  "IsCustomers" : true
}' \
 -d 'Custom MIME type example not yet supported: text/json' \
 -d '<ClearAdaptorBSIDsRequest>
  <AdaptorID>123</AdaptorID>
  <ResetSynkStatusTo>aeiou</ResetSynkStatusTo>
  <IsCustomers>true</IsCustomers>
  <IsSuppliers>true</IsSuppliers>
  <IsInventoryItems>true</IsInventoryItems>
  <IsCategories>true</IsCategories>
  <IsBrands>true</IsBrands>
  <IsTags>true</IsTags>
  <IsSpecifics>true</IsSpecifics>
  <IsAccounts>true</IsAccounts>
  <IsSalesOrders>true</IsSalesOrders>
  <IsInvoices>true</IsInvoices>
  <IsCreditNotes>true</IsCreditNotes>
  <IsSalesPayments>true</IsSalesPayments>
  <IsPurchaseInvoices>true</IsPurchaseInvoices>
  <IsDebitNotes>true</IsDebitNotes>
  <IsPurchasePayments>true</IsPurchasePayments>
  <IsBankTransactions>true</IsBankTransactions>
  <IsBankTransfers>true</IsBankTransfers>
  <EmailAddress>aeiou</EmailAddress>
  <DomainUrl>aeiou</DomainUrl>
  <TenantID>123</TenantID>
  <WebsiteID>123</WebsiteID>
  <UserID>123</UserID>
</ClearAdaptorBSIDsRequest>' \
 -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();
        ClearAdaptorBSIDsRequest clearAdaptorBSIDsRequest = {"AdaptorID":0,"ResetSynkStatusTo":"string","IsCustomers":true,"IsSuppliers":true,"IsInventoryItems":true,"IsCategories":true,"IsBrands":true,"IsTags":true,"IsSpecifics":true,"IsAccounts":true,"IsSalesOrders":true,"IsInvoices":true,"IsCreditNotes":true,"IsSalesPayments":true,"IsPurchaseInvoices":true,"IsDebitNotes":true,"IsPurchasePayments":true,"IsBankTransactions":true,"IsBankTransfers":true,"EmailAddress":"string","DomainUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0}; // ClearAdaptorBSIDsRequest | 

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

final api_instance = DefaultApi();

final ClearAdaptorBSIDsRequest clearAdaptorBSIDsRequest = new ClearAdaptorBSIDsRequest(); // ClearAdaptorBSIDsRequest | 

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

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        ClearAdaptorBSIDsRequest clearAdaptorBSIDsRequest = {"AdaptorID":0,"ResetSynkStatusTo":"string","IsCustomers":true,"IsSuppliers":true,"IsInventoryItems":true,"IsCategories":true,"IsBrands":true,"IsTags":true,"IsSpecifics":true,"IsAccounts":true,"IsSalesOrders":true,"IsInvoices":true,"IsCreditNotes":true,"IsSalesPayments":true,"IsPurchaseInvoices":true,"IsDebitNotes":true,"IsPurchasePayments":true,"IsBankTransactions":true,"IsBankTransfers":true,"EmailAddress":"string","DomainUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0}; // ClearAdaptorBSIDsRequest | 

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


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
ClearAdaptorBSIDsRequest *clearAdaptorBSIDsRequest = {"AdaptorID":0,"ResetSynkStatusTo":"string","IsCustomers":true,"IsSuppliers":true,"IsInventoryItems":true,"IsCategories":true,"IsBrands":true,"IsTags":true,"IsSpecifics":true,"IsAccounts":true,"IsSalesOrders":true,"IsInvoices":true,"IsCreditNotes":true,"IsSalesPayments":true,"IsPurchaseInvoices":true,"IsDebitNotes":true,"IsPurchasePayments":true,"IsBankTransactions":true,"IsBankTransfers":true,"EmailAddress":"string","DomainUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0}; //  (optional)

// Synk_ClearAllBSIDs
[apiInstance synkClearAllBSIDsWith:clearAdaptorBSIDsRequest
              completionHandler: ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiSynk = require('as_server_api_synk');

// Create an instance of the API class
var api = new AsServerApiSynk.DefaultApi()
var opts = {
  'clearAdaptorBSIDsRequest': {"AdaptorID":0,"ResetSynkStatusTo":"string","IsCustomers":true,"IsSuppliers":true,"IsInventoryItems":true,"IsCategories":true,"IsBrands":true,"IsTags":true,"IsSpecifics":true,"IsAccounts":true,"IsSalesOrders":true,"IsInvoices":true,"IsCreditNotes":true,"IsSalesPayments":true,"IsPurchaseInvoices":true,"IsDebitNotes":true,"IsPurchasePayments":true,"IsBankTransactions":true,"IsBankTransfers":true,"EmailAddress":"string","DomainUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0} // {ClearAdaptorBSIDsRequest} 
};

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

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

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

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

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$clearAdaptorBSIDsRequest = {"AdaptorID":0,"ResetSynkStatusTo":"string","IsCustomers":true,"IsSuppliers":true,"IsInventoryItems":true,"IsCategories":true,"IsBrands":true,"IsTags":true,"IsSpecifics":true,"IsAccounts":true,"IsSalesOrders":true,"IsInvoices":true,"IsCreditNotes":true,"IsSalesPayments":true,"IsPurchaseInvoices":true,"IsDebitNotes":true,"IsPurchasePayments":true,"IsBankTransactions":true,"IsBankTransfers":true,"EmailAddress":"string","DomainUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0}; // ClearAdaptorBSIDsRequest | 

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

eval {
    my $result = $api_instance->synkClearAllBSIDs(clearAdaptorBSIDsRequest => $clearAdaptorBSIDsRequest);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->synkClearAllBSIDs: $@\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()
clearAdaptorBSIDsRequest = {"AdaptorID":0,"ResetSynkStatusTo":"string","IsCustomers":true,"IsSuppliers":true,"IsInventoryItems":true,"IsCategories":true,"IsBrands":true,"IsTags":true,"IsSpecifics":true,"IsAccounts":true,"IsSalesOrders":true,"IsInvoices":true,"IsCreditNotes":true,"IsSalesPayments":true,"IsPurchaseInvoices":true,"IsDebitNotes":true,"IsPurchasePayments":true,"IsBankTransactions":true,"IsBankTransfers":true,"EmailAddress":"string","DomainUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0} # ClearAdaptorBSIDsRequest |  (optional)

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

pub fn main() {
    let clearAdaptorBSIDsRequest = {"AdaptorID":0,"ResetSynkStatusTo":"string","IsCustomers":true,"IsSuppliers":true,"IsInventoryItems":true,"IsCategories":true,"IsBrands":true,"IsTags":true,"IsSpecifics":true,"IsAccounts":true,"IsSalesOrders":true,"IsInvoices":true,"IsCreditNotes":true,"IsSalesPayments":true,"IsPurchaseInvoices":true,"IsDebitNotes":true,"IsPurchasePayments":true,"IsBankTransactions":true,"IsBankTransfers":true,"EmailAddress":"string","DomainUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0}; // ClearAdaptorBSIDsRequest

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

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

Scopes

Parameters

Body parameters
Name Description
clearAdaptorBSIDsRequest

Responses


synkConnect

Synk_Connect


/Synk/Connect

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/Synk/Connect" \
 -d '{
  "CallbackUrl" : "CallbackUrl",
  "WebsiteID" : 5,
  "TenantID" : 1,
  "UserID" : 5,
  "AdaptorAuthID" : 0,
  "AdaptorID" : 6,
  "AdaptorName" : "AdaptorName"
}' \
 -d 'Custom MIME type example not yet supported: text/json' \
 -d '<OAuthConnectRequest>
  <AdaptorAuthID>123</AdaptorAuthID>
  <AdaptorID>123</AdaptorID>
  <AdaptorName>aeiou</AdaptorName>
  <CallbackUrl>aeiou</CallbackUrl>
  <TenantID>123</TenantID>
  <WebsiteID>123</WebsiteID>
  <UserID>123</UserID>
</OAuthConnectRequest>' \
 -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();
        OAuthConnectRequest oAuthConnectRequest = {"AdaptorAuthID":0,"AdaptorID":0,"AdaptorName":"string","CallbackUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0}; // OAuthConnectRequest | 

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

final api_instance = DefaultApi();

final OAuthConnectRequest oAuthConnectRequest = new OAuthConnectRequest(); // OAuthConnectRequest | 

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

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        OAuthConnectRequest oAuthConnectRequest = {"AdaptorAuthID":0,"AdaptorID":0,"AdaptorName":"string","CallbackUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0}; // OAuthConnectRequest | 

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


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
OAuthConnectRequest *oAuthConnectRequest = {"AdaptorAuthID":0,"AdaptorID":0,"AdaptorName":"string","CallbackUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0}; //  (optional)

// Synk_Connect
[apiInstance synkConnectWith:oAuthConnectRequest
              completionHandler: ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiSynk = require('as_server_api_synk');

// Create an instance of the API class
var api = new AsServerApiSynk.DefaultApi()
var opts = {
  'oAuthConnectRequest': {"AdaptorAuthID":0,"AdaptorID":0,"AdaptorName":"string","CallbackUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0} // {OAuthConnectRequest} 
};

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

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

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

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

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$oAuthConnectRequest = {"AdaptorAuthID":0,"AdaptorID":0,"AdaptorName":"string","CallbackUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0}; // OAuthConnectRequest | 

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

eval {
    my $result = $api_instance->synkConnect(oAuthConnectRequest => $oAuthConnectRequest);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->synkConnect: $@\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()
oAuthConnectRequest = {"AdaptorAuthID":0,"AdaptorID":0,"AdaptorName":"string","CallbackUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0} # OAuthConnectRequest |  (optional)

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

pub fn main() {
    let oAuthConnectRequest = {"AdaptorAuthID":0,"AdaptorID":0,"AdaptorName":"string","CallbackUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0}; // OAuthConnectRequest

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

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

Scopes

Parameters

Body parameters
Name Description
oAuthConnectRequest

Responses


synkDisconnect

Synk_Disconnect


/Synk/Disconnect

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/Synk/Disconnect" \
 -d '{
  "CallbackUrl" : "CallbackUrl",
  "WebsiteID" : 5,
  "TenantID" : 1,
  "UserID" : 5,
  "AdaptorAuthID" : 0,
  "AdaptorID" : 6,
  "AdaptorName" : "AdaptorName"
}' \
 -d 'Custom MIME type example not yet supported: text/json' \
 -d '<OAuthDisconnectRequest>
  <AdaptorAuthID>123</AdaptorAuthID>
  <AdaptorID>123</AdaptorID>
  <AdaptorName>aeiou</AdaptorName>
  <CallbackUrl>aeiou</CallbackUrl>
  <TenantID>123</TenantID>
  <WebsiteID>123</WebsiteID>
  <UserID>123</UserID>
</OAuthDisconnectRequest>' \
 -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();
        OAuthDisconnectRequest oAuthDisconnectRequest = {"AdaptorAuthID":0,"AdaptorID":0,"AdaptorName":"string","CallbackUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0}; // OAuthDisconnectRequest | 

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

final api_instance = DefaultApi();

final OAuthDisconnectRequest oAuthDisconnectRequest = new OAuthDisconnectRequest(); // OAuthDisconnectRequest | 

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

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        OAuthDisconnectRequest oAuthDisconnectRequest = {"AdaptorAuthID":0,"AdaptorID":0,"AdaptorName":"string","CallbackUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0}; // OAuthDisconnectRequest | 

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


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
OAuthDisconnectRequest *oAuthDisconnectRequest = {"AdaptorAuthID":0,"AdaptorID":0,"AdaptorName":"string","CallbackUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0}; //  (optional)

// Synk_Disconnect
[apiInstance synkDisconnectWith:oAuthDisconnectRequest
              completionHandler: ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiSynk = require('as_server_api_synk');

// Create an instance of the API class
var api = new AsServerApiSynk.DefaultApi()
var opts = {
  'oAuthDisconnectRequest': {"AdaptorAuthID":0,"AdaptorID":0,"AdaptorName":"string","CallbackUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0} // {OAuthDisconnectRequest} 
};

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

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

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

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

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$oAuthDisconnectRequest = {"AdaptorAuthID":0,"AdaptorID":0,"AdaptorName":"string","CallbackUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0}; // OAuthDisconnectRequest | 

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

eval {
    my $result = $api_instance->synkDisconnect(oAuthDisconnectRequest => $oAuthDisconnectRequest);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->synkDisconnect: $@\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()
oAuthDisconnectRequest = {"AdaptorAuthID":0,"AdaptorID":0,"AdaptorName":"string","CallbackUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0} # OAuthDisconnectRequest |  (optional)

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

pub fn main() {
    let oAuthDisconnectRequest = {"AdaptorAuthID":0,"AdaptorID":0,"AdaptorName":"string","CallbackUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0}; // OAuthDisconnectRequest

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

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

Scopes

Parameters

Body parameters
Name Description
oAuthDisconnectRequest

Responses


synkGetOnAuthorised

Synk_GetOnAuthorised


/Synk/onauthorised

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json,text/json,application/xml,text/xml" \
 "https://api.dev.spenda.co/api/Synk/onauthorised?req.adaptorAuthID=56&req.adaptorID=56&req.adaptorName=reqPeriodadaptorName_example&req.callbackUrl=reqPeriodcallbackUrl_example&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 reqPeriodadaptorAuthID = 56; // Integer | 
        Integer reqPeriodadaptorID = 56; // Integer | 
        String reqPeriodadaptorName = reqPeriodadaptorName_example; // String | 
        String reqPeriodcallbackUrl = reqPeriodcallbackUrl_example; // String | 
        Integer reqPeriodtenantID = 56; // Integer | 
        Integer reqPeriodwebsiteID = 56; // Integer | 
        Integer reqPerioduserID = 56; // Integer | 

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

final api_instance = DefaultApi();

final Integer reqPeriodadaptorAuthID = new Integer(); // Integer | 
final Integer reqPeriodadaptorID = new Integer(); // Integer | 
final String reqPeriodadaptorName = new String(); // String | 
final String reqPeriodcallbackUrl = new String(); // String | 
final Integer reqPeriodtenantID = new Integer(); // Integer | 
final Integer reqPeriodwebsiteID = new Integer(); // Integer | 
final Integer reqPerioduserID = new Integer(); // Integer | 

try {
    final result = await api_instance.synkGetOnAuthorised(reqPeriodadaptorAuthID, reqPeriodadaptorID, reqPeriodadaptorName, reqPeriodcallbackUrl, reqPeriodtenantID, reqPeriodwebsiteID, reqPerioduserID);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->synkGetOnAuthorised: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Integer reqPeriodadaptorAuthID = 56; // Integer | 
        Integer reqPeriodadaptorID = 56; // Integer | 
        String reqPeriodadaptorName = reqPeriodadaptorName_example; // String | 
        String reqPeriodcallbackUrl = reqPeriodcallbackUrl_example; // String | 
        Integer reqPeriodtenantID = 56; // Integer | 
        Integer reqPeriodwebsiteID = 56; // Integer | 
        Integer reqPerioduserID = 56; // Integer | 

        try {
            Object result = apiInstance.synkGetOnAuthorised(reqPeriodadaptorAuthID, reqPeriodadaptorID, reqPeriodadaptorName, reqPeriodcallbackUrl, reqPeriodtenantID, reqPeriodwebsiteID, reqPerioduserID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#synkGetOnAuthorised");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Integer *reqPeriodadaptorAuthID = 56; //  (optional) (default to null)
Integer *reqPeriodadaptorID = 56; //  (optional) (default to null)
String *reqPeriodadaptorName = reqPeriodadaptorName_example; //  (optional) (default to null)
String *reqPeriodcallbackUrl = reqPeriodcallbackUrl_example; //  (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)

// Synk_GetOnAuthorised
[apiInstance synkGetOnAuthorisedWith:reqPeriodadaptorAuthID
    reqPeriodadaptorID:reqPeriodadaptorID
    reqPeriodadaptorName:reqPeriodadaptorName
    reqPeriodcallbackUrl:reqPeriodcallbackUrl
    reqPeriodtenantID:reqPeriodtenantID
    reqPeriodwebsiteID:reqPeriodwebsiteID
    reqPerioduserID:reqPerioduserID
              completionHandler: ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiSynk = require('as_server_api_synk');

// Create an instance of the API class
var api = new AsServerApiSynk.DefaultApi()
var opts = {
  'reqPeriodadaptorAuthID': 56, // {Integer} 
  'reqPeriodadaptorID': 56, // {Integer} 
  'reqPeriodadaptorName': reqPeriodadaptorName_example, // {String} 
  'reqPeriodcallbackUrl': reqPeriodcallbackUrl_example, // {String} 
  '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.synkGetOnAuthorised(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

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

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var reqPeriodadaptorAuthID = 56;  // Integer |  (optional)  (default to null)
            var reqPeriodadaptorID = 56;  // Integer |  (optional)  (default to null)
            var reqPeriodadaptorName = reqPeriodadaptorName_example;  // String |  (optional)  (default to null)
            var reqPeriodcallbackUrl = reqPeriodcallbackUrl_example;  // String |  (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 {
                // Synk_GetOnAuthorised
                Object result = apiInstance.synkGetOnAuthorised(reqPeriodadaptorAuthID, reqPeriodadaptorID, reqPeriodadaptorName, reqPeriodcallbackUrl, reqPeriodtenantID, reqPeriodwebsiteID, reqPerioduserID);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.synkGetOnAuthorised: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$reqPeriodadaptorAuthID = 56; // Integer | 
$reqPeriodadaptorID = 56; // Integer | 
$reqPeriodadaptorName = reqPeriodadaptorName_example; // String | 
$reqPeriodcallbackUrl = reqPeriodcallbackUrl_example; // String | 
$reqPeriodtenantID = 56; // Integer | 
$reqPeriodwebsiteID = 56; // Integer | 
$reqPerioduserID = 56; // Integer | 

try {
    $result = $api_instance->synkGetOnAuthorised($reqPeriodadaptorAuthID, $reqPeriodadaptorID, $reqPeriodadaptorName, $reqPeriodcallbackUrl, $reqPeriodtenantID, $reqPeriodwebsiteID, $reqPerioduserID);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->synkGetOnAuthorised: ', $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 $reqPeriodadaptorAuthID = 56; # Integer | 
my $reqPeriodadaptorID = 56; # Integer | 
my $reqPeriodadaptorName = reqPeriodadaptorName_example; # String | 
my $reqPeriodcallbackUrl = reqPeriodcallbackUrl_example; # String | 
my $reqPeriodtenantID = 56; # Integer | 
my $reqPeriodwebsiteID = 56; # Integer | 
my $reqPerioduserID = 56; # Integer | 

eval {
    my $result = $api_instance->synkGetOnAuthorised(reqPeriodadaptorAuthID => $reqPeriodadaptorAuthID, reqPeriodadaptorID => $reqPeriodadaptorID, reqPeriodadaptorName => $reqPeriodadaptorName, reqPeriodcallbackUrl => $reqPeriodcallbackUrl, reqPeriodtenantID => $reqPeriodtenantID, reqPeriodwebsiteID => $reqPeriodwebsiteID, reqPerioduserID => $reqPerioduserID);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->synkGetOnAuthorised: $@\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()
reqPeriodadaptorAuthID = 56 # Integer |  (optional) (default to null)
reqPeriodadaptorID = 56 # Integer |  (optional) (default to null)
reqPeriodadaptorName = reqPeriodadaptorName_example # String |  (optional) (default to null)
reqPeriodcallbackUrl = reqPeriodcallbackUrl_example # String |  (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:
    # Synk_GetOnAuthorised
    api_response = api_instance.synk_get_on_authorised(reqPeriodadaptorAuthID=reqPeriodadaptorAuthID, reqPeriodadaptorID=reqPeriodadaptorID, reqPeriodadaptorName=reqPeriodadaptorName, reqPeriodcallbackUrl=reqPeriodcallbackUrl, reqPeriodtenantID=reqPeriodtenantID, reqPeriodwebsiteID=reqPeriodwebsiteID, reqPerioduserID=reqPerioduserID)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->synkGetOnAuthorised: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let reqPeriodadaptorAuthID = 56; // Integer
    let reqPeriodadaptorID = 56; // Integer
    let reqPeriodadaptorName = reqPeriodadaptorName_example; // String
    let reqPeriodcallbackUrl = reqPeriodcallbackUrl_example; // String
    let reqPeriodtenantID = 56; // Integer
    let reqPeriodwebsiteID = 56; // Integer
    let reqPerioduserID = 56; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.synkGetOnAuthorised(reqPeriodadaptorAuthID, reqPeriodadaptorID, reqPeriodadaptorName, reqPeriodcallbackUrl, reqPeriodtenantID, reqPeriodwebsiteID, reqPerioduserID, &context).wait();

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

Scopes

Parameters

Query parameters
Name Description
req.adaptorAuthID
Integer (int32)
req.adaptorID
Integer (int32)
req.adaptorName
String
req.callbackUrl
String
req.tenantID
Integer (int32)
req.websiteID
Integer (int32)
req.userID
Integer (int32)

Responses


synkGetSyncLogDetails

Synk_GetSyncLogDetails


/Synk/GetSyncLogDetails

Usage and SDK Samples

curl -X PUT \
 -H "Accept: application/json,text/json,application/xml,text/xml" \
 -H "Content-Type: application/json,text/json,application/xml,text/xml,application/x-www-form-urlencoded" \
 "https://api.dev.spenda.co/api/Synk/GetSyncLogDetails" \
 -d '{
  "ParentID" : 5,
  "Types" : [ "Types", "Types" ],
  "IsApprovedForPOS" : true,
  "IsApprovedForWeb" : true,
  "AdaptorID" : 9,
  "SortField" : "SortField",
  "IsExactMatch" : true,
  "CategoryIDs" : [ 3, 3 ],
  "GetCountOnly" : true,
  "SearchString" : "SearchString",
  "IncludeDeleted" : true,
  "IncludeSystemTasks" : true,
  "StartDate" : "2000-01-23T04:56:07.000+00:00",
  "TenantID" : 6,
  "IgnoreID" : 5,
  "IsShowFavourites" : true,
  "IsHierarchicalSort" : true,
  "UserID" : 1,
  "Search" : "Search",
  "SortAsc" : true,
  "GUIDs" : [ "GUIDs", "GUIDs" ],
  "IncludeLogs" : true,
  "ID" : 1,
  "LinkedSupplierID" : 7,
  "Status" : [ "Status", "Status" ],
  "CategoryID" : 7,
  "WebsiteID" : 7,
  "IsHidden" : true,
  "GroupBy" : "GroupBy",
  "BrandIDs" : [ 2, 2 ],
  "LastRowNumber" : 1,
  "MaxResults" : 1,
  "DatTypeID" : 6,
  "EndDate" : "2000-01-23T04:56:07.000+00:00",
  "SyncStatusFilter" : "SyncStatusFilter",
  "SyncLogCodeFilter" : 0,
  "Statuses" : [ 1, 1 ],
  "StatusStrings" : [ "StatusStrings", "StatusStrings" ],
  "IsGetBasicInfo" : true,
  "BatchStatus" : "BatchStatus",
  "DatePeriod" : "DatePeriod",
  "IDs" : [ 4, 4 ],
  "IsSystem" : true,
  "SearchNameOnly" : true,
  "IsApprovedForService" : true,
  "TransactionTypeDatTypeID" : 2
}' \
 -d 'Custom MIME type example not yet supported: text/json' \
 -d '<SynkSummaryFilter>
  <SyncStatusFilter>aeiou</SyncStatusFilter>
  <SyncLogCodeFilter>123</SyncLogCodeFilter>
  <DatTypeID>123</DatTypeID>
  <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>
</SynkSummaryFilter>' \
 -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();
        SynkSummaryFilter synkSummaryFilter = {"SyncStatusFilter":"string","SyncLogCodeFilter":0,"DatTypeID":0,"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}; // SynkSummaryFilter | 

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

final api_instance = DefaultApi();

final SynkSummaryFilter synkSummaryFilter = new SynkSummaryFilter(); // SynkSummaryFilter | 

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

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        SynkSummaryFilter synkSummaryFilter = {"SyncStatusFilter":"string","SyncLogCodeFilter":0,"DatTypeID":0,"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}; // SynkSummaryFilter | 

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


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
SynkSummaryFilter *synkSummaryFilter = {"SyncStatusFilter":"string","SyncLogCodeFilter":0,"DatTypeID":0,"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)

// Synk_GetSyncLogDetails
[apiInstance synkGetSyncLogDetailsWith:synkSummaryFilter
              completionHandler: ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiSynk = require('as_server_api_synk');

// Create an instance of the API class
var api = new AsServerApiSynk.DefaultApi()
var opts = {
  'synkSummaryFilter': {"SyncStatusFilter":"string","SyncLogCodeFilter":0,"DatTypeID":0,"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} // {SynkSummaryFilter} 
};

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

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

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

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

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$synkSummaryFilter = {"SyncStatusFilter":"string","SyncLogCodeFilter":0,"DatTypeID":0,"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}; // SynkSummaryFilter | 

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

eval {
    my $result = $api_instance->synkGetSyncLogDetails(synkSummaryFilter => $synkSummaryFilter);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->synkGetSyncLogDetails: $@\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()
synkSummaryFilter = {"SyncStatusFilter":"string","SyncLogCodeFilter":0,"DatTypeID":0,"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} # SynkSummaryFilter |  (optional)

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

pub fn main() {
    let synkSummaryFilter = {"SyncStatusFilter":"string","SyncLogCodeFilter":0,"DatTypeID":0,"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}; // SynkSummaryFilter

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

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

Scopes

Parameters

Body parameters
Name Description
synkSummaryFilter

Responses


synkGetSyncLogSummary

Synk_GetSyncLogSummary


/Synk/GetSyncLogSummary

Usage and SDK Samples

curl -X PUT \
 -H "Accept: application/json,text/json,application/xml,text/xml" \
 -H "Content-Type: application/json,text/json,application/xml,text/xml,application/x-www-form-urlencoded" \
 "https://api.dev.spenda.co/api/Synk/GetSyncLogSummary" \
 -d '{
  "ParentID" : 5,
  "Types" : [ "Types", "Types" ],
  "IsApprovedForPOS" : true,
  "IsApprovedForWeb" : true,
  "AdaptorID" : 9,
  "SortField" : "SortField",
  "IsExactMatch" : true,
  "CategoryIDs" : [ 3, 3 ],
  "GetCountOnly" : true,
  "SearchString" : "SearchString",
  "IncludeDeleted" : true,
  "IncludeSystemTasks" : true,
  "StartDate" : "2000-01-23T04:56:07.000+00:00",
  "TenantID" : 6,
  "IgnoreID" : 5,
  "IsShowFavourites" : true,
  "IsHierarchicalSort" : true,
  "UserID" : 1,
  "Search" : "Search",
  "SortAsc" : true,
  "GUIDs" : [ "GUIDs", "GUIDs" ],
  "IncludeLogs" : true,
  "ID" : 1,
  "LinkedSupplierID" : 7,
  "Status" : [ "Status", "Status" ],
  "CategoryID" : 7,
  "WebsiteID" : 7,
  "IsHidden" : true,
  "GroupBy" : "GroupBy",
  "BrandIDs" : [ 2, 2 ],
  "LastRowNumber" : 1,
  "MaxResults" : 1,
  "DatTypeID" : 6,
  "EndDate" : "2000-01-23T04:56:07.000+00:00",
  "SyncStatusFilter" : "SyncStatusFilter",
  "SyncLogCodeFilter" : 0,
  "Statuses" : [ 1, 1 ],
  "StatusStrings" : [ "StatusStrings", "StatusStrings" ],
  "IsGetBasicInfo" : true,
  "BatchStatus" : "BatchStatus",
  "DatePeriod" : "DatePeriod",
  "IDs" : [ 4, 4 ],
  "IsSystem" : true,
  "SearchNameOnly" : true,
  "IsApprovedForService" : true,
  "TransactionTypeDatTypeID" : 2
}' \
 -d 'Custom MIME type example not yet supported: text/json' \
 -d '<SynkSummaryFilter>
  <SyncStatusFilter>aeiou</SyncStatusFilter>
  <SyncLogCodeFilter>123</SyncLogCodeFilter>
  <DatTypeID>123</DatTypeID>
  <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>
</SynkSummaryFilter>' \
 -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();
        SynkSummaryFilter synkSummaryFilter = {"SyncStatusFilter":"string","SyncLogCodeFilter":0,"DatTypeID":0,"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}; // SynkSummaryFilter | 

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

final api_instance = DefaultApi();

final SynkSummaryFilter synkSummaryFilter = new SynkSummaryFilter(); // SynkSummaryFilter | 

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

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        SynkSummaryFilter synkSummaryFilter = {"SyncStatusFilter":"string","SyncLogCodeFilter":0,"DatTypeID":0,"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}; // SynkSummaryFilter | 

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


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
SynkSummaryFilter *synkSummaryFilter = {"SyncStatusFilter":"string","SyncLogCodeFilter":0,"DatTypeID":0,"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)

// Synk_GetSyncLogSummary
[apiInstance synkGetSyncLogSummaryWith:synkSummaryFilter
              completionHandler: ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiSynk = require('as_server_api_synk');

// Create an instance of the API class
var api = new AsServerApiSynk.DefaultApi()
var opts = {
  'synkSummaryFilter': {"SyncStatusFilter":"string","SyncLogCodeFilter":0,"DatTypeID":0,"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} // {SynkSummaryFilter} 
};

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

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

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

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

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$synkSummaryFilter = {"SyncStatusFilter":"string","SyncLogCodeFilter":0,"DatTypeID":0,"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}; // SynkSummaryFilter | 

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

eval {
    my $result = $api_instance->synkGetSyncLogSummary(synkSummaryFilter => $synkSummaryFilter);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->synkGetSyncLogSummary: $@\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()
synkSummaryFilter = {"SyncStatusFilter":"string","SyncLogCodeFilter":0,"DatTypeID":0,"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} # SynkSummaryFilter |  (optional)

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

pub fn main() {
    let synkSummaryFilter = {"SyncStatusFilter":"string","SyncLogCodeFilter":0,"DatTypeID":0,"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}; // SynkSummaryFilter

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

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

Scopes

Parameters

Body parameters
Name Description
synkSummaryFilter

Responses


synkGetSyncLogs

Synk_GetSyncLogs


/Synk/synclogs/{id}

Usage and SDK Samples

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

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

final api_instance = DefaultApi();

final Integer id = new Integer(); // Integer | 
final Integer datType = new Integer(); // Integer | 

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

import org.openapitools.client.api.DefaultApi;

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

        try {
            array[SyncLogT] result = apiInstance.synkGetSyncLogs(id, datType);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#synkGetSyncLogs");
            e.printStackTrace();
        }
    }
}


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

// Synk_GetSyncLogs
[apiInstance synkGetSyncLogsWith:id
    datType:datType
              completionHandler: ^(array[SyncLogT] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiSynk = require('as_server_api_synk');

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

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

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

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

            try {
                // Synk_GetSyncLogs
                array[SyncLogT] result = apiInstance.synkGetSyncLogs(id, datType);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.synkGetSyncLogs: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

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

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = 56; # Integer | 
my $datType = 56; # Integer | 

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

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = 56 # Integer |  (default to null)
datType = 56 # Integer |  (default to null)

try:
    # Synk_GetSyncLogs
    api_response = api_instance.synk_get_sync_logs(id, datType)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->synkGetSyncLogs: %s\n" % e)
extern crate DefaultApi;

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

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

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

Scopes

Parameters

Path parameters
Name Description
id*
Integer (int32)
Required
Query parameters
Name Description
datType*
Integer (int32)
Required

Responses


synkIsAuthorized

Synk_IsAuthorized


/Synk/IsAuthorized

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/Synk/IsAuthorized" \
 -d '{
  "CallbackUrl" : "CallbackUrl",
  "WebsiteID" : 5,
  "TenantID" : 1,
  "AuthorizeReturnUri" : "AuthorizeReturnUri",
  "UserID" : 5,
  "AdaptorAuthID" : 0,
  "AdaptorID" : 6,
  "AdaptorName" : "AdaptorName"
}' \
 -d 'Custom MIME type example not yet supported: text/json' \
 -d '<OAuthAuthorizeRequest>
  <AuthorizeReturnUri>aeiou</AuthorizeReturnUri>
  <AdaptorAuthID>123</AdaptorAuthID>
  <AdaptorID>123</AdaptorID>
  <AdaptorName>aeiou</AdaptorName>
  <CallbackUrl>aeiou</CallbackUrl>
  <TenantID>123</TenantID>
  <WebsiteID>123</WebsiteID>
  <UserID>123</UserID>
</OAuthAuthorizeRequest>' \
 -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();
        OAuthAuthorizeRequest oAuthAuthorizeRequest = {"AuthorizeReturnUri":"string","AdaptorAuthID":0,"AdaptorID":0,"AdaptorName":"string","CallbackUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0}; // OAuthAuthorizeRequest | 

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

final api_instance = DefaultApi();

final OAuthAuthorizeRequest oAuthAuthorizeRequest = new OAuthAuthorizeRequest(); // OAuthAuthorizeRequest | 

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

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        OAuthAuthorizeRequest oAuthAuthorizeRequest = {"AuthorizeReturnUri":"string","AdaptorAuthID":0,"AdaptorID":0,"AdaptorName":"string","CallbackUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0}; // OAuthAuthorizeRequest | 

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


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
OAuthAuthorizeRequest *oAuthAuthorizeRequest = {"AuthorizeReturnUri":"string","AdaptorAuthID":0,"AdaptorID":0,"AdaptorName":"string","CallbackUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0}; //  (optional)

// Synk_IsAuthorized
[apiInstance synkIsAuthorizedWith:oAuthAuthorizeRequest
              completionHandler: ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiSynk = require('as_server_api_synk');

// Create an instance of the API class
var api = new AsServerApiSynk.DefaultApi()
var opts = {
  'oAuthAuthorizeRequest': {"AuthorizeReturnUri":"string","AdaptorAuthID":0,"AdaptorID":0,"AdaptorName":"string","CallbackUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0} // {OAuthAuthorizeRequest} 
};

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

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

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

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

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$oAuthAuthorizeRequest = {"AuthorizeReturnUri":"string","AdaptorAuthID":0,"AdaptorID":0,"AdaptorName":"string","CallbackUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0}; // OAuthAuthorizeRequest | 

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

eval {
    my $result = $api_instance->synkIsAuthorized(oAuthAuthorizeRequest => $oAuthAuthorizeRequest);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->synkIsAuthorized: $@\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()
oAuthAuthorizeRequest = {"AuthorizeReturnUri":"string","AdaptorAuthID":0,"AdaptorID":0,"AdaptorName":"string","CallbackUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0} # OAuthAuthorizeRequest |  (optional)

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

pub fn main() {
    let oAuthAuthorizeRequest = {"AuthorizeReturnUri":"string","AdaptorAuthID":0,"AdaptorID":0,"AdaptorName":"string","CallbackUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0}; // OAuthAuthorizeRequest

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

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

Scopes

Parameters

Body parameters
Name Description
oAuthAuthorizeRequest

Responses


synkMerge

Synk_Merge


/Synk/Merge

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/Synk/Merge" \
 -d '{
  "DatTypeID" : 0,
  "MasterID" : 6,
  "MergeItems" : [ {
    "MergeIndex" : 5,
    "ID" : 1,
    "IsMergeDetails" : true
  }, {
    "MergeIndex" : 5,
    "ID" : 1,
    "IsMergeDetails" : true
  } ]
}' \
 -d 'Custom MIME type example not yet supported: text/json' \
 -d '<SynkMergeRequest>
  <DatTypeID>123</DatTypeID>
  <MasterID>123</MasterID>
  <null>
    <ID>123</ID>
    <MergeIndex>123</MergeIndex>
    <IsMergeDetails>true</IsMergeDetails>
  </null>
</SynkMergeRequest>' \
 -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();
        SynkMergeRequest synkMergeRequest = {"DatTypeID":0,"MasterID":0,"MergeItems":[{"ID":0,"MergeIndex":0,"IsMergeDetails":true}]}; // SynkMergeRequest | 

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

final api_instance = DefaultApi();

final SynkMergeRequest synkMergeRequest = new SynkMergeRequest(); // SynkMergeRequest | 

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

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        SynkMergeRequest synkMergeRequest = {"DatTypeID":0,"MasterID":0,"MergeItems":[{"ID":0,"MergeIndex":0,"IsMergeDetails":true}]}; // SynkMergeRequest | 

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


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
SynkMergeRequest *synkMergeRequest = {"DatTypeID":0,"MasterID":0,"MergeItems":[{"ID":0,"MergeIndex":0,"IsMergeDetails":true}]}; //  (optional)

// Synk_Merge
[apiInstance synkMergeWith:synkMergeRequest
              completionHandler: ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiSynk = require('as_server_api_synk');

// Create an instance of the API class
var api = new AsServerApiSynk.DefaultApi()
var opts = {
  'synkMergeRequest': {"DatTypeID":0,"MasterID":0,"MergeItems":[{"ID":0,"MergeIndex":0,"IsMergeDetails":true}]} // {SynkMergeRequest} 
};

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

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

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

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

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$synkMergeRequest = {"DatTypeID":0,"MasterID":0,"MergeItems":[{"ID":0,"MergeIndex":0,"IsMergeDetails":true}]}; // SynkMergeRequest | 

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

eval {
    my $result = $api_instance->synkMerge(synkMergeRequest => $synkMergeRequest);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->synkMerge: $@\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()
synkMergeRequest = {"DatTypeID":0,"MasterID":0,"MergeItems":[{"ID":0,"MergeIndex":0,"IsMergeDetails":true}]} # SynkMergeRequest |  (optional)

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

pub fn main() {
    let synkMergeRequest = {"DatTypeID":0,"MasterID":0,"MergeItems":[{"ID":0,"MergeIndex":0,"IsMergeDetails":true}]}; // SynkMergeRequest

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

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

Scopes

Parameters

Body parameters
Name Description
synkMergeRequest

Responses


synkPostOnAuthorised

Synk_PostOnAuthorised


/Synk/onauthorised

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/Synk/onauthorised" \
 -d '{
  "CallbackUrl" : "CallbackUrl",
  "WebsiteID" : 5,
  "TenantID" : 1,
  "UserID" : 5,
  "AdaptorAuthID" : 0,
  "AdaptorID" : 6,
  "AdaptorName" : "AdaptorName",
  "OrganisationDetail" : {
    "LoginUserId" : "LoginUserId",
    "OrganisationId" : "OrganisationId",
    "OrganisationName" : "OrganisationName",
    "LoginPassword" : "LoginPassword"
  }
}' \
 -d 'Custom MIME type example not yet supported: text/json' \
 -d '<OAuthOnAuthorizedSetRequest>
  <null>
    <OrganisationId>aeiou</OrganisationId>
    <OrganisationName>aeiou</OrganisationName>
    <LoginUserId>aeiou</LoginUserId>
    <LoginPassword>aeiou</LoginPassword>
  </null>
  <AdaptorAuthID>123</AdaptorAuthID>
  <AdaptorID>123</AdaptorID>
  <AdaptorName>aeiou</AdaptorName>
  <CallbackUrl>aeiou</CallbackUrl>
  <TenantID>123</TenantID>
  <WebsiteID>123</WebsiteID>
  <UserID>123</UserID>
</OAuthOnAuthorizedSetRequest>' \
 -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();
        OAuthOnAuthorizedSetRequest oAuthOnAuthorizedSetRequest = {"OrganisationDetail":{"OrganisationId":"string","OrganisationName":"string","LoginUserId":"string","LoginPassword":"string"},"AdaptorAuthID":0,"AdaptorID":0,"AdaptorName":"string","CallbackUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0}; // OAuthOnAuthorizedSetRequest | 

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

final api_instance = DefaultApi();

final OAuthOnAuthorizedSetRequest oAuthOnAuthorizedSetRequest = new OAuthOnAuthorizedSetRequest(); // OAuthOnAuthorizedSetRequest | 

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

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        OAuthOnAuthorizedSetRequest oAuthOnAuthorizedSetRequest = {"OrganisationDetail":{"OrganisationId":"string","OrganisationName":"string","LoginUserId":"string","LoginPassword":"string"},"AdaptorAuthID":0,"AdaptorID":0,"AdaptorName":"string","CallbackUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0}; // OAuthOnAuthorizedSetRequest | 

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


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
OAuthOnAuthorizedSetRequest *oAuthOnAuthorizedSetRequest = {"OrganisationDetail":{"OrganisationId":"string","OrganisationName":"string","LoginUserId":"string","LoginPassword":"string"},"AdaptorAuthID":0,"AdaptorID":0,"AdaptorName":"string","CallbackUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0}; //  (optional)

// Synk_PostOnAuthorised
[apiInstance synkPostOnAuthorisedWith:oAuthOnAuthorizedSetRequest
              completionHandler: ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiSynk = require('as_server_api_synk');

// Create an instance of the API class
var api = new AsServerApiSynk.DefaultApi()
var opts = {
  'oAuthOnAuthorizedSetRequest': {"OrganisationDetail":{"OrganisationId":"string","OrganisationName":"string","LoginUserId":"string","LoginPassword":"string"},"AdaptorAuthID":0,"AdaptorID":0,"AdaptorName":"string","CallbackUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0} // {OAuthOnAuthorizedSetRequest} 
};

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

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

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

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

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$oAuthOnAuthorizedSetRequest = {"OrganisationDetail":{"OrganisationId":"string","OrganisationName":"string","LoginUserId":"string","LoginPassword":"string"},"AdaptorAuthID":0,"AdaptorID":0,"AdaptorName":"string","CallbackUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0}; // OAuthOnAuthorizedSetRequest | 

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

eval {
    my $result = $api_instance->synkPostOnAuthorised(oAuthOnAuthorizedSetRequest => $oAuthOnAuthorizedSetRequest);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->synkPostOnAuthorised: $@\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()
oAuthOnAuthorizedSetRequest = {"OrganisationDetail":{"OrganisationId":"string","OrganisationName":"string","LoginUserId":"string","LoginPassword":"string"},"AdaptorAuthID":0,"AdaptorID":0,"AdaptorName":"string","CallbackUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0} # OAuthOnAuthorizedSetRequest |  (optional)

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

pub fn main() {
    let oAuthOnAuthorizedSetRequest = {"OrganisationDetail":{"OrganisationId":"string","OrganisationName":"string","LoginUserId":"string","LoginPassword":"string"},"AdaptorAuthID":0,"AdaptorID":0,"AdaptorName":"string","CallbackUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0}; // OAuthOnAuthorizedSetRequest

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

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

Scopes

Parameters

Body parameters
Name Description
oAuthOnAuthorizedSetRequest

Responses


synkPreview

Synk_Preview


/Synk/Preview

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/Synk/Preview" \
 -d '{
  "Action" : "Action",
  "IsRunNow" : true,
  "AdaptorID" : 6,
  "DateRangeEnd" : "2000-01-23T04:56:07.000+00:00",
  "IsImportUnPaidInvoicesOnly" : true,
  "POSTerminalShiftID" : 3,
  "MaxWaitSecs" : 6,
  "DateRangeStart" : "2000-01-23T04:56:07.000+00:00",
  "TenantID" : 3,
  "IsImportForADateRange" : true,
  "UserID" : 0,
  "IsAnalyse" : true,
  "TranslatorID" : 1,
  "ID" : 0,
  "WebsiteID" : 7,
  "IsMakeActionActiveIfNot" : true,
  "ScheduledTaskID" : 2,
  "DatTypeID" : 1,
  "IDList" : [ 6, 6 ],
  "EmailAddress" : "EmailAddress",
  "RefDatTypeID" : 6,
  "CustomerIDs" : [ 5, 5 ],
  "DomainUrl" : "DomainUrl",
  "IsSaveToAutoQueue" : true,
  "Filter" : {
    "ParentID" : 1,
    "Types" : [ "Types", "Types" ],
    "IsApprovedForPOS" : true,
    "IsApprovedForWeb" : true,
    "AdaptorID" : 7,
    "IsShowPublishedOnly" : true,
    "SortField" : "SortField",
    "IncludeAdaptorID" : 2,
    "IsExactMatch" : true,
    "GetCountOnly" : true,
    "SearchString" : "SearchString",
    "IncludeDeleted" : true,
    "IncludeSystemTasks" : true,
    "StartDate" : "2000-01-23T04:56:07.000+00:00",
    "IsEarlyClaimShortPaymentOnly" : true,
    "CreatedByUserId" : 9,
    "TenantID" : 9,
    "IsHierarchicalSort" : true,
    "Search" : "Search",
    "CreatedWith" : "CreatedWith",
    "GUIDs" : [ "GUIDs", "GUIDs" ],
    "IncludeLogs" : true,
    "ID" : 9,
    "IncludePayments" : true,
    "Status" : [ "Status", "Status" ],
    "CategoryID" : 6,
    "WebsiteID" : 6,
    "GroupBy" : "GroupBy",
    "BrandIDs" : [ 4, 4 ],
    "LastRowNumber" : 6,
    "MaxResults" : 8,
    "IsShowChildVariants" : true,
    "SyncLogCodeType" : 5,
    "IDList" : [ 2, 2 ],
    "SyncStatusFilter" : "SyncStatusFilter",
    "IsShowAccountCustomersOnly" : true,
    "CustomerIDs" : [ 4, 4 ],
    "Statuses" : [ 7, 7 ],
    "IsGetBasicInfo" : true,
    "BatchStatus" : "BatchStatus",
    "ExcludeAdaptorID" : 7,
    "DatePeriod" : "DatePeriod",
    "IDs" : [ 5, 5 ],
    "IsSystem" : true,
    "SearchNameOnly" : true,
    "IsApprovedForService" : true,
    "DefaultSupplierID" : 5,
    "CategoryIDs" : [ 1, 1 ],
    "IsShowLinkedOnly" : true,
    "IgnoreID" : 1,
    "IsShowFavourites" : true,
    "UserID" : 3,
    "SortAsc" : true,
    "IsShowActiveOnly" : true,
    "LinkedSupplierID" : 9,
    "IsHidden" : true,
    "ClassID" : 3,
    "IsShowPostingInventoryOnly" : true,
    "EndDate" : "2000-01-23T04:56:07.000+00:00",
    "SyncLogCode" : "SyncLogCode",
    "StatusStrings" : [ "StatusStrings", "StatusStrings" ],
    "TransactionTypeDatTypeID" : 1
  },
  "IsQueue" : true,
  "LastExecDateTimeOverride_utc" : "2000-01-23T04:56:07.000+00:00",
  "IsSyncDependencies" : true,
  "IsUserInitiated" : true,
  "ClassIDs" : [ 6, 6 ]
}' \
 -d 'Custom MIME type example not yet supported: text/json' \
 -d '<AdaptorActionRequest>
  <ID>123</ID>
  <AdaptorID>123</AdaptorID>
  <Action>aeiou</Action>
  <DatTypeID>123</DatTypeID>
  <null>
    <SyncStatusFilter>aeiou</SyncStatusFilter>
    <IsShowActiveOnly>true</IsShowActiveOnly>
    <IsShowLinkedOnly>true</IsShowLinkedOnly>
    <IsShowChildVariants>true</IsShowChildVariants>
    <IsShowPublishedOnly>true</IsShowPublishedOnly>
    <IncludePayments>true</IncludePayments>
    <SyncLogCode>aeiou</SyncLogCode>
    <DefaultSupplierID>123</DefaultSupplierID>
    <SyncLogCodeType>123</SyncLogCodeType>
    <IncludeAdaptorID>123</IncludeAdaptorID>
    <ExcludeAdaptorID>123</ExcludeAdaptorID>
    <CreatedWith>aeiou</CreatedWith>
    <CreatedByUserId>123</CreatedByUserId>
    <ClassID>123</ClassID>
    <IsShowAccountCustomersOnly>true</IsShowAccountCustomersOnly>
    <IsShowPostingInventoryOnly>true</IsShowPostingInventoryOnly>
    <IDList>123</IDList>
    <CustomerIDs>123</CustomerIDs>
    <IsEarlyClaimShortPaymentOnly>true</IsEarlyClaimShortPaymentOnly>
    <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>
  </null>
  <IsSyncDependencies>true</IsSyncDependencies>
  <RefDatTypeID>123</RefDatTypeID>
  <IsQueue>true</IsQueue>
  <IsSaveToAutoQueue>true</IsSaveToAutoQueue>
  <IsAnalyse>true</IsAnalyse>
  <IsMakeActionActiveIfNot>true</IsMakeActionActiveIfNot>
  <TranslatorID>123</TranslatorID>
  <LastExecDateTimeOverride_utc>2000-01-23T04:56:07.000Z</LastExecDateTimeOverride_utc>
  <IsImportForADateRange>true</IsImportForADateRange>
  <DateRangeStart>2000-01-23T04:56:07.000Z</DateRangeStart>
  <DateRangeEnd>2000-01-23T04:56:07.000Z</DateRangeEnd>
  <ScheduledTaskID>123</ScheduledTaskID>
  <MaxWaitSecs>123</MaxWaitSecs>
  <IDList>123</IDList>
  <IsRunNow>true</IsRunNow>
  <CustomerIDs>123</CustomerIDs>
  <ClassIDs>123</ClassIDs>
  <IsUserInitiated>true</IsUserInitiated>
  <POSTerminalShiftID>123</POSTerminalShiftID>
  <IsImportUnPaidInvoicesOnly>true</IsImportUnPaidInvoicesOnly>
  <EmailAddress>aeiou</EmailAddress>
  <DomainUrl>aeiou</DomainUrl>
  <TenantID>123</TenantID>
  <WebsiteID>123</WebsiteID>
  <UserID>123</UserID>
</AdaptorActionRequest>' \
 -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();
        AdaptorActionRequest adaptorActionRequest = {"ID":0,"AdaptorID":0,"Action":"string","DatTypeID":0,"Filter":{"SyncStatusFilter":"string","IsShowActiveOnly":true,"IsShowLinkedOnly":true,"IsShowChildVariants":true,"IsShowPublishedOnly":true,"IncludePayments":true,"SyncLogCode":"string","DefaultSupplierID":0,"SyncLogCodeType":0,"IncludeAdaptorID":0,"ExcludeAdaptorID":0,"CreatedWith":"string","CreatedByUserId":0,"ClassID":0,"IsShowAccountCustomersOnly":true,"IsShowPostingInventoryOnly":true,"IDList":[0],"CustomerIDs":[0],"IsEarlyClaimShortPaymentOnly":true,"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},"IsSyncDependencies":true,"RefDatTypeID":0,"IsQueue":true,"IsSaveToAutoQueue":true,"IsAnalyse":true,"IsMakeActionActiveIfNot":true,"TranslatorID":0,"LastExecDateTimeOverride_utc":"string","IsImportForADateRange":true,"DateRangeStart":"string","DateRangeEnd":"string","ScheduledTaskID":0,"MaxWaitSecs":0,"IDList":[0],"IsRunNow":true,"CustomerIDs":[0],"ClassIDs":[0],"IsUserInitiated":true,"POSTerminalShiftID":0,"IsImportUnPaidInvoicesOnly":true,"EmailAddress":"string","DomainUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0}; // AdaptorActionRequest | 

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

final api_instance = DefaultApi();

final AdaptorActionRequest adaptorActionRequest = new AdaptorActionRequest(); // AdaptorActionRequest | 

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

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        AdaptorActionRequest adaptorActionRequest = {"ID":0,"AdaptorID":0,"Action":"string","DatTypeID":0,"Filter":{"SyncStatusFilter":"string","IsShowActiveOnly":true,"IsShowLinkedOnly":true,"IsShowChildVariants":true,"IsShowPublishedOnly":true,"IncludePayments":true,"SyncLogCode":"string","DefaultSupplierID":0,"SyncLogCodeType":0,"IncludeAdaptorID":0,"ExcludeAdaptorID":0,"CreatedWith":"string","CreatedByUserId":0,"ClassID":0,"IsShowAccountCustomersOnly":true,"IsShowPostingInventoryOnly":true,"IDList":[0],"CustomerIDs":[0],"IsEarlyClaimShortPaymentOnly":true,"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},"IsSyncDependencies":true,"RefDatTypeID":0,"IsQueue":true,"IsSaveToAutoQueue":true,"IsAnalyse":true,"IsMakeActionActiveIfNot":true,"TranslatorID":0,"LastExecDateTimeOverride_utc":"string","IsImportForADateRange":true,"DateRangeStart":"string","DateRangeEnd":"string","ScheduledTaskID":0,"MaxWaitSecs":0,"IDList":[0],"IsRunNow":true,"CustomerIDs":[0],"ClassIDs":[0],"IsUserInitiated":true,"POSTerminalShiftID":0,"IsImportUnPaidInvoicesOnly":true,"EmailAddress":"string","DomainUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0}; // AdaptorActionRequest | 

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


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
AdaptorActionRequest *adaptorActionRequest = {"ID":0,"AdaptorID":0,"Action":"string","DatTypeID":0,"Filter":{"SyncStatusFilter":"string","IsShowActiveOnly":true,"IsShowLinkedOnly":true,"IsShowChildVariants":true,"IsShowPublishedOnly":true,"IncludePayments":true,"SyncLogCode":"string","DefaultSupplierID":0,"SyncLogCodeType":0,"IncludeAdaptorID":0,"ExcludeAdaptorID":0,"CreatedWith":"string","CreatedByUserId":0,"ClassID":0,"IsShowAccountCustomersOnly":true,"IsShowPostingInventoryOnly":true,"IDList":[0],"CustomerIDs":[0],"IsEarlyClaimShortPaymentOnly":true,"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},"IsSyncDependencies":true,"RefDatTypeID":0,"IsQueue":true,"IsSaveToAutoQueue":true,"IsAnalyse":true,"IsMakeActionActiveIfNot":true,"TranslatorID":0,"LastExecDateTimeOverride_utc":"string","IsImportForADateRange":true,"DateRangeStart":"string","DateRangeEnd":"string","ScheduledTaskID":0,"MaxWaitSecs":0,"IDList":[0],"IsRunNow":true,"CustomerIDs":[0],"ClassIDs":[0],"IsUserInitiated":true,"POSTerminalShiftID":0,"IsImportUnPaidInvoicesOnly":true,"EmailAddress":"string","DomainUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0}; //  (optional)

// Synk_Preview
[apiInstance synkPreviewWith:adaptorActionRequest
              completionHandler: ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiSynk = require('as_server_api_synk');

// Create an instance of the API class
var api = new AsServerApiSynk.DefaultApi()
var opts = {
  'adaptorActionRequest': {"ID":0,"AdaptorID":0,"Action":"string","DatTypeID":0,"Filter":{"SyncStatusFilter":"string","IsShowActiveOnly":true,"IsShowLinkedOnly":true,"IsShowChildVariants":true,"IsShowPublishedOnly":true,"IncludePayments":true,"SyncLogCode":"string","DefaultSupplierID":0,"SyncLogCodeType":0,"IncludeAdaptorID":0,"ExcludeAdaptorID":0,"CreatedWith":"string","CreatedByUserId":0,"ClassID":0,"IsShowAccountCustomersOnly":true,"IsShowPostingInventoryOnly":true,"IDList":[0],"CustomerIDs":[0],"IsEarlyClaimShortPaymentOnly":true,"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},"IsSyncDependencies":true,"RefDatTypeID":0,"IsQueue":true,"IsSaveToAutoQueue":true,"IsAnalyse":true,"IsMakeActionActiveIfNot":true,"TranslatorID":0,"LastExecDateTimeOverride_utc":"string","IsImportForADateRange":true,"DateRangeStart":"string","DateRangeEnd":"string","ScheduledTaskID":0,"MaxWaitSecs":0,"IDList":[0],"IsRunNow":true,"CustomerIDs":[0],"ClassIDs":[0],"IsUserInitiated":true,"POSTerminalShiftID":0,"IsImportUnPaidInvoicesOnly":true,"EmailAddress":"string","DomainUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0} // {AdaptorActionRequest} 
};

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

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

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

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

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$adaptorActionRequest = {"ID":0,"AdaptorID":0,"Action":"string","DatTypeID":0,"Filter":{"SyncStatusFilter":"string","IsShowActiveOnly":true,"IsShowLinkedOnly":true,"IsShowChildVariants":true,"IsShowPublishedOnly":true,"IncludePayments":true,"SyncLogCode":"string","DefaultSupplierID":0,"SyncLogCodeType":0,"IncludeAdaptorID":0,"ExcludeAdaptorID":0,"CreatedWith":"string","CreatedByUserId":0,"ClassID":0,"IsShowAccountCustomersOnly":true,"IsShowPostingInventoryOnly":true,"IDList":[0],"CustomerIDs":[0],"IsEarlyClaimShortPaymentOnly":true,"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},"IsSyncDependencies":true,"RefDatTypeID":0,"IsQueue":true,"IsSaveToAutoQueue":true,"IsAnalyse":true,"IsMakeActionActiveIfNot":true,"TranslatorID":0,"LastExecDateTimeOverride_utc":"string","IsImportForADateRange":true,"DateRangeStart":"string","DateRangeEnd":"string","ScheduledTaskID":0,"MaxWaitSecs":0,"IDList":[0],"IsRunNow":true,"CustomerIDs":[0],"ClassIDs":[0],"IsUserInitiated":true,"POSTerminalShiftID":0,"IsImportUnPaidInvoicesOnly":true,"EmailAddress":"string","DomainUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0}; // AdaptorActionRequest | 

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

eval {
    my $result = $api_instance->synkPreview(adaptorActionRequest => $adaptorActionRequest);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->synkPreview: $@\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()
adaptorActionRequest = {"ID":0,"AdaptorID":0,"Action":"string","DatTypeID":0,"Filter":{"SyncStatusFilter":"string","IsShowActiveOnly":true,"IsShowLinkedOnly":true,"IsShowChildVariants":true,"IsShowPublishedOnly":true,"IncludePayments":true,"SyncLogCode":"string","DefaultSupplierID":0,"SyncLogCodeType":0,"IncludeAdaptorID":0,"ExcludeAdaptorID":0,"CreatedWith":"string","CreatedByUserId":0,"ClassID":0,"IsShowAccountCustomersOnly":true,"IsShowPostingInventoryOnly":true,"IDList":[0],"CustomerIDs":[0],"IsEarlyClaimShortPaymentOnly":true,"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},"IsSyncDependencies":true,"RefDatTypeID":0,"IsQueue":true,"IsSaveToAutoQueue":true,"IsAnalyse":true,"IsMakeActionActiveIfNot":true,"TranslatorID":0,"LastExecDateTimeOverride_utc":"string","IsImportForADateRange":true,"DateRangeStart":"string","DateRangeEnd":"string","ScheduledTaskID":0,"MaxWaitSecs":0,"IDList":[0],"IsRunNow":true,"CustomerIDs":[0],"ClassIDs":[0],"IsUserInitiated":true,"POSTerminalShiftID":0,"IsImportUnPaidInvoicesOnly":true,"EmailAddress":"string","DomainUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0} # AdaptorActionRequest |  (optional)

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

pub fn main() {
    let adaptorActionRequest = {"ID":0,"AdaptorID":0,"Action":"string","DatTypeID":0,"Filter":{"SyncStatusFilter":"string","IsShowActiveOnly":true,"IsShowLinkedOnly":true,"IsShowChildVariants":true,"IsShowPublishedOnly":true,"IncludePayments":true,"SyncLogCode":"string","DefaultSupplierID":0,"SyncLogCodeType":0,"IncludeAdaptorID":0,"ExcludeAdaptorID":0,"CreatedWith":"string","CreatedByUserId":0,"ClassID":0,"IsShowAccountCustomersOnly":true,"IsShowPostingInventoryOnly":true,"IDList":[0],"CustomerIDs":[0],"IsEarlyClaimShortPaymentOnly":true,"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},"IsSyncDependencies":true,"RefDatTypeID":0,"IsQueue":true,"IsSaveToAutoQueue":true,"IsAnalyse":true,"IsMakeActionActiveIfNot":true,"TranslatorID":0,"LastExecDateTimeOverride_utc":"string","IsImportForADateRange":true,"DateRangeStart":"string","DateRangeEnd":"string","ScheduledTaskID":0,"MaxWaitSecs":0,"IDList":[0],"IsRunNow":true,"CustomerIDs":[0],"ClassIDs":[0],"IsUserInitiated":true,"POSTerminalShiftID":0,"IsImportUnPaidInvoicesOnly":true,"EmailAddress":"string","DomainUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0}; // AdaptorActionRequest

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

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

Scopes

Parameters

Body parameters
Name Description
adaptorActionRequest

Responses


synkQueue

Synk_Queue


/Synk/Queue

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/Synk/Queue" \
 -d '{
  "Action" : "Action",
  "IsRunNow" : true,
  "AdaptorID" : 6,
  "DateRangeEnd" : "2000-01-23T04:56:07.000+00:00",
  "IsImportUnPaidInvoicesOnly" : true,
  "POSTerminalShiftID" : 3,
  "MaxWaitSecs" : 6,
  "DateRangeStart" : "2000-01-23T04:56:07.000+00:00",
  "TenantID" : 3,
  "IsImportForADateRange" : true,
  "UserID" : 0,
  "IsAnalyse" : true,
  "TranslatorID" : 1,
  "ID" : 0,
  "WebsiteID" : 7,
  "IsMakeActionActiveIfNot" : true,
  "ScheduledTaskID" : 2,
  "DatTypeID" : 1,
  "IDList" : [ 6, 6 ],
  "EmailAddress" : "EmailAddress",
  "RefDatTypeID" : 6,
  "CustomerIDs" : [ 5, 5 ],
  "DomainUrl" : "DomainUrl",
  "IsSaveToAutoQueue" : true,
  "Filter" : {
    "ParentID" : 1,
    "Types" : [ "Types", "Types" ],
    "IsApprovedForPOS" : true,
    "IsApprovedForWeb" : true,
    "AdaptorID" : 7,
    "IsShowPublishedOnly" : true,
    "SortField" : "SortField",
    "IncludeAdaptorID" : 2,
    "IsExactMatch" : true,
    "GetCountOnly" : true,
    "SearchString" : "SearchString",
    "IncludeDeleted" : true,
    "IncludeSystemTasks" : true,
    "StartDate" : "2000-01-23T04:56:07.000+00:00",
    "IsEarlyClaimShortPaymentOnly" : true,
    "CreatedByUserId" : 9,
    "TenantID" : 9,
    "IsHierarchicalSort" : true,
    "Search" : "Search",
    "CreatedWith" : "CreatedWith",
    "GUIDs" : [ "GUIDs", "GUIDs" ],
    "IncludeLogs" : true,
    "ID" : 9,
    "IncludePayments" : true,
    "Status" : [ "Status", "Status" ],
    "CategoryID" : 6,
    "WebsiteID" : 6,
    "GroupBy" : "GroupBy",
    "BrandIDs" : [ 4, 4 ],
    "LastRowNumber" : 6,
    "MaxResults" : 8,
    "IsShowChildVariants" : true,
    "SyncLogCodeType" : 5,
    "IDList" : [ 2, 2 ],
    "SyncStatusFilter" : "SyncStatusFilter",
    "IsShowAccountCustomersOnly" : true,
    "CustomerIDs" : [ 4, 4 ],
    "Statuses" : [ 7, 7 ],
    "IsGetBasicInfo" : true,
    "BatchStatus" : "BatchStatus",
    "ExcludeAdaptorID" : 7,
    "DatePeriod" : "DatePeriod",
    "IDs" : [ 5, 5 ],
    "IsSystem" : true,
    "SearchNameOnly" : true,
    "IsApprovedForService" : true,
    "DefaultSupplierID" : 5,
    "CategoryIDs" : [ 1, 1 ],
    "IsShowLinkedOnly" : true,
    "IgnoreID" : 1,
    "IsShowFavourites" : true,
    "UserID" : 3,
    "SortAsc" : true,
    "IsShowActiveOnly" : true,
    "LinkedSupplierID" : 9,
    "IsHidden" : true,
    "ClassID" : 3,
    "IsShowPostingInventoryOnly" : true,
    "EndDate" : "2000-01-23T04:56:07.000+00:00",
    "SyncLogCode" : "SyncLogCode",
    "StatusStrings" : [ "StatusStrings", "StatusStrings" ],
    "TransactionTypeDatTypeID" : 1
  },
  "IsQueue" : true,
  "LastExecDateTimeOverride_utc" : "2000-01-23T04:56:07.000+00:00",
  "IsSyncDependencies" : true,
  "IsUserInitiated" : true,
  "ClassIDs" : [ 6, 6 ]
}' \
 -d 'Custom MIME type example not yet supported: text/json' \
 -d '<AdaptorActionRequest>
  <ID>123</ID>
  <AdaptorID>123</AdaptorID>
  <Action>aeiou</Action>
  <DatTypeID>123</DatTypeID>
  <null>
    <SyncStatusFilter>aeiou</SyncStatusFilter>
    <IsShowActiveOnly>true</IsShowActiveOnly>
    <IsShowLinkedOnly>true</IsShowLinkedOnly>
    <IsShowChildVariants>true</IsShowChildVariants>
    <IsShowPublishedOnly>true</IsShowPublishedOnly>
    <IncludePayments>true</IncludePayments>
    <SyncLogCode>aeiou</SyncLogCode>
    <DefaultSupplierID>123</DefaultSupplierID>
    <SyncLogCodeType>123</SyncLogCodeType>
    <IncludeAdaptorID>123</IncludeAdaptorID>
    <ExcludeAdaptorID>123</ExcludeAdaptorID>
    <CreatedWith>aeiou</CreatedWith>
    <CreatedByUserId>123</CreatedByUserId>
    <ClassID>123</ClassID>
    <IsShowAccountCustomersOnly>true</IsShowAccountCustomersOnly>
    <IsShowPostingInventoryOnly>true</IsShowPostingInventoryOnly>
    <IDList>123</IDList>
    <CustomerIDs>123</CustomerIDs>
    <IsEarlyClaimShortPaymentOnly>true</IsEarlyClaimShortPaymentOnly>
    <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>
  </null>
  <IsSyncDependencies>true</IsSyncDependencies>
  <RefDatTypeID>123</RefDatTypeID>
  <IsQueue>true</IsQueue>
  <IsSaveToAutoQueue>true</IsSaveToAutoQueue>
  <IsAnalyse>true</IsAnalyse>
  <IsMakeActionActiveIfNot>true</IsMakeActionActiveIfNot>
  <TranslatorID>123</TranslatorID>
  <LastExecDateTimeOverride_utc>2000-01-23T04:56:07.000Z</LastExecDateTimeOverride_utc>
  <IsImportForADateRange>true</IsImportForADateRange>
  <DateRangeStart>2000-01-23T04:56:07.000Z</DateRangeStart>
  <DateRangeEnd>2000-01-23T04:56:07.000Z</DateRangeEnd>
  <ScheduledTaskID>123</ScheduledTaskID>
  <MaxWaitSecs>123</MaxWaitSecs>
  <IDList>123</IDList>
  <IsRunNow>true</IsRunNow>
  <CustomerIDs>123</CustomerIDs>
  <ClassIDs>123</ClassIDs>
  <IsUserInitiated>true</IsUserInitiated>
  <POSTerminalShiftID>123</POSTerminalShiftID>
  <IsImportUnPaidInvoicesOnly>true</IsImportUnPaidInvoicesOnly>
  <EmailAddress>aeiou</EmailAddress>
  <DomainUrl>aeiou</DomainUrl>
  <TenantID>123</TenantID>
  <WebsiteID>123</WebsiteID>
  <UserID>123</UserID>
</AdaptorActionRequest>' \
 -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();
        AdaptorActionRequest adaptorActionRequest = {"ID":0,"AdaptorID":0,"Action":"string","DatTypeID":0,"Filter":{"SyncStatusFilter":"string","IsShowActiveOnly":true,"IsShowLinkedOnly":true,"IsShowChildVariants":true,"IsShowPublishedOnly":true,"IncludePayments":true,"SyncLogCode":"string","DefaultSupplierID":0,"SyncLogCodeType":0,"IncludeAdaptorID":0,"ExcludeAdaptorID":0,"CreatedWith":"string","CreatedByUserId":0,"ClassID":0,"IsShowAccountCustomersOnly":true,"IsShowPostingInventoryOnly":true,"IDList":[0],"CustomerIDs":[0],"IsEarlyClaimShortPaymentOnly":true,"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},"IsSyncDependencies":true,"RefDatTypeID":0,"IsQueue":true,"IsSaveToAutoQueue":true,"IsAnalyse":true,"IsMakeActionActiveIfNot":true,"TranslatorID":0,"LastExecDateTimeOverride_utc":"string","IsImportForADateRange":true,"DateRangeStart":"string","DateRangeEnd":"string","ScheduledTaskID":0,"MaxWaitSecs":0,"IDList":[0],"IsRunNow":true,"CustomerIDs":[0],"ClassIDs":[0],"IsUserInitiated":true,"POSTerminalShiftID":0,"IsImportUnPaidInvoicesOnly":true,"EmailAddress":"string","DomainUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0}; // AdaptorActionRequest | 

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

final api_instance = DefaultApi();

final AdaptorActionRequest adaptorActionRequest = new AdaptorActionRequest(); // AdaptorActionRequest | 

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

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        AdaptorActionRequest adaptorActionRequest = {"ID":0,"AdaptorID":0,"Action":"string","DatTypeID":0,"Filter":{"SyncStatusFilter":"string","IsShowActiveOnly":true,"IsShowLinkedOnly":true,"IsShowChildVariants":true,"IsShowPublishedOnly":true,"IncludePayments":true,"SyncLogCode":"string","DefaultSupplierID":0,"SyncLogCodeType":0,"IncludeAdaptorID":0,"ExcludeAdaptorID":0,"CreatedWith":"string","CreatedByUserId":0,"ClassID":0,"IsShowAccountCustomersOnly":true,"IsShowPostingInventoryOnly":true,"IDList":[0],"CustomerIDs":[0],"IsEarlyClaimShortPaymentOnly":true,"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},"IsSyncDependencies":true,"RefDatTypeID":0,"IsQueue":true,"IsSaveToAutoQueue":true,"IsAnalyse":true,"IsMakeActionActiveIfNot":true,"TranslatorID":0,"LastExecDateTimeOverride_utc":"string","IsImportForADateRange":true,"DateRangeStart":"string","DateRangeEnd":"string","ScheduledTaskID":0,"MaxWaitSecs":0,"IDList":[0],"IsRunNow":true,"CustomerIDs":[0],"ClassIDs":[0],"IsUserInitiated":true,"POSTerminalShiftID":0,"IsImportUnPaidInvoicesOnly":true,"EmailAddress":"string","DomainUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0}; // AdaptorActionRequest | 

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


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
AdaptorActionRequest *adaptorActionRequest = {"ID":0,"AdaptorID":0,"Action":"string","DatTypeID":0,"Filter":{"SyncStatusFilter":"string","IsShowActiveOnly":true,"IsShowLinkedOnly":true,"IsShowChildVariants":true,"IsShowPublishedOnly":true,"IncludePayments":true,"SyncLogCode":"string","DefaultSupplierID":0,"SyncLogCodeType":0,"IncludeAdaptorID":0,"ExcludeAdaptorID":0,"CreatedWith":"string","CreatedByUserId":0,"ClassID":0,"IsShowAccountCustomersOnly":true,"IsShowPostingInventoryOnly":true,"IDList":[0],"CustomerIDs":[0],"IsEarlyClaimShortPaymentOnly":true,"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},"IsSyncDependencies":true,"RefDatTypeID":0,"IsQueue":true,"IsSaveToAutoQueue":true,"IsAnalyse":true,"IsMakeActionActiveIfNot":true,"TranslatorID":0,"LastExecDateTimeOverride_utc":"string","IsImportForADateRange":true,"DateRangeStart":"string","DateRangeEnd":"string","ScheduledTaskID":0,"MaxWaitSecs":0,"IDList":[0],"IsRunNow":true,"CustomerIDs":[0],"ClassIDs":[0],"IsUserInitiated":true,"POSTerminalShiftID":0,"IsImportUnPaidInvoicesOnly":true,"EmailAddress":"string","DomainUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0}; //  (optional)

// Synk_Queue
[apiInstance synkQueueWith:adaptorActionRequest
              completionHandler: ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiSynk = require('as_server_api_synk');

// Create an instance of the API class
var api = new AsServerApiSynk.DefaultApi()
var opts = {
  'adaptorActionRequest': {"ID":0,"AdaptorID":0,"Action":"string","DatTypeID":0,"Filter":{"SyncStatusFilter":"string","IsShowActiveOnly":true,"IsShowLinkedOnly":true,"IsShowChildVariants":true,"IsShowPublishedOnly":true,"IncludePayments":true,"SyncLogCode":"string","DefaultSupplierID":0,"SyncLogCodeType":0,"IncludeAdaptorID":0,"ExcludeAdaptorID":0,"CreatedWith":"string","CreatedByUserId":0,"ClassID":0,"IsShowAccountCustomersOnly":true,"IsShowPostingInventoryOnly":true,"IDList":[0],"CustomerIDs":[0],"IsEarlyClaimShortPaymentOnly":true,"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},"IsSyncDependencies":true,"RefDatTypeID":0,"IsQueue":true,"IsSaveToAutoQueue":true,"IsAnalyse":true,"IsMakeActionActiveIfNot":true,"TranslatorID":0,"LastExecDateTimeOverride_utc":"string","IsImportForADateRange":true,"DateRangeStart":"string","DateRangeEnd":"string","ScheduledTaskID":0,"MaxWaitSecs":0,"IDList":[0],"IsRunNow":true,"CustomerIDs":[0],"ClassIDs":[0],"IsUserInitiated":true,"POSTerminalShiftID":0,"IsImportUnPaidInvoicesOnly":true,"EmailAddress":"string","DomainUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0} // {AdaptorActionRequest} 
};

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

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

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

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

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$adaptorActionRequest = {"ID":0,"AdaptorID":0,"Action":"string","DatTypeID":0,"Filter":{"SyncStatusFilter":"string","IsShowActiveOnly":true,"IsShowLinkedOnly":true,"IsShowChildVariants":true,"IsShowPublishedOnly":true,"IncludePayments":true,"SyncLogCode":"string","DefaultSupplierID":0,"SyncLogCodeType":0,"IncludeAdaptorID":0,"ExcludeAdaptorID":0,"CreatedWith":"string","CreatedByUserId":0,"ClassID":0,"IsShowAccountCustomersOnly":true,"IsShowPostingInventoryOnly":true,"IDList":[0],"CustomerIDs":[0],"IsEarlyClaimShortPaymentOnly":true,"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},"IsSyncDependencies":true,"RefDatTypeID":0,"IsQueue":true,"IsSaveToAutoQueue":true,"IsAnalyse":true,"IsMakeActionActiveIfNot":true,"TranslatorID":0,"LastExecDateTimeOverride_utc":"string","IsImportForADateRange":true,"DateRangeStart":"string","DateRangeEnd":"string","ScheduledTaskID":0,"MaxWaitSecs":0,"IDList":[0],"IsRunNow":true,"CustomerIDs":[0],"ClassIDs":[0],"IsUserInitiated":true,"POSTerminalShiftID":0,"IsImportUnPaidInvoicesOnly":true,"EmailAddress":"string","DomainUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0}; // AdaptorActionRequest | 

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

eval {
    my $result = $api_instance->synkQueue(adaptorActionRequest => $adaptorActionRequest);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->synkQueue: $@\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()
adaptorActionRequest = {"ID":0,"AdaptorID":0,"Action":"string","DatTypeID":0,"Filter":{"SyncStatusFilter":"string","IsShowActiveOnly":true,"IsShowLinkedOnly":true,"IsShowChildVariants":true,"IsShowPublishedOnly":true,"IncludePayments":true,"SyncLogCode":"string","DefaultSupplierID":0,"SyncLogCodeType":0,"IncludeAdaptorID":0,"ExcludeAdaptorID":0,"CreatedWith":"string","CreatedByUserId":0,"ClassID":0,"IsShowAccountCustomersOnly":true,"IsShowPostingInventoryOnly":true,"IDList":[0],"CustomerIDs":[0],"IsEarlyClaimShortPaymentOnly":true,"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},"IsSyncDependencies":true,"RefDatTypeID":0,"IsQueue":true,"IsSaveToAutoQueue":true,"IsAnalyse":true,"IsMakeActionActiveIfNot":true,"TranslatorID":0,"LastExecDateTimeOverride_utc":"string","IsImportForADateRange":true,"DateRangeStart":"string","DateRangeEnd":"string","ScheduledTaskID":0,"MaxWaitSecs":0,"IDList":[0],"IsRunNow":true,"CustomerIDs":[0],"ClassIDs":[0],"IsUserInitiated":true,"POSTerminalShiftID":0,"IsImportUnPaidInvoicesOnly":true,"EmailAddress":"string","DomainUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0} # AdaptorActionRequest |  (optional)

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

pub fn main() {
    let adaptorActionRequest = {"ID":0,"AdaptorID":0,"Action":"string","DatTypeID":0,"Filter":{"SyncStatusFilter":"string","IsShowActiveOnly":true,"IsShowLinkedOnly":true,"IsShowChildVariants":true,"IsShowPublishedOnly":true,"IncludePayments":true,"SyncLogCode":"string","DefaultSupplierID":0,"SyncLogCodeType":0,"IncludeAdaptorID":0,"ExcludeAdaptorID":0,"CreatedWith":"string","CreatedByUserId":0,"ClassID":0,"IsShowAccountCustomersOnly":true,"IsShowPostingInventoryOnly":true,"IDList":[0],"CustomerIDs":[0],"IsEarlyClaimShortPaymentOnly":true,"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},"IsSyncDependencies":true,"RefDatTypeID":0,"IsQueue":true,"IsSaveToAutoQueue":true,"IsAnalyse":true,"IsMakeActionActiveIfNot":true,"TranslatorID":0,"LastExecDateTimeOverride_utc":"string","IsImportForADateRange":true,"DateRangeStart":"string","DateRangeEnd":"string","ScheduledTaskID":0,"MaxWaitSecs":0,"IDList":[0],"IsRunNow":true,"CustomerIDs":[0],"ClassIDs":[0],"IsUserInitiated":true,"POSTerminalShiftID":0,"IsImportUnPaidInvoicesOnly":true,"EmailAddress":"string","DomainUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0}; // AdaptorActionRequest

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

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

Scopes

Parameters

Body parameters
Name Description
adaptorActionRequest

Responses


synkSave

Synk_Save


/Synk/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/Synk/Save" \
 -d '{
  "WebsiteID" : 1,
  "TenantID" : 6,
  "UserID" : 5,
  "DatTypeID" : 0,
  "Data" : "Data"
}' \
 -d 'Custom MIME type example not yet supported: text/json' \
 -d '<SaveRequest>
  <DatTypeID>123</DatTypeID>
  <Data>aeiou</Data>
  <TenantID>123</TenantID>
  <WebsiteID>123</WebsiteID>
  <UserID>123</UserID>
</SaveRequest>' \
 -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();
        SaveRequest saveRequest = {"DatTypeID":0,"Data":"string","TenantID":0,"WebsiteID":0,"UserID":0}; // SaveRequest | 

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

final api_instance = DefaultApi();

final SaveRequest saveRequest = new SaveRequest(); // SaveRequest | 

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

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        SaveRequest saveRequest = {"DatTypeID":0,"Data":"string","TenantID":0,"WebsiteID":0,"UserID":0}; // SaveRequest | 

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


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
SaveRequest *saveRequest = {"DatTypeID":0,"Data":"string","TenantID":0,"WebsiteID":0,"UserID":0}; //  (optional)

// Synk_Save
[apiInstance synkSaveWith:saveRequest
              completionHandler: ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiSynk = require('as_server_api_synk');

// Create an instance of the API class
var api = new AsServerApiSynk.DefaultApi()
var opts = {
  'saveRequest': {"DatTypeID":0,"Data":"string","TenantID":0,"WebsiteID":0,"UserID":0} // {SaveRequest} 
};

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

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

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

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

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$saveRequest = {"DatTypeID":0,"Data":"string","TenantID":0,"WebsiteID":0,"UserID":0}; // SaveRequest | 

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

eval {
    my $result = $api_instance->synkSave(saveRequest => $saveRequest);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->synkSave: $@\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()
saveRequest = {"DatTypeID":0,"Data":"string","TenantID":0,"WebsiteID":0,"UserID":0} # SaveRequest |  (optional)

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

pub fn main() {
    let saveRequest = {"DatTypeID":0,"Data":"string","TenantID":0,"WebsiteID":0,"UserID":0}; // SaveRequest

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

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

Scopes

Parameters

Body parameters
Name Description
saveRequest

Responses


synkSaveList

Synk_SaveList


/Synk/savelist

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/Synk/savelist" \
 -d '{
  "WebsiteID" : 1,
  "TenantID" : 6,
  "UserID" : 5,
  "DatTypeID" : 0,
  "Data" : "Data"
}' \
 -d 'Custom MIME type example not yet supported: text/json' \
 -d '<null>
  <DatTypeID>123</DatTypeID>
  <Data>aeiou</Data>
  <TenantID>123</TenantID>
  <WebsiteID>123</WebsiteID>
  <UserID>123</UserID>
</null>' \
 -d 'Custom MIME type example not yet supported: text/xml' \
 -d 'Custom MIME type example not yet supported: application/x-www-form-urlencoded'
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

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

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

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        array[SaveRequest] saveRequest = [{"DatTypeID":0,"Data":"string","TenantID":0,"WebsiteID":0,"UserID":0}]; // array[SaveRequest] | 

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

final api_instance = DefaultApi();

final array[SaveRequest] saveRequest = new array[SaveRequest](); // array[SaveRequest] | 

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

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        array[SaveRequest] saveRequest = [{"DatTypeID":0,"Data":"string","TenantID":0,"WebsiteID":0,"UserID":0}]; // array[SaveRequest] | 

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


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
array[SaveRequest] *saveRequest = [{"DatTypeID":0,"Data":"string","TenantID":0,"WebsiteID":0,"UserID":0}]; //  (optional)

// Synk_SaveList
[apiInstance synkSaveListWith:saveRequest
              completionHandler: ^(SynkResults output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiSynk = require('as_server_api_synk');

// Create an instance of the API class
var api = new AsServerApiSynk.DefaultApi()
var opts = {
  'saveRequest': [{"DatTypeID":0,"Data":"string","TenantID":0,"WebsiteID":0,"UserID":0}] // {array[SaveRequest]} 
};

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

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

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

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

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$saveRequest = [{"DatTypeID":0,"Data":"string","TenantID":0,"WebsiteID":0,"UserID":0}]; // array[SaveRequest] | 

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

eval {
    my $result = $api_instance->synkSaveList(saveRequest => $saveRequest);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->synkSaveList: $@\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()
saveRequest = [{"DatTypeID":0,"Data":"string","TenantID":0,"WebsiteID":0,"UserID":0}] # array[SaveRequest] |  (optional)

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

pub fn main() {
    let saveRequest = [{"DatTypeID":0,"Data":"string","TenantID":0,"WebsiteID":0,"UserID":0}]; // array[SaveRequest]

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

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

Scopes

Parameters

Body parameters
Name Description
saveRequest

Responses


synkUpdateIsActive

Synk_UpdateIsActive


/Synk/UpdateIsActive

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/Synk/UpdateIsActive" \
 -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();
        BatchUpdateRequestBoolean batchUpdateRequestBoolean = {"ColumnToUpdate":"string","Value":true,"IsForcedUpdate":true,"IDs":[0],"IsRemoveFromCollection":true,"SetToSyncStatus":"string","SetToIsActive":true,"ID":0,"AdaptorID":0,"Action":"string","DatTypeID":0,"Filter":{"SyncStatusFilter":"string","IsShowActiveOnly":true,"IsShowLinkedOnly":true,"IsShowChildVariants":true,"IsShowPublishedOnly":true,"IncludePayments":true,"SyncLogCode":"string","DefaultSupplierID":0,"SyncLogCodeType":0,"IncludeAdaptorID":0,"ExcludeAdaptorID":0,"CreatedWith":"string","CreatedByUserId":0,"ClassID":0,"IsShowAccountCustomersOnly":true,"IsShowPostingInventoryOnly":true,"IDList":[0],"CustomerIDs":[0],"IsEarlyClaimShortPaymentOnly":true,"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},"IsSyncDependencies":true,"RefDatTypeID":0,"IsQueue":true,"IsSaveToAutoQueue":true,"IsAnalyse":true,"IsMakeActionActiveIfNot":true,"TranslatorID":0,"LastExecDateTimeOverride_utc":"string","IsImportForADateRange":true,"DateRangeStart":"string","DateRangeEnd":"string","ScheduledTaskID":0,"MaxWaitSecs":0,"IDList":[0],"IsRunNow":true,"CustomerIDs":[0],"ClassIDs":[0],"IsUserInitiated":true,"POSTerminalShiftID":0,"IsImportUnPaidInvoicesOnly":true,"EmailAddress":"string","DomainUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0}; // BatchUpdateRequestBoolean | 

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

final api_instance = DefaultApi();

final BatchUpdateRequestBoolean batchUpdateRequestBoolean = new BatchUpdateRequestBoolean(); // BatchUpdateRequestBoolean | 

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

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        BatchUpdateRequestBoolean batchUpdateRequestBoolean = {"ColumnToUpdate":"string","Value":true,"IsForcedUpdate":true,"IDs":[0],"IsRemoveFromCollection":true,"SetToSyncStatus":"string","SetToIsActive":true,"ID":0,"AdaptorID":0,"Action":"string","DatTypeID":0,"Filter":{"SyncStatusFilter":"string","IsShowActiveOnly":true,"IsShowLinkedOnly":true,"IsShowChildVariants":true,"IsShowPublishedOnly":true,"IncludePayments":true,"SyncLogCode":"string","DefaultSupplierID":0,"SyncLogCodeType":0,"IncludeAdaptorID":0,"ExcludeAdaptorID":0,"CreatedWith":"string","CreatedByUserId":0,"ClassID":0,"IsShowAccountCustomersOnly":true,"IsShowPostingInventoryOnly":true,"IDList":[0],"CustomerIDs":[0],"IsEarlyClaimShortPaymentOnly":true,"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},"IsSyncDependencies":true,"RefDatTypeID":0,"IsQueue":true,"IsSaveToAutoQueue":true,"IsAnalyse":true,"IsMakeActionActiveIfNot":true,"TranslatorID":0,"LastExecDateTimeOverride_utc":"string","IsImportForADateRange":true,"DateRangeStart":"string","DateRangeEnd":"string","ScheduledTaskID":0,"MaxWaitSecs":0,"IDList":[0],"IsRunNow":true,"CustomerIDs":[0],"ClassIDs":[0],"IsUserInitiated":true,"POSTerminalShiftID":0,"IsImportUnPaidInvoicesOnly":true,"EmailAddress":"string","DomainUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0}; // BatchUpdateRequestBoolean | 

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


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
BatchUpdateRequestBoolean *batchUpdateRequestBoolean = {"ColumnToUpdate":"string","Value":true,"IsForcedUpdate":true,"IDs":[0],"IsRemoveFromCollection":true,"SetToSyncStatus":"string","SetToIsActive":true,"ID":0,"AdaptorID":0,"Action":"string","DatTypeID":0,"Filter":{"SyncStatusFilter":"string","IsShowActiveOnly":true,"IsShowLinkedOnly":true,"IsShowChildVariants":true,"IsShowPublishedOnly":true,"IncludePayments":true,"SyncLogCode":"string","DefaultSupplierID":0,"SyncLogCodeType":0,"IncludeAdaptorID":0,"ExcludeAdaptorID":0,"CreatedWith":"string","CreatedByUserId":0,"ClassID":0,"IsShowAccountCustomersOnly":true,"IsShowPostingInventoryOnly":true,"IDList":[0],"CustomerIDs":[0],"IsEarlyClaimShortPaymentOnly":true,"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},"IsSyncDependencies":true,"RefDatTypeID":0,"IsQueue":true,"IsSaveToAutoQueue":true,"IsAnalyse":true,"IsMakeActionActiveIfNot":true,"TranslatorID":0,"LastExecDateTimeOverride_utc":"string","IsImportForADateRange":true,"DateRangeStart":"string","DateRangeEnd":"string","ScheduledTaskID":0,"MaxWaitSecs":0,"IDList":[0],"IsRunNow":true,"CustomerIDs":[0],"ClassIDs":[0],"IsUserInitiated":true,"POSTerminalShiftID":0,"IsImportUnPaidInvoicesOnly":true,"EmailAddress":"string","DomainUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0}; //  (optional)

// Synk_UpdateIsActive
[apiInstance synkUpdateIsActiveWith:batchUpdateRequestBoolean
              completionHandler: ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiSynk = require('as_server_api_synk');

// Create an instance of the API class
var api = new AsServerApiSynk.DefaultApi()
var opts = {
  'batchUpdateRequestBoolean': {"ColumnToUpdate":"string","Value":true,"IsForcedUpdate":true,"IDs":[0],"IsRemoveFromCollection":true,"SetToSyncStatus":"string","SetToIsActive":true,"ID":0,"AdaptorID":0,"Action":"string","DatTypeID":0,"Filter":{"SyncStatusFilter":"string","IsShowActiveOnly":true,"IsShowLinkedOnly":true,"IsShowChildVariants":true,"IsShowPublishedOnly":true,"IncludePayments":true,"SyncLogCode":"string","DefaultSupplierID":0,"SyncLogCodeType":0,"IncludeAdaptorID":0,"ExcludeAdaptorID":0,"CreatedWith":"string","CreatedByUserId":0,"ClassID":0,"IsShowAccountCustomersOnly":true,"IsShowPostingInventoryOnly":true,"IDList":[0],"CustomerIDs":[0],"IsEarlyClaimShortPaymentOnly":true,"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},"IsSyncDependencies":true,"RefDatTypeID":0,"IsQueue":true,"IsSaveToAutoQueue":true,"IsAnalyse":true,"IsMakeActionActiveIfNot":true,"TranslatorID":0,"LastExecDateTimeOverride_utc":"string","IsImportForADateRange":true,"DateRangeStart":"string","DateRangeEnd":"string","ScheduledTaskID":0,"MaxWaitSecs":0,"IDList":[0],"IsRunNow":true,"CustomerIDs":[0],"ClassIDs":[0],"IsUserInitiated":true,"POSTerminalShiftID":0,"IsImportUnPaidInvoicesOnly":true,"EmailAddress":"string","DomainUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0} // {BatchUpdateRequestBoolean} 
};

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

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

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

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

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$batchUpdateRequestBoolean = {"ColumnToUpdate":"string","Value":true,"IsForcedUpdate":true,"IDs":[0],"IsRemoveFromCollection":true,"SetToSyncStatus":"string","SetToIsActive":true,"ID":0,"AdaptorID":0,"Action":"string","DatTypeID":0,"Filter":{"SyncStatusFilter":"string","IsShowActiveOnly":true,"IsShowLinkedOnly":true,"IsShowChildVariants":true,"IsShowPublishedOnly":true,"IncludePayments":true,"SyncLogCode":"string","DefaultSupplierID":0,"SyncLogCodeType":0,"IncludeAdaptorID":0,"ExcludeAdaptorID":0,"CreatedWith":"string","CreatedByUserId":0,"ClassID":0,"IsShowAccountCustomersOnly":true,"IsShowPostingInventoryOnly":true,"IDList":[0],"CustomerIDs":[0],"IsEarlyClaimShortPaymentOnly":true,"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},"IsSyncDependencies":true,"RefDatTypeID":0,"IsQueue":true,"IsSaveToAutoQueue":true,"IsAnalyse":true,"IsMakeActionActiveIfNot":true,"TranslatorID":0,"LastExecDateTimeOverride_utc":"string","IsImportForADateRange":true,"DateRangeStart":"string","DateRangeEnd":"string","ScheduledTaskID":0,"MaxWaitSecs":0,"IDList":[0],"IsRunNow":true,"CustomerIDs":[0],"ClassIDs":[0],"IsUserInitiated":true,"POSTerminalShiftID":0,"IsImportUnPaidInvoicesOnly":true,"EmailAddress":"string","DomainUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0}; // BatchUpdateRequestBoolean | 

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

eval {
    my $result = $api_instance->synkUpdateIsActive(batchUpdateRequestBoolean => $batchUpdateRequestBoolean);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->synkUpdateIsActive: $@\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()
batchUpdateRequestBoolean = {"ColumnToUpdate":"string","Value":true,"IsForcedUpdate":true,"IDs":[0],"IsRemoveFromCollection":true,"SetToSyncStatus":"string","SetToIsActive":true,"ID":0,"AdaptorID":0,"Action":"string","DatTypeID":0,"Filter":{"SyncStatusFilter":"string","IsShowActiveOnly":true,"IsShowLinkedOnly":true,"IsShowChildVariants":true,"IsShowPublishedOnly":true,"IncludePayments":true,"SyncLogCode":"string","DefaultSupplierID":0,"SyncLogCodeType":0,"IncludeAdaptorID":0,"ExcludeAdaptorID":0,"CreatedWith":"string","CreatedByUserId":0,"ClassID":0,"IsShowAccountCustomersOnly":true,"IsShowPostingInventoryOnly":true,"IDList":[0],"CustomerIDs":[0],"IsEarlyClaimShortPaymentOnly":true,"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},"IsSyncDependencies":true,"RefDatTypeID":0,"IsQueue":true,"IsSaveToAutoQueue":true,"IsAnalyse":true,"IsMakeActionActiveIfNot":true,"TranslatorID":0,"LastExecDateTimeOverride_utc":"string","IsImportForADateRange":true,"DateRangeStart":"string","DateRangeEnd":"string","ScheduledTaskID":0,"MaxWaitSecs":0,"IDList":[0],"IsRunNow":true,"CustomerIDs":[0],"ClassIDs":[0],"IsUserInitiated":true,"POSTerminalShiftID":0,"IsImportUnPaidInvoicesOnly":true,"EmailAddress":"string","DomainUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0} # BatchUpdateRequestBoolean |  (optional)

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

pub fn main() {
    let batchUpdateRequestBoolean = {"ColumnToUpdate":"string","Value":true,"IsForcedUpdate":true,"IDs":[0],"IsRemoveFromCollection":true,"SetToSyncStatus":"string","SetToIsActive":true,"ID":0,"AdaptorID":0,"Action":"string","DatTypeID":0,"Filter":{"SyncStatusFilter":"string","IsShowActiveOnly":true,"IsShowLinkedOnly":true,"IsShowChildVariants":true,"IsShowPublishedOnly":true,"IncludePayments":true,"SyncLogCode":"string","DefaultSupplierID":0,"SyncLogCodeType":0,"IncludeAdaptorID":0,"ExcludeAdaptorID":0,"CreatedWith":"string","CreatedByUserId":0,"ClassID":0,"IsShowAccountCustomersOnly":true,"IsShowPostingInventoryOnly":true,"IDList":[0],"CustomerIDs":[0],"IsEarlyClaimShortPaymentOnly":true,"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},"IsSyncDependencies":true,"RefDatTypeID":0,"IsQueue":true,"IsSaveToAutoQueue":true,"IsAnalyse":true,"IsMakeActionActiveIfNot":true,"TranslatorID":0,"LastExecDateTimeOverride_utc":"string","IsImportForADateRange":true,"DateRangeStart":"string","DateRangeEnd":"string","ScheduledTaskID":0,"MaxWaitSecs":0,"IDList":[0],"IsRunNow":true,"CustomerIDs":[0],"ClassIDs":[0],"IsUserInitiated":true,"POSTerminalShiftID":0,"IsImportUnPaidInvoicesOnly":true,"EmailAddress":"string","DomainUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0}; // BatchUpdateRequestBoolean

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

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

Scopes

Parameters

Body parameters
Name Description
batchUpdateRequestBoolean

Responses


synkUpdateStatus

Synk_UpdateStatus


/Synk/UpdateStatus

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/Synk/UpdateStatus" \
 -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();
        BatchUpdateRequestString batchUpdateRequestString = {"ColumnToUpdate":"string","Value":"string","IsForcedUpdate":true,"IDs":[0],"IsRemoveFromCollection":true,"SetToSyncStatus":"string","SetToIsActive":true,"ID":0,"AdaptorID":0,"Action":"string","DatTypeID":0,"Filter":{"SyncStatusFilter":"string","IsShowActiveOnly":true,"IsShowLinkedOnly":true,"IsShowChildVariants":true,"IsShowPublishedOnly":true,"IncludePayments":true,"SyncLogCode":"string","DefaultSupplierID":0,"SyncLogCodeType":0,"IncludeAdaptorID":0,"ExcludeAdaptorID":0,"CreatedWith":"string","CreatedByUserId":0,"ClassID":0,"IsShowAccountCustomersOnly":true,"IsShowPostingInventoryOnly":true,"IDList":[0],"CustomerIDs":[0],"IsEarlyClaimShortPaymentOnly":true,"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},"IsSyncDependencies":true,"RefDatTypeID":0,"IsQueue":true,"IsSaveToAutoQueue":true,"IsAnalyse":true,"IsMakeActionActiveIfNot":true,"TranslatorID":0,"LastExecDateTimeOverride_utc":"string","IsImportForADateRange":true,"DateRangeStart":"string","DateRangeEnd":"string","ScheduledTaskID":0,"MaxWaitSecs":0,"IDList":[0],"IsRunNow":true,"CustomerIDs":[0],"ClassIDs":[0],"IsUserInitiated":true,"POSTerminalShiftID":0,"IsImportUnPaidInvoicesOnly":true,"EmailAddress":"string","DomainUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0}; // BatchUpdateRequestString | 

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

final api_instance = DefaultApi();

final BatchUpdateRequestString batchUpdateRequestString = new BatchUpdateRequestString(); // BatchUpdateRequestString | 

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

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        BatchUpdateRequestString batchUpdateRequestString = {"ColumnToUpdate":"string","Value":"string","IsForcedUpdate":true,"IDs":[0],"IsRemoveFromCollection":true,"SetToSyncStatus":"string","SetToIsActive":true,"ID":0,"AdaptorID":0,"Action":"string","DatTypeID":0,"Filter":{"SyncStatusFilter":"string","IsShowActiveOnly":true,"IsShowLinkedOnly":true,"IsShowChildVariants":true,"IsShowPublishedOnly":true,"IncludePayments":true,"SyncLogCode":"string","DefaultSupplierID":0,"SyncLogCodeType":0,"IncludeAdaptorID":0,"ExcludeAdaptorID":0,"CreatedWith":"string","CreatedByUserId":0,"ClassID":0,"IsShowAccountCustomersOnly":true,"IsShowPostingInventoryOnly":true,"IDList":[0],"CustomerIDs":[0],"IsEarlyClaimShortPaymentOnly":true,"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},"IsSyncDependencies":true,"RefDatTypeID":0,"IsQueue":true,"IsSaveToAutoQueue":true,"IsAnalyse":true,"IsMakeActionActiveIfNot":true,"TranslatorID":0,"LastExecDateTimeOverride_utc":"string","IsImportForADateRange":true,"DateRangeStart":"string","DateRangeEnd":"string","ScheduledTaskID":0,"MaxWaitSecs":0,"IDList":[0],"IsRunNow":true,"CustomerIDs":[0],"ClassIDs":[0],"IsUserInitiated":true,"POSTerminalShiftID":0,"IsImportUnPaidInvoicesOnly":true,"EmailAddress":"string","DomainUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0}; // BatchUpdateRequestString | 

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


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
BatchUpdateRequestString *batchUpdateRequestString = {"ColumnToUpdate":"string","Value":"string","IsForcedUpdate":true,"IDs":[0],"IsRemoveFromCollection":true,"SetToSyncStatus":"string","SetToIsActive":true,"ID":0,"AdaptorID":0,"Action":"string","DatTypeID":0,"Filter":{"SyncStatusFilter":"string","IsShowActiveOnly":true,"IsShowLinkedOnly":true,"IsShowChildVariants":true,"IsShowPublishedOnly":true,"IncludePayments":true,"SyncLogCode":"string","DefaultSupplierID":0,"SyncLogCodeType":0,"IncludeAdaptorID":0,"ExcludeAdaptorID":0,"CreatedWith":"string","CreatedByUserId":0,"ClassID":0,"IsShowAccountCustomersOnly":true,"IsShowPostingInventoryOnly":true,"IDList":[0],"CustomerIDs":[0],"IsEarlyClaimShortPaymentOnly":true,"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},"IsSyncDependencies":true,"RefDatTypeID":0,"IsQueue":true,"IsSaveToAutoQueue":true,"IsAnalyse":true,"IsMakeActionActiveIfNot":true,"TranslatorID":0,"LastExecDateTimeOverride_utc":"string","IsImportForADateRange":true,"DateRangeStart":"string","DateRangeEnd":"string","ScheduledTaskID":0,"MaxWaitSecs":0,"IDList":[0],"IsRunNow":true,"CustomerIDs":[0],"ClassIDs":[0],"IsUserInitiated":true,"POSTerminalShiftID":0,"IsImportUnPaidInvoicesOnly":true,"EmailAddress":"string","DomainUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0}; //  (optional)

// Synk_UpdateStatus
[apiInstance synkUpdateStatusWith:batchUpdateRequestString
              completionHandler: ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiSynk = require('as_server_api_synk');

// Create an instance of the API class
var api = new AsServerApiSynk.DefaultApi()
var opts = {
  'batchUpdateRequestString': {"ColumnToUpdate":"string","Value":"string","IsForcedUpdate":true,"IDs":[0],"IsRemoveFromCollection":true,"SetToSyncStatus":"string","SetToIsActive":true,"ID":0,"AdaptorID":0,"Action":"string","DatTypeID":0,"Filter":{"SyncStatusFilter":"string","IsShowActiveOnly":true,"IsShowLinkedOnly":true,"IsShowChildVariants":true,"IsShowPublishedOnly":true,"IncludePayments":true,"SyncLogCode":"string","DefaultSupplierID":0,"SyncLogCodeType":0,"IncludeAdaptorID":0,"ExcludeAdaptorID":0,"CreatedWith":"string","CreatedByUserId":0,"ClassID":0,"IsShowAccountCustomersOnly":true,"IsShowPostingInventoryOnly":true,"IDList":[0],"CustomerIDs":[0],"IsEarlyClaimShortPaymentOnly":true,"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},"IsSyncDependencies":true,"RefDatTypeID":0,"IsQueue":true,"IsSaveToAutoQueue":true,"IsAnalyse":true,"IsMakeActionActiveIfNot":true,"TranslatorID":0,"LastExecDateTimeOverride_utc":"string","IsImportForADateRange":true,"DateRangeStart":"string","DateRangeEnd":"string","ScheduledTaskID":0,"MaxWaitSecs":0,"IDList":[0],"IsRunNow":true,"CustomerIDs":[0],"ClassIDs":[0],"IsUserInitiated":true,"POSTerminalShiftID":0,"IsImportUnPaidInvoicesOnly":true,"EmailAddress":"string","DomainUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0} // {BatchUpdateRequestString} 
};

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

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

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

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

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$batchUpdateRequestString = {"ColumnToUpdate":"string","Value":"string","IsForcedUpdate":true,"IDs":[0],"IsRemoveFromCollection":true,"SetToSyncStatus":"string","SetToIsActive":true,"ID":0,"AdaptorID":0,"Action":"string","DatTypeID":0,"Filter":{"SyncStatusFilter":"string","IsShowActiveOnly":true,"IsShowLinkedOnly":true,"IsShowChildVariants":true,"IsShowPublishedOnly":true,"IncludePayments":true,"SyncLogCode":"string","DefaultSupplierID":0,"SyncLogCodeType":0,"IncludeAdaptorID":0,"ExcludeAdaptorID":0,"CreatedWith":"string","CreatedByUserId":0,"ClassID":0,"IsShowAccountCustomersOnly":true,"IsShowPostingInventoryOnly":true,"IDList":[0],"CustomerIDs":[0],"IsEarlyClaimShortPaymentOnly":true,"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},"IsSyncDependencies":true,"RefDatTypeID":0,"IsQueue":true,"IsSaveToAutoQueue":true,"IsAnalyse":true,"IsMakeActionActiveIfNot":true,"TranslatorID":0,"LastExecDateTimeOverride_utc":"string","IsImportForADateRange":true,"DateRangeStart":"string","DateRangeEnd":"string","ScheduledTaskID":0,"MaxWaitSecs":0,"IDList":[0],"IsRunNow":true,"CustomerIDs":[0],"ClassIDs":[0],"IsUserInitiated":true,"POSTerminalShiftID":0,"IsImportUnPaidInvoicesOnly":true,"EmailAddress":"string","DomainUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0}; // BatchUpdateRequestString | 

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

eval {
    my $result = $api_instance->synkUpdateStatus(batchUpdateRequestString => $batchUpdateRequestString);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->synkUpdateStatus: $@\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()
batchUpdateRequestString = {"ColumnToUpdate":"string","Value":"string","IsForcedUpdate":true,"IDs":[0],"IsRemoveFromCollection":true,"SetToSyncStatus":"string","SetToIsActive":true,"ID":0,"AdaptorID":0,"Action":"string","DatTypeID":0,"Filter":{"SyncStatusFilter":"string","IsShowActiveOnly":true,"IsShowLinkedOnly":true,"IsShowChildVariants":true,"IsShowPublishedOnly":true,"IncludePayments":true,"SyncLogCode":"string","DefaultSupplierID":0,"SyncLogCodeType":0,"IncludeAdaptorID":0,"ExcludeAdaptorID":0,"CreatedWith":"string","CreatedByUserId":0,"ClassID":0,"IsShowAccountCustomersOnly":true,"IsShowPostingInventoryOnly":true,"IDList":[0],"CustomerIDs":[0],"IsEarlyClaimShortPaymentOnly":true,"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},"IsSyncDependencies":true,"RefDatTypeID":0,"IsQueue":true,"IsSaveToAutoQueue":true,"IsAnalyse":true,"IsMakeActionActiveIfNot":true,"TranslatorID":0,"LastExecDateTimeOverride_utc":"string","IsImportForADateRange":true,"DateRangeStart":"string","DateRangeEnd":"string","ScheduledTaskID":0,"MaxWaitSecs":0,"IDList":[0],"IsRunNow":true,"CustomerIDs":[0],"ClassIDs":[0],"IsUserInitiated":true,"POSTerminalShiftID":0,"IsImportUnPaidInvoicesOnly":true,"EmailAddress":"string","DomainUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0} # BatchUpdateRequestString |  (optional)

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

pub fn main() {
    let batchUpdateRequestString = {"ColumnToUpdate":"string","Value":"string","IsForcedUpdate":true,"IDs":[0],"IsRemoveFromCollection":true,"SetToSyncStatus":"string","SetToIsActive":true,"ID":0,"AdaptorID":0,"Action":"string","DatTypeID":0,"Filter":{"SyncStatusFilter":"string","IsShowActiveOnly":true,"IsShowLinkedOnly":true,"IsShowChildVariants":true,"IsShowPublishedOnly":true,"IncludePayments":true,"SyncLogCode":"string","DefaultSupplierID":0,"SyncLogCodeType":0,"IncludeAdaptorID":0,"ExcludeAdaptorID":0,"CreatedWith":"string","CreatedByUserId":0,"ClassID":0,"IsShowAccountCustomersOnly":true,"IsShowPostingInventoryOnly":true,"IDList":[0],"CustomerIDs":[0],"IsEarlyClaimShortPaymentOnly":true,"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},"IsSyncDependencies":true,"RefDatTypeID":0,"IsQueue":true,"IsSaveToAutoQueue":true,"IsAnalyse":true,"IsMakeActionActiveIfNot":true,"TranslatorID":0,"LastExecDateTimeOverride_utc":"string","IsImportForADateRange":true,"DateRangeStart":"string","DateRangeEnd":"string","ScheduledTaskID":0,"MaxWaitSecs":0,"IDList":[0],"IsRunNow":true,"CustomerIDs":[0],"ClassIDs":[0],"IsUserInitiated":true,"POSTerminalShiftID":0,"IsImportUnPaidInvoicesOnly":true,"EmailAddress":"string","DomainUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0}; // BatchUpdateRequestString

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

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

Scopes

Parameters

Body parameters
Name Description
batchUpdateRequestString

Responses