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

How to get Fax ID for sent fax? #20

Open
cbetta opened this issue Apr 5, 2017 · 2 comments
Open

How to get Fax ID for sent fax? #20

cbetta opened this issue Apr 5, 2017 · 2 comments

Comments

@cbetta
Copy link
Contributor

cbetta commented Apr 5, 2017

@anuragkapur I am trying to write some samples for the Java library and getting rather stuck.

I can send a fax, but the response seems to be rather... simple. For example, as far as I can tell I can only get the response status, headers and raw body after sending a fax, where ideally I just need the fax ID at that point.

In the other SDKs we have wrapped the API return objects into their own classes/objects to make this kind of discovery a lot easier. Is there a reason why we didn't do this in Java?

@cbetta
Copy link
Contributor Author

cbetta commented Apr 5, 2017

The same goes for documents, where I also had to get the URL from the headers as well as the ID. This is a pain.

@anuragkapur
Copy link
Collaborator

@cbetta - no reason really, probably just a lack of an idea around how consumers would use the SDK.

I agree, wrapping responses to a domain objects should make the sdk easier to use. I'll refactor soon.

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

2 participants