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
| Name | Description |
|---|---|
| analyseDataRequest |