Closed Budrose closed 3 years ago
@Budrose
If you wanted to use the where clause to GET all ACCOUNTs where the status is active and type is bank you'd use the following .
$where = 'Status=="' . \XeroAPI\XeroPHP\Models\Accounting\Account::STATUS_ACTIVE .'" AND Type=="' . \XeroAPI\XeroPHP\Models\Accounting\Account::BANK_ACCOUNT_TYPE_BANK . '"';
$result = $apiInstance->getAccounts($xeroTenantId, null, $where);
SDK you're using (please complete the following information):
Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like A clear and concise description of what you want to happen.
Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.
Additional context Add any other context or screenshots about the feature request here.