Skip to content
New issue

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

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

Already on GitHub? # to your account

Add Support for Partial Responses #6

Closed
aidan-casey opened this issue Aug 21, 2020 · 1 comment
Closed

Add Support for Partial Responses #6

aidan-casey opened this issue Aug 21, 2020 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@aidan-casey
Copy link
Member

aidan-casey commented Aug 21, 2020

It would be nice to have the ability to specify which fields are returned by the Autotask API since this is supported functionality and would reduce response time for some requests. The problem we face here is representing partial entities to the user. This is a similar issue to that faced in #5.

@aidan-casey aidan-casey added the enhancement New feature or request label Aug 21, 2020
@aidan-casey
Copy link
Member Author

Perhaps one way to come at this would be to have partial entity classes (e.g. PartialContactEntity) that would be returned by requests that specify certain fields and a helper method on the default entity that returns fields that have changed since instantiation (e.g. ContactEntity::changed()).

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant