The Amadeus Java SDK source code gives the example
FlightOrder order = amadeus.booking.flightOrder.("eJzTd9f3NjIJdzUGAAp%2fAiY=").delete();
But it seems that this always throws a ParserException because the API does not return a FlightOrder object but rather an empty response with code 204.
What would be a safe way to delete an order?
And is it a problem if I don't delete all the orders I create with the Test API? Will existing orders automatically be purged server-side after a certain time?
Thanks in advance!
edit: Might be related to this?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…