AS Server - API - Customer - v2

Default

customerGetT

Customer_GetT


/v2/Customer/Get

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/v2/Customer/Get" \
 -d '{
  "WebsiteID" : 5,
  "TenantID" : 5,
  "UserID" : 2,
  "IsGetNewTemplate" : true,
  "IsGetExtraInfo" : true,
  "GUID" : "00000000-0000-0000-0000-000000000000",
  "IsAutoAddClaimRequests" : true,
  "CustomerID" : 0,
  "DebtorCode" : "DebtorCode",
  "ID" : 1,
  "IsReturnEmptyCustomerIfNotFound" : true,
  "BusinessID" : 6
}' \
 -d 'Custom MIME type example not yet supported: text/json' \
 -d '<CustomerEditRequest>
  <CustomerID>123</CustomerID>
  <BusinessID>123</BusinessID>
  <IsAutoAddClaimRequests>true</IsAutoAddClaimRequests>
  <DebtorCode>aeiou</DebtorCode>
  <IsReturnEmptyCustomerIfNotFound>true</IsReturnEmptyCustomerIfNotFound>
  <IsGetNewTemplate>true</IsGetNewTemplate>
  <ID>123</ID>
  <GUID>00000000-0000-0000-0000-000000000000</GUID>
  <IsGetExtraInfo>true</IsGetExtraInfo>
  <TenantID>123</TenantID>
  <WebsiteID>123</WebsiteID>
  <UserID>123</UserID>
</CustomerEditRequest>' \
 -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();
        CustomerEditRequest customerEditRequest = {"CustomerID":0,"BusinessID":0,"IsAutoAddClaimRequests":true,"DebtorCode":"string","IsReturnEmptyCustomerIfNotFound":true,"IsGetNewTemplate":true,"ID":0,"GUID":"00000000-0000-0000-0000-000000000000","IsGetExtraInfo":true,"TenantID":0,"WebsiteID":0,"UserID":0}; // CustomerEditRequest | 

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

final api_instance = DefaultApi();

final CustomerEditRequest customerEditRequest = new CustomerEditRequest(); // CustomerEditRequest | 

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

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        CustomerEditRequest customerEditRequest = {"CustomerID":0,"BusinessID":0,"IsAutoAddClaimRequests":true,"DebtorCode":"string","IsReturnEmptyCustomerIfNotFound":true,"IsGetNewTemplate":true,"ID":0,"GUID":"00000000-0000-0000-0000-000000000000","IsGetExtraInfo":true,"TenantID":0,"WebsiteID":0,"UserID":0}; // CustomerEditRequest | 

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


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
CustomerEditRequest *customerEditRequest = {"CustomerID":0,"BusinessID":0,"IsAutoAddClaimRequests":true,"DebtorCode":"string","IsReturnEmptyCustomerIfNotFound":true,"IsGetNewTemplate":true,"ID":0,"GUID":"00000000-0000-0000-0000-000000000000","IsGetExtraInfo":true,"TenantID":0,"WebsiteID":0,"UserID":0}; //  (optional)

// Customer_GetT
[apiInstance customerGetTWith:customerEditRequest
              completionHandler: ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiCustomerV2 = require('as_server_api_customer_v2');

// Create an instance of the API class
var api = new AsServerApiCustomerV2.DefaultApi()
var opts = {
  'customerEditRequest': {"CustomerID":0,"BusinessID":0,"IsAutoAddClaimRequests":true,"DebtorCode":"string","IsReturnEmptyCustomerIfNotFound":true,"IsGetNewTemplate":true,"ID":0,"GUID":"00000000-0000-0000-0000-000000000000","IsGetExtraInfo":true,"TenantID":0,"WebsiteID":0,"UserID":0} // {CustomerEditRequest} 
};

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

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

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

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

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$customerEditRequest = {"CustomerID":0,"BusinessID":0,"IsAutoAddClaimRequests":true,"DebtorCode":"string","IsReturnEmptyCustomerIfNotFound":true,"IsGetNewTemplate":true,"ID":0,"GUID":"00000000-0000-0000-0000-000000000000","IsGetExtraInfo":true,"TenantID":0,"WebsiteID":0,"UserID":0}; // CustomerEditRequest | 

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

eval {
    my $result = $api_instance->customerGetT(customerEditRequest => $customerEditRequest);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->customerGetT: $@\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()
customerEditRequest = {"CustomerID":0,"BusinessID":0,"IsAutoAddClaimRequests":true,"DebtorCode":"string","IsReturnEmptyCustomerIfNotFound":true,"IsGetNewTemplate":true,"ID":0,"GUID":"00000000-0000-0000-0000-000000000000","IsGetExtraInfo":true,"TenantID":0,"WebsiteID":0,"UserID":0} # CustomerEditRequest |  (optional)

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

pub fn main() {
    let customerEditRequest = {"CustomerID":0,"BusinessID":0,"IsAutoAddClaimRequests":true,"DebtorCode":"string","IsReturnEmptyCustomerIfNotFound":true,"IsGetNewTemplate":true,"ID":0,"GUID":"00000000-0000-0000-0000-000000000000","IsGetExtraInfo":true,"TenantID":0,"WebsiteID":0,"UserID":0}; // CustomerEditRequest

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

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

Scopes

Parameters

Body parameters
Name Description
customerEditRequest

Responses


customerSearchT

Customer_SearchT


/v2/Customer/Search

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

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

final api_instance = DefaultApi();

final CustomerFilter customerFilter = new CustomerFilter(); // CustomerFilter | 

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

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        CustomerFilter customerFilter = {"GetIsValidForBillToOnly":true,"CreatedByUserID":0,"CustomerID":0,"IsLinkedCustomersOnly":true,"IgnoreProspectID":0,"CustomerClassID":0,"TerritoryID":0,"IsShowAccountCustomersOnly":true,"AccountCustomerID":0,"IsCODorPrePaidAccountCustomersOnly":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}; // CustomerFilter | 

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


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
CustomerFilter *customerFilter = {"GetIsValidForBillToOnly":true,"CreatedByUserID":0,"CustomerID":0,"IsLinkedCustomersOnly":true,"IgnoreProspectID":0,"CustomerClassID":0,"TerritoryID":0,"IsShowAccountCustomersOnly":true,"AccountCustomerID":0,"IsCODorPrePaidAccountCustomersOnly":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}; //  (optional)

// Customer_SearchT
[apiInstance customerSearchTWith:customerFilter
              completionHandler: ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiCustomerV2 = require('as_server_api_customer_v2');

// Create an instance of the API class
var api = new AsServerApiCustomerV2.DefaultApi()
var opts = {
  'customerFilter': {"GetIsValidForBillToOnly":true,"CreatedByUserID":0,"CustomerID":0,"IsLinkedCustomersOnly":true,"IgnoreProspectID":0,"CustomerClassID":0,"TerritoryID":0,"IsShowAccountCustomersOnly":true,"AccountCustomerID":0,"IsCODorPrePaidAccountCustomersOnly":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} // {CustomerFilter} 
};

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

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

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

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

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$customerFilter = {"GetIsValidForBillToOnly":true,"CreatedByUserID":0,"CustomerID":0,"IsLinkedCustomersOnly":true,"IgnoreProspectID":0,"CustomerClassID":0,"TerritoryID":0,"IsShowAccountCustomersOnly":true,"AccountCustomerID":0,"IsCODorPrePaidAccountCustomersOnly":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}; // CustomerFilter | 

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

eval {
    my $result = $api_instance->customerSearchT(customerFilter => $customerFilter);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->customerSearchT: $@\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()
customerFilter = {"GetIsValidForBillToOnly":true,"CreatedByUserID":0,"CustomerID":0,"IsLinkedCustomersOnly":true,"IgnoreProspectID":0,"CustomerClassID":0,"TerritoryID":0,"IsShowAccountCustomersOnly":true,"AccountCustomerID":0,"IsCODorPrePaidAccountCustomersOnly":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} # CustomerFilter |  (optional)

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

pub fn main() {
    let customerFilter = {"GetIsValidForBillToOnly":true,"CreatedByUserID":0,"CustomerID":0,"IsLinkedCustomersOnly":true,"IgnoreProspectID":0,"CustomerClassID":0,"TerritoryID":0,"IsShowAccountCustomersOnly":true,"AccountCustomerID":0,"IsCODorPrePaidAccountCustomersOnly":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}; // CustomerFilter

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

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

Scopes

Parameters

Body parameters
Name Description
customerFilter

Responses