Service

Name Get Traveler Vouchers
Description Gets the vouchers available
Method GET
URL /traveler/vouchers
Example /api/traveler/vouchers
Access TRAVELER

HTTP Headers

Authorization eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXUyJ9...

Parameters

Fields Type Required Description

Response

            
                {
                    "items_total": 1,
                    "items": [
                        {
                        "serie": "12524867",
                        "status": "Active",
                        "amount": 25,
                        "date_created": "2017-07-26 13:25:46"
                        }
                     ]
                }
            
            

Response Codes

Code Message Cause Possible Frontend Message [Behavior]
EC000 Internal error in API Internal error connecting the database "Oops! Looks like we hit a snag. Try closing the app and reopening it."
EC001 User not found Token user id doesn't match our records "Sorry, We couldn't find your information!"
EC004 Not found result There are problems finding the data in our database
SC006 User no authorization The token role is not valid for using the API services "You have been logged out." - [Take the user to the login screen]
SC014 Expired token The token has expired "You have been logged out." - [Take the user to the login screen]