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

Use a Result object for easy check if a request was successful or had a warning/error #2

Closed
DerMika opened this issue Mar 7, 2016 · 1 comment
Assignees
Milestone

Comments

@DerMika
Copy link
Collaborator

DerMika commented Mar 7, 2016

We have to make it easier to check if a call was successful, or if a warning or an error occurred.

We'll implement this by returning a Result object which has properties like

  • status (OK | WARN | ERROR)
  • warnings = []
  • errors = []
  • response

We should also re-think the asString property so that it's consistent with this Result object.

@DerMika DerMika added this to the 0.1 milestone Mar 8, 2016
@DerMika DerMika self-assigned this Apr 27, 2016
DerMika added a commit that referenced this issue May 31, 2016
…row soapfaults anymore - provide message version in Session Handler SendResult - #2
@DerMika
Copy link
Collaborator Author

DerMika commented Jun 20, 2016

This is fully implemented with commit c403535.

Documentation can be found here: https://github.com/amabnl/amadeus-ws-client/blob/develop/docs/samples.rst#handling-the-response

@DerMika DerMika closed this as completed Jun 20, 2016
DerMika added a commit that referenced this issue Jun 21, 2016
atomy pushed a commit to mlamm/amadeus-ws-client that referenced this issue Nov 26, 2018
…N-336-ama-request-service-move-result-limit to master

* commit '9bab7fed2264f0580c996e22a90f5e8ee9d0daa3':
  VAN-336 AMA request service / move result limit field in request changed API Doc updated validation updated tests
  VAN-336 AMA request service / move result limit field in request changed API Doc updated composer updated Request Mapping
hammock pushed a commit to hammock/amadeus-ws-client that referenced this issue Apr 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant