RequestInvoicesProvider.Request Method
Parameters
- initialMark
- string
Initial Search Mark. Example 400001827650000
Note: If you want to retrieve All the invoices, start with MARK zero (0).
- maxPages
- int
Maximum myDATA pages to retrieve. Note: myDATA returns no more than 1000 invoices per page. You can only retrieve five (5) pages at a time!
- GreekErrors
- bool
Determines if the error will be returned in Greek or not.
RequestInvoicesProvider rqd = new RequestInvoicesProvider("AADEUserID", "OcpApimSubscriptionKey", "ExecuteEntityVatNumber", "Arbitrans User", "Arbitrans Key", false);
rqd.Request(0, 4); //Retrieve 4 pages at once, starting with MARK 0.
if (IsNothing(rqd.getErrorMessage))
DataTable dt = rqd.getInvoices();
// Diplay DataTable code here
else
MessageBox.Show(rqd.getErrorMessage);
This language is not supported or no code example is available.
Dim rqd As RequestInvoicesProvider = New RequestInvoicesProvider("AADEUserID", "OcpApimSubscriptionKey", "ExecuteEntityVatNumber", "Arbitrans User", "Arbitrans Key", False)
rqd.Request(0, 4) 'Retrieve 4 pages at once, starting with MARK 0.
If IsNothing(rqd.getErrorMessage) Then
Dim dt As DataTable = rqd.getInvoices()
' Diplay DataTable code here
Else
MessageBox.Show(rqd.getErrorMessage)
End If
This language is not supported or no code example is available.