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

Read operation returns an object or a list of objects for the same property #166

Open
joeythomaschaske opened this issue Nov 28, 2018 · 0 comments

Comments

@joeythomaschaske
Copy link

joeythomaschaske commented Nov 28, 2018

using the /prospect/version/4/do/read/email/ endpoint and noticed that the response returns either a single prospect, or a list of prospects for the same property "prospect".

This makes it difficult to deserialize without a try/catch which just makes code messy. The api should return a list of Prospect regardless of the count of prospects returned.

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