DigitalCustomers.RequestCustomers Method

Request - Get all Customers sent by the entity. 
Public Sub RequestCustomers( _ 
ByVal initialCustomerID As String, _ 
ByVal maxPages As Integer, _ 
Optional ByVal SearchParam As String() = Nothing, _ 
Optional ByVal GreekErrors As Boolean = False _ 
)
This language is not supported or no code example is available.
public void RequestCustomers( 
string initialCustomerID
int maxPages
string[] SearchParam = Nothing, 
bool GreekErrors = False 
)
This language is not supported or no code example is available.

Parameters

initialCustomerID
string

The CustomerID you want to start from. Example 100000000000001 
Note: If you want to retrieve ALL customers, start with initialCustomerID zero (0).

maxPages
int

Maximum Customer pages to retrieve. Note: AADE returns no more than 1000 invoices per page. You can only retrieve five (5) pages at a time!

SearchParam
string[]

Search Parameters, string array. 
The values that this field can take are as follows: {maxCustomerID} 
Currently, you can set only one (1) parameter. In the future, AADE may add more parameters.

GreekErrors
bool

Determines if the error will be returned in Greek or not.

Example
 
 var dgc = new DigitalCustomers("AADEUserID", "OcpApimSubscriptionKey", "EntityVatNumber", "Arbitrans User", "Arbitrans Key", false);
 string[] searchParam = new[] { "100000000000100" };
 
 dgc.RequestCustomers(100000000000001L, 5, searchParam, true);
 					
This language is not supported or no code example is available.
 Dim dgc as DigitalCustomers = new DigitalCustomers("AADEUserID", "OcpApimSubscriptionKey", "EntityVatNumber", "Arbitrans User", "Arbitrans Key", False)
 Dim searchParam As String() = {"100000000000100"}
 
 dgc.RequestCustomers(100000000000001, 5, searchParam, True)
 					
This language is not supported or no code example is available.

.NET Framework

Supported in: 3.5 or newer

In this article

Definition