Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error recently when trying to search resources. API schema change? #89

Open
JasonEde opened this issue Nov 16, 2023 · 1 comment
Open

Comments

@JasonEde
Copy link

Since end of last month on some queries I'm seeing this...

Uncaught Spatie\DataTransferObject\DataTransferObjectError: Public properties payrollIdentifier not found on Anteris\Autotask\API\Resources\ResourceEntity

The query I'm trying to run is...

$res=$client->resources()->query()->where('email','in',$firstline_users)->get();

@JasonEde
Copy link
Author

JasonEde commented Dec 1, 2023

I've got this working. For reference just need to edit vendor/anteris-dev/autotask-client/src/API/Resources/ResourceEntity.php and add a line of public string $payrollIdentifier; just above public int $payrollType;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant