Travelport / travelport-uapi-tutorial-c-sharp

The travelport-uapi-tutorial-c-sharp is a C# project for Universal API that will help you connect and code a standard Air availablity call and Hotel search, details, and booking flow.
35 stars 30 forks source link

How can i get full error response #212

Open kams007 opened 3 years ago

kams007 commented 3 years ago

When we are getting an exception we are getting only an error message from it. For example, when we are trying to book a flight a common exception we are getting is "General air service Error." text as an exception message. If we want to generate a full error response what should we do?

vivekjyotipramanik commented 3 years ago

Hi kams007,

That is actually the full error response. To get the full error response xml, you just have to record the full xml using your code. Thanks.