{"info":{"_postman_id":"ed7ae2f7-7727-466e-a019-2ee776cf6be3","name":"TravelerBuddy Public API","description":"<html><head></head><body><p>Welcome to the TravelerBuddy API. Through this API you can either build a new app or add TravelerBuddy's features to your existing app.</p>\n<h1 id=\"how-to-work-with-travelerbuddy\">How to work with TravelerBuddy</h1>\n<p>To be able to start using the API, please contact TravelerBuddy at <a href=\"mailto:sales@travelerbuddy.com\">sales@travelerbuddy.com</a> in order to discuss the setup and agreement needed before you can receive your API key. In any case there are many options and solutions we can put in place depending on your setup and needs.</p>\n<h1 id=\"authentication\">Authentication</h1>\n<p>There is a API key and a API secret used for authentication.</p>\n<p>The API secret is like a password and needs to be handled as such:</p>\n<ul>\n<li>Store it securely</li>\n<li>Don't share it with anyone outside of your organization</li>\n<li>Don't put it in any code on your website or in a Url that someone could find</li>\n</ul>\n<p>Available calls are:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>GET to retrieve information\nPOST   to post or update information\nDEL to remove information\n</code></pre><p>In case an end user tries to connect via an unauthorized access, a page (browser, web and mobile) needs to be displayed using a URL of the app provider to avoid suspicion of phishing.</p>\n<h1 id=\"setup-environments\">Setup / Environments</h1>\n<p>Depending on your agreement with TravelerBuddy, you will be connecting to either an existing or a designated separate TravelerBuddy envrionment. The setup and agreements for that connection wil be defined in a spearate API services Level agreement.</p>\n<h1 id=\"hint\">Hint</h1>\n<p>To be consistent all over, we've built several API collections for specific data that is well curated and always updated by our teams. The following ones are available and can be used as drop-down lists, for validations and other purposes:</p>\n<ul>\n<li>Currencies</li>\n<li>Country</li>\n<li>Airlines</li>\n<li>Airport</li>\n</ul>\n<h1 id=\"notes\">Notes</h1>\n<p>Please note that some API calls are either used for both mobile app and web app or only for one of them. They are specifically marked in their title (app and/or web).</p>\n<p>Timestamps within this API (for all requests and responses) are in EPOCH time format</p>\n<h1 id=\"pricing-and-rates\">Pricing and Rates</h1>\n<p>Before receiving the API keys, an agreement regarding pricing and API rate limits will have to be established. For further information regarding the agreement, please contact <a href=\"mailto:sales@travelerbuddy.com\">sales@travelerbuddy.com</a></p>\n<p>For any questions of technical nature, please contact us at <a href=\"mailto:apisupport@travelerbuddy.com\">apisupport@travelerbuddy.com</a></p>\n<p>Enjoy building</p>\n<h1 id=\"message-codes\">Message codes</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Codes</th>\n<th>Message</th>\n<th>Required action</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><strong>General</strong></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>000000</td>\n<td>success</td>\n<td></td>\n</tr>\n<tr>\n<td>000001</td>\n<td>Access denied</td>\n<td>Please add 'x-session' to headers, generated from register device and validate by login/signup</td>\n</tr>\n<tr>\n<td>000002</td>\n<td>Session expired</td>\n<td>Please generate new 'x-session' by register device and login/signup</td>\n</tr>\n<tr>\n<td>000003</td>\n<td>Invalid Client ID or Client Secret</td>\n<td>Please check 'x-client-id' and 'x-client-secret' headers, contact <a href=\"mailto:apisupport@travelerbuddy.com\">apisupport@travelerbuddy.com</a> for more information</td>\n</tr>\n<tr>\n<td>000004</td>\n<td>API not found</td>\n<td>Please check API url and parameters</td>\n</tr>\n<tr>\n<td>000005</td>\n<td>Internal server error</td>\n<td>Please contact <a href=\"mailto:apisupport@travelerbuddy.com\">apisupport@travelerbuddy.com</a></td>\n</tr>\n<tr>\n<td>000006</td>\n<td>Body is required</td>\n<td>Please add input data while request api</td>\n</tr>\n<tr>\n<td>000007</td>\n<td>File(s) is required</td>\n<td>Please add input file while request api</td>\n</tr>\n<tr>\n<td>000008</td>\n<td>Failed save data</td>\n<td>Please contact <a href=\"mailto:apisupport@travelerbuddy.com\">apisupport@travelerbuddy.com</a></td>\n</tr>\n<tr>\n<td>000009</td>\n<td>User not found</td>\n<td>Please check 'user_id' and 'x-session', 'user_id' can be fetch while login/signup</td>\n</tr>\n<tr>\n<td>000010</td>\n<td>The request couldn't be process</td>\n<td>Please contact <a href=\"mailto:apisupport@travelerbuddy.com\">apisupport@travelerbuddy.com</a></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><strong>Login and Registration</strong></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>001000</td>\n<td>gcm_regid field is required</td>\n<td></td>\n</tr>\n<tr>\n<td>001001</td>\n<td>email field is required</td>\n<td></td>\n</tr>\n<tr>\n<td>001002</td>\n<td>password field is required</td>\n<td></td>\n</tr>\n<tr>\n<td>001003</td>\n<td>type field is required</td>\n<td></td>\n</tr>\n<tr>\n<td>001004</td>\n<td>code field is required</td>\n<td></td>\n</tr>\n<tr>\n<td>001005</td>\n<td>id field is required</td>\n<td></td>\n</tr>\n<tr>\n<td>001006</td>\n<td>token field is required</td>\n<td></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>001501</td>\n<td>Username/email address already in use</td>\n<td></td>\n</tr>\n<tr>\n<td>001502</td>\n<td>Your password should contain a min. of 8 characters, with a min. of 1 capital letter, 1 number and 1 special character</td>\n<td></td>\n</tr>\n<tr>\n<td>001503</td>\n<td>Sorry, this promo has expired</td>\n<td></td>\n</tr>\n<tr>\n<td>001504</td>\n<td>Invalid promo code. Please try again</td>\n<td></td>\n</tr>\n<tr>\n<td>001505</td>\n<td>Your account is locked. Please contact <a href=\"mailto:support@travelerbuddy.com\">support@travelerbuddy.com</a></td>\n<td></td>\n</tr>\n<tr>\n<td>001506</td>\n<td>Please login via your Facebook account</td>\n<td></td>\n</tr>\n<tr>\n<td>001507</td>\n<td>Please login via your Google account</td>\n<td></td>\n</tr>\n<tr>\n<td>001508</td>\n<td>Please login via your LinkedIn account</td>\n<td></td>\n</tr>\n<tr>\n<td>001509</td>\n<td>Sorry, password does not match</td>\n<td></td>\n</tr>\n<tr>\n<td>001510</td>\n<td>Social account already in use</td>\n<td></td>\n</tr>\n<tr>\n<td>001511</td>\n<td>User already verified</td>\n<td></td>\n</tr>\n<tr>\n<td>001512</td>\n<td>Please verify email address</td>\n<td></td>\n</tr>\n<tr>\n<td>001513</td>\n<td>This Password cannot be used. Please ensure that the new Password is different from the previous three Passwords</td>\n<td></td>\n</tr>\n<tr>\n<td>001514</td>\n<td>Invalid or expired token. Please request again using forgot password!</td>\n<td></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><strong>Info</strong></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>002501</td>\n<td>Release notes not found</td>\n<td></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><strong>Profile</strong></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>003000</td>\n<td>profile_name field is required</td>\n<td></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>003501</td>\n<td>Card not found</td>\n<td></td>\n</tr>\n<tr>\n<td>003502</td>\n<td>Card image not found</td>\n<td></td>\n</tr>\n<tr>\n<td>003503</td>\n<td>Identification not found</td>\n<td></td>\n</tr>\n<tr>\n<td>003504</td>\n<td>Identification image not found</td>\n<td></td>\n</tr>\n<tr>\n<td>003505</td>\n<td>Insurance not found</td>\n<td></td>\n</tr>\n<tr>\n<td>003506</td>\n<td>Insurance image not found</td>\n<td></td>\n</tr>\n<tr>\n<td>003507</td>\n<td>Luggage not found</td>\n<td></td>\n</tr>\n<tr>\n<td>003508</td>\n<td>Luggage image not found</td>\n<td></td>\n</tr>\n<tr>\n<td>003509</td>\n<td>Passport not found</td>\n<td></td>\n</tr>\n<tr>\n<td>003510</td>\n<td>Passport image not found</td>\n<td></td>\n</tr>\n<tr>\n<td>003511</td>\n<td>Reward not found</td>\n<td></td>\n</tr>\n<tr>\n<td>003512</td>\n<td>Reward image not found</td>\n<td></td>\n</tr>\n<tr>\n<td>003513</td>\n<td>Visa not found</td>\n<td></td>\n</tr>\n<tr>\n<td>003514</td>\n<td>Visa image not found</td>\n<td></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><strong>Settings</strong></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>004000</td>\n<td>pin field is required</td>\n<td></td>\n</tr>\n<tr>\n<td>004001</td>\n<td>reset_token field is required</td>\n<td></td>\n</tr>\n<tr>\n<td>004002</td>\n<td>date_format field is required</td>\n<td></td>\n</tr>\n<tr>\n<td>004003</td>\n<td>time_format field is required</td>\n<td></td>\n</tr>\n<tr>\n<td>004004</td>\n<td>secondary_emails field is required</td>\n<td></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><strong>Trips</strong></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>005000</td>\n<td>trips_id field is required</td>\n<td></td>\n</tr>\n<tr>\n<td>005001</td>\n<td>notes field is required</td>\n<td></td>\n</tr>\n<tr>\n<td>005002</td>\n<td>trip_assign field is required</td>\n<td></td>\n</tr>\n<tr>\n<td>005003</td>\n<td>description field is required</td>\n<td></td>\n</tr>\n<tr>\n<td>005004</td>\n<td>trip_title field is required</td>\n<td></td>\n</tr>\n<tr>\n<td>005005</td>\n<td>trip_start_date field is required</td>\n<td></td>\n</tr>\n<tr>\n<td>005006</td>\n<td>trip_end_date field is required</td>\n<td></td>\n</tr>\n<tr>\n<td>005007</td>\n<td>trip_item_ids field is required</td>\n<td></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>005501</td>\n<td>Trip not found</td>\n<td></td>\n</tr>\n<tr>\n<td>005502</td>\n<td>Trip item not found</td>\n<td></td>\n</tr>\n<tr>\n<td>005503</td>\n<td>Please select minimum 2 trip for combine</td>\n<td></td>\n</tr>\n<tr>\n<td>005504</td>\n<td>Trip note not found</td>\n<td></td>\n</tr>\n<tr>\n<td>005505</td>\n<td>Trip note image not found</td>\n<td></td>\n</tr>\n<tr>\n<td>005506</td>\n<td>Trip note attachment not found</td>\n<td></td>\n</tr>\n<tr>\n<td>005507</td>\n<td>Trip type attachment not found</td>\n<td></td>\n</tr>\n<tr>\n<td>005508</td>\n<td>Trip custom background image not found</td>\n<td></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><strong>DocumentBox</strong></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>006000</td>\n<td>docboxs field is required</td>\n<td></td>\n</tr>\n<tr>\n<td>006001</td>\n<td>documentboxs field is required</td>\n<td></td>\n</tr>\n<tr>\n<td>006002</td>\n<td>documentboxs field format is invalid</td>\n<td></td>\n</tr>\n<tr>\n<td>006003</td>\n<td>documentboxs_id field is required</td>\n<td></td>\n</tr>\n<tr>\n<td>006004</td>\n<td>documentboxs_id field format is invalid</td>\n<td></td>\n</tr>\n<tr>\n<td>006005</td>\n<td>trip_docs_id field is required</td>\n<td></td>\n</tr>\n<tr>\n<td>006009</td>\n<td>trip_item_id field is required</td>\n<td></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>006501</td>\n<td>Document not found</td>\n<td></td>\n</tr>\n<tr>\n<td>006502</td>\n<td>Trip not found</td>\n<td></td>\n</tr>\n<tr>\n<td>006503</td>\n<td>Trip item not found</td>\n<td></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><strong>Pre-Travel Check</strong></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>007000</td>\n<td>traveldocs field is required</td>\n<td></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>007501</td>\n<td>PTC not found</td>\n<td></td>\n</tr>\n<tr>\n<td>007502</td>\n<td>You do not have enough credit</td>\n<td></td>\n</tr>\n<tr>\n<td>007503</td>\n<td>Passport not found</td>\n<td></td>\n</tr>\n<tr>\n<td>007504</td>\n<td>Passport issue country not found</td>\n<td></td>\n</tr>\n<tr>\n<td>007505</td>\n<td>Departure country not found</td>\n<td></td>\n</tr>\n<tr>\n<td>007506</td>\n<td>Arrival country not foundd</td>\n<td></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><strong>Currencies</strong></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><strong>Country</strong></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><strong>Airlines</strong></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><strong>Airport</strong></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><strong>Flight Stats</strong></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>012000</td>\n<td>flight_no field is required</td>\n<td></td>\n</tr>\n<tr>\n<td>012001</td>\n<td>departure_date field is required</td>\n<td></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><strong>Share Trip</strong></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>013501</td>\n<td>Trip not found</td>\n<td></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><strong>Sync Tracker</strong></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>014000</td>\n<td>id field is required</td>\n<td></td>\n</tr>\n<tr>\n<td>014001</td>\n<td>device_id field is required</td>\n<td></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>014501</td>\n<td>SyncLog not found</td>\n<td></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><strong>Immigration</strong></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>015000</td>\n<td>destination_country field is required</td>\n<td></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>015501</td>\n<td>Trip not found</td>\n<td></td>\n</tr>\n<tr>\n<td>015502</td>\n<td>Trip item not found</td>\n<td></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><strong>Notification</strong></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>016000</td>\n<td>notifications field is required</td>\n<td></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>016501</td>\n<td>Notification not found</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div></body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"How to work with TravelerBuddy","slug":"how-to-work-with-travelerbuddy"},{"content":"Authentication","slug":"authentication"},{"content":"Setup / Environments","slug":"setup-environments"},{"content":"Hint","slug":"hint"},{"content":"Notes","slug":"notes"},{"content":"Pricing and Rates","slug":"pricing-and-rates"},{"content":"Message codes","slug":"message-codes"}],"owner":"5762620","collectionId":"ed7ae2f7-7727-466e-a019-2ee776cf6be3","publishedId":"RzZ4q2AL","public":true,"customColor":{"top-bar":"072B43","right-sidebar":"303030","highlight":"ED4742"},"publishDate":"2018-11-02T07:17:14.000Z"},"item":[{"name":"Login and Registration","item":[{"name":"Register  Device (app & web)","id":"e0e5f699-6ca4-400b-a281-af564a6b4b6f","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n   \"app_version\": (string) App version, //\"1.8\"\r\n   \"build_name\": (string) Build Name, //\"19\"\r\n   \"build_version\": (string) Build Version, //\"1.8\"\r\n   \"imei\": (string) Device IMEI, //\"4555D213-...\"\r\n   \"msisdn\": (string) Device MSISDN, //\"15555215554...\"\r\n   \"operator_name\": (string) Network Device Operator, //\"Vodacom\"\r\n   \"phone_manufacturer\": (string) Device Manufacturer, //\"Apple\"\r\n   \"phone_model\": (string) Device Model, //\"iPhone\"\r\n   \"primary_email\": (string) Device Primary Email, //\"info@travelerbuddy.com\"\r\n   \"sim_number\": (string) Device Card Number, //\"89014103...\"\r\n   \"gcm_regid\": (string) Firebase token, //\"fdfBh7yrSG4:APA9...\"\r\n   \"modified_date\": (integer) Modified date timestamp, //\"1493874144\"\r\n }"},"url":"{{host}}/pub/v1/regdevice","description":"<p>Allows API to get user's device information in order to generate a session.</p>\n<div class=\"headers\">\n<div class=\"heading\">VALUES</div>\n<hr />\n\n<div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">app_version</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) App version, //\"1.8\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">build_name</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Build Name, //\"19\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">build_version</div>\n            <div class=\"value col-md-9 col-xs-12\"> (string) Build Version, //\"1.8\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">imei</div>\n            <div class=\"value col-md-9 col-xs-12\"> Device IMEI, //\"4555D213-...\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">msisdn</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Device MSISDN, //\"15555215554...\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">operator_name</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Network Device Operator, //\"Vodacom\"</div>\n          </div>\n           <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">phone_manufacturer</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Device Manufacturer, //\"Apple\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">phone_model</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Device Model, //\"iPhone\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">primary_email</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Device Primary Email, //\"info@travelerbuddy.com\"</div>\n          </div>\n           <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">sim_number</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Device Card Number, //\"89014103...\"</div>\n          </div>\n           <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">gcm_regid</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Firebase token, //\"fdfBh7yrSG4:APA9...\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">modified_date</div>\n            <div class=\"value col-md-9 col-xs-12\">(integer) Modified date timestamp, //\"1493874144\"</div>\n          </div>\n          \n</div>","urlObject":{"path":["pub","v1","regdevice"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"31c4d92e-d96c-4037-bf14-994643806f28","name":"Register User Device","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n   \"app_version\": (string) App version, //\"1.8\"\r\n   \"build_name\": (string) Build Name, //\"19\"\r\n   \"build_version\": (string) Build Version, //\"1.8\"\r\n   \"imei\": (string) Device IMEI, //\"4555D213-...\"\r\n   \"msisdn\": (string) Device MSISDN, //\"15555215554...\"\r\n   \"operator_name\": (string) Network Device Operator, //\"Vodacom\"\r\n   \"phone_manufacturer\": (string) Device Manufacturer, //\"Apple\"\r\n   \"phone_model\": (string) Device Model, //\"iPhone\"\r\n   \"primary_email\": (string) Device Primary Email, //\"info@travelerbuddy.com\"\r\n   \"sim_number\": (string) Device Card Number, //\"89014103...\"\r\n   \"gcm_regid\": (string) Firebase token, //\"fdfBh7yrSG4:APA9...\"\r\n   \"modified_date\": (integer) Modified date timestamp, //\"1493874144\"\r\n }"},"url":"{{host}}/pub/v1/regdevice"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n   \"status\": \"000000\",\r\n  \"message\": \"success\",\r\n  \"data\": {\r\n     \"id\": (string) Device uuid, //\"6e3576d3-6709-4384-8b7d-f918a43b5503\",\r\n     \"session\": (string) Session, //\"6ce37dfe0b9a76981...\"\r\n  }\r\n}"}],"_postman_id":"e0e5f699-6ca4-400b-a281-af564a6b4b6f"},{"name":"Update Device (app)","id":"d47a7802-07a8-40e5-8b91-56a29fe67905","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":"{\n  \"app_version\" : \"1\",\n  \"build_name\" : \"1.0\",\n  \"build_version\" : \"1\",\n  \"imei\" : \"1234512345\",\n  \"modified_date\" : 213123123,\n  \"msisdn\" : \"-\",\n  \"operator_name\" : \"xl\",\n  \"phone_manufacturer\" : \"browser\",\n  \"phone_model\" : \"browser\",\n  \"primary_email\" : \"test@test.com\",\n  \"gcm_regid\": \"fdfBh7yrSG4:APA9...\",\n  \"sim_number\" : \"123123\"\n}"},"url":"{{host}}/pub/v1/update-device","description":"<p>Updates app version (in case the app upgraded) and gcm ID (in case it needs to refresh the firebase notification token) while the app is open and the user is already logged into the app.</p>\n<div class=\"headers\">\n<div class=\"heading\">VALUES</div>\n<hr />\n\n<div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">app_version</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) App version, //\"1.8\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">build_name</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Build Name, //\"19\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">build_version</div>\n            <div class=\"value col-md-9 col-xs-12\"> (string) Build Version, //\"1.8\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">imei</div>\n            <div class=\"value col-md-9 col-xs-12\"> Device IMEI, //\"4555D213-...\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">msisdn</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Device MSISDN, //\"15555215554...\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">operator_name</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Network Device Operator, //\"Vodacom\"</div>\n          </div>\n           <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">phone_manufacturer</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Device Manufacturer, //\"Apple\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">phone_model</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Device Model, //\"iPhone\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">primary_email</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Device Primary Email, //\"info@travelerbuddy.com\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">gcm_regid</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Firebase token, //\"fdfBh7yrSG4:APA9...\"</div>\n          </div>\n           <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">sim_number</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Device Card Number, //\"89014103...\"</div>\n          </div>\n          \n</div>\n","urlObject":{"path":["pub","v1","update-device"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"f93360f3-b388-4015-b469-624d0e74bcdc","name":"Device Update","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":"{\n  \"app_version\" : \"1\",\n  \"build_name\" : \"1.0\",\n  \"build_version\" : \"1\",\n  \"imei\" : \"1234512345\",\n  \"modified_date\" : 213123123,\n  \"msisdn\" : \"-\",\n  \"operator_name\" : \"xl\",\n  \"phone_manufacturer\" : \"browser\",\n  \"phone_model\" : \"browser\",\n  \"primary_email\" : \"test@test.com\",\n  \"gcm_regid\": \"fdfBh7yrSG4:APA9...\",\n  \"sim_number\" : \"123123\"\n}"},"url":"{{host}}/pub/v1/update-device"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n  \"status\": \"000000\",\r\n  \"message\": \"success\",\r\n   \"data\": []\r\n }"}],"_postman_id":"d47a7802-07a8-40e5-8b91-56a29fe67905"},{"name":"Pre Register (app)","id":"a8e669f0-e5d2-4099-8bcb-5b4bd7ac8c48","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":"{\n  \"email\" : \"foobar@gmail.com\",\n  \"password\" : \"Foobar123!\",\n  \"promo_code\": \"promocode\"\n}"},"url":"{{host}}/pub/v1/pre-register/:type","description":"<p>Checks for existing registers email before adding first name and last name during registration.</p>\n<div class=\"headers\">\n<div class=\"heading\">VALUES</div>\n<hr />\n\n<div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">email</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) User's email.</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">password</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) User's password.</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">promo_code</div>\n            <div class=\"value col-md-9 col-xs-12\"> (string) User's valid promo code</div>\n          </div>\n         \n          \n</div>\n","urlObject":{"path":["pub","v1","pre-register",":type"],"host":["{{host}}"],"query":[],"variable":[{"description":{"content":"<p>email, facebook, google, linkedin</p>\n","type":"text/plain"},"type":"any","value":"","key":"type"}]}},"response":[{"id":"3b0f0660-00a2-43cd-9ce6-ea871b178d6f","name":"Pre Register","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":"{\n  \"email\" : \"foobar@gmail.com\",\n  \"password\" : \"Foobar123!\",\n  \"promo_code\": \"promocode\"\n}"},"url":{"raw":"{{host}}/pub/v1/pre-register/:type","host":["{{host}}"],"path":["pub","v1","pre-register",":type"],"variable":[{"key":"type","value":"","description":"email, facebook, google, linkedin"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n  \"status\": \"000000\",\r\n   \"message\": \"success\",\r\n   \"data\": []\r\n}"}],"_postman_id":"a8e669f0-e5d2-4099-8bcb-5b4bd7ac8c48"},{"name":"Sign-up (app & web).","id":"2fd1e832-45cd-4d75-8c3f-370f3cd4245b","request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":"{\r\n     \"email\": (string) User Email Address, //\"foobar@mail.com\"\r\n     \"password\": (string) User Password, //\"Foobar123!\"\r\n     \"first_name\": (string) User First Name, //\"Foo\"\r\n     \"last_name\": (string) User Last Name, //\"Bar\"\r\n     \"promo_code\": (string) Promo Code (optional), //\"TBPROMO\"\r\n}"},"url":"{{host}}/pub/v1/sign-up","description":"<p>Allows the user to be registered within the TravelerBuddy platform.</p>\n<div class=\"headers\">\n<div class=\"heading\">VALUES</div>\n<hr />\n\n<div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">email</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) User's email address</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">password</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) User's password</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">first_name</div>\n            <div class=\"value col-md-9 col-xs-12\"> (string) User's firstname</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">last_name</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) User's lastname</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">promo_code</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Promo Code (optional)</div>\n          </div>\n          \n</div>","urlObject":{"path":["pub","v1","sign-up"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"debc56a3-2a76-48a8-9bc9-74c966f2524a","name":"Sign-up","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n     \"email\": (string) User Email Address, //\"foobar@mail.com\"\r\n     \"password\": (string) User Password, //\"Foobar123!\"\r\n     \"first_name\": (string) User First Name, //\"Foo\"\r\n     \"last_name\": (string) User Last Name, //\"Bar\"\r\n     \"promo_code\": (string) Promo Code (optional), //\"TBPROMO\"\r\n}"},"url":"{{host}}/pub/v1/sign-up"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n   \"status\": \"000000\",\r\n   \"message\": \"success\",\r\n   \"data\": {\r\n     \"id\": (string) User uuid, //\"6e3576d3-6709-4384-8b7d-f918a43b5503\",\r\n     \"first_name\": (string) User First Name, //\"Foo\"\r\n     \"last_name\": (string) User Last Name, //\"Bar\"\r\n     \"email\": (string) User Email Address, //\"foobar@mail.com\"\r\n     \"session\": (string) Session, //\"6ce37dfe0b9a76981...\"\r\n   }\r\n }"}],"_postman_id":"2fd1e832-45cd-4d75-8c3f-370f3cd4245b"},{"name":"Login (app & web)","id":"8622480a-c600-4a85-8a45-c9cf4edabb21","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"email\": (string) User Email Address, //\"foobar@mail.com\"\r\n  \"password\": (string) User Password, //\"Foobar123!\"\r\n}\r\n"},"url":"{{host}}/pub/v1/login","description":"<p>Allows the user to login to the TravelerBuddy platform using the user's email address and set password.</p>\n<div class=\"headers\">\n<div class=\"heading\">VALUES</div>\n<hr />\n\n<div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">email</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) User's email address</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">password</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) User's password</div>\n          </div>\n  \n</div>\n","urlObject":{"path":["pub","v1","login"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"ebe9595c-d53e-4343-87bb-6408596201cb","name":"Login","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"email\": (string) User Email Address, //\"foobar@mail.com\"\r\n  \"password\": (string) User Password, //\"Foobar123!\"\r\n}\r\n"},"url":"{{host}}/pub/v1/login"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n   \"status\": \"000000\",\r\n   \"message\": \"success\",\r\n   \"data\": {\r\n     \"id\": (string) User uuid, //\"6e3576d3-6709-4384-8b7d-f918a43b5503\",\r\n    \"first_name\": (string) User First Name, //\"Foo\",\r\n     \"last_name\": (string) User Last Name, //\"Bar\",\r\n     \"email\": (string) User Email Address, //\"foobar@mail.com\"\r\n    \"session\": (string) Session, //\"6ce37dfe0b9a76981...\"\r\n     \"is_verified\": (boolean) Is Verified, //true or false\r\n   }\r\n }"}],"_postman_id":"8622480a-c600-4a85-8a45-c9cf4edabb21"},{"name":"Forgot Password (app & web)","id":"a04d5b48-2c35-4559-bc20-5b37f76c3a62","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"myemail@mail.com\"\n}"},"url":"{{host}}/pub/v1/forgot_password","description":"<p>Allows the user to request for a password reset (via registered email) if the user forgot the password.</p>\n<div class=\"headers\">\n<div class=\"heading\">VALUES</div>\n<hr />\n\n<div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">email</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) User's email address</div>\n          </div>\n          \n</div>\n","urlObject":{"path":["pub","v1","forgot_password"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"fd2a0762-0260-464f-9842-b37750d37ca0","name":"Forgot Password","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"myemail@mail.com\"\n}"},"url":"{{host}}/pub/v1/forgot_password"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n   \"status\": \"000000\",\r\n   \"message\": \"success\",\r\n   \"data\": []\r\n }"}],"_postman_id":"a04d5b48-2c35-4559-bc20-5b37f76c3a62"},{"name":"Check Email Status (app)","id":"721cc34f-76b8-4b32-b17d-f30b260d13ed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":"{\n  \"email\" : \"9foobar@gmail.com\"\n}"},"url":"{{host}}/pub/v1/email-status","description":"<p>Checks if email is registered or not in the app.</p>\n<div class=\"headers\">\n<div class=\"heading\">VALUES</div>\n<hr />\n\n<div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">email</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) User's email address</div>\n          </div>\n        \n</div>\n","urlObject":{"path":["pub","v1","email-status"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"c616845a-a4e0-4662-832d-eb4254f2e59c","name":"Check Email Status","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":"{\n  \"email\" : \"9foobar@gmail.com\"\n}"},"url":"{{host}}/pub/v1/email-status"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n   \"status\": \"000000\",\r\n   \"message\": \"success\",\r\n  \"data\": {\r\n    \"status\": (string) Email status, //\"(unregistered/email/facebook/google/linkedin/twitter)\",\r\n   }\r\n}"}],"_postman_id":"721cc34f-76b8-4b32-b17d-f30b260d13ed"},{"name":"Social Media Register (app)","id":"478f21d8-ae1d-4227-a041-9b132817f18e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":"{\n\t\"code\": \"test\",\n    \"first_name\": \"foo\",\n    \"last_name\": \"bar\",\n    \"password\": \"foobar123\"\n}"},"url":"{{host}}/pub/v1/social-register/:social_media_type","description":"<p>Allows the user to register using a Facebook, LinkedIn or Google Plus account.</p>\n<div class=\"headers\">\n<div class=\"heading\">VALUES</div>\n<hr />\n\n<div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">code</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Social Media Access Token</div>\n          </div>\n           <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">firstname</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) User's firstname</div>\n          </div>\n           <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">lastname</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) User's lastname</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">password</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) User's password</div>\n          </div>\n  \n</div>\n","urlObject":{"path":["pub","v1","social-register",":social_media_type"],"host":["{{host}}"],"query":[],"variable":[{"description":{"content":"<p>google,linkedin,facebook</p>\n","type":"text/plain"},"type":"any","value":"","key":"social_media_type"}]}},"response":[{"id":"d888db4e-318c-411a-acaa-02605151636b","name":"Social Media Register","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":"{\n\t\"code\": \"test\",\n    \"first_name\": \"foo\",\n    \"last_name\": \"bar\",\n    \"password\": \"foobar123\"\n}"},"url":{"raw":"{{host}}/pub/v1/social-register/:social_media_type","host":["{{host}}"],"path":["pub","v1","social-register",":social_media_type"],"variable":[{"key":"social_media_type","value":"","description":"google,linkedin,facebook"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n     \"status\": \"000000\",\r\n  \"message\": \"success\",\r\n      \"data\": {\r\n        \"id\": (string) User uuid, //\"6e3576d3-6709-4384-8b7d-f918a43b5503\",\r\n       \"first_name\": (string) User First Name, //\"Foo\"\r\n       \"last_name\": (string) User Last Name, //\"Bar\"\r\n        \"email\": (string) User Email Address, //\"foobar@mail.com\"\r\n        \"session\": (string) Session, //\"6ce37dfe0b9a76981...\"\r\n  }\r\n }"}],"_postman_id":"478f21d8-ae1d-4227-a041-9b132817f18e"},{"name":"Social Media Login (app)","id":"eff871a2-a708-4344-a547-1fffbbab5fa2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":"{\n\t\"code\": \"test\"\n}"},"url":"{{host}}/pub/v1/social-login/:social_media_type","description":"<p>Allows the user to login using a Facebook, LinkedIn or Google Plus account.</p>\n<div class=\"headers\">\n<div class=\"heading\">VALUES</div>\n<hr />\n\n<div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">code</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Social Media Access Token</div>\n          </div>\n         \n  \n</div>\n","urlObject":{"path":["pub","v1","social-login",":social_media_type"],"host":["{{host}}"],"query":[],"variable":[{"description":{"content":"<p>facebook, google, linkedin</p>\n","type":"text/plain"},"type":"any","value":"","key":"social_media_type"}]}},"response":[{"id":"8f883713-c4a4-4cc3-8632-37dad6613b57","name":"Social Media Login","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":"{\n\t\"code\": \"test\"\n}"},"url":{"raw":"{{host}}/pub/v1/social-login/:social_media_type","host":["{{host}}"],"path":["pub","v1","social-login",":social_media_type"],"variable":[{"key":"social_media_type","value":"","description":"facebook, google, linkedin"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":" {\r\n    \"status\": \"000000\",\r\n    \"message\": \"success\",\r\n    \"data\": {\r\n      \"id\": (string) User uuid, //\"6e3576d3-6709-4384-8b7d-f918a43b5503\",\r\n      \"first_name\": (string) User First Name, //\"Foo\",\r\n      \"last_name\": (string) User Last Name, //\"Bar\",\r\n      \"email\": (string) User Email Address, //\"foobar@mail.com\"\r\n      \"session\": (string) Session, //\"6ce37dfe0b9a76981...\"\r\n      \"first_login\": (boolean) Is First Login, //true or false\r\n    \"first_login_mobile\": (boolean) Is First Mobile Login, //true or false\r\n     \"is_verified\": (boolean) Is Verified, //true or false\r\n   }\r\n }"}],"_postman_id":"eff871a2-a708-4344-a547-1fffbbab5fa2"},{"name":"Verify Social Media (app)","id":"161fe188-494d-4052-95e5-e121021bffe6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"foobar@gmail.com\"\n}"},"url":"{{host}}/pub/v1/verify_social_media","description":"<p>Checks if the selected social media account is registered or not in the TravlerBuddy platform.</p>\n<div class=\"headers\">\n<div class=\"heading\">VALUES</div>\n<hr />\n\n<div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">email</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) User's email address</div>\n          </div>\n         \n  \n</div>\n","urlObject":{"path":["pub","v1","verify_social_media"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"6df17e8b-e756-4313-855b-49675c50dbeb","name":"Verify Social Media","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"foobar@gmail.com\"\n}"},"url":"{{host}}/pub/v1/verify_social_media"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": \"000000\",\r\n   \"message\": \"success\",\r\n   \"data\": {\r\n     \"id\": (string) User uuid, //\"6e3576d3-6709-4384-8b7d-f918a43b5503\",\r\n    \"email\": (string) User Email Address, //\"foobar@mail.com\"\r\n\t }\r\n }"}],"_postman_id":"161fe188-494d-4052-95e5-e121021bffe6"}],"id":"2bd744b6-116b-49e3-a856-5f3a4b3223ce","description":"<p>Collection for registration of user device, registration of user and login of user</p>\n","event":[{"listen":"prerequest","script":{"id":"40cd80a1-6146-4adc-81be-33b593bb049d","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"ea1f6ab5-eb35-4f30-9c40-7087dbb8fd5b","type":"text/javascript","exec":[""]}}],"_postman_id":"2bd744b6-116b-49e3-a856-5f3a4b3223ce"},{"name":"Info","item":[{"name":"Help (app & web)","id":"ea35ba42-e2ec-4a0a-8695-be3b594a2c17","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"url":"{{host}}/pub/v1/help","description":"<p>Receives latest help texts</p>\n","urlObject":{"path":["pub","v1","help"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"d53d7916-31b3-42e9-9cd3-f88967a415fd","name":"Help","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"url":"{{host}}/pub/v1/help"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n     \"status\": \"000000\",\r\n       \"message\": \"success.\",\r\n     \"data\": [\r\n        {\r\n           \"id\": (string) Help uuid, //\"d810aa5b-e62f-4755-8a18-17c18e73f07b\"\r\n          \"title\": (string) Help title, //\"What is the ...\"\r\n           \"description\": (string html) Help description, //\"Please refer ...\"\r\n           \"created_at\": (integer) Help created timestamp, //1442465139\r\n         \"updated_at\": (integer) Help updated timestamp, //1442465139\r\n        },\r\n      ...\r\n    ]\r\n }\r\n"}],"_postman_id":"ea35ba42-e2ec-4a0a-8695-be3b594a2c17"},{"name":"Terms (app & web)","id":"4e3ced63-d5fb-4e20-8c04-b94e7f7d8778","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"url":"{{host}}/pub/v1/terms","description":"<p>Receives TravelerBuddy's latest terms and conditions</p>\n","urlObject":{"path":["pub","v1","terms"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"7f13adbb-e28b-44db-968b-51c87417f651","name":"Terms","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"DEVICE-SESSION"},{"key":"x-client-id","type":"text","value":"API-KEY"},{"key":"x-client-secret","type":"text","value":"API-SECRET-KEY"}],"url":"https://api.travelerbuddy.com/pub/v1/terms"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n      \"status\": \"000000\",\r\n    \"message\": \"success.\",\r\n     \"data\": [\r\n     {\r\n       \"id\": (string) Term uuid, //\"d810aa5b-e62f-4755-8a18-17c18e73f07b\"\r\n       \"description\": (string html) Term description, //\"TravelerBuddy believes tha ...\"\r\n       \"updated_at\": (integer) Term updated timestamp, //1442465139\r\n    }\r\n   ]\r\n }"}],"_postman_id":"4e3ced63-d5fb-4e20-8c04-b94e7f7d8778"},{"name":"Whats New (app)","id":"f7555e2d-f13d-4b9f-ba50-961d93af049f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"url":"{{host}}/pub/v1/whats-new/:version","description":"<p>Receives lates What's new texts based on currently installed version</p>\n","urlObject":{"path":["pub","v1","whats-new",":version"],"host":["{{host}}"],"query":[],"variable":[{"description":{"content":"<p>current version</p>\n","type":"text/plain"},"type":"any","value":"","key":"version"}]}},"response":[{"id":"0f7835a1-62f0-4b13-bce7-f5a4260326be","name":"Whats New","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"url":{"raw":"{{host}}/pub/v1/whats-new/:version","host":["{{host}}"],"path":["pub","v1","whats-new",":version"],"variable":[{"key":"version","value":"","description":"current version"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n   \"status\": \"000000\",\r\n   \"message\": \"success.\",\r\n   \"data\": {\r\n     \"version\": (string) Latest What's new version from app version of parameter, //\"1.8\"\r\n    \"release_notes\": [\r\n        (string) Release notes description, // \"Added a ...\",\r\n         ...\r\n     ]\r\n   }\r\n }"}],"_postman_id":"f7555e2d-f13d-4b9f-ba50-961d93af049f"}],"id":"d3f14e29-6b56-42fc-b79b-0a72442db868","description":"<p>Collection for retrieving help texts, what's new updated and termn and conditions</p>\n","_postman_id":"d3f14e29-6b56-42fc-b79b-0a72442db868"},{"name":"Profile","item":[{"name":"Credit Card","item":[{"name":"Get Credit Card List (web)","id":"3e0be805-7774-4646-aaad-2331d15af814","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"},{"key":"x-session","type":"text","value":"{{session}}"}],"body":{"mode":"raw","raw":"{\r\n    \"card_type\": \"CREDIT CARD\",\r\n    \"card_company\": \"AMEX\",\r\n    \"issuing_bank\": \"China Bank\",\r\n    \"issuing_country\": \"China\",\r\n    \"currency\": \"USD\",\r\n    \"credit_limit\": \"2000\",\r\n    \"card_number\": \"12345678\",\r\n    \"valid_thru\": 1504216800,\r\n    \"cvv\": \"123\",\r\n    \"card_credit_code\": \"1234\",\r\n    \"contact_no\": \"123-45678\",\r\n    \"hotline_no\": \"456-78910\",\r\n    \"name_on_card\": \"Foo Bar\"\r\n}"},"url":"{{host}}/pub/v1/{{user_id}}/profile/credit-card","description":"<p>Users can view all the registered credit cards</p>\n","urlObject":{"path":["pub","v1","{{user_id}}","profile","credit-card"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"495a182e-5957-42e2-a7cd-b2dcadef6312","name":"Credit Card List Detail","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"},{"key":"x-session","type":"text","value":"{{session}}"}],"body":{"mode":"raw","raw":"{\r\n    \"card_type\": \"CREDIT CARD\",\r\n    \"card_company\": \"AMEX\",\r\n    \"issuing_bank\": \"China Bank\",\r\n    \"issuing_country\": \"China\",\r\n    \"currency\": \"USD\",\r\n    \"credit_limit\": \"2000\",\r\n    \"card_number\": \"12345678\",\r\n    \"valid_thru\": 1504216800,\r\n    \"cvv\": \"123\",\r\n    \"card_credit_code\": \"1234\",\r\n    \"contact_no\": \"123-45678\",\r\n    \"hotline_no\": \"456-78910\",\r\n    \"name_on_card\": \"Foo Bar\"\r\n}"},"url":"{{host}}/pub/v1/{{user_id}}/profile/credit-card"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": \"000000\",\r\n     \"message\": \"success\",\r\n    \"data\": [\r\n        {\r\n          \"id\": (string) Profile card uuid, //\"c6614f3a-eaa5-4347-a5a4-0ef13a46eb0d\"\r\n          \"card_type\": (string) Profile card type, //\"CREDIT CARD\"\r\n        \"card_company\": (string) Profile card company, //\"AMEX\"\r\n         \"issuing_bank\": (string) Profile card bank issue, //\"China Bank\"\r\n        \"issuing_country\": (string) Profile card country issue, //\"China\"\r\n          \"currency\": (string) Profile card currency, //\"USD\"\r\n         \"credit_limit\": (string) Profile card credit limit, //\"2000\"\r\n        \"card_number\": (string) Profile card number, //\"12345678\"\r\n         \"valid_thru\": (string) Profile card valid thru, //1504216800\r\n        \"cvv\": (string) Profile card cvv, //\"123\"\r\n         \"card_credit_code\": (string) Profile card code, //\"1234\"\r\n         \"contact_no\": (string) Profile card contact number, //\"123-45678\"\r\n        \"hotline_no\": (string) Profile card hotline number, //\"456-78910\"\r\n          \"name_on_card\": (string) Profile card name, //\"Foo Bar\"\r\n        \"card_images\": (array) Profile card images, //[\r\n           {\r\n            \"id\": (string) Profile card image/resource uuid,//\"03b9f5b8-e0db-43b8-9688-95c0b14af841\"\r\n            \"url\": (string) Profile card image url, //\"https://...\"\r\n           },\r\n            ...\r\n         ],\r\n         \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n       },\r\n        ...\r\n     ]\r\n }"}],"_postman_id":"3e0be805-7774-4646-aaad-2331d15af814"},{"name":"Create Credit Card (app & web)","id":"79d5ebc2-89e0-4d8a-ac2c-b073d8095520","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"card_type\": \"CREDIT CARD\",\r\n    \"card_company\": \"AMEX\",\r\n    \"issuing_bank\": \"China Bank\",\r\n    \"issuing_country\": \"China\",\r\n    \"currency\": \"USD\",\r\n    \"credit_limit\": \"2000\",\r\n    \"card_number\": \"12345678\",\r\n    \"valid_thru\": 1504216800,\r\n    \"cvv\": \"123\",\r\n    \"card_credit_code\": \"1234\",\r\n    \"contact_no\": \"123-45678\",\r\n    \"hotline_no\": \"456-78910\",\r\n    \"name_on_card\": \"Foo Bar\"\r\n}"},"url":"{{host}}/pub/v1/{{user_id}}/profile/credit-card","description":"<p>Allows users to  add there credit card information.</p>\n<div class=\"headers\">\n<div class=\"heading\">VALUES</div>\n<hr />\n\n<div class=\"param row\">\n         <div class=\"param row\">\n           <div class=\"name col-md-3 col-xs-12\">card_type</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Profile card type, //\"CREDIT CARD\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">card_company</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Profile card company, //\"AMEX\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">issuing_bank</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Profile card bank issue, //\"China Bank\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">issuing_country</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Profile card country issue, //\"China\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">currency</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Profile card currency, //\"USD\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">credit_limit</div>\n            <div class=\"value col-md-9 col-xs-12\"> (string) Profile card credit limit, //\"2000\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">card_number</div>\n            <div class=\"value col-md-9 col-xs-12\"> (string) Profile card number, //\"12345678\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">valid_thru</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Profile card valid thru, //150421680</div>\n          </div>\n           <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">cvv</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Profile card cvv, //\"123\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">card_credit_code</div>\n            <div class=\"value col-md-9 col-xs-12\"> (string) Profile card code, //\"1234\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">contact_no</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Profile card contact number, //\"123-45678\"</div>\n          </div>\n         <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">hotline_no</div>\n            <div class=\"value col-md-9 col-xs-12\"> (string) Profile card hotline number, //\"456-78910\"</div>\n          </div>\n         \n           \n          \n </div>         \n</div>","urlObject":{"path":["pub","v1","{{user_id}}","profile","credit-card"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"34fe91ea-8169-4f21-9e8e-c362f47c3191","name":"Create Credit Card (app & web)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"card_type\": \"CREDIT CARD\",\r\n    \"card_company\": \"AMEX\",\r\n    \"issuing_bank\": \"China Bank\",\r\n    \"issuing_country\": \"China\",\r\n    \"currency\": \"USD\",\r\n    \"credit_limit\": \"2000\",\r\n    \"card_number\": \"12345678\",\r\n    \"valid_thru\": 1504216800,\r\n    \"cvv\": \"123\",\r\n    \"card_credit_code\": \"1234\",\r\n    \"contact_no\": \"123-45678\",\r\n    \"hotline_no\": \"456-78910\",\r\n    \"name_on_card\": \"Foo Bar\"\r\n}"},"url":"{{host}}/pub/v1/{{user_id}}/profile/credit-card"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n   \"status\": \"000000\",\r\n   \"message\": \"success\",\r\n   \"data\": {\r\n     \"mobile_id\": (string) Profile card ID of App, \r\n     \"id\": (string) Profile card uuid, //\"fb3496fb-eeb3-4acf-8a67-5829bd87264f\"\r\n     \"card_type\": (string) Profile card type, //\"CREDIT CARD\"\r\n     \"card_company\": (string) Profile card company, //\"AMEX\"\r\n     \"issuing_bank\": (string) Profile card bank issue, //\"China Bank\"\r\n     \"issuing_country\": (string) Profile card country issue, //\"China\"\r\n     \"currency\": (string) Profile card currency, //\"USD\"\r\n     \"credit_limit\": (string) Profile card credit limit, //\"2000\"\r\n     \"card_number\": (string) Profile card number, //\"12345678\"\r\n     \"valid_thru\": (string) Profile card valid thru, //1504216800\r\n     \"cvv\": (string) Profile card cvv, //\"123\"\r\n     \"card_credit_code\": (string) Profile card code, //\"1234\"\r\n     \"contact_no\": (string) Profile card contact number, //\"123-45678\"\r\n     \"hotline_no\": (string) Profile card hotline number, //\"456-78910\"\r\n     \"picture\": null\r\n     \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n   }\r\n }"}],"_postman_id":"79d5ebc2-89e0-4d8a-ac2c-b073d8095520"},{"name":"Update Credit Card (app & web)","id":"b77a0c80-057b-4f52-955d-cc378bd10746","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"card_type\": \"CREDIT CARDA\",\r\n    \"card_company\": \"AMEXA\",\r\n    \"issuing_bank\": \"China BankA\",\r\n    \"issuing_country\": \"ChinaA\",\r\n    \"currency\": \"USA\",\r\n    \"credit_limit\": \"20001\",\r\n    \"card_number\": \"123456781\",\r\n    \"valid_thru\": 1504216800,\r\n    \"cvv\": \"121\",\r\n    \"card_credit_code\": \"12341\",\r\n    \"contact_no\": \"123-456781\",\r\n    \"hotline_no\": \"456-789101\",\r\n    \"name_on_card\": \"Foo BarA\"\r\n}"},"url":"{{host}}/pub/v1/{{user_id}}/profile/credit-card/:credit_card_id","description":"<p>Allows users to update their credit card information.</p>\n<div class=\"headers\">\n<div class=\"heading\">VALUES</div>\n<hr />\n\n<div class=\"param row\">\n         <div class=\"param row\">\n           <div class=\"name col-md-3 col-xs-12\">card_type</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Profile card type, //\"CREDIT CARD\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">card_company</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Profile card company, //\"AMEX\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">issuing_bank</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Profile card bank issue, //\"China Bank\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">issuing_country</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Profile card country issue, //\"China\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">currency</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Profile card currency, //\"USD\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">credit_limit</div>\n            <div class=\"value col-md-9 col-xs-12\"> (string) Profile card credit limit, //\"2000\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">card_number</div>\n            <div class=\"value col-md-9 col-xs-12\"> (string) Profile card number, //\"12345678\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">valid_thru</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Profile card valid thru, //150421680</div>\n          </div>\n           <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">cvv</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Profile card cvv, //\"123\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">card_credit_code</div>\n            <div class=\"value col-md-9 col-xs-12\"> (string) Profile card code, //\"1234\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">contact_no</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Profile card contact number, //\"123-45678\"</div>\n          </div>\n         <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">hotline_no</div>\n            <div class=\"value col-md-9 col-xs-12\"> (string) Profile card hotline number, //\"456-78910\"</div>\n          </div>\n         \n           \n          \n </div>         \n</div>","urlObject":{"path":["pub","v1","{{user_id}}","profile","credit-card",":credit_card_id"],"host":["{{host}}"],"query":[],"variable":[{"description":{"content":"<p>Credit Card uuid</p>\n","type":"text/plain"},"type":"any","value":"","key":"credit_card_id"}]}},"response":[{"id":"3178a974-8925-468f-8d96-254a6e9d7f32","name":"Update Credit Card (app & web)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"card_type\": \"CREDIT CARDA\",\r\n    \"card_company\": \"AMEXA\",\r\n    \"issuing_bank\": \"China BankA\",\r\n    \"issuing_country\": \"ChinaA\",\r\n    \"currency\": \"USA\",\r\n    \"credit_limit\": \"20001\",\r\n    \"card_number\": \"123456781\",\r\n    \"valid_thru\": 1504216800,\r\n    \"cvv\": \"121\",\r\n    \"card_credit_code\": \"12341\",\r\n    \"contact_no\": \"123-456781\",\r\n    \"hotline_no\": \"456-789101\",\r\n    \"name_on_card\": \"Foo BarA\"\r\n}"},"url":{"raw":"{{host}}/pub/v1/{{user_id}}/profile/credit-card/:credit_card_id","host":["{{host}}"],"path":["pub","v1","{{user_id}}","profile","credit-card",":credit_card_id"],"variable":[{"description":"Credit Card uuid","key":"credit_card_id","value":""}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":" {\r\n   \"status\": \"000000\",\r\n   \"message\": \"success\",\r\n  \"data\": {\r\n     \"mobile_id\": (string) Profile card ID of App, \r\n     \"id\": (string) Profile card uuid, //\"fb3496fb-eeb3-4acf-8a67-5829bd87264f\"\r\n     \"card_type\": (string) Profile card type, //\"CREDIT CARD\"\r\n     \"card_company\": (string) Profile card company, //\"AMEX\"\r\n     \"issuing_bank\": (string) Profile card bank issue, //\"China Bank\"\r\n     \"issuing_country\": (string) Profile card country issue, //\"China\"\r\n     \"currency\": (string) Profile card currency, //\"USD\"\r\n     \"credit_limit\": (string) Profile card credit limit, //\"2000\"\r\n     \"card_number\": (string) Profile card number, //\"12345678\"\r\n     \"valid_thru\": (string) Profile card valid thru, //1504216800\r\n     \"cvv\": (string) Profile card cvv, //\"123\"\r\n     \"card_credit_code\": (string) Profile card code, //\"1234\"\r\n     \"contact_no\": (string) Profile card contact number, //\"123-45678\"\r\n     \"hotline_no\": (string) Profile card hotline number, //\"456-78910\"\r\n     \"picture\": (string) Profile card picture url, //\"http://...\"\r\n     \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n   }\r\n }"}],"_postman_id":"b77a0c80-057b-4f52-955d-cc378bd10746"},{"name":"Delete Credit Card (app & web)","id":"7261d80a-4baa-4c25-b51b-b89e38084ca3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"raw","raw":""},"url":"{{host}}/pub/v1/{{user_id}}/profile/credit-card/:credit_card_id","description":"<p>Allows users to remove their credit card information</p>\n","urlObject":{"path":["pub","v1","{{user_id}}","profile","credit-card",":credit_card_id"],"host":["{{host}}"],"query":[],"variable":[{"description":{"content":"<p>Credit Card uuid</p>\n","type":"text/plain"},"type":"any","value":"","key":"credit_card_id"}]}},"response":[{"id":"b7b552e4-3a8d-4740-b3cf-b13df032fc08","name":"Delete Credit Card (app & web)","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{host}}/pub/v1/{{user_id}}/profile/credit-card/:credit_card_id","host":["{{host}}"],"path":["pub","v1","{{user_id}}","profile","credit-card",":credit_card_id"],"variable":[{"key":"credit_card_id","value":"","description":"Credit Card uuid"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":" {\r\n   \"status\": \"000000\",\r\n   \"message\": \"success\",\r\n   \"data\": []\r\n }"}],"_postman_id":"7261d80a-4baa-4c25-b51b-b89e38084ca3"},{"name":"Upload Credit Card Photo (app & web)","id":"c0afc75a-4582-45ab-ab92-b7c92bc6caa4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"description":"<p>jpg,gif,png</p>\n","key":"FILE","type":"file","value":null}]},"url":"{{host}}/pub/v1/{{user_id}}/profile/credit-card/:credit_card_id/image","description":"<p>Allows users to upload a photo of their credit card</p>\n","urlObject":{"path":["pub","v1","{{user_id}}","profile","credit-card",":credit_card_id","image"],"host":["{{host}}"],"query":[],"variable":[{"description":{"content":"<p>Credit card uuid</p>\n","type":"text/plain"},"type":"any","value":"","key":"credit_card_id"}]}},"response":[{"id":"7429f710-0d7b-498b-b9d9-e98955992a57","name":"Upload Credit Card Image (app & web)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"DEVICE-SESSION"},{"key":"x-client-id","type":"text","value":"API-KEY"},{"key":"x-client-secret","type":"text","value":"API-SECRET-KEY"}],"body":{"mode":"formdata","formdata":[{"key":"FILE","type":"file","value":null}]},"url":{"raw":"{{host}}/pub/v1/{{user_id}}/profile/credit-card/:credit_card_id/image","host":["{{host}}"],"path":["pub","v1","{{user_id}}","profile","credit-card",":credit_card_id","image"],"variable":[{"description":"Credit card uuid","key":"credit_card_id","value":""}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n   \"status\": \"000000\",\r\n   \"message\": \"success\",\r\n   \"data\": [\r\n     {\r\n       \"id\": (string) Profile card uuid, //\"c6614f3a-eaa5-4347-a5a4-0ef13a46eb0d\"\r\n       \"card_type\": (string) Profile card type, //\"CREDIT CARD\"\r\n       \"card_company\": (string) Profile card company, //\"AMEX\"\r\n       \"issuing_bank\": (string) Profile card bank issue, //\"China Bank\"\r\n       \"issuing_country\": (string) Profile card country issue, //\"China\"\r\n       \"currency\": (string) Profile card currency, //\"USD\"\r\n       \"credit_limit\": (string) Profile card credit limit, //\"2000\"\r\n       \"card_number\": (string) Profile card number, //\"12345678\"\r\n      \"valid_thru\": (string) Profile card valid thru, //1504216800\r\n       \"cvv\": (string) Profile card cvv, //\"123\"\r\n      \"card_credit_code\": (string) Profile card code, //\"1234\"\r\n       \"contact_no\": (string) Profile card contact number, //\"123-45678\"\r\n       \"hotline_no\": (string) Profile card hotline number, //\"456-78910\"\r\n       \"picture\": (string) Profile card picture url, //\"http://...\"\r\n       \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n    }\r\n  ]\r\n }"}],"_postman_id":"c0afc75a-4582-45ab-ab92-b7c92bc6caa4"},{"name":"Delete Credit Card Photo (app & web)","id":"75ac7130-c219-4d47-9387-6b1db0961460","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"raw","raw":""},"url":"{{host}}/pub/v1/{{user_id}}/profile/credit-card/:credit_card_id/image/:image_id","description":"<p>Allows users to remove their credit card photo</p>\n","urlObject":{"path":["pub","v1","{{user_id}}","profile","credit-card",":credit_card_id","image",":image_id"],"host":["{{host}}"],"query":[],"variable":[{"description":{"content":"<p>Credit card uuid</p>\n","type":"text/plain"},"type":"any","value":"","key":"credit_card_id"},{"description":{"content":"<p>Credit card Image uuid</p>\n","type":"text/plain"},"type":"any","value":"","key":"image_id"}]}},"response":[{"id":"634a2210-4547-46ef-8e8a-04eb218d4429","name":"Delete Credit Card Image (app & web)","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{host}}/pub/v1/{{user_id}}/profile/credit-card/:credit_card_id/image/:image_id","host":["{{host}}"],"path":["pub","v1","{{user_id}}","profile","credit-card",":credit_card_id","image",":image_id"],"variable":[{"description":"Credit card uuid","key":"credit_card_id","value":""},{"description":"Image uuid","key":"image_id","value":""}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n  \"status\": \"000000\",\r\n  \"message\": \"success\",\r\n  \"data\": {\r\n     \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n   }\r\n }"}],"_postman_id":"75ac7130-c219-4d47-9387-6b1db0961460"}],"id":"93d9648d-31a3-4b54-b2a5-122655284bed","description":"<p>Collection for managing credit card information within the user's profile</p>\n","_postman_id":"93d9648d-31a3-4b54-b2a5-122655284bed"},{"name":"Identification","item":[{"name":"Get Identification List (web)","id":"d9bd1131-bfa2-4f62-88ba-ba440c9385a8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"},{"key":"x-session","type":"text","value":"{{session}}"}],"body":{"mode":"raw","raw":""},"url":"{{host}}/pub/v1/{{user_id}}/profile/identification","description":"<p>Allows users to get the list of their registered IDs</p>\n","urlObject":{"path":["pub","v1","{{user_id}}","profile","identification"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"13118d3b-d308-4034-a19d-19c0296c3d7c","name":"Identification List Detail","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"},{"key":"x-session","type":"text","value":"{{session}}"}],"body":{"mode":"raw","raw":""},"url":"{{host}}/pub/v1/{{user_id}}/profile/identification"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":" {\r\n      \"status\": \"000000\",\r\n      \"message\": \"success\",\r\n      \"data\": [\r\n         {\r\n         \"id\": (string) Profile Identification uuid, //\"475b4f37-7cd2-4ddd-8109-250abed2a9ac\"\r\n         \"first_name\": (string) Identification First Name, //\"Foo\"\r\n          \"last_name\": (string) Identification Last Name, //\"Bar\"\r\n          \"issuing_authority\": (string) Identification Issuing authority, //\"ABC\"\r\n         \"identification_no\": (string) Identification No, //\"A2020118AU\"\r\n          \"identification_type\": (string) Identification Type, //\"National ID\"\r\n        \"issue_date\": (integer) Identification Issue Date timestamp, //1380837600\r\n          \"country_of_issue\": (string) Identification Country of Issue, //\"Australia\"\r\n         \"expiry_date\": (integer) Identification Expiry Date timestamp, //1380837600\r\n         \"identification_image\": (array) Identification Images, //[{\"id\": \"...\",\"url\": \"...\"}]\r\n         \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n       },\r\n      ...\r\n     ],\r\n }"}],"_postman_id":"d9bd1131-bfa2-4f62-88ba-ba440c9385a8"},{"name":"Create Identification  (app & web)","id":"531dd071-bf64-4aaa-a08f-437514772db2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"first_name\": \"Foo\",\r\n  \"last_name\": \"Bar\",\r\n  \"issuing_authority\": \"ABC\",\r\n  \"identification_no\": \"A2020118AU\",\r\n  \"identification_type\": \"National ID\",\r\n  \"issue_date\": 1380837600,\r\n  \"country_of_issue\": \"Australia\",\r\n  \"expiry_date\": 1380837600\r\n}"},"url":"{{host}}/pub/v1/{{user_id}}/profile/identification","description":"<p>Allows users to add there physical ID information.</p>\n<div class=\"headers\">\n<div class=\"heading\">VALUES</div>\n<hr />\n\n<div class=\"param row\">\n         <div class=\"param row\">\n           <div class=\"name col-md-3 col-xs-12\">first_name</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Identification First Name, //\"Foo\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">last_name</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Identification Last Name, //\"Bar\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">issuing_authority</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Identification Issuing authority, //\"ABC\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">identification_no</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Identification No, //\"A2020118AU\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">identification_type</div>\n            <div class=\"value col-md-9 col-xs-12\"> (string) Identification Type, //\"National ID\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">issue_date</div>\n            <div class=\"value col-md-9 col-xs-12\">(integer) Identification Issue Date timestamp, //1380837600</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">country_of_issue</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Identification Country of Issue, //\"Australia\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">expiry_date</div>\n            <div class=\"value col-md-9 col-xs-12\">(integer) Identification Expiry Date timestamp, //1380837600</div>\n          </div>\n        \n           \n          \n          \n</div></div>","urlObject":{"path":["pub","v1","{{user_id}}","profile","identification"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"14776dad-5966-4193-a8a9-295cd18abff6","name":"Identification Create (app & web)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"first_name\": \"Foo\",\r\n  \"last_name\": \"Bar\",\r\n  \"issuing_authority\": \"ABC\",\r\n  \"identification_no\": \"A2020118AU\",\r\n  \"identification_type\": \"National ID\",\r\n  \"issue_date\": 1380837600,\r\n  \"country_of_issue\": \"Australia\",\r\n  \"expiry_date\": 1380837600\r\n}"},"url":"{{host}}/pub/v1/{{user_id}}/profile/identification"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n   \"status\": \"000000\",\r\n   \"message\": \"success\",\r\n   \"data\": {\r\n     \"mobile_id\": (string) App reference ID,\r\n     \"id\": (string) Profile Identification uuid, //\"475b4f37-7cd2-4ddd-8109-250abed2a9ac\"\r\n     \"first_name\": (string) Identification First Name, //\"Foo\"\r\n     \"last_name\": (string) Identification Last Name, //\"Bar\"\r\n     \"issuing_authority\": (string) Identification Issuing authority, //\"ABC\"\r\n     \"identification_no\": (string) Identification No, //\"A2020118AU\"\r\n     \"identification_type\": (string) Identification Type, //\"National ID\"\r\n     \"issue_date\": (integer) Identification Issue Date timestamp, //1380837600\r\n     \"country_of_issue\": (string) Identification Country of Issue, //\"Australia\"\r\n     \"expiry_date\": (integer) Identification Expiry Date timestamp, //1380837600\r\n     \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n   }\r\n }"}],"_postman_id":"531dd071-bf64-4aaa-a08f-437514772db2"},{"name":"Update Identification  (app & web)","id":"b1300874-395b-4eaa-a921-733d4dda1911","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"first_name\": \"Foo\",\r\n  \"last_name\": \"Bar\",\r\n  \"issuing_authority\": \"ABC\",\r\n  \"identification_no\": \"A2020118AU\",\r\n  \"identification_type\": \"National ID\",\r\n  \"issue_date\": 1380837600,\r\n  \"country_of_issue\": \"Australia\",\r\n  \"expiry_date\": 1380837600\r\n}"},"url":"{{host}}/pub/v1/{{user_id}}/profile/identification/:identification_id","description":"<p>Allows users to update their ID information.</p>\n<div class=\"headers\">\n<div class=\"heading\">VALUES</div>\n<hr />\n\n<div class=\"param row\">\n         <div class=\"param row\">\n           <div class=\"name col-md-3 col-xs-12\">first_name</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Identification First Name, //\"Foo\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">last_name</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Identification Last Name, //\"Bar\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">issuing_authority</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Identification Issuing authority, //\"ABC\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">identification_no</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Identification No, //\"A2020118AU\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">identification_type</div>\n            <div class=\"value col-md-9 col-xs-12\"> (string) Identification Type, //\"National ID\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">issue_date</div>\n            <div class=\"value col-md-9 col-xs-12\">(integer) Identification Issue Date timestamp, //1380837600</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">country_of_issue</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Identification Country of Issue, //\"Australia\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">expiry_date</div>\n            <div class=\"value col-md-9 col-xs-12\">(integer) Identification Expiry Date timestamp, //1380837600</div>\n          </div>\n        \n           \n          \n          \n</div></div>","urlObject":{"path":["pub","v1","{{user_id}}","profile","identification",":identification_id"],"host":["{{host}}"],"query":[],"variable":[{"description":{"content":"<p>Identification uuid</p>\n","type":"text/plain"},"type":"any","value":"","key":"identification_id"}]}},"response":[{"id":"38bec2ea-d4cf-4af9-a113-310b1dabe457","name":"Identification Update (app & web)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"first_name\": \"Foo\",\r\n  \"last_name\": \"Bar\",\r\n  \"issuing_authority\": \"ABC\",\r\n  \"identification_no\": \"A2020118AU\",\r\n  \"identification_type\": \"National ID\",\r\n  \"issue_date\": 1380837600,\r\n  \"country_of_issue\": \"Australia\",\r\n  \"expiry_date\": 1380837600\r\n}"},"url":{"raw":"{{host}}/pub/v1/{{user_id}}/profile/identification/:identification_id","host":["{{host}}"],"path":["pub","v1","{{user_id}}","profile","identification",":identification_id"],"variable":[{"key":"identification_id","value":""}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n   \"status\": \"000000\",\r\n   \"message\": \"success\",\r\n   \"data\": {\r\n     \"mobile_id\": (string) App reference ID,\r\n     \"id\": (string) Profile Identification uuid, //\"475b4f37-7cd2-4ddd-8109-250abed2a9ac\"\r\n     \"first_name\": (string) Identification First Name, //\"Foo\"\r\n     \"last_name\": (string) Identification Last Name, //\"Bar\"\r\n     \"issuing_authority\": (string) Identification Issuing authority, //\"ABC\"\r\n     \"identification_no\": (string) Identification No, //\"A2020118AU\"\r\n     \"identification_type\": (string) Identification Type, //\"National ID\"\r\n     \"issue_date\": (integer) Identification Issue Date timestamp, //1380837600\r\n     \"country_of_issue\": (string) Identification Country of Issue, //\"Australia\"\r\n     \"expiry_date\": (integer) Identification Expiry Date timestamp, //1380837600\r\n     \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n   }\r\n }"}],"_postman_id":"b1300874-395b-4eaa-a921-733d4dda1911"},{"name":"Delete  Identification (app & web)","id":"b582b7f1-ccd8-494a-b78a-e8e48fcf83f0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"raw","raw":""},"url":"{{host}}/pub/v1/{{user_id}}/profile/identification/:identification_id","description":"<p>Allows users to remove their ID information</p>\n","urlObject":{"path":["pub","v1","{{user_id}}","profile","identification",":identification_id"],"host":["{{host}}"],"query":[],"variable":[{"description":{"content":"<p>Identification uuid</p>\n","type":"text/plain"},"type":"any","value":"","key":"identification_id"}]}},"response":[{"id":"3930e3b8-003e-42bf-9bdd-db872bf6d389","name":"Identification Delete (app & web)","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{host}}/pub/v1/{{user_id}}/profile/identification/:identification_id","host":["{{host}}"],"path":["pub","v1","{{user_id}}","profile","identification",":identification_id"],"variable":[{"description":"Identification UUID","key":"identification_id","value":""}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": \"000000\",\r\n   \"message\": \"success\",\r\n   \"data\": []\r\n }"}],"_postman_id":"b582b7f1-ccd8-494a-b78a-e8e48fcf83f0"},{"name":"Upload  Identification Image (app & web)","id":"a3b0a637-f3dd-481f-a4e6-9054914c4859","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"FILE","type":"file","description":"<p>jpg,gif,png</p>\n","value":null}]},"url":"{{host}}/pub/v1/{{user_id}}/profile/identification/:identification_id/image","description":"<p>Allows users to upload a physical ID photo associated with their ID information</p>\n","urlObject":{"path":["pub","v1","{{user_id}}","profile","identification",":identification_id","image"],"host":["{{host}}"],"query":[],"variable":[{"description":{"content":"<p>Identification uuid</p>\n","type":"text/plain"},"type":"any","value":"","key":"identification_id"}]}},"response":[{"id":"c98ccad2-5fca-4155-a67c-58fee4f0e3fd","name":"Identification Upload Image (app & web)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"FILE","type":"file","value":null}]},"url":{"raw":"{{host}}/pub/v1/{{user_id}}/profile/identification/:identification_id/image","host":["{{host}}"],"path":["pub","v1","{{user_id}}","profile","identification",":identification_id","image"],"variable":[{"description":"Identification uuid","key":"identification_id","value":""}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n   \"status\": \"000000\",\r\n   \"message\": \"success\",\r\n   \"data\": {\r\n     \"id\": (string) Profile Identification uuid, //\"475b4f37-7cd2-4ddd-8109-250abed2a9ac\"\r\n     \"first_name\": (string) Identification First Name, //\"Foo\"\r\n     \"last_name\": (string) Identification Last Name, //\"Bar\"\r\n     \"issuing_authority\": (string) Identification Issuing authority, //\"ABC\"\r\n     \"identification_no\": (string) Identification No, //\"A2020118AU\"\r\n     \"identification_type\": (string) Identification Type, //\"National ID\"\r\n     \"issue_date\": (integer) Identification Issue Date timestamp, //1380837600\r\n     \"country_of_issue\": (string) Identification Country of Issue, //\"Australia\"\r\n     \"expiry_date\": (integer) Identification Expiry Date timestamp, //1380837600\r\n     \"image_id\": (string) Identification image uuid, //\"7cd2-250abed2a-4ddd-8109-250abed2a\"\r\n     \"image_url\": (string) Identification image url, //\"http://...\"\r\n     \"identification_image\": (array) Identification Images, //[{\"id\": \"...\",\"url\": \"...\"}]\r\n     \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n   }\r\n }"}],"_postman_id":"a3b0a637-f3dd-481f-a4e6-9054914c4859"},{"name":"Delete Identification Image (app & web)","id":"16095fad-55c2-48ed-95d0-a0a6e5f389b5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"},{"key":"x-session","type":"text","value":"{{session}}"}],"body":{"mode":"raw","raw":""},"url":"{{host}}/pub/v1/{{user_id}}/profile/identification/:identification_id/image/image/:image_id","description":"<p>Allows users to remove a physical ID photo associated with their ID information</p>\n","urlObject":{"path":["pub","v1","{{user_id}}","profile","identification",":identification_id","image","image",":image_id"],"host":["{{host}}"],"query":[],"variable":[{"description":{"content":"<p>Identification uuid</p>\n","type":"text/plain"},"type":"any","value":"","key":"identification_id"},{"description":{"content":"<p>Identification Image uuid</p>\n","type":"text/plain"},"type":"any","value":"","key":"image_id"}]}},"response":[{"id":"62897d3c-e843-46ba-a07e-eaa303655efe","name":"Identification Image Delete (app & web)","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"},{"key":"x-session","type":"text","value":"{{session}}"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{host}}/pub/v1/{{user_id}}/profile/identification/:identification_id/image/:image_id","host":["{{host}}"],"path":["pub","v1","{{user_id}}","profile","identification",":identification_id","image",":image_id"],"variable":[{"description":"Identification uuid","key":"identification_id","value":""},{"description":"Image uuid","key":"image_id","value":""}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":" {\r\n   \"status\": \"000000\",\r\n   \"message\": \"success\",\r\n   \"data\": {\r\n     \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n   }\r\n }"}],"_postman_id":"16095fad-55c2-48ed-95d0-a0a6e5f389b5"}],"id":"49e9606f-edc1-4486-9ae6-b42e571f165a","description":"<p>Collection for managing identification information within the user's profile</p>\n","_postman_id":"49e9606f-edc1-4486-9ae6-b42e571f165a"},{"name":"Insurance","item":[{"name":"Get Insurance List (web)","id":"56e8b1c4-2e42-44cc-b2e0-954a79f6d16e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"},{"key":"x-session","type":"text","value":"{{session}}"}],"body":{"mode":"raw","raw":"{\r\n  \"provider\": \"Prudential\",\r\n  \"type\": \"Health\",\r\n  \"policy_no\": \"PR123456\",\r\n  \"start_date\": 1509941412,\r\n  \"end_date\": 1509941412,\r\n  \"hotline\": \"123-4567\",\r\n  \"contact_no\": \"456-7890\",\r\n  \"email\": \"info@prudential.com\"\r\n}"},"url":"{{host}}/pub/v1/{{user_id}}/profile/insurance","description":"<p>Show all insurances and their details added by the user</p>\n","urlObject":{"path":["pub","v1","{{user_id}}","profile","insurance"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"57f72fe0-1191-4917-acf9-1d5e6889a5be","name":"Insurance List Detail","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"},{"key":"x-session","type":"text","value":"{{session}}"}],"body":{"mode":"raw","raw":"{\r\n  \"provider\": \"Prudential\",\r\n  \"type\": \"Health\",\r\n  \"policy_no\": \"PR123456\",\r\n  \"start_date\": 1509941412,\r\n  \"end_date\": 1509941412,\r\n  \"hotline\": \"123-4567\",\r\n  \"contact_no\": \"456-7890\",\r\n  \"email\": \"info@prudential.com\"\r\n}"},"url":"{{host}}/pub/v1/{{user_id}}/profile/insurance"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n       \"status\": \"000000\",\r\n      \"message\": \"success\",\r\n       \"data\": [\r\n         {\r\n          \"id\": (string) Profile insurance uuid, //\"475b4f37-7cd2-4ddd-8109-250abed2a9ac\"\r\n           \"provider\": (string) Insurance provider, //\"Prudential\"\r\n          \"type\": (string) Insurance type, //\"Health\"\r\n         \"policy_no\": (string) Insurance policy no, //\"PR123456\"\r\n         \"start_date\": (integer) Insurance start date timestamp, //1509941412\r\n          \"end_date\": (integer) Insurance end date timestamp, //1509941412\r\n        \"hotline\": (string) Insurance hotline number, //\"123-4567\"\r\n         \"contact_no\": (string) Insurance contact number, //\"456-7890\"\r\n         \"email\": (string) Insurance email address, //\"info@prudential.com\"\r\n         \"insurance_images\": (array) Insurance Images, //[{\"id\": \"...\",\"url\": \"...\"}]\r\n         \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n       }\r\n       ...\r\n     ],\r\n }"}],"_postman_id":"56e8b1c4-2e42-44cc-b2e0-954a79f6d16e"},{"name":"Create Insurance  (app & web)","id":"182508b3-c81d-48b1-ab61-8b4ba07649b8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"},{"key":"x-session","type":"text","value":"{{session}}"}],"body":{"mode":"raw","raw":"{\r\n  \"provider\": \"Prudential\",\r\n  \"type\": \"Health\",\r\n  \"policy_no\": \"PR123456\",\r\n  \"start_date\": 1509941412,\r\n  \"end_date\": 1509941412,\r\n  \"hotline\": \"123-4567\",\r\n  \"contact_no\": \"456-7890\",\r\n  \"email\": \"info@prudential.com\"\r\n}"},"url":"{{host}}/pub/v1/{{user_id}}/profile/insurance","description":"<p>Allows users to add their insurance information.</p>\n<div class=\"headers\">\n<div class=\"heading\">VALUES</div>\n<hr />\n\n<div class=\"param row\">\n         <div class=\"param row\">\n           <div class=\"name col-md-3 col-xs-12\">provider</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Insurance provider, //\"Prudential\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">type</div>\n            <div class=\"value col-md-9 col-xs-12\"> (string) Insurance type, //\"Health\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">policy_no</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Insurance policy no, //\"PR123456\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">start_date</div>\n            <div class=\"value col-md-9 col-xs-12\"> (integer) Insurance start date timestamp, //1509941412</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">end_date</div>\n            <div class=\"value col-md-9 col-xs-12\">(integer) Insurance end date timestamp, //1509941412</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">hotline</div>\n            <div class=\"value col-md-9 col-xs-12\"> (string) Insurance hotline number, //\"123-4567\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">contact_no</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Insurance contact number, //\"456-7890\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">email</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Insurance email address, //\"info@prudential.com\"</div>\n          </div>\n        \n           \n          \n          \n</div></div>","urlObject":{"path":["pub","v1","{{user_id}}","profile","insurance"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"8ba06e41-5037-4400-8078-295c95bbde3d","name":"Insurance Create (app & web)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"},{"key":"x-session","type":"text","value":"{{session}}"}],"body":{"mode":"raw","raw":"{\r\n  \"provider\": \"Prudential\",\r\n  \"type\": \"Health\",\r\n  \"policy_no\": \"PR123456\",\r\n  \"start_date\": 1509941412,\r\n  \"end_date\": 1509941412,\r\n  \"hotline\": \"123-4567\",\r\n  \"contact_no\": \"456-7890\",\r\n  \"email\": \"info@prudential.com\"\r\n}"},"url":"{{host}}/pub/v1/{{user_id}}/profile/insurance"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n      \"status\": \"000000\",\r\n      \"message\": \"success\",\r\n      \"data\": {\r\n         \"id\": (string) Profile insurance uuid, //\"475b4f37-7cd2-4ddd-8109-250abed2a9ac\"\r\n       \"mobile_id\": (string) App reference ID,\r\n       \"provider\": (string) Insurance provider, //\"Prudential\"\r\n         \"type\": (string) Insurance type, //\"Health\"\r\n        \"policy_no\": (string) Insurance policy no, //\"PR123456\"\r\n       \"start_date\": (integer) Insurance start date timestamp, //1509941412\r\n      \"end_date\": (integer) Insurance end date timestamp, //1509941412\r\n     \"hotline\": (string) Insurance hotline number, //\"123-4567\"\r\n      \"contact_no\": (string) Insurance contact number, //\"456-7890\"\r\n     \"email\": (string) Insurance email address, //\"info@prudential.com\"\r\n     \"insurance_images\": (array) Insurance Images, //[]\r\n     \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n   }\r\n }"}],"_postman_id":"182508b3-c81d-48b1-ab61-8b4ba07649b8"},{"name":"Update Insurance  (app & web)","id":"6c6a1ba3-82fa-4146-8f56-d3805f819e83","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"},{"key":"x-session","type":"text","value":"{{session}}"}],"body":{"mode":"raw","raw":"{\r\n  \"provider\": \"PrudentialA\",\r\n  \"type\": \"HealthA\",\r\n  \"policy_no\": \"PR123456A\",\r\n  \"start_date\": 1509941412,\r\n  \"end_date\": 1509941412,\r\n  \"hotline\": \"123-45671\",\r\n  \"contact_no\": \"456-78901\",\r\n  \"email\": \"info@prudentiala.com\"\r\n}"},"url":"{{host}}/pub/v1/{{user_id}}/profile/insurance/:insurance_id","description":"<p>Allows users to update their insurance information.</p>\n<div class=\"headers\">\n<div class=\"heading\">VALUES</div>\n<hr />\n\n<div class=\"param row\">\n         <div class=\"param row\">\n           <div class=\"name col-md-3 col-xs-12\">provider</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Insurance provider, //\"Prudential\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">type</div>\n            <div class=\"value col-md-9 col-xs-12\"> (string) Insurance type, //\"Health\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">policy_no</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Insurance policy no, //\"PR123456\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">start_date</div>\n            <div class=\"value col-md-9 col-xs-12\"> (integer) Insurance start date timestamp, //1509941412</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">end_date</div>\n            <div class=\"value col-md-9 col-xs-12\">(integer) Insurance end date timestamp, //1509941412</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">hotline</div>\n            <div class=\"value col-md-9 col-xs-12\"> (string) Insurance hotline number, //\"123-4567\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">contact_no</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Insurance contact number, //\"456-7890\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">email</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Insurance email address, //\"info@prudential.com\"</div>\n          </div>\n        \n           \n          \n          \n</div></div>","urlObject":{"path":["pub","v1","{{user_id}}","profile","insurance",":insurance_id"],"host":["{{host}}"],"query":[],"variable":[{"description":{"content":"<p>Insurance uuid</p>\n","type":"text/plain"},"type":"any","value":"","key":"insurance_id"}]}},"response":[{"id":"2cfe95ca-e196-4485-ae70-dfb4a1253e78","name":"Insurance Update (app & web)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"},{"key":"x-session","type":"text","value":"{{session}}"}],"body":{"mode":"raw","raw":"{\r\n  \"provider\": \"PrudentialA\",\r\n  \"type\": \"HealthA\",\r\n  \"policy_no\": \"PR123456A\",\r\n  \"start_date\": 1509941412,\r\n  \"end_date\": 1509941412,\r\n  \"hotline\": \"123-45671\",\r\n  \"contact_no\": \"456-78901\",\r\n  \"email\": \"info@prudentiala.com\"\r\n}"},"url":"{{host}}/pub/v1/{{user_id}}/profile/insurance/{{insurance_id}}"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n   \"status\": \"000000\",\r\n   \"message\": \"success\",\r\n     \"data\": {\r\n      \"id\": (string) Profile insurance uuid, //\"475b4f37-7cd2-4ddd-8109-250abed2a9ac\"\r\n      \"mobile_id\": (string) App reference ID,\r\n      \"provider\": (string) Insurance provider, //\"Prudential\"\r\n    \"type\": (string) Insurance type, //\"Health\"\r\n     \"policy_no\": (string) Insurance policy no, //\"PR123456\"\r\n     \"start_date\": (integer) Insurance start date timestamp, //1509941412\r\n    \"end_date\": (integer) Insurance end date timestamp, //1509941412\r\n     \"hotline\": (string) Insurance hotline number, //\"123-4567\"\r\n     \"contact_no\": (string) Insurance contact number, //\"456-7890\"\r\n     \"email\": (string) Insurance email address, //\"info@prudential.com\"\r\n     \"insurance_images\": (array) Insurance Images, //[{\"id\": \"...\",\"url\": \"...\"}]\r\n     \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n   }\r\n}"}],"_postman_id":"6c6a1ba3-82fa-4146-8f56-d3805f819e83"},{"name":"Upload Insurance Image (app & web)","id":"d4da5d85-5293-4595-a47a-aee01390bf43","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"},{"key":"x-session","type":"text","value":"{{session}}"}],"body":{"mode":"formdata","formdata":[{"key":"FILE","type":"file","description":"<p>jpg,gif,png</p>\n","value":null}]},"url":"{{host}}/pub/v1/{{user_id}}/profile/insurance/:insurance_id/image","description":"<p>Allows user to upload an photo associated to their registered insurance</p>\n","urlObject":{"path":["pub","v1","{{user_id}}","profile","insurance",":insurance_id","image"],"host":["{{host}}"],"query":[],"variable":[{"description":{"content":"<p>Insurance uuid</p>\n","type":"text/plain"},"type":"any","value":"","key":"insurance_id"}]}},"response":[{"id":"c59205d8-b558-4a96-b07f-1ac4c426288e","name":"Insurance Upload Image (app & web)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"},{"key":"x-session","type":"text","value":"{{session}}"}],"body":{"mode":"formdata","formdata":[{"key":"FILE","type":"file","value":""}]},"url":"{{host}}/pub/v1/{{user_id}}/profile/insurance/{{insurance_id}}/image"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n   \"status\": \"000000\",\r\n   \"message\": \"success\",\r\n   \"data\": {\r\n     \"id\": (string) Profile insurance uuid, //\"475b4f37-7cd2-4ddd-8109-250abed2a9ac\"\r\n      \"provider\": (string) Insurance provider, //\"Prudential\"\r\n     \"type\": (string) Insurance type, //\"Health\"\r\n     \"policy_no\": (string) Insurance policy no, //\"PR123456\"\r\n     \"start_date\": (integer) Insurance start date timestamp, //1509941412\r\n     \"end_date\": (integer) Insurance end date timestamp, //1509941412\r\n     \"hotline\": (string) Insurance hotline number, //\"123-4567\"\r\n     \"contact_no\": (string) Insurance contact number, //\"456-7890\"\r\n     \"email\": (string) Insurance email address, //\"info@prudential.com\"\r\n    \"image_id\": (string) Insurance Image resource uuid, //\"475b4f37-7cd2-4ddd-8109-250abed2a9ac\"\r\n     \"image_url\": (string) Insurance Image url, //\"https://...\"\r\n     \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n   }\r\n }"}],"_postman_id":"d4da5d85-5293-4595-a47a-aee01390bf43"},{"name":"Delete Insurance (app & web)","id":"16870640-55e8-4006-b461-459271fe14f4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"},{"key":"x-session","type":"text","value":"{{session}}"}],"body":{"mode":"raw","raw":""},"url":"{{host}}/pub/v1/{{user_id}}/profile/insurance/:insurance_uuid","description":"<p>Allows users to remove their insurance information</p>\n","urlObject":{"path":["pub","v1","{{user_id}}","profile","insurance",":insurance_uuid"],"host":["{{host}}"],"query":[],"variable":[{"description":{"content":"<p>Insurance uuid</p>\n","type":"text/plain"},"type":"any","value":"","key":"insurance_uuid"}]}},"response":[{"id":"3b078edb-bfaa-4eed-b665-c0b991256753","name":"Insurance Delete (app & web)","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"},{"key":"x-session","type":"text","value":"{{session}}"}],"body":{"mode":"raw","raw":""},"url":"{{host}}/pub/v1/{{user_id}}/profile/insurance/{{insurance_id}}"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n   \"status\": \"000000\",\r\n    \"message\": \"success\",\r\n    \"data\": []\r\n  }"}],"_postman_id":"16870640-55e8-4006-b461-459271fe14f4"},{"name":"Delete  Insurance Image (app & web)","id":"00a4c235-4010-45d7-9509-e883a8b47438","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"},{"key":"x-session","type":"text","value":"{{session}}"}],"body":{"mode":"raw","raw":""},"url":"{{host}}/pub/v1/{{user_id}}/profile/insurance/:insurance_id/image/:image_id","description":"<p>Allows users to remove a photo associated with their registered insurance</p>\n","urlObject":{"path":["pub","v1","{{user_id}}","profile","insurance",":insurance_id","image",":image_id"],"host":["{{host}}"],"query":[],"variable":[{"description":{"content":"<p>Insurance uuid</p>\n","type":"text/plain"},"type":"any","value":"","key":"insurance_id"},{"description":{"content":"<p>Insurance Image uuid</p>\n","type":"text/plain"},"type":"any","value":"","key":"image_id"}]}},"response":[{"id":"7a62cac0-8ebe-40ae-a0c7-9e195c9d6d35","name":"Insurance Image Delete (app & web)","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"},{"key":"x-session","type":"text","value":"{{session}}"}],"body":{"mode":"raw","raw":""},"url":"{{host}}/pub/v1/{{user_id}}/profile/insurance/{{insurance_id}}/image/{{image_id}}"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":" {\r\n   \"status\": \"000000\",\r\n   \"message\": \"success\",\r\n   \"data\": {\r\n     \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n    }\r\n} "}],"_postman_id":"00a4c235-4010-45d7-9509-e883a8b47438"}],"id":"9cb9bae6-221f-478b-832b-318655ebfe6a","description":"<p>Collection for managing insurance information within the user's profile</p>\n","_postman_id":"9cb9bae6-221f-478b-832b-318655ebfe6a"},{"name":"Luggage","item":[{"name":"Get Luggage List (web)","id":"ec53e91e-07e8-4e2e-80a9-f416648231dd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"},{"key":"x-session","type":"text","value":"{{session}}"}],"body":{"mode":"raw","raw":""},"url":"{{host}}/pub/v1/{{user_id}}/profile/luggage","description":"<p>Allows users to get a list of their registered luggage information</p>\n","urlObject":{"path":["pub","v1","{{user_id}}","profile","luggage"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"c9be682a-bf9b-40e4-8be7-abf4bf9c6ef4","name":"Luggage List Detail","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"},{"key":"x-session","type":"text","value":"{{session}}"}],"body":{"mode":"raw","raw":""},"url":"{{host}}/pub/v1/{{user_id}}/profile/luggage"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n     \"status\": \"000000\",\r\n     \"message\": \"success\",\r\n     \"data\": {\r\n        \"id\": (string) Profile luggage uuid, //\"475b4f37-7cd2-4ddd-8109-250abed2a9ac\"\r\n        \"brand\": (string) Luggage brand, //\"backpacker\"\r\n        \"model\": (string) Luggage model, //\"x-123\"\r\n       \"color\": (string) Luggage color, //\"black\"\r\n       \"capacity\": (string) Luggage capacity, //\"2kg\"\r\n        \"size\": (string) Luggage size, //\"21\"\r\n       \"wheels\": (string) Luggage wheels, //\"4 wheel\"\r\n       \"special_tag\": (string) Luggage special tag, //\"My adventure\"\r\n       \"lock_code\": (string) Luggage lock code, //\"1234\"\r\n       \"luggage_images\": (array) Luggage Images, //[{\"id\": \"...\",\"url\": \"...\"}]\r\n       \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n    }\r\n }"}],"_postman_id":"ec53e91e-07e8-4e2e-80a9-f416648231dd"},{"name":"Create Luggage  (app & web)","id":"5e635e56-31d7-4f3a-b14d-ce2fd91dfb01","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"},{"key":"x-session","type":"text","value":"{{session}}"}],"body":{"mode":"raw","raw":"{\r\n  \"brand\": \"backpacker\",\r\n  \"model\": \"x-123\",\r\n  \"color\": \"black\",\r\n  \"capacity\": \"2kg\",\r\n  \"size\": \"21\",\r\n  \"wheels\": \"4 wheel\",\r\n  \"special_tag\": \"My adventure\",\r\n  \"lock_code\": \"1234\"\r\n}"},"url":"{{host}}/pub/v1/{{user_id}}/profile/luggage","description":"<p>Allows users to add their luggage information.</p>\n<div class=\"headers\">\n<div class=\"heading\">VALUES</div>\n<hr />\n\n<div class=\"param row\">\n         <div class=\"param row\">\n           <div class=\"name col-md-3 col-xs-12\">brand</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Luggage brand, //\"backpacker\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">model</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Luggage model, //\"x-123\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">color</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Luggage color, //\"black\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">capacity</div>\n            <div class=\"value col-md-9 col-xs-12\"> (string) Luggage capacity, //\"2kg\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">size</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Luggage size, //\"21\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">wheels</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Luggage wheels, //\"4 wheel\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">special_tag</div>\n            <div class=\"value col-md-9 col-xs-12\"> (string) Luggage special tag, //\"My adventure\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">lock_code</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Luggage lock code, //\"1234\"</div>\n          </div>\n        \n           \n          \n          \n</div></div>","urlObject":{"path":["pub","v1","{{user_id}}","profile","luggage"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"27d3a3cd-dfaa-4ef2-9c5f-ddfc5522586d","name":"Luggage Create (app & web)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"},{"key":"x-session","type":"text","value":"{{session}}"}],"body":{"mode":"raw","raw":"{\r\n  \"brand\": \"backpacker\",\r\n  \"model\": \"x-123\",\r\n  \"color\": \"black\",\r\n  \"capacity\": \"2kg\",\r\n  \"size\": \"21\",\r\n  \"wheels\": \"4 wheel\",\r\n  \"special_tag\": \"My adventure\",\r\n  \"lock_code\": \"1234\"\r\n}"},"url":"{{host}}/pub/v1/{{user_id}}/profile/luggage"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": \"000000\",\r\n   \"message\": \"success\",\r\n    \"data\": {\r\n     \"id\": (string) Profile luggage uuid, //\"475b4f37-7cd2-4ddd-8109-250abed2a9ac\"\r\n    \"mobile_id\": (string) App reference ID,\r\n     \"brand\": (string) Luggage brand, //\"backpacker\"\r\n     \"model\": (string) Luggage model, //\"x-123\"\r\n      \"color\": (string) Luggage color, //\"black\"\r\n     \"capacity\": (string) Luggage capacity, //\"2kg\"\r\n     \"size\": (string) Luggage size, //\"21\"\r\n     \"wheels\": (string) Luggage wheels, //\"4 wheel\"\r\n    \"special_tag\": (string) Luggage special tag, //\"My adventure\"\r\n    \"lock_code\": (string) Luggage lock code, //\"1234\"\r\n     \"luggage_images\": (array) Luggage Images, //[]\r\n    \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n  }\r\n }"}],"_postman_id":"5e635e56-31d7-4f3a-b14d-ce2fd91dfb01"},{"name":"Upload Luggage  Image (app & web)","id":"7a615fd8-641f-4f2a-90c2-976ed859f405","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"},{"key":"x-session","type":"text","value":"{{session}}"}],"body":{"mode":"formdata","formdata":[{"key":"FILE","type":"file","description":"<p>jpg,gif,png</p>\n","value":null}]},"url":"{{host}}/pub/v1/{{user_id}}/profile/luggage/:luggage_id/image","description":"<p>Allows users to upload luggage images related with their registered luggage information</p>\n","urlObject":{"path":["pub","v1","{{user_id}}","profile","luggage",":luggage_id","image"],"host":["{{host}}"],"query":[],"variable":[{"description":{"content":"<p>Luggage uuid</p>\n","type":"text/plain"},"type":"any","value":"","key":"luggage_id"}]}},"response":[{"id":"ea69aed4-2eb0-411a-91dd-e990b703c70a","name":"Luggage Upload Image (app & web)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"},{"key":"x-session","type":"text","value":"{{session}}"}],"body":{"mode":"formdata","formdata":[{"key":"FILE","type":"file","value":""}]},"url":{"raw":"{{host}}/pub/v1/{{user_id}}/profile/luggage/:luggage_id/image","host":["{{host}}"],"path":["pub","v1","{{user_id}}","profile","luggage",":luggage_id","image"],"variable":[{"key":"luggage_id","value":""}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": \"000000\",\r\n    \"message\": \"success\",\r\n     \"data\": {\r\n       \"id\": (string) Profile luggage uuid, //\"475b4f37-7cd2-4ddd-8109-250abed2a9ac\"\r\n    \"brand\": (string) Luggage brand, //\"backpacker\"\r\n    \"model\": (string) Luggage model, //\"x-123\"\r\n    \"color\": (string) Luggage color, //\"black\"\r\n    \"capacity\": (string) Luggage capacity, //\"2kg\"\r\n     \"size\": (string) Luggage size, //\"21\"\r\n     \"wheels\": (string) Luggage wheels, //\"4 wheel\"\r\n    \"special_tag\": (string) Luggage special tag, //\"My adventure\"\r\n    \"lock_code\": (string) Luggage lock code, //\"1234\"\r\n    \"image_id\": (string) Luggage Image resource uuid, //\"475b4f37-7cd2-4ddd-8109-250abed2a9ac\"\r\n     \"image_url\": (string) Luggage Image url, //\"https://...\"\r\n     \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n   }\r\n }"}],"_postman_id":"7a615fd8-641f-4f2a-90c2-976ed859f405"},{"name":"Update Luggage (app & web)","id":"19f1da20-8c13-49ac-a647-532a96039960","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"},{"key":"x-session","type":"text","value":"{{session}}"}],"body":{"mode":"formdata","formdata":[{"key":"FILE","type":"file","value":null}]},"url":"{{host}}/pub/v1/{{user_id}}/profile/luggage/:luggage_id","description":"<p>Allows users to update their registered luggage information.</p>\n<div class=\"headers\">\n<div class=\"heading\">VALUES</div>\n<hr />\n\n<div class=\"param row\">\n         <div class=\"param row\">\n           <div class=\"name col-md-3 col-xs-12\">brand</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Luggage brand, //\"backpacker\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">model</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Luggage model, //\"x-123\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">color</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Luggage color, //\"black\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">capacity</div>\n            <div class=\"value col-md-9 col-xs-12\"> (string) Luggage capacity, //\"2kg\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">size</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Luggage size, //\"21\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">wheels</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Luggage wheels, //\"4 wheel\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">special_tag</div>\n            <div class=\"value col-md-9 col-xs-12\"> (string) Luggage special tag, //\"My adventure\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">lock_code</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Luggage lock code, //\"1234\"</div>\n          </div>\n        \n           \n          \n          \n</div></div>","urlObject":{"path":["pub","v1","{{user_id}}","profile","luggage",":luggage_id"],"host":["{{host}}"],"query":[],"variable":[{"description":{"content":"<p>Luggage uuid</p>\n","type":"text/plain"},"type":"any","value":"","key":"luggage_id"}]}},"response":[{"id":"b1f82aaa-c630-4a1d-8136-b195743dc553","name":"Luggage Update (app & web)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"},{"key":"x-session","type":"text","value":"{{session}}"}],"body":{"mode":"formdata","formdata":[{"key":"FILE","type":"file","value":""}]},"url":{"raw":"{{host}}/pub/v1/{{user_id}}/profile/luggage/:luggage_id","host":["{{host}}"],"path":["pub","v1","{{user_id}}","profile","luggage",":luggage_id"],"variable":[{"key":"luggage_id","value":""}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n     \"status\": \"000000\",\r\n      \"message\": \"success\",\r\n       \"data\": {\r\n        \"id\": (string) Profile luggage uuid, //\"475b4f37-7cd2-4ddd-8109-250abed2a9ac\"\r\n       \"mobile_id\": (string) App reference ID,\r\n       \"brand\": (string) Luggage brand, //\"backpacker\"\r\n     \"model\": (string) Luggage model, //\"x-123\"\r\n     \"color\": (string) Luggage color, //\"black\"\r\n    \"capacity\": (string) Luggage capacity, //\"2kg\"\r\n   \"size\": (string) Luggage size, //\"21\"\r\n    \"wheels\": (string) Luggage wheels, //\"4 wheel\"\r\n    \"special_tag\": (string) Luggage special tag, //\"My adventure\"\r\n     \"lock_code\": (string) Luggage lock code, //\"1234\"\r\n     \"luggage_images\": (array) Luggage Images, //[{\"id\": \"...\",\"url\": \"...\"}]\r\n     \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n  }\r\n }"}],"_postman_id":"19f1da20-8c13-49ac-a647-532a96039960"},{"name":"Delete Luggage (app & web)","id":"0ea05935-d75b-4616-ab91-9b7987f40ccf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"},{"key":"x-session","type":"text","value":"{{session}}"}],"body":{"mode":"raw","raw":""},"url":"{{host}}/pub/v1/{{user_id}}/profile/luggage/:luggage_id","description":"<p>Allows users to remove their registered luggage information</p>\n","urlObject":{"path":["pub","v1","{{user_id}}","profile","luggage",":luggage_id"],"host":["{{host}}"],"query":[],"variable":[{"description":{"content":"<p>Luggage uuid</p>\n","type":"text/plain"},"type":"any","value":"","key":"luggage_id"}]}},"response":[{"id":"a573bfcb-c640-4aef-8192-25666d558dca","name":"Luggage Delete (app & web)","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"},{"key":"x-session","type":"text","value":"{{session}}"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{host}}/pub/v1/{{user_id}}/profile/luggage/:luggage_id","host":["{{host}}"],"path":["pub","v1","{{user_id}}","profile","luggage",":luggage_id"],"variable":[{"key":"luggage_id","value":""}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n   \"status\": \"000000\",\r\n   \"message\": \"success\",\r\n   \"data\": []\r\n }"}],"_postman_id":"0ea05935-d75b-4616-ab91-9b7987f40ccf"},{"name":"Delete Luggage Image  (app & web)","id":"1dae1bb2-fe47-42a4-9723-fc737f9fdcb6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"},{"key":"x-session","type":"text","value":"{{session}}"}],"body":{"mode":"raw","raw":""},"url":"{{host}}/pub/v1/{{user_id}}/profile/luggage/:luggage_id/image/:image_id","description":"<p>Allows users to remove a photo associated with their registered luggage information</p>\n","urlObject":{"path":["pub","v1","{{user_id}}","profile","luggage",":luggage_id","image",":image_id"],"host":["{{host}}"],"query":[],"variable":[{"description":{"content":"<p>Luggage uuid</p>\n","type":"text/plain"},"type":"any","value":"","key":"luggage_id"},{"description":{"content":"<p>Luggage Image uuid</p>\n","type":"text/plain"},"type":"any","value":"","key":"image_id"}]}},"response":[{"id":"c94caa0a-ae10-4c52-ac30-419f326e2c7a","name":"Luggage Image Delete (app & web)","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"},{"key":"x-session","type":"text","value":"{{session}}"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{host}}/pub/v1/{{user_id}}/profile/luggage/:luggage_id/image/:image_id","host":["{{host}}"],"path":["pub","v1","{{user_id}}","profile","luggage",":luggage_id","image",":image_id"],"variable":[{"key":"luggage_id","value":""},{"key":"image_id","value":""}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n   \"status\": \"000000\",\r\n   \"message\": \"success\",\r\n   \"data\": {\r\n     \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n   }\r\n }"}],"_postman_id":"1dae1bb2-fe47-42a4-9723-fc737f9fdcb6"}],"id":"f5c55015-dd80-4892-a0a1-12c6804c467d","description":"<p>Collection for managing luggage information within the user's profile</p>\n","_postman_id":"f5c55015-dd80-4892-a0a1-12c6804c467d"},{"name":"Passport","item":[{"name":"Get Passport List (app & web)","id":"f1d12132-1b39-4c57-ac69-9cc42b81c55b","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"url":"{{host}}/pub/v1/{{user_id}}/profile/passport","description":"<p>Allows users to get the list of their saved passport information</p>\n","urlObject":{"path":["pub","v1","{{user_id}}","profile","passport"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"c7488963-c555-40d3-8784-55ac54c590ea","name":"Passport List","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"url":"{{host}}/pub/v1/{{user_id}}/profile/passport"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n      \"status\": \"000000\",\r\n      \"message\": \"success\",\r\n      \"data\": [\r\n        {\r\n          \"id\": (string) Profile passport uuid, //\"475b4f37-7cd2-4ddd-8109-250abed2a9ac\"\r\n          \"code\": (string) Passport code, //\"ABC123\"\r\n         \"first_name\": (string) User Passport First Name, //\"Foo\"\r\n         \"last_name\": (string) User Passport Last Name, //\"Bar\"\r\n        \"issuing_authority\": (string) Passport Issuing Authority, //\"ABC\",\r\n         \"gender\": (string) User Passport Gender, //\"m\",\r\n        \"passport_no\": (string) Passport Code, //\"ABC123\",\r\n       \"nationality\": (string) Passport Nationality, //\"Australia\",\r\n        \"issue_date\": (integer) Passport Issue Date timestamp, //1380837600\r\n         \"date_of_birth\": (integer) User Passport Date of Birth timestamp, //1380837600\r\n       \"country_of_birth\": (string) User Passport Country of Birth, //\"Australia\",\r\n        \"place_of_birth\": (string) Passport Place of Birth, //\"Melbourne\",\r\n        \"place_of_issue\": (string) Passport Place of issue, //\"Melbourne\",\r\n         \"allow_ptc\": (boolean) Allow Passport use in PreTravel, //false\r\n         \"expiry_date\": (integer) Passport Expiry Date timestamp, //1380837600\r\n        \"passport_image\": (array) Passport Images, //[{\"id\": \"...\",\"url\": \"...\"}]\r\n        \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n      }\r\n     ...\r\n   ],\r\n }"}],"_postman_id":"f1d12132-1b39-4c57-ac69-9cc42b81c55b"},{"name":"Create Passport (app & web)","id":"6de77049-26b6-47fe-bd8b-39e8bc6eb4d6","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n   \"mobile_id\": (string) App reference ID,\r\n   \"code\": (string) Passport code, //\"ABC123\"\r\n   \"first_name\": (string) User Passport First Name, //\"Foo\"\r\n   \"last_name\": (string) User Passport Last Name, //\"Bar\"\r\n   \"issuing_authority\": (string) Passport Issuing Authority, //\"ABC\",\r\n   \"gender\": (string) User Passport Gender, //\"m\",\r\n   \"passport_no\": (string) Passport Code, //\"ABC123\",\r\n   \"nationality\": (string) Passport Nationality, //\"Australia\",\r\n   \"issue_date\": (integer) Passport Issue Date timestamp, //1380837600\r\n   \"date_of_birth\": (integer) User Passport Date of Birth timestamp, //1380837600\r\n   \"country_of_birth\": (string) User Passport Country of Birth, //\"Australia\",\r\n   \"place_of_birth\": (string) Passport Place of Birth, //\"Melbourne\",\r\n   \"place_of_issue\": (string) Passport Place of issue, //\"Melbourne\",\r\n   \"allow_pretravel\": (boolean) Allow Passport use in PreTravel, //false\r\n   \"expiry_date\": (integer) Passport Expiry Date timestamp, //1380837600\r\n }"},"url":"{{host}}/pub/v1/{{user_id}}/profile/passport","description":"<p>Allows users to add passport information.</p>\n<div class=\"headers\">\n<div class=\"heading\">VALUES</div>\n<hr />\n\n<div class=\"param row\">\n         <div class=\"param row\">\n           <div class=\"name col-md-3 col-xs-12\">mobile_id</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Profile ID of App</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">code</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Passport code,</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">first_name</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Profile first name, //\"foo\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">last_name</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Profile last name, //\"bar\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">issuing_authority</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Passport Issuing Authority, //\"ABC\",</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">gender</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Profile Gender, //\"Male\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">passport_no</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Passport Code, //\"ABC123\",</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">nationality</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Nationality, //\"Singapore\"</div>\n          </div>\n           <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">issue_date</div>\n            <div class=\"value col-md-9 col-xs-12\">(integer) Passport Issue Date timestamp, //1380837600</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">date_of_birth</div>\n            <div class=\"value col-md-9 col-xs-12\">(integer) Date of birth timestamp, //1399022285</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">country_of_birth</div>\n            <div class=\"value col-md-9 col-xs-12\"> (string) User Passport Country of Birth, //\"Australia\",</div>\n          </div>\n           <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">place_of_birth</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Passport Place of Birth, //\"Melbourne\",</div>\n          </div>\n           <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">place_of_issue</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Passport Place of issue, //\"Melbourne\",</div>\n          </div>\n           <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">allow_ptc</div>\n            <div class=\"value col-md-9 col-xs-12\">(boolean) Allow Passport use in PreTravel, //false</div>\n          </div>\n           <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">expiry_date</div>\n            <div class=\"value col-md-9 col-xs-12\">(integer) Passport Expiry Date timestamp, //1380837600</div>\n          </div>\n           \n          \n </div>         \n</div>","urlObject":{"path":["pub","v1","{{user_id}}","profile","passport"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"3d14bd62-2add-4b07-84d5-999d6d2ae6b0","name":"Create Passport","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n   \"mobile_id\": (string) App reference ID,\r\n   \"code\": (string) Passport code, //\"ABC123\"\r\n   \"first_name\": (string) User Passport First Name, //\"Foo\"\r\n   \"last_name\": (string) User Passport Last Name, //\"Bar\"\r\n   \"issuing_authority\": (string) Passport Issuing Authority, //\"ABC\",\r\n   \"gender\": (string) User Passport Gender, //\"m\",\r\n   \"passport_no\": (string) Passport Code, //\"ABC123\",\r\n   \"nationality\": (string) Passport Nationality, //\"Australia\",\r\n   \"issue_date\": (integer) Passport Issue Date timestamp, //1380837600\r\n   \"date_of_birth\": (integer) User Passport Date of Birth timestamp, //1380837600\r\n   \"country_of_birth\": (string) User Passport Country of Birth, //\"Australia\",\r\n   \"place_of_birth\": (string) Passport Place of Birth, //\"Melbourne\",\r\n   \"place_of_issue\": (string) Passport Place of issue, //\"Melbourne\",\r\n   \"allow_ptc\": (boolean) Allow Passport use in PreTravel, //false\r\n   \"expiry_date\": (integer) Passport Expiry Date timestamp, //1380837600\r\n }"},"url":"{{host}}/pub/v1/{{user_id}}/profile/passport"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n     \"status\": \"000000\",\r\n     \"message\": \"success\",\r\n\t \"data\": {\r\n     \"mobile_id\": (string) App reference ID,\r\n     \"id\": (string) Profile passport uuid, //\"475b4f37-7cd2-4ddd-8109-250abed2a9ac\"\r\n     \"code\": (string) Passport code, //\"ABC123\"\r\n     \"first_name\": (string) User Passport First Name, //\"Foo\"\r\n     \"last_name\": (string) User Passport Last Name, //\"Bar\"\r\n     \"issuing_authority\": (string) Passport Issuing Authority, //\"ABC\",\r\n     \"gender\": (string) User Passport Gender, //\"m\",\r\n     \"passport_no\": (string) Passport Code, //\"ABC123\",\r\n     \"nationality\": (string) Passport Nationality, //\"Australia\",\r\n     \"issue_date\": (integer) Passport Issue Date timestamp, //1380837600\r\n     \"date_of_birth\": (integer) User Passport Date of Birth timestamp, //1380837600\r\n     \"country_of_birth\": (string) User Passport Country of Birth, //\"Australia\",\r\n     \"place_of_birth\": (string) Passport Place of Birth, //\"Melbourne\",\r\n     \"place_of_issue\": (string) Passport Place of issue, //\"Melbourne\",\r\n     \"allow_ptc\": (boolean) Allow Passport use in PreTravel, //false\r\n     \"expiry_date\": (integer) Passport Expiry Date timestamp, //1380837600\r\n     \"passport_image\": (array) Passport Images, //[]\r\n     \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n   }\r\n }"}],"_postman_id":"6de77049-26b6-47fe-bd8b-39e8bc6eb4d6"},{"name":"Update Passport (app & web)","id":"e1741acd-108c-495a-82ed-bd45a783e926","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n   \"mobile_id\": (string) App reference ID,\r\n   \"code\": (string) Passport code, //\"ABC123\"\r\n   \"first_name\": (string) User Passport First Name, //\"Foo\"\r\n   \"last_name\": (string) User Passport Last Name, //\"Bar\"\r\n   \"issuing_authority\": (string) Passport Issuing Authority, //\"ABC\",\r\n   \"gender\": (string) User Passport Gender, //\"m\",\r\n   \"passport_no\": (string) Passport Code, //\"ABC123\",\r\n   \"nationality\": (string) Passport Nationality, //\"Australia\",\r\n   \"issue_date\": (integer) Passport Issue Date timestamp, //1380837600\r\n   \"date_of_birth\": (integer) User Passport Date of Birth timestamp, //1380837600\r\n   \"country_of_birth\": (string) User Passport Country of Birth, //\"Australia\",\r\n   \"place_of_birth\": (string) Passport Place of Birth, //\"Melbourne\",\r\n   \"place_of_issue\": (string) Passport Place of issue, //\"Melbourne\",\r\n   \"allow_pretravel\": (boolean) Allow Passport use in PreTravel, //false\r\n   \"expiry_date\": (integer) Passport Expiry Date timestamp, //1380837600\r\n }"},"url":"{{host}}/pub/v1/{{user_id}}/profile/passport/:passport_id","description":"<p>Allows users to update their passport information.</p>\n<div class=\"headers\">\n<div class=\"heading\">VALUES</div>\n<hr />\n\n<div class=\"param row\">\n         <div class=\"param row\">\n           <div class=\"name col-md-3 col-xs-12\">mobile_id</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Profile ID of App</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">code</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Passport code,</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">first_name</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Profile first name, //\"foo\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">last_name</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Profile last name, //\"bar\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">issuing_authority</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Passport Issuing Authority, //\"ABC\",</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">gender</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Profile Gender, //\"Male\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">passport_no</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Passport Code, //\"ABC123\",</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">nationality</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Nationality, //\"Singapore\"</div>\n          </div>\n           <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">issue_date</div>\n            <div class=\"value col-md-9 col-xs-12\">(integer) Passport Issue Date timestamp, //1380837600</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">date_of_birth</div>\n            <div class=\"value col-md-9 col-xs-12\">(integer) Date of birth timestamp, //1399022285</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">country_of_birth</div>\n            <div class=\"value col-md-9 col-xs-12\"> (string) User Passport Country of Birth, //\"Australia\",</div>\n          </div>\n           <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">place_of_birth</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Passport Place of Birth, //\"Melbourne\",</div>\n          </div>\n           <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">place_of_issue</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Passport Place of issue, //\"Melbourne\",</div>\n          </div>\n           <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">allow_ptc</div>\n            <div class=\"value col-md-9 col-xs-12\">(boolean) Allow Passport use in PreTravel, //false</div>\n          </div>\n           <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">expiry_date</div>\n            <div class=\"value col-md-9 col-xs-12\">(integer) Passport Expiry Date timestamp, //1380837600</div>\n          </div>\n           \n          \n </div>         \n</div>","urlObject":{"path":["pub","v1","{{user_id}}","profile","passport",":passport_id"],"host":["{{host}}"],"query":[],"variable":[{"description":{"content":"<p>Passport uuid</p>\n","type":"text/plain"},"type":"any","value":"","key":"passport_id"}]}},"response":[{"id":"4c726baa-c4b3-4785-aa20-c2f5a9a3379c","name":"Update Passport","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n   \"mobile_id\": (string) App reference ID,\r\n   \"code\": (string) Passport code, //\"ABC123\"\r\n   \"first_name\": (string) User Passport First Name, //\"Foo\"\r\n   \"last_name\": (string) User Passport Last Name, //\"Bar\"\r\n   \"issuing_authority\": (string) Passport Issuing Authority, //\"ABC\",\r\n   \"gender\": (string) User Passport Gender, //\"m\",\r\n   \"passport_no\": (string) Passport Code, //\"ABC123\",\r\n   \"nationality\": (string) Passport Nationality, //\"Australia\",\r\n   \"issue_date\": (integer) Passport Issue Date timestamp, //1380837600\r\n   \"date_of_birth\": (integer) User Passport Date of Birth timestamp, //1380837600\r\n   \"country_of_birth\": (string) User Passport Country of Birth, //\"Australia\",\r\n   \"place_of_birth\": (string) Passport Place of Birth, //\"Melbourne\",\r\n   \"place_of_issue\": (string) Passport Place of issue, //\"Melbourne\",\r\n   \"allow_ptc\": (boolean) Allow Passport use in PreTravel, //false\r\n   \"expiry_date\": (integer) Passport Expiry Date timestamp, //1380837600\r\n }"},"url":{"raw":"{{host}}/pub/v1/{{user_id}}/profile/passport/:passport_id","host":["{{host}}"],"path":["pub","v1","{{user_id}}","profile","passport",":passport_id"],"variable":[{"key":"passport_id","value":"","description":"Visa's uuid"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n     \"status\": \"000000\",\r\n     \"message\": \"success\",\r\n\t \"data\": {\r\n     \"mobile_id\": (string) App reference ID,\r\n     \"id\": (string) Profile passport uuid, //\"475b4f37-7cd2-4ddd-8109-250abed2a9ac\"\r\n     \"code\": (string) Passport code, //\"ABC123\"\r\n     \"first_name\": (string) User Passport First Name, //\"Foo\"\r\n     \"last_name\": (string) User Passport Last Name, //\"Bar\"\r\n     \"issuing_authority\": (string) Passport Issuing Authority, //\"ABC\",\r\n     \"gender\": (string) User Passport Gender, //\"m\",\r\n     \"passport_no\": (string) Passport Code, //\"ABC123\",\r\n     \"nationality\": (string) Passport Nationality, //\"Australia\",\r\n     \"issue_date\": (integer) Passport Issue Date timestamp, //1380837600\r\n     \"date_of_birth\": (integer) User Passport Date of Birth timestamp, //1380837600\r\n     \"country_of_birth\": (string) User Passport Country of Birth, //\"Australia\",\r\n     \"place_of_birth\": (string) Passport Place of Birth, //\"Melbourne\",\r\n     \"place_of_issue\": (string) Passport Place of issue, //\"Melbourne\",\r\n     \"allow_ptc\": (boolean) Allow Passport use in PreTravel, //false\r\n     \"expiry_date\": (integer) Passport Expiry Date timestamp, //1380837600\r\n     \"passport_image\": (array) Passport Images, //[]\r\n     \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n   }\r\n }"}],"_postman_id":"e1741acd-108c-495a-82ed-bd45a783e926"},{"name":"Upload Passport Photo (app & web)","id":"cc60be20-7230-4f5d-833d-03d3d1dc13ca","request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"FILE","description":"<p>jpg,gif,png</p>\n","type":"file","value":null}]},"url":"{{host}}/pub/v1/{{user_id}}/profile/passport/:passport_id/image","description":"<p>Allows users to upload a passport photo associated with their saved passport information</p>\n","urlObject":{"path":["pub","v1","{{user_id}}","profile","passport",":passport_id","image"],"host":["{{host}}"],"query":[],"variable":[{"description":{"content":"<p>Passport uuid</p>\n","type":"text/plain"},"type":"any","value":"","key":"passport_id"}]}},"response":[{"id":"8c366708-9798-4ef8-82dc-ed8e63f70f95","name":"Upload Passport Photo","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"file","file":{}},"url":{"raw":"{{host}}/pub/v1/{{user_id}}/profile/passport/:passport_id/image","host":["{{host}}"],"path":["pub","v1","{{user_id}}","profile","passport",":passport_id","image"],"variable":[{"key":"passport_id","value":"","description":"Passport uuid"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n   \"status\": \"000000\",\r\n   \"message\": \"success\",\r\n   \"data\": {\r\n    \"image_id\": (string) Passport image uuid, //\"7cd2-250abed2a-4ddd-8109-250abed2a\"\r\n    \"image_url\": (string) Passport image url, //\"http://...\"\r\n   }\r\n }"}],"_postman_id":"cc60be20-7230-4f5d-833d-03d3d1dc13ca"},{"name":"Delete Passport (app & web)","id":"38384cd5-b467-4303-9999-ac4b9231c873","request":{"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"DEVICE-SESSION"},{"key":"x-client-id","type":"text","value":"API-KEY"},{"key":"x-client-secret","type":"text","value":"API-SECRET-KEY"}],"body":{"mode":"raw","raw":""},"url":"{{host}}/pub/v1/{{user_id}}/profile/passport/:passport_id","description":"<p>Allows users to remove passport information</p>\n","urlObject":{"path":["pub","v1","{{user_id}}","profile","passport",":passport_id"],"host":["{{host}}"],"query":[],"variable":[{"description":{"content":"<p>Passport uuid</p>\n","type":"text/plain"},"type":"any","value":"","key":"passport_id"}]}},"response":[{"id":"d3b94fc5-4522-49bd-bfb5-1c44ca8cded3","name":"Delete Passport","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"DEVICE-SESSION","type":"text"},{"key":"x-client-id","value":"API-KEY","type":"text"},{"key":"x-client-secret","value":"API-SECRET-KEY","type":"text"}],"url":{"raw":"{{host}}/pub/v1/{{user_id}}/profile/passport/:passport_id","host":["{{host}}"],"path":["pub","v1","{{user_id}}","profile","passport",":passport_id"],"variable":[{"key":"passport_id","value":"","description":"Passport uuid"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n   \"status\": \"000000\",\r\n   \"message\": \"success\",\r\n   \"data\": []\r\n }"}],"_postman_id":"38384cd5-b467-4303-9999-ac4b9231c873"},{"name":"Delete Passport Photo (app & web)","id":"a5d2df77-f3b9-4094-aec1-31af76db51c7","request":{"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"DEVICE-SESSION"},{"key":"x-client-id","type":"text","value":"API-KEY"},{"key":"x-client-secret","type":"text","value":"API-SECRET-KEY"}],"body":{"mode":"raw","raw":""},"url":"{{host}}/pub/v1/{{user_id}}/profile/passport/:passport_id/image/:resource_id","description":"<p>Allows users to remove a passport photo associated with their passport information</p>\n","urlObject":{"path":["pub","v1","{{user_id}}","profile","passport",":passport_id","image",":resource_id"],"host":["{{host}}"],"query":[],"variable":[{"description":{"content":"<p>Passport uuid</p>\n","type":"text/plain"},"type":"any","value":"","key":"passport_id"},{"description":{"content":"<p>Passport Image uuid</p>\n","type":"text/plain"},"type":"any","value":"","key":"resource_id"}]}},"response":[{"id":"04b84a7e-7e4d-45ea-bafb-f3ac472c593a","name":"Delete Passport Photo","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"DEVICE-SESSION","type":"text"},{"key":"x-client-id","value":"API-KEY","type":"text"},{"key":"x-client-secret","value":"API-SECRET-KEY","type":"text"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{host}}/pub/v1/{{user_id}}/profile/passport/:passport_id/image/:resource_id","host":["{{host}}"],"path":["pub","v1","{{user_id}}","profile","passport",":passport_id","image",":resource_id"],"variable":[{"key":"passport_id","value":"","description":"Passport uuid"},{"key":"resource_id","value":"","description":"Passport Image uuid"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n   \"status\": \"000000\",\r\n   \"message\": \"success\",\r\n   \"data\": {\r\n     \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n   }\r\n }\r\n"}],"_postman_id":"a5d2df77-f3b9-4094-aec1-31af76db51c7"}],"id":"ebe0b0eb-688f-4463-8d95-b47badcfc950","description":"<p>Collection for managing passport information within the user's profile</p>\n","_postman_id":"ebe0b0eb-688f-4463-8d95-b47badcfc950"},{"name":"Reward","item":[{"name":"Get Reward List (web)","id":"4d36b6a9-714c-42c6-bb5b-a00892bdbf20","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"},{"key":"x-session","type":"text","value":"{{session}}"}],"body":{"mode":"raw","raw":""},"url":"{{host}}/pub/v1/{{user_id}}/profile/reward","description":"<p>Allows users to get the list of their saved reward information</p>\n","urlObject":{"path":["pub","v1","{{user_id}}","profile","reward"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"ae26cb52-29d0-4e06-b8c1-ff2826a27fe8","name":"Reward List Detail","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"},{"key":"x-session","type":"text","value":"{{session}}"}],"body":{"mode":"raw","raw":""},"url":"{{host}}/pub/v1/{{user_id}}/profile/reward"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n      \"status\": \"000000\",\r\n      \"message\": \"success\",\r\n   \"data\": [\r\n        {\r\n          \"id\": (string) Profile reward uuid, //\"475b4f37-7cd2-4ddd-8109-250abed2a9ac\"\r\n          \"operator\": (string) Reward operator, //\"Singapore Airlines Krisflyer\"\r\n          \"title\": (string) Reward title, //\"SAK Reward\"\r\n          \"service_hotline\": (string) Reward service hotline, //\"+65 7880 0880\"\r\n         \"membership_no\": (string) Reward membership no, //\"87600064\"\r\n          \"type\": (string) Reward type, //\"FREQUENT FLYER\"\r\n          \"expiry_date\": (integer) Reward Expiry Date timestamp, //1380837600\r\n         \"reward_image\": (array) Reward images, //[]\r\n         \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n       }\r\n       ...\r\n     ],\r\n }"}],"_postman_id":"4d36b6a9-714c-42c6-bb5b-a00892bdbf20"},{"name":"Create Reward  (app & web)","id":"b49713e2-bed0-4665-8f69-dc3922ced1b4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":"{\r\n    \"operator\": \"Singapore Airlines Krisflyer\",\r\n    \"title\": \"SAK Reward\",\r\n    \"service_hotline\": \"+65 7880 0880\",\r\n    \"membership_no\": \"87600064\",\r\n    \"type\": \"FREQUENT FLYER\",\r\n    \"expiry_date\": 1541645488\r\n}"},"url":"{{host}}/pub/v1/{{user_id}}/profile/reward","description":"<p>Allows users to add information about their reward programs.</p>\n<div class=\"headers\">\n<div class=\"heading\">VALUES</div>\n<hr />\n\n<div class=\"param row\">\n         <div class=\"param row\">\n           <div class=\"name col-md-3 col-xs-12\">operator</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Reward operator, //\"Singapore Airlines Krisflyer\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">title</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Reward title, //\"SAK Reward\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">service_hotline</div>\n            <div class=\"value col-md-9 col-xs-12\"> (string) Reward service hotline, //\"+65 7880 0880\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">membership_no</div>\n            <div class=\"value col-md-9 col-xs-12\"> (string) Reward membership no, //\"87600064\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">type</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Reward type, //\"FREQUENT FLYER\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">expiry_date</div>\n            <div class=\"value col-md-9 col-xs-12\">(integer) Reward Expiry Date timestamp, //1380837600</div>\n          </div>\n          \n</div></div>","urlObject":{"path":["pub","v1","{{user_id}}","profile","reward"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"72ffaed9-08f1-4098-a39e-69d582f6d78a","name":"Reward Create (app & web)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":"{\r\n    \"operator\": \"Singapore Airlines Krisflyer\",\r\n    \"title\": \"SAK Reward\",\r\n    \"service_hotline\": \"+65 7880 0880\",\r\n    \"membership_no\": \"87600064\",\r\n    \"type\": \"FREQUENT FLYER\",\r\n    \"expiry_date\": 1541645488\r\n}"},"url":"{{host}}/pub/v1/{{user_id}}/profile/reward"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n     \"status\": \"000000\",\r\n   \"message\": \"success\",\r\n  \"data\":\r\n     {\r\n       \"mobile_id\": (string) App reference ID,\r\n        \"id\": (string) Profile reward uuid, //\"475b4f37-7cd2-4ddd-8109-250abed2a9ac\"\r\n      \"operator\": (string) Reward operator, //\"Singapore Airlines Krisflyer\"\r\n       \"title\": (string) Reward title, //\"SAK Reward\"\r\n       \"service_hotline\": (string) Reward service hotline, //\"+65 7880 0880\"\r\n       \"membership_no\": (string) Reward membership no, //\"87600064\"\r\n       \"type\": (string) Reward type, //\"FREQUENT FLYER\"\r\n       \"expiry_date\": (integer) Reward Expiry Date timestamp, //1380837600\r\n       \"reward_image\": (array) Reward images, //[]\r\n       \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n     }\r\n }"}],"_postman_id":"b49713e2-bed0-4665-8f69-dc3922ced1b4"},{"name":"Upload Reward  Photo (app & web)","id":"60501223-d54d-4699-95dc-004d45d9e33a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"formdata","formdata":[{"key":"FILE","type":"file","description":"<p>jpg,gif,png</p>\n","value":null}]},"url":"{{host}}/pub/v1/{{user_id}}/profile/reward/:reward_id/image","description":"<p>Allows users to add a photo associated with their reward information</p>\n","urlObject":{"path":["pub","v1","{{user_id}}","profile","reward",":reward_id","image"],"host":["{{host}}"],"query":[],"variable":[{"description":{"content":"<p>Reward uuid</p>\n","type":"text/plain"},"type":"any","value":"","key":"reward_id"}]}},"response":[{"id":"1e567aa7-1adb-4cdb-973f-b4f8de880d34","name":"Reward Upload Image (app & web)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"formdata","formdata":[{"key":"FILE","type":"file","value":""}]},"url":"{{host}}/pub/v1/{{user_id}}/profile/reward/{{reward_id}}/image"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n      \"status\": \"000000\",\r\n      \"message\": \"success\",\r\n       \"data\": [\r\n        {\r\n         \"id\": (string) Profile reward uuid, //\"475b4f37-7cd2-4ddd-8109-250abed2a9ac\"\r\n          \"operator\": (string) Reward operator, //\"Singapore Airlines Krisflyer\"\r\n           \"title\": (string) Reward title, //\"SAK Reward\"\r\n          \"service_hotline\": (string) Reward service hotline, //\"+65 7880 0880\"\r\n         \"membership_no\": (string) Reward membership no, //\"87600064\"\r\n         \"type\": (string) Reward type, //\"FREQUENT FLYER\"\r\n          \"expiry_date\": (integer) Reward Expiry Date timestamp, //1380837600\r\n         \"image_id\": (string) Reward image/resource uuid, //\"03b9f5b8-e0db-43b8-9688-95c0b14af841\"\r\n          \"image_url\": (string) Reward image url, //\"https://...\"\r\n         \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n          \"reward_image\": (array) Reward images, //[\r\n           {\r\n             \"id\": (string) Reward image/resource uuid,//\"03b9f5b8-e0db-43b8-9688-95c0b14af841\"\r\n              \"url\": (string) Reward image url, //\"https://...\"\r\n          },\r\n         ...\r\n       ]\r\n     }\r\n   ]\r\n }"}],"_postman_id":"60501223-d54d-4699-95dc-004d45d9e33a"},{"name":"Update Reward (app & web)","id":"2738829a-3a1a-4fe3-9818-53b74c8e378c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":"{\r\n    \"operator\": \"Singapore Airlines KrisflyerA\",\r\n    \"title\": \"SAK RewardA\",\r\n    \"service_hotline\": \"+65 7880 08801\",\r\n    \"membership_no\": \"876000641\",\r\n    \"type\": \"FREQUENT FLYERA\",\r\n    \"expiry_date\": 1541645488\r\n}"},"url":"{{host}}/pub/v1/{{user_id}}/profile/reward/:reward_id","description":"<p>Allow users to update their reward information.</p>\n<div class=\"headers\">\n<div class=\"heading\">VALUES</div>\n<hr />\n\n<div class=\"param row\">\n         <div class=\"param row\">\n           <div class=\"name col-md-3 col-xs-12\">operator</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Reward operator, //\"Singapore Airlines Krisflyer\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">title</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Reward title, //\"SAK Reward\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">service_hotline</div>\n            <div class=\"value col-md-9 col-xs-12\"> (string) Reward service hotline, //\"+65 7880 0880\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">membership_no</div>\n            <div class=\"value col-md-9 col-xs-12\"> (string) Reward membership no, //\"87600064\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">type</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Reward type, //\"FREQUENT FLYER\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">expiry_date</div>\n            <div class=\"value col-md-9 col-xs-12\">(integer) Reward Expiry Date timestamp, //1380837600</div>\n          </div>\n          \n</div></div>","urlObject":{"path":["pub","v1","{{user_id}}","profile","reward",":reward_id"],"host":["{{host}}"],"query":[],"variable":[{"description":{"content":"<p>Reward uuid</p>\n","type":"text/plain"},"type":"any","value":"","key":"reward_id"}]}},"response":[{"id":"c97e7eb0-e83b-465a-a0df-8a8cc7194e57","name":"Reward Update (app & web)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":"{\r\n    \"operator\": \"Singapore Airlines KrisflyerA\",\r\n    \"title\": \"SAK RewardA\",\r\n    \"service_hotline\": \"+65 7880 08801\",\r\n    \"membership_no\": \"876000641\",\r\n    \"type\": \"FREQUENT FLYERA\",\r\n    \"expiry_date\": 1541645488\r\n}"},"url":"{{host}}/pub/v1/{{user_id}}/profile/reward/{{reward_id}}"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": \"000000\",\r\n    \"message\": \"success\",\r\n    \"data\": {\r\n      \"mobile_id\": (string) App reference ID,\r\n      \"id\": (string) Profile reward uuid, //\"475b4f37-7cd2-4ddd-8109-250abed2a9ac\"\r\n      \"operator\": (string) Reward operator, //\"Singapore Airlines Krisflyer\"\r\n      \"title\": (string) Reward title, //\"SAK Reward\"\r\n      \"service_hotline\": (string) Reward service hotline, //\"+65 7880 0880\"\r\n      \"membership_no\": (string) Reward membership no, //\"87600064\"\r\n     \"type\": (string) Reward type, //\"FREQUENT FLYER\"\r\n     \"expiry_date\": (integer) Reward Expiry Date timestamp, //1380837600\r\n     \"reward_image\": (array) Reward images, //[]\r\n     \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n   }\r\n }"}],"_postman_id":"2738829a-3a1a-4fe3-9818-53b74c8e378c"},{"name":"Delete Reward (app & web)","id":"6b73d5f4-5ad7-4e6e-9a6b-eece30e29cb6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":""},"url":"{{host}}/pub/v1/{{user_id}}/profile/reward/:reward_id","description":"<p>Allow user to remove their reward information</p>\n","urlObject":{"path":["pub","v1","{{user_id}}","profile","reward",":reward_id"],"host":["{{host}}"],"query":[],"variable":[{"description":{"content":"<p>Reward uuid</p>\n","type":"text/plain"},"type":"any","value":"","key":"reward_id"}]}},"response":[{"id":"7387f47b-4254-4347-ba02-f6112689d144","name":"Reward Delete (app & web)","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":""},"url":"{{host}}/pub/v1/{{user_id}}/profile/reward/{{reward_id}}"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n   \"status\": \"000000\",\r\n   \"message\": \"success\",\r\n   \"data\": []\r\n }"}],"_postman_id":"6b73d5f4-5ad7-4e6e-9a6b-eece30e29cb6"},{"name":"Delete Reward Photo (app & web)","id":"97b2115b-7872-4ecb-8c19-fafbea36b13b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":""},"url":"{{host}}/pub/v1/{{user_id}}/profile/reward/:reward_id/image/:image_id","description":"<p>Allows user to remove a photo associated with their reward information</p>\n","urlObject":{"path":["pub","v1","{{user_id}}","profile","reward",":reward_id","image",":image_id"],"host":["{{host}}"],"query":[],"variable":[{"description":{"content":"<p>Reward uuid</p>\n","type":"text/plain"},"type":"any","value":"","key":"reward_id"},{"description":{"content":"<p>Reward Image uuid</p>\n","type":"text/plain"},"type":"any","value":"","key":"image_id"}]}},"response":[{"id":"42860072-705c-45cb-93a7-645a4bf4af48","name":"Reward Image Delete (app & web)","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":""},"url":"{{host}}/pub/v1/{{user_id}}/profile/reward/{{reward_id}}/image/{{image_id}}"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n      \"status\": \"000000\",\r\n      \"message\": \"success\",\r\n     \"data\": {\r\n      \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n   }\r\n }"}],"_postman_id":"97b2115b-7872-4ecb-8c19-fafbea36b13b"}],"id":"1174b138-4b38-46c1-8b32-b2e0aa71c2d7","description":"<p>Collection for managing reward information within the user's profile</p>\n","_postman_id":"1174b138-4b38-46c1-8b32-b2e0aa71c2d7"},{"name":"Visa","item":[{"name":"Get Visa List (web)","id":"8bb9d79a-f577-4a5d-a661-ae92a196492d","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"url":"{{host}}/pub/v1/{{user_id}}/profile/visa/:visa_id","description":"<p>Allows users to get the list of their saved visa information</p>\n","urlObject":{"path":["pub","v1","{{user_id}}","profile","visa",":visa_id"],"host":["{{host}}"],"query":[],"variable":[{"type":"any","value":"","key":"visa_id"}]}},"response":[{"id":"7c816501-8e76-4545-93f7-fa0ea83851d8","name":"Visa List","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"url":{"raw":"{{host}}/pub/v1/{{user_id}}/profile/visa/:visa_id","host":["{{host}}"],"path":["pub","v1","{{user_id}}","profile","visa",":visa_id"],"variable":[{"key":"visa_id","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": \"000000\",\r\n   \"message\": \"success\",\r\n   \"data\": [\r\n     {\r\n        \"id\": (string) Profile visa uuid, //\"475b4f37-7cd2-4ddd-8109-250abed2a9ac\"\r\n       \"visa_no\": (string) Visa number, //\"12345678\"\r\n      \"control_number\": (string) Visa control number, //\"45678910\"\r\n       \"category\": (string) Visa category, //\"business\"\r\n        \"visa_class\": (string) Visa class, //\"600\"\r\n         \"valid_for\": (string) Visa valid for, //\"Singapore\"\r\n         \"first_name\": (string) First name, //\"Foo\"\r\n         \"last_name\": (string) Last name, //\"Bar\"\r\n         \"issuing_authority\": (string) Visa issuing authority, //\"Singapore Visa Inc\"\r\n        \"gender\": (string) Gender, //\"Male\"\r\n       \"passport_no\": (string) Passport number, //\"12345678\"\r\n       \"nationality\": (string) Nationality, //\"Australia\"\r\n       \"issue_date\": (integer) Visa issue Date timestamp, //1509922800\r\n       \"number_of_entries\": (string) Visa entry number, //\"2\"\r\n       \"enter_before\": (integer) Visa enter before timestamp, //1509922800\r\n       \"date_of_birth\": (integer) Date of Birth, //1509922800\r\n       \"duration\": (string) Visa duration, //\"3 Month\"\r\n      \"annotation\": (string) Visa annotation, //\"clearance received\"\r\n      \"remark\": (string) Visa remark, //\"VIS\"\r\n        \"expiry_date\": (integer) Visa expiry date timestamp, //1509922800\r\n        \"from_date\": (integer) Visa from date timestamp, //1509922800\r\n        \"visa_image\": (array) Visa Images, //[{\"id\": \"...\",\"url\": \"...\"}]\r\n         \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n     }\r\n      ...\r\n  ],\r\n }"}],"_postman_id":"8bb9d79a-f577-4a5d-a661-ae92a196492d"},{"name":"Create Visa (app & web)","id":"05fc7c43-2539-4f8c-b650-32138b6896ed","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"raw","raw":" {\r\n   \"visa_no\": (string) Visa number, //\"12345678\"\r\n   \"control_number\": (string) Visa control number, //\"45678910\"\r\n   \"category\": (string) Visa category, //\"business\"\r\n   \"visa_class\": (string) Visa class, //\"600\"\r\n   \"valid_for\": (string) Visa valid for, //\"Singapore\"\r\n   \"first_name\": (string) First name, //\"Foo\"\r\n   \"last_name\": (string) Last name, //\"Bar\"\r\n   \"issuing_authority\": (string) Visa issuing authority, //\"Singapore Visa Inc\"\r\n   \"gender\": (string) Gender, //\"Male\"\r\n   \"passport_no\": (string) Passport number, //\"12345678\"\r\n   \"nationality\": (string) Nationality, //\"Australia\"\r\n   \"issue_date\": (integer) Visa issue Date timestamp, //1509922800\r\n   \"number_of_entries\": (string) Visa entry number, //\"2\"\r\n   \"enter_before\": (integer) Visa enter before timestamp, //1509922800\r\n   \"date_of_birth\": (integer) Date of Birth, //1509922800\r\n   \"duration\": (string) Visa duration, //\"3 Month\"\r\n   \"annotation\": (string) Visa annotation, //\"clearance received\"\r\n   \"remark\": (string) Visa remark, //\"VIS\"\r\n   \"expiry_date\": (integer) Visa expiry date timestamp, //1509922800\r\n   \"from_date\": (integer) Visa from date timestamp, //1509922800\r\n }\r\n"},"url":"{{host}}/pub/v1/{{user_id}}/profile/visa","description":"<p>Allows users to add visa information.</p>\n<div class=\"headers\">\n<div class=\"heading\">VALUES</div>\n<hr />\n\n<div class=\"param row\">\n         <div class=\"param row\">\n           <div class=\"name col-md-3 col-xs-12\">visa_no</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Visa number, //\"12345678\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">control_number</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Visa control number, //\"45678910\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">category</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Visa category, //\"business\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">visa_class</div>\n            <div class=\"value col-md-9 col-xs-12\"> (string) Visa class, //\"600\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">valid_for</div>\n            <div class=\"value col-md-9 col-xs-12\"> (string) Visa valid for, //\"Singapore\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">first_name</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) First name, //\"Foo\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">last_name</div>\n            <div class=\"value col-md-9 col-xs-12\"> (string) Last name, //\"Bar\"</div>\n          </div>\n           <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">issuing_authority</div>\n            <div class=\"value col-md-9 col-xs-12\"> (string) Visa issuing authority, //\"Singapore Visa Inc\"</div>\n          </div>\n           <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">gender</div>\n            <div class=\"value col-md-9 col-xs-12\"> (string) Gender, //\"Male\"</div>\n          </div>\n           <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">passport_no</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Passport number, //\"12345678\"</div>\n          </div>\n             <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">nationality</div>\n            <div class=\"value col-md-9 col-xs-12\"> (string) Nationality, //\"Australia\"</div>\n          </div>\n             <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">issue_date</div>\n            <div class=\"value col-md-9 col-xs-12\">(integer) Visa issue Date timestamp, //1509922800</div>\n          </div>\n            <div class=\"name col-md-3 col-xs-12\">number_of_entries</div>\n            <div class=\"value col-md-9 col-xs-12\"> (string) Visa entry number, //\"2\"</div>\n          </div>\n           <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">enter_before</div>\n            <div class=\"value col-md-9 col-xs-12\">(integer) Visa enter before timestamp, //1509922800</div>\n          </div>\n           <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">date_of_birth</div>\n            <div class=\"value col-md-9 col-xs-12\">(integer) Date of birth timestamp, //1399022285</div>\n          </div>\n           <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">duration</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Visa duration, //\"3 Month\"</div>\n          </div>\n           <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">annotation</div>\n            <div class=\"value col-md-9 col-xs-12\"> (string) Visa annotation, //\"clearance received\"</div>\n          </div>\n           <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">remark</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Visa remark, //\"VIS\"</div>\n          </div>\n           <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">expiry_date</div>\n            <div class=\"value col-md-9 col-xs-12\">(integer) Visa expiry date timestamp, //1509922800</div>\n          </div>\n           <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">from_date</div>\n            <div class=\"value col-md-9 col-xs-12\"> (integer) Visa from date timestamp, //1509922800</div>\n          </div>\n          \n          \n</div>","urlObject":{"path":["pub","v1","{{user_id}}","profile","visa"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"1fd2e9ca-e82c-4c72-a0d0-c6b847c5d4bc","name":"Create Visa","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"raw","raw":" {\r\n   \"visa_no\": (string) Visa number, //\"12345678\"\r\n   \"control_number\": (string) Visa control number, //\"45678910\"\r\n   \"category\": (string) Visa category, //\"business\"\r\n   \"visa_class\": (string) Visa class, //\"600\"\r\n   \"valid_for\": (string) Visa valid for, //\"Singapore\"\r\n   \"first_name\": (string) First name, //\"Foo\"\r\n   \"last_name\": (string) Last name, //\"Bar\"\r\n   \"issuing_authority\": (string) Visa issuing authority, //\"Singapore Visa Inc\"\r\n   \"gender\": (string) Gender, //\"Male\"\r\n   \"passport_no\": (string) Passport number, //\"12345678\"\r\n   \"nationality\": (string) Nationality, //\"Australia\"\r\n   \"issue_date\": (integer) Visa issue Date timestamp, //1509922800\r\n   \"number_of_entries\": (string) Visa entry number, //\"2\"\r\n   \"enter_before\": (integer) Visa enter before timestamp, //1509922800\r\n   \"date_of_birth\": (integer) Date of Birth, //1509922800\r\n   \"duration\": (string) Visa duration, //\"3 Month\"\r\n   \"annotation\": (string) Visa annotation, //\"clearance received\"\r\n   \"remark\": (string) Visa remark, //\"VIS\"\r\n   \"expiry_date\": (integer) Visa expiry date timestamp, //1509922800\r\n   \"from_date\": (integer) Visa from date timestamp, //1509922800\r\n }"},"url":"{{host}}/pub/v1/{{user_id}}/profile/visa"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n  \"status\": \"000000\",\r\n  \"message\": \"success\",\r\n   \"data\": {\r\n    \"id\": (string) Profile visa uuid, //\"475b4f37-7cd2-4ddd-8109-250abed2a9ac\"\r\n     \"mobile_id\": (string) App reference ID,\r\n      \"visa_no\": (string) Visa number, //\"12345678\"\r\n     \"control_number\": (string) Visa control number, //\"45678910\"\r\n     \"category\": (string) Visa category, //\"business\"\r\n     \"visa_class\": (string) Visa class, //\"600\"\r\n     \"valid_for\": (string) Visa valid for, //\"Singapore\"\r\n     \"first_name\": (string) First name, //\"Foo\"\r\n     \"last_name\": (string) Last name, //\"Bar\"\r\n      \"issuing_authority\": (string) Visa issuing authority, //\"Singapore Visa Inc\"\r\n     \"gender\": (string) Gender, //\"Male\"\r\n     \"passport_no\": (string) Passport number, //\"12345678\"\r\n     \"nationality\": (string) Nationality, //\"Australia\"\r\n     \"issue_date\": (integer) Visa issue Date timestamp, //1509922800\r\n     \"number_of_entries\": (string) Visa entry number, //\"2\"\r\n       \"enter_before\": (integer) Visa enter before timestamp, //1509922800\r\n       \"date_of_birth\": (integer) Date of Birth, //1509922800\r\n       \"duration\": (string) Visa duration, //\"3 Month\"\r\n       \"annotation\": (string) Visa annotation, //\"clearance received\"\r\n       \"remark\": (string) Visa remark, //\"VIS\"\r\n       \"expiry_date\": (integer) Visa expiry date timestamp, //1509922800\r\n       \"from_date\": (integer) Visa expiry date timestamp, //1509922800\r\n     \"visa_image\": (array) Visa Images, //[]\r\n      \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n   }\r\n }"}],"_postman_id":"05fc7c43-2539-4f8c-b650-32138b6896ed"},{"name":"Update Visa (app & web)","id":"ae864f74-7283-432a-a381-e97d1adaf93d","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"visa_no\": (string) Visa number, //\"12345678\"\r\n   \"control_number\": (string) Visa control number, //\"45678910\"\r\n   \"category\": (string) Visa category, //\"business\"\r\n   \"visa_class\": (string) Visa class, //\"600\"\r\n   \"valid_for\": (string) Visa valid for, //\"Singapore\"\r\n   \"first_name\": (string) First name, //\"Foo\"\r\n   \"last_name\": (string) Last name, //\"Bar\"\r\n   \"issuing_authority\": (string) Visa issuing authority, //\"Singapore Visa Inc\"\r\n   \"gender\": (string) Gender, //\"Male\"\r\n   \"passport_no\": (string) Passport number, //\"12345678\"\r\n   \"nationality\": (string) Nationality, //\"Australia\"\r\n   \"issue_date\": (integer) Visa issue Date timestamp, //1509922800\r\n   \"number_of_entries\": (string) Visa entry number, //\"2\"\r\n   \"enter_before\": (integer) Visa enter before timestamp, //1509922800\r\n   \"date_of_birth\": (integer) Date of Birth, //1509922800\r\n   \"duration\": (string) Visa duration, //\"3 Month\"\r\n   \"annotation\": (string) Visa annotation, //\"clearance received\"\r\n   \"remark\": (string) Visa remark, //\"VIS\"\r\n   \"expiry_date\": (integer) Visa expiry date timestamp, //1509922800\r\n   \"from_date\": (integer) Visa from date timestamp, //1509922800\r\n }"},"url":"{{host}}/pub/v1/{{user_id}}/profile/visa/:visa_id","description":"<p>Allows users to update their visa information.</p>\n<div class=\"headers\">\n<div class=\"heading\">VALUES</div>\n<hr />\n\n<div class=\"param row\">\n         <div class=\"param row\">\n           <div class=\"name col-md-3 col-xs-12\">visa_no</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Visa number, //\"12345678\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">control_number</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Visa control number, //\"45678910\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">category</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Visa category, //\"business\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">visa_class</div>\n            <div class=\"value col-md-9 col-xs-12\"> (string) Visa class, //\"600\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">valid_for</div>\n            <div class=\"value col-md-9 col-xs-12\"> (string) Visa valid for, //\"Singapore\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">first_name</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) First name, //\"Foo\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">last_name</div>\n            <div class=\"value col-md-9 col-xs-12\"> (string) Last name, //\"Bar\"</div>\n          </div>\n           <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">issuing_authority</div>\n            <div class=\"value col-md-9 col-xs-12\"> (string) Visa issuing authority, //\"Singapore Visa Inc\"</div>\n          </div>\n           <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">gender</div>\n            <div class=\"value col-md-9 col-xs-12\"> (string) Gender, //\"Male\"</div>\n          </div>\n           <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">passport_no</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Passport number, //\"12345678\"</div>\n          </div>\n             <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">nationality</div>\n            <div class=\"value col-md-9 col-xs-12\"> (string) Nationality, //\"Australia\"</div>\n          </div>\n             <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">issue_date</div>\n            <div class=\"value col-md-9 col-xs-12\">(integer) Visa issue Date timestamp, //1509922800</div>\n          </div>\n            <div class=\"name col-md-3 col-xs-12\">number_of_entries</div>\n            <div class=\"value col-md-9 col-xs-12\"> (string) Visa entry number, //\"2\"</div>\n          </div>\n           <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">enter_before</div>\n            <div class=\"value col-md-9 col-xs-12\">(integer) Visa enter before timestamp, //1509922800</div>\n          </div>\n           <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">date_of_birth</div>\n            <div class=\"value col-md-9 col-xs-12\">(integer) Date of birth timestamp, //1399022285</div>\n          </div>\n           <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">duration</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Visa duration, //\"3 Month\"</div>\n          </div>\n           <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">annotation</div>\n            <div class=\"value col-md-9 col-xs-12\"> (string) Visa annotation, //\"clearance received\"</div>\n          </div>\n           <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">remark</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Visa remark, //\"VIS\"</div>\n          </div>\n           <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">expiry_date</div>\n            <div class=\"value col-md-9 col-xs-12\">(integer) Visa expiry date timestamp, //1509922800</div>\n          </div>\n           <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">from_date</div>\n            <div class=\"value col-md-9 col-xs-12\"> (integer) Visa from date timestamp, //1509922800</div>\n          </div>\n          \n          \n</div>","urlObject":{"path":["pub","v1","{{user_id}}","profile","visa",":visa_id"],"host":["{{host}}"],"query":[],"variable":[{"description":{"content":"<p>Visa uuid</p>\n","type":"text/plain"},"type":"any","value":"","key":"visa_id"}]}},"response":[{"id":"a151d984-c9e3-49d4-8d8e-9492b1f9104a","name":"Update Visa","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"visa_no\": (string) Visa number, //\"12345678\"\r\n   \"control_number\": (string) Visa control number, //\"45678910\"\r\n   \"category\": (string) Visa category, //\"business\"\r\n   \"visa_class\": (string) Visa class, //\"600\"\r\n   \"valid_for\": (string) Visa valid for, //\"Singapore\"\r\n   \"first_name\": (string) First name, //\"Foo\"\r\n   \"last_name\": (string) Last name, //\"Bar\"\r\n   \"issuing_authority\": (string) Visa issuing authority, //\"Singapore Visa Inc\"\r\n   \"gender\": (string) Gender, //\"Male\"\r\n   \"passport_no\": (string) Passport number, //\"12345678\"\r\n   \"nationality\": (string) Nationality, //\"Australia\"\r\n   \"issue_date\": (integer) Visa issue Date timestamp, //1509922800\r\n   \"number_of_entries\": (string) Visa entry number, //\"2\"\r\n   \"enter_before\": (integer) Visa enter before timestamp, //1509922800\r\n   \"date_of_birth\": (integer) Date of Birth, //1509922800\r\n   \"duration\": (string) Visa duration, //\"3 Month\"\r\n   \"annotation\": (string) Visa annotation, //\"clearance received\"\r\n   \"remark\": (string) Visa remark, //\"VIS\"\r\n   \"expiry_date\": (integer) Visa expiry date timestamp, //1509922800\r\n   \"from_date\": (integer) Visa from date timestamp, //1509922800\r\n }"},"url":{"raw":"{{host}}/pub/v1/{{user_id}}/profile/visa/:visa_id","host":["{{host}}"],"path":["pub","v1","{{user_id}}","profile","visa",":visa_id"],"variable":[{"key":"visa_id","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n   \"status\": \"000000\",\r\n   \"message\": \"success\",\r\n   \"data\": {\r\n     \"id\": (string) Profile visa uuid, //\"475b4f37-7cd2-4ddd-8109-250abed2a9ac\"\r\n     \"mobile_id\": (string) App reference ID,\r\n     \"visa_no\": (string) Visa number, //\"12345678\"\r\n     \"control_number\": (string) Visa control number, //\"45678910\"\r\n     \"category\": (string) Visa category, //\"business\"\r\n     \"visa_class\": (string) Visa class, //\"600\"\r\n     \"valid_for\": (string) Visa valid for, //\"Singapore\"\r\n     \"first_name\": (string) First name, //\"Foo\"\r\n     \"last_name\": (string) Last name, //\"Bar\"\r\n     \"issuing_authority\": (string) Visa issuing authority, //\"Singapore Visa Inc\"\r\n     \"gender\": (string) Gender, //\"Male\"\r\n     \"passport_no\": (string) Passport number, //\"12345678\"\r\n     \"nationality\": (string) Nationality, //\"Australia\"\r\n     \"issue_date\": (integer) Visa issue Date timestamp, //1509922800\r\n     \"number_of_entries\": (string) Visa entry number, //\"2\"\r\n     \"enter_before\": (integer) Visa enter before timestamp, //1509922800\r\n     \"date_of_birth\": (integer) Date of Birth, //1509922800\r\n     \"duration\": (string) Visa duration, //\"3 Month\"\r\n     \"annotation\": (string) Visa annotation, //\"clearance received\"\r\n     \"remark\": (string) Visa remark, //\"VIS\"\r\n     \"expiry_date\": (integer) Visa expiry date timestamp, //1509922800\r\n     \"from_date\": (integer) Visa from date timestamp, //1509922800\r\n     \"visa_image\": (array) Visa Images, //[]\r\n     \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n   }\r\n }"}],"_postman_id":"ae864f74-7283-432a-a381-e97d1adaf93d"},{"name":"Upload Visa Photo (app & web)","id":"666cc6f0-c3c3-4994-b0ce-8e5adc451bf4","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"FILE","description":"<p>jpg,gif,png</p>\n","type":"file","value":null}]},"url":"{{host}}/pub/v1/{{user_id}}/profile/visa/:visa_id/:visa_id/image","description":"<p>Allows user's to upload a photo associated with their visa information</p>\n","urlObject":{"path":["pub","v1","{{user_id}}","profile","visa",":visa_id",":visa_id","image"],"host":["{{host}}"],"query":[],"variable":[{"description":{"content":"<p>Visa uuid</p>\n","type":"text/plain"},"type":"any","value":"","key":"visa_id"},{"description":{"content":"<p>Visa uuid</p>\n","type":"text/plain"},"type":"any","value":"","key":"visa_id"}]}},"response":[{"id":"19db24b6-b999-4497-a683-2318e9f36588","name":"Upload Visa Photo","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"FILE","type":"file"}]},"url":{"raw":"{{host}}/pub/v1/{{user_id}}/profile/visa/:visa_id/image","host":["{{host}}"],"path":["pub","v1","{{user_id}}","profile","visa",":visa_id","image"],"variable":[{"key":"visa_id","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n   \"status\": \"000000\",\r\n   \"message\": \"success\",\r\n   \"data\": {\r\n     \"id\": (string) Profile visa uuid, //\"475b4f37-7cd2-4ddd-8109-250abed2a9ac\"\r\n     \"mobile_id\": (string) App reference ID,\r\n     \"visa_no\": (string) Visa number, //\"12345678\"\r\n     \"control_number\": (string) Visa control number, //\"45678910\"\r\n     \"category\": (string) Visa category, //\"business\"\r\n     \"visa_class\": (string) Visa class, //\"600\"\r\n     \"valid_for\": (string) Visa valid for, //\"Singapore\"\r\n     \"first_name\": (string) First name, //\"Foo\"\r\n     \"last_name\": (string) Last name, //\"Bar\"\r\n     \"issuing_authority\": (string) Visa issuing authority, //\"Singapore Visa Inc\"\r\n     \"gender\": (string) Gender, //\"Male\"\r\n     \"passport_no\": (string) Passport number, //\"12345678\"\r\n     \"nationality\": (string) Nationality, //\"Australia\"\r\n     \"issue_date\": (integer) Visa issue Date timestamp, //1509922800\r\n     \"number_of_entries\": (string) Visa entry number, //\"2\"\r\n     \"enter_before\": (integer) Visa enter before timestamp, //1509922800\r\n     \"date_of_birth\": (integer) Date of Birth, //1509922800\r\n     \"duration\": (string) Visa duration, //\"3 Month\"\r\n     \"annotation\": (string) Visa annotation, //\"clearance received\"\r\n     \"remark\": (string) Visa remark, //\"VIS\"\r\n     \"expiry_date\": (integer) Visa expiry date timestamp, //1509922800\r\n     \"from_date\": (integer) Visa from date timestamp, //1509922800\r\n     \"visa_image\": (array) Visa Images, //[{\"id\": \"...\",\"url\": \"...\"}]\r\n     \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n   }\r\n }"}],"_postman_id":"666cc6f0-c3c3-4994-b0ce-8e5adc451bf4"},{"name":"Delete Visa (app & web)","id":"d22a78eb-c2dd-4ec7-a483-28f30932b6e4","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"raw","raw":""},"url":"{{host}}/pub/v1/{{user_id}}/profile/visa/:visa_id","description":"<p>Allows users to remove their visa information</p>\n","urlObject":{"path":["pub","v1","{{user_id}}","profile","visa",":visa_id"],"host":["{{host}}"],"query":[],"variable":[{"description":{"content":"<p>Visa uuid</p>\n","type":"text/plain"},"type":"any","value":"","key":"visa_id"}]}},"response":[{"id":"1a16d917-2c60-45c6-9fd4-def2094fbec8","name":"Delete Visa","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n   \"mobile_id\": (string) App reference ID,\r\n   \"code\": (string) Passport code, //\"ABC123\"\r\n   \"first_name\": (string) User Passport First Name, //\"Foo\"\r\n   \"last_name\": (string) User Passport Last Name, //\"Bar\"\r\n   \"issuing_authority\": (string) Passport Issuing Authority, //\"ABC\",\r\n   \"gender\": (string) User Passport Gender, //\"m\",\r\n   \"passport_no\": (string) Passport Code, //\"ABC123\",\r\n   \"nationality\": (string) Passport Nationality, //\"Australia\",\r\n   \"issue_date\": (integer) Passport Issue Date timestamp, //1380837600\r\n   \"date_of_birth\": (integer) User Passport Date of Birth timestamp, //1380837600\r\n   \"country_of_birth\": (string) User Passport Country of Birth, //\"Australia\",\r\n   \"place_of_birth\": (string) Passport Place of Birth, //\"Melbourne\",\r\n   \"place_of_issue\": (string) Passport Place of issue, //\"Melbourne\",\r\n   \"allow_pretravel\": (boolean) Allow Passport use in PreTravel, //false\r\n   \"expiry_date\": (integer) Passport Expiry Date timestamp, //1380837600\r\n }"},"url":{"raw":"{{host}}/pub/v1/{{user_id}}/profile/visa/:visa_id","host":["{{host}}"],"path":["pub","v1","{{user_id}}","profile","visa",":visa_id"],"variable":[{"key":"visa_id","value":"","description":"Visa uuid"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n   \"status\": \"000000\",\r\n   \"message\": \"success\",\r\n   \"data\": []\r\n }"}],"_postman_id":"d22a78eb-c2dd-4ec7-a483-28f30932b6e4"},{"name":"Delete Visa Photo (app & web)","id":"7006e3cf-7b96-41ac-a535-82e5d8663a0e","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"raw","raw":""},"url":"{{host}}/pub/v1/{{user_id}}/profile/visa/:visa_id/image/:resource_id","description":"<p>Allows users to remove a photo associated with their visa information</p>\n","urlObject":{"path":["pub","v1","{{user_id}}","profile","visa",":visa_id","image",":resource_id"],"host":["{{host}}"],"query":[],"variable":[{"description":{"content":"<p>Visa uuid</p>\n","type":"text/plain"},"type":"any","value":"","key":"visa_id"},{"description":{"content":"<p>Visa Image uuid</p>\n","type":"text/plain"},"type":"any","value":"","key":"resource_id"}]}},"response":[{"id":"e703bc4d-b0db-4b27-be4d-bb512b0f809e","name":"Delete Visa Photo","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{host}}/pub/v1/{{user_id}}/profile/visa/:visa_id/image/:resource_id","host":["{{host}}"],"path":["pub","v1","{{user_id}}","profile","visa",":visa_id","image",":resource_id"],"variable":[{"key":"visa_id","value":"","description":"Visa uuid"},{"key":"resource_id","value":"","description":"Visa Image uuid"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n   \"status\": \"000000\",\r\n   \"message\": \"success\",\r\n   \"data\": {\r\n     \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n   }\r\n }\r\n"}],"_postman_id":"7006e3cf-7b96-41ac-a535-82e5d8663a0e"}],"id":"08283b3b-e504-4b2e-b3f9-675b9dea46d6","description":"<p>Collection for managing visa information within the user's profile</p>\n","event":[{"listen":"prerequest","script":{"id":"f831c2ca-4957-45bb-945d-b3c3fabcd0da","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"6eed3729-2d9d-4851-8e1a-9cfd66e0fd35","type":"text/javascript","exec":[""]}}],"_postman_id":"08283b3b-e504-4b2e-b3f9-675b9dea46d6"},{"name":"Get Profile (app & web)","id":"eb08c6db-c454-40dd-85a6-82565c311eb5","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"url":"{{host}}/pub/v1/{{user_id}}/profile","description":"<p>Retrieve the user's profile information</p>\n","urlObject":{"path":["pub","v1","{{user_id}}","profile"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"c8f3cddb-6556-419f-8973-3b3b2d1f40fd","name":"Get Profile","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"DEVICE-SESSION","type":"text"},{"key":"x-client-id","value":"API-KEY","type":"text"},{"key":"x-client-secret","value":"API-SECRET-KEY","type":"text"}],"url":{"raw":"https://api.travelerbuddy.com/pub/v1/:user_id/profile","protocol":"https","host":["api","travelerbuddy","com"],"path":["pub","v1",":user_id","profile"],"variable":[{"key":"user_id","value":"","description":"User's ID"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n\t\"status\": \"000000\",\r\n\t\"message\": \"success\",\r\n\t\"data\": [\r\n     {\r\n       \"mobile_id\": (string) Profile ID of App, \r\n       \"id\": (string) Profile uuid, //\"c3e90ea0-2b1c-11e7-933b-15c8455eb11d\"\r\n       \"primary\": (boolean) Is primary profile, //false or true\r\n       \"profile_name\": (string) Profile name, /\"foo\"\r\n       \"first_name\": (string) Profile first name, //\"foo\"\r\n       \"last_name\": (string) Profile last name, //\"bar\"\r\n       \"photo\": (string) Profile picture url, //\"http://...\"\r\n       \"title\": (string) Profile title, //\"Mr.\"\r\n       \"gender\": (string) Profile Gender, //\"Male\"\r\n       \"marital\": (string) Marital status, //\"Single\"\r\n       \"residence_country\": (string) Residence country, //\"Singapore\"\r\n       \"country_of_birth\": (string) Country of birth, //\"Singapore\"\r\n       \"nationality\": (string) Nationality, //\"Singapore\"\r\n       \"occupation\": (string) Occupation, //\"Employee\"\r\n       \"date_of_birth\": (integer) Date of birth timestamp, //1399022285\r\n       \"address\": (object) Profile Address,\r\n       \"passport\": (array) Profile Passports with last update field,\r\n       \"visa\": (array) Profile Visas with last update field,\r\n       \"luggage\": (array) Profile Luggage with last update field,\r\n       \"insurance\": (array) Profile Insurance with last update field,\r\n       \"reward_programmes\": (array) Profile Reward Programs with last update field,\r\n      \"card\": (array) Profile Cards with last update field,\r\n      \"bank\": (array) Profile Banks with last update field,\r\n       \"online_bank\": (array) Profile Online Banks with last update field,\r\n      \"ip_country\": (string) Profile ip country, //\"Singapore\"\r\n      \"secondary_email\": (array) Secondary email address,\r\n       \"sec_email_request\": (array) Requested secondary email address,\r\n      \"manager_email\": (string) Manager email address,\r\n      \"internal_email\": (string) Internal email address,\r\n      \"has_show_rating\": (boolean) Show rating status, //false\r\n     }\r\n   ]\r\n }"}],"_postman_id":"eb08c6db-c454-40dd-85a6-82565c311eb5"},{"name":"Update Profile (app & web)","id":"c62acf1c-cfb4-43af-bd04-3fe23d5e4643","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n   \"mobile_id\": (string) Profile ID of App, \r\n   \"profile_name\": (string) Profile name, /\"foo\"\r\n   \"first_name\": (string) Profile first name, //\"foo\"\r\n   \"last_name\": (string) Profile last name, //\"bar\"\r\n   \"title\": (string) Profile title, //\"Mr.\"\r\n   \"gender\": (string) Profile Gender, //\"Male\"\r\n   \"marital\": (string) Marital status, //\"Single\"\r\n   \"residence_country\": (string) Residence country, //\"Singapore\"\r\n   \"country_of_birth\": (string) Country of birth, //\"Singapore\"\r\n   \"nationality\": (string) Nationality, //\"Singapore\"\r\n   \"occupation\": (string) Occupation, //\"Employee\"\r\n   \"date_of_birth\": (integer) Date of birth timestamp, //1399022285\r\n }"},"url":"{{host}}/pub/v1/{{user_id}}/profile","description":"<p>Update the user's profile information.</p>\n<div class=\"headers\">\n<div class=\"heading\">VALUES</div>\n<hr />\n\n<div class=\"param row\">\n         <div class=\"param row\">\n           <div class=\"name col-md-3 col-xs-12\">mobile_id</div>\n            <div class=\"value col-md-9 col-xs-12\">1234-abcd-5678...</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">profile_name</div>\n            <div class=\"value col-md-9 col-xs-12\">foo</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">first_name</div>\n            <div class=\"value col-md-9 col-xs-12\">foo</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">last_name</div>\n            <div class=\"value col-md-9 col-xs-12\">bar</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">title</div>\n            <div class=\"value col-md-9 col-xs-12\">Mr.,Ms.</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">gender</div>\n            <div class=\"value col-md-9 col-xs-12\">Male or Female</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">marital</div>\n            <div class=\"value col-md-9 col-xs-12\">Single, Married</div>\n          </div>\n           <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">residence_country</div>\n            <div class=\"value col-md-9 col-xs-12\">Singapore</div>\n          </div>\n           <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">country_of_birth</div>\n            <div class=\"value col-md-9 col-xs-12\">Singapore</div>\n          </div>\n           <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">nationality</div>\n            <div class=\"value col-md-9 col-xs-12\">Singapore</div>\n          </div>\n             <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">occupation</div>\n            <div class=\"value col-md-9 col-xs-12\">Employee</div>\n          </div>\n             <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">date_of_birth</div>\n            <div class=\"value col-md-9 col-xs-12\">date to integer //1399022285</div>\n          </div>\n          \n          \n</div>\n\n</div>","urlObject":{"path":["pub","v1","{{user_id}}","profile"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"c017e52d-e6a6-484f-87f4-15f57db99edd","name":"Update Profile","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n   \"mobile_id\": (string) Profile ID of App, \r\n   \"profile_name\": (string) Profile name, /\"foo\"\r\n   \"first_name\": (string) Profile first name, //\"foo\"\r\n   \"last_name\": (string) Profile last name, //\"bar\"\r\n   \"title\": (string) Profile title, //\"Mr.\"\r\n   \"gender\": (string) Profile Gender, //\"Male\"\r\n   \"marital\": (string) Marital status, //\"Single\"\r\n   \"residence_country\": (string) Residence country, //\"Singapore\"\r\n   \"country_of_birth\": (string) Country of birth, //\"Singapore\"\r\n   \"nationality\": (string) Nationality, //\"Singapore\"\r\n   \"occupation\": (string) Occupation, //\"Employee\"\r\n   \"date_of_birth\": (integer) Date of birth timestamp, //1399022285\r\n }"},"url":"{{host}}/pub/v1/{{user_id}}/profile"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n\t\"status\": \"000000\",\r\n\t\"message\": \"success\",\r\n\t\"data\": [\r\n     {\r\n       \"mobile_id\": (string) Profile ID of App, \r\n       \"id\": (string) Profile uuid, //\"c3e90ea0-2b1c-11e7-933b-15c8455eb11d\"\r\n       \"primary\": (boolean) Is primary profile, //false or true\r\n       \"profile_name\": (string) Profile name, /\"foo\"\r\n       \"first_name\": (string) Profile first name, //\"foo\"\r\n       \"last_name\": (string) Profile last name, //\"bar\"\r\n       \"photo\": (string) Profile picture url, //\"http://...\"\r\n       \"title\": (string) Profile title, //\"Mr.\"\r\n       \"gender\": (string) Profile Gender, //\"Male\"\r\n       \"marital\": (string) Marital status, //\"Single\"\r\n       \"residence_country\": (string) Residence country, //\"Singapore\"\r\n       \"country_of_birth\": (string) Country of birth, //\"Singapore\"\r\n       \"nationality\": (string) Nationality, //\"Singapore\"\r\n       \"occupation\": (string) Occupation, //\"Employee\"\r\n       \"date_of_birth\": (integer) Date of birth timestamp, //1399022285\r\n       \"address\": (object) Profile Address,\r\n       \"passport\": (array) Profile Passports with last update field,\r\n       \"visa\": (array) Profile Visas with last update field,\r\n       \"luggage\": (array) Profile Luggage with last update field,\r\n       \"insurance\": (array) Profile Insurance with last update field,\r\n       \"reward_programmes\": (array) Profile Reward Programs with last update field,\r\n      \"card\": (array) Profile Cards with last update field,\r\n      \"bank\": (array) Profile Banks with last update field,\r\n       \"online_bank\": (array) Profile Online Banks with last update field,\r\n      \"ip_country\": (string) Profile ip country, //\"Singapore\"\r\n      \"secondary_email\": (array) Secondary email address,\r\n       \"sec_email_request\": (array) Requested secondary email address,\r\n      \"manager_email\": (string) Manager email address,\r\n      \"internal_email\": (string) Internal email address,\r\n      \"has_show_rating\": (boolean) Show rating status, //false\r\n     }\r\n   ]\r\n }"}],"_postman_id":"c62acf1c-cfb4-43af-bd04-3fe23d5e4643"},{"name":"Upload Profile Photo  (app & web)","id":"5f2b1aa2-0fa7-4c8a-8b4e-6c6a7b5fee49","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"FILE","description":"<p>jpg,gif,png</p>\n","type":"file","value":null}]},"url":"{{host}}/pub/v1/{{user_id}}/profile/photo","description":"<p>Allows users to upload a profile photo associated with their profile</p>\n","urlObject":{"path":["pub","v1","{{user_id}}","profile","photo"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"57f9030f-80be-436c-aa24-d3aa8698c965","name":"Profile Photo Upload","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"DEVICE-SESSION","type":"text"},{"key":"x-client-id","value":"API-KEY","type":"text"},{"key":"x-client-secret","value":"API-SECRET-KEY","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"FILE","type":"file"}]},"url":"{{host}}/pub/v1/{{user_id}}/profile/photo"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n  \"status\": \"000000\",\r\n   \"message\": \"success\",\r\n   \"data\": {\r\n     \"mobile_id\": (string) Profile ID of App, \r\n    \"id\": (string) Profile uuid, //\"c3e90ea0-2b1c-11e7-933b-15c8455eb11d\"\r\n     \"primary\": (boolean) Is primary profile, //false or true\r\n     \"profile_name\": (string) Profile name, /\"foo\"\r\n      \"first_name\": (string) Profile first name, //\"foo\"\r\n       \"last_name\": (string) Profile last name, //\"bar\"\r\n       \"photo\": (string) Profile picture url, //\"http://...\"\r\n        \"title\": (string) Profile title, //\"Mr.\"\r\n       \"gender\": (string) Profile Gender, //\"Male\"\r\n      \"marital\": (string) Marital status, //\"Single\"\r\n        \"residence_country\": (string) Residence country, //\"Singapore\"\r\n        \"country_of_birth\": (string) Country of birth, //\"Singapore\"\r\n        \"nationality\": (string) Nationality, //\"Singapore\"\r\n      \"occupation\": (string) Occupation, //\"Employee\"\r\n       \"date_of_birth\": (integer) Date of birth timestamp, //1399022285\r\n     }\r\n  }"}],"_postman_id":"5f2b1aa2-0fa7-4c8a-8b4e-6c6a7b5fee49"},{"name":"Delete Profile Photo (app & web)","id":"63c0f560-9d8c-4fa0-8c77-9c98b8568433","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":""},"url":"{{host}}/pub/v1/{{user_id}}/profile/photo","description":"<p>Allows users to remove the profile photo associated with their profile</p>\n","urlObject":{"path":["pub","v1","{{user_id}}","profile","photo"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"63c0f560-9d8c-4fa0-8c77-9c98b8568433"},{"name":"Complete User Profile (app)","id":"6bd67baf-e161-4fcc-8d91-0b815c6c0b99","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n     \"date_of_birth\": (integer) Date of birth timestamp, //1399022285\r\n  \"passport_no\": (string) Passport number, //\"\"\r\n  \"expiry_date\": (integer) Passport expiry date timestamp, //1509922800\r\n }"},"url":"{{host}}/pub/v1/{{user_id}}/profile/complete-profile","description":"<p>Complete profile information after sign up and registration</p>\n<div class=\"headers\">\n<div class=\"heading\">VALUES</div>\n<hr />\n\n<div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">date_of_birth</div>\n            <div class=\"value col-md-9 col-xs-12\">(integer) Date of birth timestamp, //1399022285</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">passport_no</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Passport number, //\"\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">expiry_date</div>\n            <div class=\"value col-md-9 col-xs-12\">(integer) Passport expiry date timestamp, //1509922800</div>\n          </div>\n          \n          \n</div>\n","urlObject":{"path":["pub","v1","{{user_id}}","profile","complete-profile"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"93f5dc43-6051-4f26-83b6-4bd589f9477a","name":"Complete User Profile","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n     \"date_of_birth\": (integer) Date of birth timestamp, //1399022285\r\n  \"passport_no\": (string) Passport number, //\"\"\r\n  \"expiry_date\": (integer) Passport expiry date timestamp, //1509922800\r\n }"},"url":"{{host}}/pub/v1/{{user_id}}/profile/complete-profile"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n      \"status\": \"000000\",\r\n     \"message\": \"success\",\r\n     \"data\": {\r\n       \"photo\": (string) Profile picture url, //\"http://...\"\r\n       \"date_of_birth\": (integer) Date of birth timestamp, //1399022285\r\n        \"country_of_birth\": (string) Country of birth, //\"Singapore\"\r\n       \"nationality\": (string) Nationality, //\"Singapore\"\r\n       \"residence_country\": (string) Residence country, //\"Singapore\"\r\n      \"passport_no\": (string) Passport Code, //\"ABC123\",\r\n       \"issue_date\": (integer) Passport Issue Datetime, //\"650076517\"\r\n       \"expiry_date\": (integer) Passport expiry date timestamp, //1509922800\r\n       \"allow_pretravel\": (boolean) Allow Passport use in PreTravel, //false\r\n    }\r\n }"}],"_postman_id":"6bd67baf-e161-4fcc-8d91-0b815c6c0b99"},{"name":"Auto Populate Profile (app & web)","id":"a744323a-8e0f-42db-99bb-c666fdb6431f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":"{\r\n      \"first_name\": \"Foo\",\r\n      \"last_name\": \"Bar\",\r\n    \"gender\": \"Male\",\r\n    \"date_of_birth\": 631148400,\r\n     \"country_of_birth\": \"Australia\",\r\n     \"nationality\": \"Singapore\",\r\n   \"residence_country\": \"Singapore\",\r\n  \"place_of_birth\": \"Sydney\"\r\n  }"},"url":"{{host}}/pub/v1/{{user_id}}/profile/autopopulate","description":"<p>Auto populates user's profile information.</p>\n<div class=\"headers\">\n<div class=\"heading\">VALUES</div>\n<hr />\n\n<div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">first_name</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) user Firstname</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">last_name</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) user Lastname</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">gender</div>\n            <div class=\"value col-md-9 col-xs-12\">User gender</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">date_of_birth</div>\n            <div class=\"value col-md-9 col-xs-12\">(integer) Date of Birth, //1399022285</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">country_of_birth</div>\n            <div class=\"value col-md-9 col-xs-12\">Country of birth</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">nationality</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Nationality</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">residence_country</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Country of Residence</div>\n          </div>\n           <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">place_of_birth</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Place of Birth</div>\n          </div>\n          \n</div>\n","urlObject":{"path":["pub","v1","{{user_id}}","profile","autopopulate"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"3f0e003b-3e5e-47b7-9bfe-7634c3c919c7","name":"Auto Populate Profile (app & web)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":"{\r\n      \"first_name\": \"Foo\",\r\n      \"last_name\": \"Bar\",\r\n    \"gender\": \"Male\",\r\n    \"date_of_birth\": 631148400,\r\n     \"country_of_birth\": \"Australia\",\r\n     \"nationality\": \"Singapore\",\r\n   \"residence_country\": \"Singapore\",\r\n  \"place_of_birth\": \"Sydney\"\r\n  }"},"url":"{{host}}/pub/v1/{{user_id}}/profile/autopopulate"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n     \"status\": \"000000\",\r\n     \"message\": \"success\",\r\n     \"data\": []\r\n }"}],"_postman_id":"a744323a-8e0f-42db-99bb-c666fdb6431f"},{"name":"Sync Profile (app & web)","id":"993f2e3d-55b2-4ca4-804f-ef6a942f3dca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":"{\r\n      \"address\": (integer) Last update of Profile address timestamp, //1399022285\r\n     \"passport\": (integer) Last update of Profile Passports timestamp, //1399022285\r\n      \"visa\": (integer) Last update of Profile Visas timestamp, //1399022285\r\n     \"luggage\": (integer) Last update of Profile Luggages timestamp, //1399022285\r\n     \"insurance\": (integer) Last update of Profile Insurances timestamp, //1399022285\r\n     \"reward_programmes\": (integer) Last update of Profile Reward Programs timestamp, //1399022285\r\n  \"card\": (integer) Last update of Profile Cards timestamp, //1399022285\r\n}"},"url":"{{host}}/pub/v1/{{user_id}}/profile-sync","description":"<p>Updates a user's profile information when the user is online and updated the information either in the mobile or web app.</p>\n<div class=\"headers\">\n<div class=\"heading\">VALUES</div>\n<hr />\n\n<div class=\"param row\">\n         <div class=\"param row\">\n           <div class=\"name col-md-3 col-xs-12\">address</div>\n            <div class=\"value col-md-9 col-xs-12\">(integer) Last update of Profile address timestamp, //1399022285</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">passport</div>\n            <div class=\"value col-md-9 col-xs-12\">(integer) Last update of Profile Passports timestamp, //1399022285</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">visa</div>\n            <div class=\"value col-md-9 col-xs-12\">(integer) Last update of Profile Visas timestamp, //1399022285</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">luggage</div>\n            <div class=\"value col-md-9 col-xs-12\">(integer) Last update of Profile Luggages timestamp, //1399022285</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">insurance</div>\n            <div class=\"value col-md-9 col-xs-12\">(integer) Last update of Profile Insurances timestamp, //1399022285</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">reward_programmes</div>\n            <div class=\"value col-md-9 col-xs-12\">(integer) Last update of Profile Reward Programs timestamp, //1399022285</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">card</div>\n            <div class=\"value col-md-9 col-xs-12\">(integer) Last update of Profile Cards timestamp, //1399022285</div>\n          </div>\n          \n          \n</div>\n\n\n\n</div>","urlObject":{"path":["pub","v1","{{user_id}}","profile-sync"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"00089be4-6a85-4692-883b-10aa09f6d7c0","name":"Sync Profile (app & web)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":"{\r\n      \"address\": (integer) Last update of Profile address timestamp, //1399022285\r\n     \"passport\": (integer) Last update of Profile Passports timestamp, //1399022285\r\n      \"visa\": (integer) Last update of Profile Visas timestamp, //1399022285\r\n     \"luggage\": (integer) Last update of Profile Luggages timestamp, //1399022285\r\n     \"insurance\": (integer) Last update of Profile Insurances timestamp, //1399022285\r\n     \"reward_programmes\": (integer) Last update of Profile Reward Programs timestamp, //1399022285\r\n  \"card\": (integer) Last update of Profile Cards timestamp, //1399022285\r\n}"},"url":"{{host}}/pub/v1/{{user_id}}/profile-sync"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n     \"status\": \"000000\",\r\n     \"message\": \"success\",\r\n     \"data\": [\r\n        {\r\n          \"mobile_id\": (string) Profile ID of App, \r\n         \"id\": (string) Profile uuid, //\"c3e90ea0-2b1c-11e7-933b-15c8455eb11d\"\r\n          \"primary\": (boolean) Is primary profile, //false or true\r\n          \"profile_name\": (string) Profile name, /\"foo\"\r\n         \"first_name\": (string) Profile first name, //\"foo\"\r\n          \"last_name\": (string) Profile last name, //\"bar\"\r\n         \"photo\": (string) Profile picture url, //\"http://...\"\r\n          \"title\": (string) Profile title, //\"Mr.\"\r\n          \"gender\": (string) Profile Gender, //\"Male\"\r\n          \"marital\": (string) Marital status, //\"Single\"\r\n         \"residence_country\": (string) Residence country, //\"Singapore\"\r\n          \"country_of_birth\": (string) Country of birth, //\"Singapore\"\r\n          \"nationality\": (string) Nationality, //\"Singapore\"\r\n        \"occupation\": (string) Occupation, //\"Employee\"\r\n          \"date_of_birth\": (integer) Date of birth timestamp, //1399022285\r\n          \"address\": (object) Profile Address,\r\n         \"passport\": (array) Profile Passports with last update field,\r\n         \"visa\": (array) Profile Visas with last update field,\r\n          \"luggage\": (array) Profile Luggage with last update field,\r\n          \"insurance\": (array) Profile Insurance with last update field,\r\n         \"reward_programmes\": (array) Profile Reward Programs with last update field,\r\n         \"card\": (array) Profile Cards with last update field,\r\n          \"ip_country\": (string) Profile ip country, //\"Singapore\"\r\n          \"secondary_email\": (array) Secondary email address,\r\n        \"sec_email_request\": (array) Requested secondary email address,\r\n          \"manager_email\": (string) Manager email address,\r\n          \"internal_email\": (string) Internal email address,\r\n          \"has_show_rating\": (boolean) Show rating status, //false\r\n        }\r\n      ]\r\n }"}],"_postman_id":"993f2e3d-55b2-4ca4-804f-ef6a942f3dca"},{"name":"Complete Profile Photo (app).","id":"37672505-1c3d-4b58-8145-baaae6ae9d3d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"formdata","formdata":[{"key":"FILE","description":"<p>jpg,gif,png</p>\n","type":"file","value":null}]},"url":"{{host}}/pub/v1/{{user_id}}/profile/complete-profile/photo","description":"<p>Shows the profile photo of the completed profile</p>\n","urlObject":{"path":["pub","v1","{{user_id}}","profile","complete-profile","photo"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"fc9b9d04-698b-47b8-a50c-2fcb1a20c5c2","name":"Complete User Profile Photo","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"formdata","formdata":[{"key":"FILE","type":"file"}]},"url":"{{host}}/pub/v1/{{user_id}}/profile/complete-profile/photo"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n     \"status\": \"000000\",\r\n      \"message\": \"success\",\r\n      \"data\": {\r\n        \"photo\": (string) Profile picture url, //\"http://...\"\r\n    }\r\n }"}],"_postman_id":"37672505-1c3d-4b58-8145-baaae6ae9d3d"}],"id":"2a2baa0b-7dd3-4032-a0f3-89b6e2f3735d","description":"<p>Collection for managing profile information</p>\n","_postman_id":"2a2baa0b-7dd3-4032-a0f3-89b6e2f3735d"},{"name":"Settings","item":[{"name":"PIN","item":[{"name":"Get User Pin Detail (app & web)","id":"abff5bb5-1d88-4af6-8dbe-a278ad79672c","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"url":"{{host}}/pub/v1/{{user_id}}/pin","description":"<p>Shows user PIN.</p>\n","urlObject":{"path":["pub","v1","{{user_id}}","pin"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"4d8dd8ee-16fc-4541-830d-bb50690905f6","name":"User Pin Detail","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n   \"pin\": \"1234\"\r\n}"},"url":"{{host}}/pub/v1/{{user_id}}/pin"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n   \"status\": \"000000\",\r\n   \"message\": \"success\",\r\n   \"data\": [\r\n     {\r\n       \"id\": (string) Setting pin uuid, //\"5c15d579-eb8c-43cf-9c90-d032533ac6c3\"\r\n       \"pin\": (string) Hashed pin, //\"81dc9bdb52d04dc20036dbd8313ed055\"\r\n      \"is_active\": (boolean) Status, //false\r\n     }\r\n   ]\r\n }"}],"_postman_id":"abff5bb5-1d88-4af6-8dbe-a278ad79672c"},{"name":"Create User Pin (app & web)","id":"577dbb22-dddf-42bd-9d58-cf34c9d5bb5e","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n   \"pin\": \"1234\"\r\n}"},"url":"{{host}}/pub/v1/{{user_id}}/pin","description":"<p>Allows user to add their PIN through the app.</p>\n<div class=\"headers\">\n<div class=\"heading\">VALUES</div>\n<hr />\n\n<div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">pin</div>\n            <div class=\"value col-md-9 col-xs-12\">1234</div>\n          </div>\n          \n  \n</div>","urlObject":{"path":["pub","v1","{{user_id}}","pin"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"9b3e5edb-be7e-4a25-a655-62e59ba441ee","name":"Create User Pin","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n   \"pin\": \"1234\"\r\n}"},"url":"{{host}}/pub/v1/{{user_id}}/pin"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n   \"status\": \"000000\",\r\n   \"message\": \"success\",\r\n   \"data\": [\r\n     {\r\n       \"id\": (string) Setting pin uuid, //\"5c15d579-eb8c-43cf-9c90-d032533ac6c3\"\r\n       \"pin\": (string) Hashed pin, //\"81dc9bdb52d04dc20036dbd8313ed055\"\r\n      \"is_active\": (boolean) Status, //false\r\n     }\r\n   ]\r\n }"}],"_postman_id":"577dbb22-dddf-42bd-9d58-cf34c9d5bb5e"},{"name":"Request User Forgot PIN  (app & web)","id":"e4f0ae16-b46a-4b20-9361-13232d2c6c4e","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"url":"{{host}}/pub/v1/{{user_id}}/pin/reset","description":"<p>Allows user to request for their PIN.</p>\n<div class=\"headers\">\n<div class=\"heading\">VALUES</div>\n<hr />\n\n<div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">email</div>\n            <div class=\"value col-md-9 col-xs-12\">foobar@gmail.com</div>\n          </div>\n          \n  <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">reset_token</div>\n            <div class=\"value col-md-9 col-xs-12\">a35c51f690e2d239aa5bd0ad6910759cb0c310ae\"</div>\n          </div>\n</div>","urlObject":{"path":["pub","v1","{{user_id}}","pin","reset"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"6e309068-6b26-4d4d-9dec-294caba76f8c","name":"User Pin Forgot Request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"DEVICE-SESSION","type":"text"},{"key":"x-client-id","value":"API-KEY","type":"text"},{"key":"x-client-secret","value":"API-SECRET-KEY","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"email\": (string) User email address, //\"user@mail.com\"\r\n    \"reset_token\": (string) Reset token, //\"a35c51f690e2d239aa5bd0ad6910759cb0c310ae\"\r\n}"},"url":{"raw":"https://api.travelerbuddy.com/pub/v1/:user_id/pin/reset","protocol":"https","host":["api","travelerbuddy","com"],"path":["pub","v1",":user_id","pin","reset"],"variable":[{"key":"user_id","value":"","description":"User's ID"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n   \"status\": \"000000\",\r\n   \"message\": \"success\",\r\n   \"data\": []\r\n}"}],"_postman_id":"e4f0ae16-b46a-4b20-9361-13232d2c6c4e"},{"name":"Reset User Pin (web)","id":"23bc0e1a-9d48-433c-9e77-67f311022f40","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"email\": (string) User email address, //\"user@mail.com\"\r\n    \"reset_token\": (string) Reset token, //\"a35c51f690e2d239aa5bd0ad6910759cb0c310ae\"\r\n}"},"url":"{{host}}/pub/v1/{{user_id}}/pin/reset","description":"<p>Allows user to reset their PIN.</p>\n<div class=\"headers\">\n<div class=\"heading\">VALUES</div>\n<hr />\n\n<div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">email</div>\n            <div class=\"value col-md-9 col-xs-12\">foobar@gmail.com</div>\n          </div>\n          \n  <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">reset_token</div>\n            <div class=\"value col-md-9 col-xs-12\">a35c51f690e2d239aa5bd0ad6910759cb0c310ae\"</div>\n          </div>\n</div>\n","urlObject":{"path":["pub","v1","{{user_id}}","pin","reset"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"6f6d29d7-0dcb-40e9-8fa0-ca6060378576","name":"Reset User Pin","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"email\": (string) User email address, //\"user@mail.com\"\r\n    \"reset_token\": (string) Reset token, //\"a35c51f690e2d239aa5bd0ad6910759cb0c310ae\"\r\n}"},"url":"{{host}}/pub/v1/{{user_id}}/pin/reset"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n   \"status\": \"000000\",\r\n   \"message\": \"success\",\r\n   \"data\": []\r\n}"}],"_postman_id":"23bc0e1a-9d48-433c-9e77-67f311022f40"}],"id":"6dd60c93-9a15-49ea-84ff-e64acaeeec78","description":"<p>Collection to manage user's PIN</p>\n","_postman_id":"6dd60c93-9a15-49ea-84ff-e64acaeeec78"},{"name":"Date and Time","item":[{"name":"Get Date and Time (app & web)","id":"42184fc4-29f9-4cb7-99ed-53e1f71dad9c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"url":"{{host}}/pub/v1/{{user_id}}/date-time","description":"<p>Shows user's set date and time format</p>\n","urlObject":{"path":["pub","v1","{{user_id}}","date-time"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"2587430c-4eab-4d52-a4eb-ba9c24a0a4f1","name":"Get Date and Time (app & web)","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"url":"{{host}}/pub/v1/{{user_id}}/date-time"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n       \"status\": \"000000\",\r\n      \"message\": \"success.\",\r\n      \"data\": {\r\n       \"date_format\": (string) Date format, //\"DD/MM/YYYY\"\r\n        \"time_format\": (string) Time format, //\"24H\"\r\n       }\r\n     }\r\n }"}],"_postman_id":"42184fc4-29f9-4cb7-99ed-53e1f71dad9c"},{"name":"Update Date and Time (app & web)","id":"81f1e641-fcfc-4b9c-99a3-f973b9997e32","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":"{\r\n      \"date_format\": (string) Date format, //\"MM/DD/YYYY\"\r\n     \"time_format\": (string) Time format, //\"12H\"\r\n}"},"url":"{{host}}/pub/v1/{{user_id}}/date-time","description":"<p>Change date format and time format of the app                  </p>\n<div class=\"headers\">\n<div class=\"heading\">VALUES</div>\n<hr />\n\n<div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">date_format</div>\n            <div class=\"value col-md-9 col-xs-12\">MM/DD/YY</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">time_format</div>\n            <div class=\"value col-md-9 col-xs-12\">12H,24H</div>\n          </div>\n</div>","urlObject":{"path":["pub","v1","{{user_id}}","date-time"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"1e0af7f4-2073-4527-95a4-15ec909f8940","name":"Update Date and Time (app & web)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n      \"date_format\": (string) Date format, //\"MM/DD/YYYY\"\r\n     \"time_format\": (string) Time format, //\"12H\"\r\n}"},"url":"{{host}}/pub/v1/{{user_id}}/date-time"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n   \"status\": \"000000\",\r\n     \"message\": \"success.\",\r\n    \"data\": {\r\n      \"date_format\": (string) Date format, //\"MM/DD/YYYY\"\r\n        \"time_format\": (string) Time format, //\"12H\"\r\n     }\r\n }"}],"_postman_id":"81f1e641-fcfc-4b9c-99a3-f973b9997e32"}],"id":"933cdc72-25bb-41d4-a122-015492d43fce","_postman_id":"933cdc72-25bb-41d4-a122-015492d43fce","description":""},{"name":"Secondary Email","item":[{"name":"Create Secondary Email (app & web)","id":"af49cc20-dc62-4e6b-b03f-f2b06ee6946d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":"{\r\n   \"secondary_emails\": [\r\n    (string) Secondary email address, //\"user@gmail.com\"\r\n       ...\r\n   ]\r\n }"},"url":"{{host}}/pub/v1/{{user_id}}/secondary-email","description":"<p>Allows user to add secondary (or more) email addresses. </p>\n<p>Maximum of 5 emails are allowed.</p>\n<div class=\"headers\">\n<div class=\"heading\">VALUES</div>\n<hr />\n\n<div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">secondary_emails</div>\n            <div class=\"value col-md-9 col-xs-12\">['myemail1@mail.com','myemail2@mail.com','myemail3@mail.com','myemail4@mail.com','myemail5@mail.com']</div>\n          </div>\n          \n  \n</div>","urlObject":{"path":["pub","v1","{{user_id}}","secondary-email"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"8bb89826-937e-4afd-af6c-3bbfa2ec31f8","name":"Create Secondary Email (app & web)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":"{\r\n   \"secondary_emails\": [\r\n    (string) Secondary email address, //\"user@gmail.com\"\r\n       ...\r\n   ]\r\n }"},"url":"{{host}}/pub/v1/{{user_id}}/secondary-email"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n      \"status\": \"000000\",\r\n      \"message\": \"success.\",\r\n     \"data\": []\r\n }"}],"_postman_id":"af49cc20-dc62-4e6b-b03f-f2b06ee6946d"},{"name":"Delete Secondary Email (app & web)","id":"00d5c61a-8852-43d2-b924-979e1506bcef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":"{\r\n       \"secondary_emails\": [\r\n          (string) Secondary email address, //\"user@gmail.com\"\r\n         ...\r\n        ]\r\n }"},"url":"{{host}}/pub/v1/{{user_id}}/secondary-email/delete","description":"<p>Allows user to remove one of his secondary email addresses.</p>\n<div class=\"headers\">\n<div class=\"heading\">VALUES</div>\n<hr />\n\n<div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">secondary_emails</div>\n            <div class=\"value col-md-9 col-xs-12\">['myemail1@mail.com','myemail2@mail.com','myemail3@mail.com','myemail4@mail.com','myemail5@mail.com']</div>\n          </div>\n          \n  \n</div>","urlObject":{"path":["pub","v1","{{user_id}}","secondary-email","delete"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"5c7666c9-8044-47b0-8e3f-bac8eb1e2ee0","name":"Delete Secondary Email (app & web)","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":"{\r\n       \"secondary_emails\": [\r\n          (string) Secondary email address, //\"user@gmail.com\"\r\n         ...\r\n        ]\r\n }"},"url":"{{host}}/pub/v1/{{user_id}}/secondary-email/delete"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n     \"status\": \"000000\",\r\n      \"message\": \"success.\",\r\n      \"data\": []\r\n }"}],"_postman_id":"00d5c61a-8852-43d2-b924-979e1506bcef"}],"id":"dd92e680-8be7-4adf-a50c-7994838febf1","description":"<p>Collection to add a secondary (and more) email addresses</p>\n","_postman_id":"dd92e680-8be7-4adf-a50c-7994838febf1"},{"name":"Unsubscribe Notification","item":[{"name":"Get Unsubscribe Notification Setting (app & web)","id":"e1832f90-63bf-4baf-8c57-9eaa332264e1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"url":"{{host}}/pub/v1/{{user_id}}/unsubscribe/status","description":"<p>Retrieve user's list of all unsubscribed notifications</p>\n","urlObject":{"path":["pub","v1","{{user_id}}","unsubscribe","status"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"9cfeedbc-50a2-4088-8780-9a15b00308ea","name":"Get Unsubscribe Notification Setting (app & web)","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"url":"{{host}}/pub/v1/{{user_id}}/unsubscribe/status"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n     \"status\": \"000000\",\r\n      \"message\": \"success\",\r\n     \"data\": [\r\n        {\r\n           \"name\": (string) Unsubscribe category, //\"trip_created\"\r\n          \"type\": (string) Unsubscribe type, //\"email\"/\"push\"\r\n          \"status\": (boolean) Unsubscribe status, //false\r\n         },\r\n        ...\r\n     ]\r\n }"}],"_postman_id":"e1832f90-63bf-4baf-8c57-9eaa332264e1"},{"name":"Update Unsubscribe Notification Setting (app & web)","id":"98b3e67b-0f5a-40f0-a03c-b5d7596bd9d6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":"{\r\n     \"unsubscribed\": [\r\n        {\r\n         \"name\": (string) Unsubscribe category, //\"trip_created\"\r\n         \"type\": (string) Unsubscribe type, //\"email\"/\"push\"\r\n         \"status\": (boolean) Unsubscribe status, //false\r\n      },\r\n       ...\r\n    ]\r\n }"},"url":"{{host}}/pub/v1/{{user_id}}/unsubscribe/update_subs","description":"<p>Change the user's setting regarding which notification he has unsubscribed from</p>\n<div class=\"headers\">\n<div class=\"heading\">VALUES</div>\n<hr />\n<div class=\"param row\">\n    <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">name (Email)</div>\n            <div class=\"value col-md-9 col-xs-12\"> trip_created,unreadable_doc,upcoming_trip,upcoming_flight,visa_expiry,passport_expiry,membership_renewal,credit_renewal,marketing,documentbox,source_account,account_email,newsletter,app_updates</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">name (Push)</div>\n            <div class=\"value col-md-9 col-xs-12\">trip_created,upcoming_trip,upcoming_flight,trip_changes,membership_renewal,marketing</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">type</div>\n            <div class=\"value col-md-9 col-xs-12\">email  | push</div>\n          </div>\n           <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">status</div>\n            <div class=\"value col-md-9 col-xs-12\">true | false</div>\n          </div>\n          \n          \n         \n          \n</div>\n</div> ","urlObject":{"path":["pub","v1","{{user_id}}","unsubscribe","update_subs"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"fb79dfb8-6e70-45ff-a6cd-b170298389c5","name":"Update Unsubscribe Notification Setting (app & web)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":"{\r\n     \"unsubscribed\": [\r\n        {\r\n         \"name\": (string) Unsubscribe category, //\"trip_created\"\r\n         \"type\": (string) Unsubscribe type, //\"email\"/\"push\"\r\n         \"status\": (boolean) Unsubscribe status, //false\r\n      },\r\n       ...\r\n    ]\r\n }"},"url":"{{host}}/pub/v1/{{user_id}}/unsubscribe/update_subs"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n      \"status\": \"000000\",\r\n      \"message\": \"success\",\r\n      \"data\": [\r\n        {\r\n          \"name\": (string) Unsubscribe category, //\"trip_created\"\r\n           \"type\": (string) Unsubscribe type, //\"email\"/\"push\"\r\n         \"status\": (boolean) Unsubscribe status, //false\r\n         },\r\n       ...\r\n   ]\r\n }"}],"_postman_id":"98b3e67b-0f5a-40f0-a03c-b5d7596bd9d6"}],"id":"8212a6d2-f21b-4ff3-bfa2-d3cf726add2c","description":"<p>Collection to manage which notifications (Push or Email) the user has unsubribed from</p>\n","_postman_id":"8212a6d2-f21b-4ff3-bfa2-d3cf726add2c"},{"name":"User Email and Password","item":[{"name":"Update User Email and Password (app & web)","id":"28ab801c-c357-46e5-b70f-c59da0d92c0a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":"{\r\n      \"email\": (string) User email address //\"foobar@mail.com\"\r\n      \"password\": (string) User password, //\"foobar123\"\r\n  }"},"url":"{{host}}/pub/v1/{{user_id}}/email-password","description":"<p>Change user's email address or password.</p>\n<div class=\"headers\">\n<div class=\"heading\">VALUES</div>\n<hr />\n\n<div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">email</div>\n            <div class=\"value col-md-9 col-xs-12\">mynewemail@mail.com</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">password</div>\n            <div class=\"value col-md-9 col-xs-12\">mynewpassword</div>\n          </div>\n  \n</div>","urlObject":{"path":["pub","v1","{{user_id}}","email-password"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"155ed6d4-be24-4891-a26b-10e69fd4be75","name":"Update User Email and Password","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":"{\r\n      \"email\": (string) User email address //\"foobar@mail.com\"\r\n      \"password\": (string) User password, //\"foobar123\"\r\n  }"},"url":"{{host}}/pub/v1/{{user_id}}/email-password"},"_postman_previewlanguage":null,"header":[],"cookie":[],"responseTime":null,"body":" {\r\n       \"status\": \"000000\",\r\n      \"message\": \"success\",\r\n     \"data\": {\r\n       \"id\": (string) User uuid, //\"6e3576d3-6709-4384-8b7d-f918a43b5503\",\r\n        \"email\": (string) User Email Address, //\"foobar@mail.com\"\r\n      }\r\n }"}],"_postman_id":"28ab801c-c357-46e5-b70f-c59da0d92c0a"}],"id":"ae4640f0-377c-482b-8ed4-b125ed91b385","description":"<p>Collection to update user's email address and password</p>\n","_postman_id":"ae4640f0-377c-482b-8ed4-b125ed91b385"}],"id":"56a103e1-75d1-4968-a336-0c743459dccd","description":"<p>Collection for user settings</p>\n","_postman_id":"56a103e1-75d1-4968-a336-0c743459dccd"},{"name":"Trips","item":[{"name":"Trip Items","item":[{"name":"Create Trip Item (app & web)","id":"f39112ad-2beb-4508-a416-45fca0436ef3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":"{\n  \"booking_contact\": \"+ 662‐356‐1111\",\n  \"booking_reference\": \"445012064\",\n  \"booking_total_cost\": \"427.30\",\n  \"booking_via\":  \"Thai Airways\",\n  \"booking_website\": \"www.thaiairways.com\",\n  \"flight_arrival_airport_lat\": \"13.681108\",\n  \"flight_arrival_airport_long\": \"100.747283\",\n  \"flight_arrival_airport_name\": \"BKK\",\n  \"flight_arrival_date\": 1451606400,\n  \"flight_arrival_gate\": \"2\",\n  \"flight_arrival_terminal\": \"1\",\n  \"flight_arrival_time\": 1516179600,\n  \"flight_carrier\": \"Thai Airways\",\n  \"flight_class\": \"Economy\",\n  \"flight_confirmation\":  \"IJ4QPV\",\n  \"flight_depature_airport_lat\": \"1.350189\",\n  \"flight_depature_airport_long\": \"103.994433\",\n  \"flight_depature_airport_name\": \"SIN\",\n  \"flight_depature_date\": 1451606400,\n  \"flight_depature_gate\": \"44\",\n  \"flight_depature_terminal\": \"1\",\n  \"flight_depature_time\": 1516174800,\n  \"flight_no\": \"TG 402\",\n  \"flight_passenger\": \"Foo Bar\",\n  \"flight_seat\": \"35K\",\n  \"flight_ticket\": \"217 2307543925\",\n  \"reward_data\": [],\n  \"currency\": \"SGD\"\n}"},"url":"{{host}}/pub/v1/{{user_id}}/trip/:trip_id/:trip_item_type","description":"<p>Allows users to manually add a trip item for a specific trip</p>\n","urlObject":{"path":["pub","v1","{{user_id}}","trip",":trip_id",":trip_item_type"],"host":["{{host}}"],"query":[],"variable":[{"description":{"content":"<p>Trip uuid</p>\n","type":"text/plain"},"type":"any","value":"","key":"trip_id"},{"description":{"content":"<p>flight, retaurant, hotel_ci, hotel_co, appointment, car_rental, coach, cruise, event, landtrans, poi, sport_event, train</p>\n","type":"text/plain"},"type":"any","value":"","key":"trip_item_type"}]}},"response":[{"id":"4000d670-16cb-4241-9d00-2443aa5db70c","name":"Create Trip Item","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":"{\n  \"booking_contact\": \"+ 662‐356‐1111\",\n  \"booking_reference\": \"445012064\",\n  \"booking_total_cost\": \"427.30\",\n  \"booking_via\":  \"Thai Airways\",\n  \"booking_website\": \"www.thaiairways.com\",\n  \"flight_arrival_airport_lat\": \"13.681108\",\n  \"flight_arrival_airport_long\": \"100.747283\",\n  \"flight_arrival_airport_name\": \"BKK\",\n  \"flight_arrival_date\": 1451606400,\n  \"flight_arrival_gate\": \"2\",\n  \"flight_arrival_terminal\": \"1\",\n  \"flight_arrival_time\": 1516179600,\n  \"flight_carrier\": \"Thai Airways\",\n  \"flight_class\": \"Economy\",\n  \"flight_confirmation\":  \"IJ4QPV\",\n  \"flight_depature_airport_lat\": \"1.350189\",\n  \"flight_depature_airport_long\": \"103.994433\",\n  \"flight_depature_airport_name\": \"SIN\",\n  \"flight_depature_date\": 1451606400,\n  \"flight_depature_gate\": \"44\",\n  \"flight_depature_terminal\": \"1\",\n  \"flight_depature_time\": 1516174800,\n  \"flight_no\": \"TG 402\",\n  \"flight_passenger\": \"Foo Bar\",\n  \"flight_seat\": \"35K\",\n  \"flight_ticket\": \"217 2307543925\",\n  \"currency\": \"SGD\"\n}"},"url":{"raw":"{{host}}/pub/v1/{{user_id}}/trip/:trip_id/:trip_item_type","host":["{{host}}"],"path":["pub","v1","{{user_id}}","trip",":trip_id",":trip_item_type"],"variable":[{"description":"Trip uuid","key":"trip_id","value":""},{"description":"flight,retaurant,hotel_ci,hotel_co,appointment,car,coach,cruise,event,ferry,landtrans,poi,sport_event,train","key":"trip_item_type","value":""}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n      \"status\": \"000000\",\r\n      \"message\": \"success.\",\r\n       \"data\": {\r\n        \"id\": (string) Trip item uuid, //\"d63c83f7-be82-4f89-a38d-ddd133970519\"\r\n        \"type\": (string) Trip item type, //\"FLIGHT\" see #Notes\r\n        \"mobile_id\": (string) Trip item ID of App, \r\n        \"booking_contact\": (string) Booking contact, //\"+ 662‐356‐1111\"\r\n        \"booking_reference\": (string) Booking reference, //\"445012064\"\r\n        \"booking_total_cost\": (float) Booking total cost, //\"427.30\"\r\n    \"booking_via\": (string) Booking via, // \"Thai Airways\"\r\n     \"booking_website\": (string) Booking website, //\"www.thaiairways.com\"\r\n       \"flight_arrival_airport_lat\": (float) Flight Arrival Airport Latitude, //\"13.681108\"\r\n     \"flight_arrival_airport_long\": (float) Flight Arrival Airport Longitude, //\"100.747283\"\r\n     \"flight_arrival_airport_name\": (string) Flight Arrival Airport Name, //\"BKK\"\r\n     \"flight_arrival_date\": (integer) Flight Arrival Date Timestamp, //1451606400\r\n     \"flight_arrival_gate\": (string) Flight Arrival Gate, //\"2\"\r\n     \"flight_arrival_terminal\": (string) Flight Arrival Terminal, //\"1\"\r\n    \"flight_arrival_time\": (integer) Flight Arrival Time Timestamp, //1516179600\r\n     \"flight_carrier\": (string) Flight Carrier, //\"Thai Airways\"\r\n    \"flight_class\": (string) Flight Class, //\"Economy\"\r\n     \"flight_confirmation\":  (string) Flight Confirmation No, //\"IJ4QPV\"\r\n     \"flight_depature_airport_lat\": (float) Flight Departure Airport Latitude, //\"1.350189\"\r\n     \"flight_depature_airport_long\": (float) Flight Departure Airport Longitude, //\"103.994433\"\r\n     \"flight_depature_airport_name\": (string) Flight Departure Airport Name, //\"SIN\"\r\n     \"flight_depature_date\": (integer) Flight Departure Date Timestamp, //1451606400\r\n     \"flight_depature_gate\": (string) Flight Departure Gate, //\"44\"\r\n     \"flight_depature_terminal\": (string) Flight Departure Terminal, //\"1\"\r\n     \"flight_depature_time\": (integer) Flight Departure Time Timestamp, //1516174800\r\n     \"flight_no\": (string) Flight No, //\"TG 402\"\r\n     \"flight_passenger\": (string) Flight Passenger, //\"Foo Bar\"\r\n     \"flight_seat\": (string) Flight Seat, //\"35K\"\r\n     \"flight_ticket\": (string) Flight Ticket, //\"217 2307543925\"\r\n     \"duration\": (integer) Flight Duration in seconds, //\"8400\"\r\n    \"currency\": (string) Booking currency, //\"SGD\"\r\n     \"tz_start\": (string) Start timezone, //\"Asia/Kuala_Lumpur\"\r\n     \"tz_offset_start\": (integer) Offset start timezone in second, //28800\r\n     \"tz_end\": (string)  End timezone, //\"Asia/Jakarta\"\r\n     \"tz_offset_end\": (integer)  Offset end timezone in second, //25200\r\n    \"document_box\": (array) Trip documents id,\r\n    \"trip_id\": (string) Trip uuid, //\"ac06468d-87b6-4e1a-8c41-b1a1765d47b4\"\r\n     \"trip_image\": (string) Trip image, //\"https://...\"\r\n     \"trip_custom_image\": (string) Trip custom image, //\"https://...\"\r\n     \"trip_last_updated\": (integer) Last updated timestamp, //1509941412\r\n   }\r\n }"}],"_postman_id":"f39112ad-2beb-4508-a416-45fca0436ef3"},{"name":"Update Trip Item (app & web)","id":"80174400-e04e-45c0-9708-cfd4277cf15b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":"{\n  \"booking_contact\": \"+ 662‐356‐1111\",\n  \"booking_reference\": \"445012064\",\n  \"booking_total_cost\": \"427.30\",\n  \"booking_via\":  \"Thai Airways\",\n  \"booking_website\": \"www.thaiairways.com\",\n  \"flight_arrival_airport_lat\": \"13.681108\",\n  \"flight_arrival_airport_long\": \"100.747283\",\n  \"flight_arrival_airport_name\": \"BKK\",\n  \"flight_arrival_date\": 1451606400,\n  \"flight_arrival_gate\": \"2\",\n  \"flight_arrival_terminal\": \"1\",\n  \"flight_arrival_time\": 1516179600,\n  \"flight_carrier\": \"Thai Airways\",\n  \"flight_class\": \"Economy\",\n  \"flight_confirmation\":  \"IJ4QPV\",\n  \"flight_depature_airport_lat\": \"1.350189\",\n  \"flight_depature_airport_long\": \"103.994433\",\n  \"flight_depature_airport_name\": \"SIN\",\n  \"flight_depature_date\": 1451606400,\n  \"flight_depature_gate\": \"44\",\n  \"flight_depature_terminal\": \"1\",\n  \"flight_depature_time\": 1516174800,\n  \"flight_no\": \"TG 402\",\n  \"flight_passenger\": \"Foo Bar\",\n  \"flight_seat\": \"35K\",\n  \"flight_ticket\": \"217 2307543925\",\n  \"reward_data\": [],\n  \"currency\": \"SGD\"\n}"},"url":"{{host}}/pub/v1/{{user_id}}/trip/:trip_id/:trip_item_type/:trip_item_id","description":"<p>Allows users to manually update trip items in a specific trip</p>\n","urlObject":{"path":["pub","v1","{{user_id}}","trip",":trip_id",":trip_item_type",":trip_item_id"],"host":["{{host}}"],"query":[],"variable":[{"description":{"content":"<p>Trip uuid</p>\n","type":"text/plain"},"type":"any","value":"","key":"trip_id"},{"description":{"content":"<p>flight, retaurant, hotel_ci, hotel_co, appointment, car_rental, coach, cruise, event, landtrans, poi, sport_event, train</p>\n","type":"text/plain"},"type":"any","value":"","key":"trip_item_type"},{"type":"any","value":"","key":"trip_item_id"}]}},"response":[{"id":"72ebe7e1-93f3-409a-88ec-f8634b3ab23c","name":"Update Trip Item","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":"{\n  \"booking_contact\": \"+ 662‐356‐1111\",\n  \"booking_reference\": \"445012064\",\n  \"booking_total_cost\": \"427.30\",\n  \"booking_via\":  \"Thai Airways\",\n  \"booking_website\": \"www.thaiairways.com\",\n  \"flight_arrival_airport_lat\": \"13.681108\",\n  \"flight_arrival_airport_long\": \"100.747283\",\n  \"flight_arrival_airport_name\": \"BKK\",\n  \"flight_arrival_date\": 1451606400,\n  \"flight_arrival_gate\": \"2\",\n  \"flight_arrival_terminal\": \"1\",\n  \"flight_arrival_time\": 1516179600,\n  \"flight_carrier\": \"Thai Airways\",\n  \"flight_class\": \"Economy\",\n  \"flight_confirmation\":  \"IJ4QPV\",\n  \"flight_depature_airport_lat\": \"1.350189\",\n  \"flight_depature_airport_long\": \"103.994433\",\n  \"flight_depature_airport_name\": \"SIN\",\n  \"flight_depature_date\": 1451606400,\n  \"flight_depature_gate\": \"44\",\n  \"flight_depature_terminal\": \"1\",\n  \"flight_depature_time\": 1516174800,\n  \"flight_no\": \"TG 402\",\n  \"flight_passenger\": \"Foo Bar\",\n  \"flight_seat\": \"35K\",\n  \"flight_ticket\": \"217 2307543925\",\n  \"currency\": \"SGD\"\n}"},"url":{"raw":"{{host}}/pub/v1/{{user_id}}/trip/:trip_id/:trip_item_type/:trip_item_id","host":["{{host}}"],"path":["pub","v1","{{user_id}}","trip",":trip_id",":trip_item_type",":trip_item_id"],"variable":[{"description":"Trip uuid","key":"trip_id","value":""},{"description":"flight,retaurant,hotel_ci,hotel_co,appointment,car,coach,cruise,event,ferry,landtrans,poi,sport_event,train","key":"trip_item_type","value":""},{"key":"trip_item_id","value":""}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n      \"status\": \"000000\",\r\n       \"message\": \"success.\",\r\n      \"data\": {\r\n       \"id\": (string) Trip item uuid, //\"d63c83f7-be82-4f89-a38d-ddd133970519\"\r\n        \"type\": (string) Trip item type, //\"FLIGHT\" see #Notes\r\n        \"mobile_id\": (string) Trip item ID of App, \r\n         \"booking_contact\": (string) Booking contact, //\"+ 662‐356‐1111\"\r\n         \"booking_reference\": (string) Booking reference, //\"445012064\"\r\n        \"booking_total_cost\": (float) Booking total cost, //\"427.30\"\r\n       \"booking_via\": (string) Booking via, // \"Thai Airways\"\r\n       \"booking_website\": (string) Booking website, //\"www.thaiairways.com\"\r\n       \"flight_arrival_airport_lat\": (float) Flight Arrival Airport Latitude, //\"13.681108\"\r\n        \"flight_arrival_airport_long\": (float) Flight Arrival Airport Longitude, //\"100.747283\"\r\n        \"flight_arrival_airport_name\": (string) Flight Arrival Airport Name, //\"BKK\"\r\n        \"flight_arrival_date\": (integer) Flight Arrival Date Timestamp, //1451606400\r\n        \"flight_arrival_gate\": (string) Flight Arrival Gate, //\"2\"\r\n        \"flight_arrival_terminal\": (string) Flight Arrival Terminal, //\"1\"\r\n        \"flight_arrival_time\": (integer) Flight Arrival Time Timestamp, //1516179600\r\n        \"flight_carrier\": (string) Flight Carrier, //\"Thai Airways\"\r\n        \"flight_class\": (string) Flight Class, //\"Economy\"\r\n       \"flight_confirmation\":  (string) Flight Confirmation No, //\"IJ4QPV\"\r\n        \"flight_depature_airport_lat\": (float) Flight Departure Airport Latitude, //\"1.350189\"\r\n        \"flight_depature_airport_long\": (float) Flight Departure Airport Longitude, //\"103.994433\"\r\n        \"flight_depature_airport_name\": (string) Flight Departure Airport Name, //\"SIN\"\r\n        \"flight_depature_date\": (integer) Flight Departure Date Timestamp, //1451606400\r\n        \"flight_depature_gate\": (string) Flight Departure Gate, //\"44\"\r\n        \"flight_depature_terminal\": (string) Flight Departure Terminal, //\"1\"\r\n       \"flight_depature_time\": (integer) Flight Departure Time Timestamp, //1516174800\r\n        \"flight_no\": (string) Flight No, //\"TG 402\"\r\n        \"flight_passenger\": (string) Flight Passenger, //\"Foo Bar\"\r\n      \"flight_pnr\": (string) Flight PNR, //\"IJ4QPV\"\r\n       \"flight_seat\": (string) Flight Seat, //\"35K\"\r\n       \"flight_ticket\": (string) Flight Ticket, //\"217 2307543925\"\r\n        \"duration\": (integer) Flight Duration in seconds, //\"8400\"\r\n        \"currency\": (string) Booking currency, //\"SGD\"\r\n        \"document_box\": (array) Trip documents id,\r\n       \"tz_start\": (string) Start timezone, //\"Asia/Kuala_Lumpur\"\r\n        \"tz_offset_start\": (integer) Offset start timezone in second, //28800\r\n        \"tz_end\": (string)  End timezone, //\"Asia/Jakarta\"\r\n       \"tz_offset_end\": (integer)  Offset end timezone in second, //25200\r\n       \"trip_id\": (string) Trip uuid, //\"ac06468d-87b6-4e1a-8c41-b1a1765d47b4\"\r\n     \"trip_image\": (string) Trip image, //\"https://...\"\r\n     \"trip_custom_image\": (string) Trip custom image, //\"https://...\"\r\n     \"trip_last_updated\": (integer) Last updated timestamp, //1509941412\r\n   }\r\n }"}],"_postman_id":"80174400-e04e-45c0-9708-cfd4277cf15b"},{"name":"Delete Trip Item  (web)","id":"6a8dfb09-2829-461f-b28e-d3645bf491d0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"url":"{{host}}/pub/v1/{{user_id}}/trip/:trip_id/:trip_item_type/:trip_item_id","description":"<p>Allows users to manually remove trips items from a specific trip</p>\n","urlObject":{"path":["pub","v1","{{user_id}}","trip",":trip_id",":trip_item_type",":trip_item_id"],"host":["{{host}}"],"query":[],"variable":[{"description":{"content":"<p>Trip uuid</p>\n","type":"text/plain"},"type":"any","value":"","key":"trip_id"},{"description":{"content":"<p>flight, retaurant, hotel_ci, hotel_co, appointment, car_rental, coach, cruise, event, landtrans, poi, sport_event, train</p>\n","type":"text/plain"},"type":"any","value":"","key":"trip_item_type"},{"type":"any","value":"","key":"trip_item_id"}]}},"response":[{"id":"e461f690-9dfd-4d4b-80aa-d12a558aa2b6","name":"Delete Trip Item","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{host}}/pub/v1/{{user_id}}/trip/:trip_id/:trip_item_type/:trip_item_id","host":["{{host}}"],"path":["pub","v1","{{user_id}}","trip",":trip_id",":trip_item_type",":trip_item_id"],"variable":[{"description":"Trip uuid","key":"trip_id","value":""},{"description":"flight,retaurant,hotel_ci,hotel_co,appointment,car,coach,cruise,event,ferry,landtrans,poi,sport_event,train","key":"trip_item_type","value":""},{"key":"trip_item_id","value":"","description":"Trip Item uuid"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n     \"status\": \"000000\",\r\n    \"message\": \"success.\",\r\n      \"data\": {\r\n       \"trip_id\": (string) Trip uuid, //\"ac06468d-87b6-4e1a-8c41-b1a1765d47b4\"\r\n      \"trip_image\": (string) Trip image, //\"https://...\"\r\n       \"trip_custom_image\": (string) Trip custom image, //\"https://...\"\r\n       \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n    }\r\n}"}],"_postman_id":"6a8dfb09-2829-461f-b28e-d3645bf491d0"},{"name":"Delete Multiple Trip Items (app)","id":"4881f6c6-19d5-4503-8929-63ebee7acfd6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":"{\n  \"trip_item_ids\": [\n  \t\"477ab980-2e1c-466d-b19a-76bd52da3399\"\n  ]\n}"},"url":"{{host}}/pub/v1/{{user_id}}/delete-trip-items/:trip_id","description":"<p>Allows users to manually remove trips items from a specific trip</p>\n","urlObject":{"path":["pub","v1","{{user_id}}","delete-trip-items",":trip_id"],"host":["{{host}}"],"query":[],"variable":[{"description":{"content":"<p>Trip uuid</p>\n","type":"text/plain"},"type":"any","value":"","key":"trip_id"}]}},"response":[{"id":"950a4161-798f-4f8c-a00a-122142aa749f","name":"Delete Multiple Trip Items","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":"{\n  \"trip_item_ids\": [\n  \t\"477ab980-2e1c-466d-b19a-76bd52da3399\"\n  ]\n}"},"url":{"raw":"{{host}}/pub/v1/{{user_id}}/delete-trip-items/:trip_id","host":["{{host}}"],"path":["pub","v1","{{user_id}}","delete-trip-items",":trip_id"],"variable":[{"description":"Trip uuid","key":"trip_id","value":""}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":" {\r\n      \"status\": \"000000\",\r\n      \"message\": \"success.\",\r\n     \"data\": {\r\n        \"trip_id\": (string) Trip uuid, //\"ac06468d-87b6-4e1a-8c41-b1a1765d47b4\"\r\n      \"trip_title\": (string) Trip title, //\"BANGKOK DEMO TRIP\"\r\n      \"trip_start_date\": (integer) Trip start date timestamp, //1451606400\r\n     \"trip_end_date\": (integer) Trip end date timestamp, //1452384000\r\n     \"trip_image\": (string) Trip image, \"https://...\"\r\n     \"trip_last_updated\": (integer) Last updated timestamp, //1509941412\r\n   }\r\n }"}],"_postman_id":"4881f6c6-19d5-4503-8929-63ebee7acfd6"},{"name":"Move Trip Items (app & web)","id":"59b56541-0a49-41b1-920a-69e614e70bd9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"trip_item_id\": [\n  \t\"caf96c37-2abb-4ed3-91a5-cd22f7e98536\"\n  ]\n}"},"url":"{{host}}/pub/v1/{{user_id}}/move-trip-items/:trip_id","description":"<p>Allows users to move trips items from one trip to another</p>\n","urlObject":{"path":["pub","v1","{{user_id}}","move-trip-items",":trip_id"],"host":["{{host}}"],"query":[],"variable":[{"description":{"content":"<p>Trip uuid</p>\n","type":"text/plain"},"type":"any","value":"","key":"trip_id"}]}},"response":[{"id":"55adc285-6d9e-4983-a9d2-313104c6753a","name":"Move Trip Items","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"trip_item_id\": [\n  \t\"caf96c37-2abb-4ed3-91a5-cd22f7e98536\"\n  ]\n}"},"url":{"raw":"{{host}}/pub/v1/{{user_id}}/move-trip-items/:trip_id","host":["{{host}}"],"path":["pub","v1","{{user_id}}","move-trip-items",":trip_id"],"variable":[{"description":"Trip uuid","key":"trip_id","value":""}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n      \"status\": \"000000\",\r\n      \"message\": \"success.\",\r\n      \"data\": {\r\n       \"target_trip_start_date\": (integer) Destination trip start date timestamp, //1451606400\r\n         \"target_trip_end_date\": (integer) Destination trip end date timestamp, //1452384000\r\n       \"target_trip_background\": (string) Destination trip image, \"https://...\"\r\n        \"origin_trip_start_date\": (integer) Origin trip start date timestamp, //1451606400\r\n       \"origin_trip_end_date\": (integer) Origin trip end date timestamp, //1452384000\r\n        \"origin_trip_background\": (string) Origin trip image, \"https://...\"\r\n      \"target_trip_last_updated\": (integer) Destination trip last updated timestamp, //1509941412\r\n     \"origin_trip_last_updated\": (integer) Origin trip last updated timestamp, //1509941412\r\n   }\r\n  }"}],"_postman_id":"59b56541-0a49-41b1-920a-69e614e70bd9"}],"id":"3d6dadce-e5e3-45bd-9e96-dc4183c26e20","description":"<p>Collection to manage trip items</p>\n<p>Trip items body parameters:</p>\n<p><strong>Flight</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"booking_contact\": (string) Booking contact, //\"+ 662‐356‐1111\"\n  \"booking_reference\": (string) Booking reference, //\"445012064\"\n  \"booking_total_cost\": (float) Booking total cost, //\"427.30\"\n  \"booking_via\": (string) Booking via, // \"Thai Airways\"\n  \"booking_website\": (string) Booking website, //\"www.thaiairways.com\"\n  \"flight_arrival_airport_lat\": (float) Flight Arrival Airport Latitude, //\"13.681108\"\n  \"flight_arrival_airport_long\": (float) Flight Arrival Airport Longitude, //\"100.747283\"\n  \"flight_arrival_airport_name\": (string) Flight Arrival Airport Name, //\"BKK\"\n  \"flight_arrival_date\": (integer) Flight Arrival Date timestamp, //1451606400\n  \"flight_arrival_gate\": (string) Flight Arrival Gate, //\"2\"\n  \"flight_arrival_terminal\": (string) Flight Arrival Terminal, //\"1\"\n  \"flight_arrival_time\": (integer) Flight Arrival Time timestamp, //1516179600,\n  \"flight_carrier\": (string) Flight Carrier, //\"Thai Airways\"\n  \"flight_class\": (string) Flight Class, //\"Economy\"\n  \"flight_confirmation\":  (string) Flight Confirmation No, //\"IJ4QPV\"\n  \"flight_depature_airport_lat\": (float) Flight Departure Airport Latitude, //\"1.350189\"\n  \"flight_depature_airport_long\": (float) Flight Departure Airport Longitude, //\"103.994433\"\n  \"flight_depature_airport_name\": (string) Flight Departure Airport Name, //\"SIN\"\n  \"flight_depature_date\": (integer) Flight Departure Date timestamp, //1451606400\n  \"flight_depature_gate\": (string) Flight Departure Gate, //\"44\"\n  \"flight_depature_terminal\": (string) Flight Departure Terminal, //\"1\"\n  \"flight_depature_time\": (integer) Flight Departure Time timestamp, //1516174800\n  \"flight_no\": (string) Flight No, //\"TG 402\"\n  \"flight_passenger\": (string) Flight Passenger, //\"Foo Bar\"\n  \"flight_seat\": (string) Flight Seat, //\"35K\"\n  \"flight_ticket\": (string) Flight Ticket, //\"217 2307543925\"\n  \"currency\": (string) Booking currency, //\"SGD\"\n}\n</code></pre><p><strong>Hotel</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"booking_contact\": (string) Booking contact, //\"+ 662‐356‐1111\"\n  \"booking_cost_per_night\": (float) Booking cost per night, //\"27.30\"\n  \"booking_reference\": (string) Booking reference, //\"445012064\"\n  \"booking_total_cost\": (float) Booking total cost, //\"427.30\"\n  \"booking_via\": (string) Booking via, // \"Thai Airways\"\n  \"booking_website\": (string) Booking website, //\"www.thaiairways.com\"\n  \"hotel_address\": (string) Hotel address, //\"Pathum Wan ...\"\n  \"hotel_country\": (string) Hotel country, //\"Thailand\"\n  \"hotel_city\": (string) Hotel city, //\"Bangkok\"\n  \"hotel_address_lat\": (float) Hotel Address Latitude, //\"13.681108\"\n  \"hotel_address_long\": (float) Hotel Address Longitude, //\"100.747283\"\n  \"hotel_checkin_date\": (integer) Hotel Checkin Date timestamp, //1451606400\n  \"hotel_checkout_date\": (integer) Hotel Checkout Date timestamp, //1451606400\n  \"hotel_contact_no\": (string) Hotel contact number, //\"123 45678\"\n  \"hotel_email_addrs\": (string) Hotel email address, //\"info@hotel.com\"\n  \"hotel_guest_name\": (string) Hotel guest name, //\"Foo Bar\"\n  \"hotel_name\": (string) Hotel name, //\"Intercontinental Bangkok\"\n  \"hotel_no_of_rooms\": (string) Number of rooms, //\"2\"\n  \"hotel_reservation\": (string) Hotel reservation, //\"Foo Bar\"\n  \"hotel_room_type\": (string) Hotel room type, //\"Standard\"\n  \"currency\": (string) Booking currency, //\"SGD\"\n}\n</code></pre><p><strong>Restaurant</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"booking_reference\": (string) Booking reference, //\"445012064\"\n  \"booking_via\": (string) Booking via, // \"Thai Airways\"\n  \"booking_website\": (string) Booking website, //\"www.thaiairways.com\"\n  \"rest_address\": (string) Restaurant address, //\"Pathum Wan ...\"\n  \"rest_address_lat\": (float) Restaurant address latitude, //\"13.681108\"\n  \"rest_address_long\": (float) Restaurant address longitude, //\"100.747283\"\n  \"rest_address_country\": (string) Restaurant country, //\"Thailand\"\n  \"rest_address_city\": (string) Restaurant city, //\"Bangkok\"\n  \"rest_contact\": (string) Restaurant contact number, //\"123 45678\"\n  \"rest_email\": (string) Restaurant email address, //\"info@hotel.com\"\n  \"rest_start_date\": (integer) Restaurant start date timestamp, //1451606400\n  \"rest_start_time\": (integer) Restaurant start time timestamp, //1451606400\n  \"rest_end_date\": (integer) Restaurant end date timestamp, //1451606400\n  \"rest_end_time\": (integer) Restaurant end time timestamp, //1451606400\n  \"rest_name\": (string) Restaurant name, //\"Bangkok Restaurant\"\n  \"rest_pax\": (string) Restaurant pax, //\"3\"\n  \"rest_reserve_name\": (string) Restaurant reservation, //\"Foo bar\"\n}\n</code></pre><p><strong>Meeting</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"meeting_location\": (string) Meeting address, //\"Pathum Wan ...\"\n  \"meeting_location_lat\": (float) Meeting address latitude, //\"13.681108\"\n  \"meeting_location_long\": (float) Meeting address longitude, //\"100.747283\"\n  \"meeting_location_country\": (string) Meeting country, //\"Thailand\"\n  \"meeting_location_city\": (string) Meeting city, //\"Bangkok\"\n  \"meeting_start_date\": (integer) Meeting start date timestamp, //1451606400\n  \"meeting_start_time\": (integer) Meeting start time timestamp, //1451606400\n  \"meeting_end_date\": (integer) Meeting end date timestamp, //1451606400\n  \"meeting_end_time\": (integer) Meeting end time timestamp, //1451606400\n  \"meeting_title\": (string) Meeting name, //\"Bangkok Conference\"\n  \"meeting_venue\": (string) Meeting venue, //\"the Mansion House.\"\n  \"participant_data\": (array) Participant data, //[]\n}\n</code></pre><p><strong>Car Rental</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"booking_contact\": (string) Booking contact, //\"+ 662‐356‐1111\"\n  \"booking_cost_per_night\": (float) Booking cost per night, //\"27.30\"\n  \"booking_reference\": (string) Booking reference, //\"445012064\"\n  \"booking_ttl_cost\": (float) Booking total cost, //\"427.30\"\n  \"booking_via\": (string) Booking via, // \"Thai Airways\"\n  \"booking_website\": (string) Booking website, //\"www.thaiairways.com\"\n  \"carrental_capacity\": (string) Car capacity, //\"4\"\n  \"carrental_company\": (string) Car rental company, //\"Bangkok Cars\"\n  \"carrental_contact_no\": (string) Car rental contact number, //\"456 78910\"\n  \"carrental_vehicle\": (string) Car rental vehicle, //\"Car\"\n  \"carrental_reservation\": (string) Car rental reservation, //\"Foo Bar\"\n  \"carrental_driver\": (string) Car rental driver, //\"John\"\n  \"carrental_pickup_date\": (integer) Car rental pickup date timestamp, //1451606400\n  \"carrental_pickup_time\": (integer) Car rental pickup time timestamp, //1451606400\n  \"carrental_pickup_loc\": (string) Car rental pickup location, //\"Pathum Wan ..\"\n  \"carrental_pickup_loc_lat\": (float) Car rental pickup address latitude, //\"13.681108\"\n  \"carrental_pickup_loc_long\": (float) Car rental pickup address longitude, //\"13.681108\"\n  \"carrental_pickup_country\": (string) Car rental pickup country, //\"Thailand\"\n  \"carrental_pickup_city\": (string) Car rental pickup city, //\"Bangkok\"\n  \"carrental_dropoff_date\": (integer) Car rental dropoff date timestamp, //1451606400\n  \"carrental_dropoff_time\": (integer) Car rental dropoff time timestamp, //1451606400\n  \"carrental_dropoff_loc\": (string) Car rental dropoff location, //\"Pathum Wan ..\"\n  \"carrental_dropoff_loc_lat\": (float) Car rental dropoff address latitude, //\"13.681108\"\n  \"carrental_dropoff_loc_long\": (float) Car rental dropoff address longitude, //\"13.681108\"\n  \"carrental_dropoff_country\": (string) Car rental dropoff country, //\"Thailand\"\n  \"carrental_dropoff_city\": (string) Car rental dropoff city, //\"Bangkok\"\n  \"currency\": (string) Cost currency, //\"SGD\"\n}\n</code></pre><p><strong>Coach</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"booking_contact\": (string) Booking contact, //\"+ 662‐356‐1111\"\n  \"booking_reference\": (string) Booking reference, //\"445012064\"\n  \"booking_ttl_cost\": (float) Booking total cost, //\"427.30\"\n  \"booking_via\": (string) Booking via, // \"Thai Airways\"\n  \"booking_website\": (string) Booking website, //\"www.thaiairways.com\"\n  \"coach_passenger\": (string) Coach passenger, //\"Foo Bar\"\n  \"coach_seat\": (string) Coach seat, //\"2\"\n  \"coach_ticketno\": (string) Coach ticket number, //\"AA123123\"\n  \"coach_vehicle\": (string) Coach vehicle, //\"Bus\"\n  \"coach_carrier\": (string) Coach carrier, //\"Bangkok Bus\"\n  \"coach_depature_date\": (integer) Coach departure date timestamp, //1451606400\n  \"coach_depature_time\": (integer) Coach departure time timestamp, //1451606400\n  \"coach_depature_station\": (string) Coach departure station, //\"Bangkok\"\n  \"coach_depature_station_lat\": (float) Coach departure station latitude, //13.681108\n  \"coach_depature_station_long\": (float) Coach departure station longitude, //100.747283\n  \"coach_depature_country\": (string) Coach departure country, //\"Thailand\"\n  \"coach_depature_city\": (string) Coach departure city, //\"Bangkok\"\n  \"coach_arrival_date\": (integer) Coach arrival date timestamp, //1451606400\n  \"coach_arrival_time\": (integer) Coach arrival time timestamp, //1451606400\n  \"coach_arrival_station\": (string) Coach arrival station, //\"Bangkok\"\n  \"coach_arrival_station_lat\": (float) Coach arrival station latitude, //13.681108\n  \"coach_arrival_station_long\": (float) Coach arrival station longitude, //100.747283\n  \"coach_arrival_country\": (string) Coach arrival country, //\"Thailand\"\n  \"coach_arrival_city\": (string) Coach arrival city, //\"Bangkok\"\n  \"currency\": (string) Cost currency, //\"SGD\"\n}\n</code></pre><p><strong>Cruise/Ferry</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"booking_contact\": (string) Booking contact, //\"+ 662‐356‐1111\"\n  \"booking_reference\": (string) Booking reference, //\"445012064\"\n  \"booking_ttl_cost\": (float) Booking total cost, //\"427.30\"\n  \"booking_via\": (string) Booking via, // \"Thai Airways\"\n  \"booking_website\": (string) Booking website, //\"www.thaiairways.com\"\n  \"cruise_cabin\": (string) Cruise cabin, //\"A5\"\n  \"cruise_carrier\": (string) Cruise carrier, //\"Bangkok cruise\"\n  \"cruise_confirmation\": (string) Cruise confirmation, //\"12312412\"\n  \"cruise_no\": (string) Cruise number, //\"A23423Z\"\n  \"cruise_passenger\": (string) Cruise passenger, //\"Foo Bar\"\n  \"cruise_pnr\": (string) Cruise pnr, //\"A12312X\"\n  \"cruise_ticketno\": (string) Cruise ticket number, //\"AA123123\"\n  \"cruise_travelclass\": (string) Cruise travel class, //\"Executive\"\n  \"cruise_vessel_name\": (string) Cruise vessel name, //\"Samudra\"\n  \"cruise_depature_date\": (integer) Cruise departure date timestamp, //1451606400\n  \"cruise_depature_time\": (integer) Cruise departure time timestamp, //1451606400\n  \"cruise_depature_gate\": (string) Cruise departure gate, //\"B1\"\n  \"cruise_depature_berth\": (string) Cruise departure berth, //\"C4\"\n  \"cruise_depature_portoffcall\": (string) Cruise departure port of call, //\"Bangkok land\"\n  \"cruise_depature_country\": (string) Cruise departure country, //\"Thailand\"\n  \"cruise_depature_city\": (string) Cruise departure city, //\"Bangkok\"\n  \"cruise_arrival_date\": (integer) Cruise arrival date timestamp, //1451606400\n  \"cruise_arrival_time\": (integer) Cruise arrival time timestamp, //1451606400\n  \"cruise_arrival_gate\": (string) Cruise arrival gate, //\"B1\"\n  \"cruise_arrival_berth\": (string) Cruise arrival berth, //\"C4\"\n  \"cruise_arrival_portoffcall\": (string) Cruise arrival port of call, //\"Bangkok land\"\n  \"cruise_arrival_country\": (string) Cruise arrival country, //\"Thailand\"\n  \"cruise_arrival_city\": (string) Cruise arrival city, //\"Bangkok\"\n  \"currency\": (string) Cost currency, //\"SGD\"\n}\n</code></pre><p><strong>Event</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"event_address\": (string) Event address, //\"Pathum Wan ...\"\n  \"event_address_lat\": (float) Event address latitude, //\"13.681108\"\n  \"event_address_long\": (float) Event address longitude, //\"100.747283\"\n  \"event_address_country\": (string) Event country, //\"Thailand\"\n  \"event_address_city\": (string) Event city, //\"Bangkok\"\n  \"event_name\": (string) Event Name, //\"Sunset show\"\n  \"event_end_date\": (integer) Event start date timestamp, //1451606400\n  \"event_end_time\": (integer) Event start time timestamp, //1451606400\n  \"event_start_date\": (integer) Event end date timestamp, //1451606400\n  \"event_start_time\": (integer) Event end time timestamp, //1451606400\n  \"event_website\": (string) Event website, //\"www.bsun.com\"\n  \"currency\": (string) Booking currency, //\"SGD\"\n  \"cost\": (float) Booking cost, //\"2.20\"\n}\n</code></pre><p><strong>Land Transport</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"booking_contact\": (string) Booking contact, //\"+ 662‐356‐1111\"\n  \"booking_reference\": (string) Booking reference, //\"445012064\"\n  \"booking_ttl_cost\": (float) Booking total cost, //\"427.30\"\n  \"booking_via\": (string) Booking via, // \"Thai Airways\"\n  \"booking_website\": (string) Booking website, //\"www.thaiairways.com\"\n  \"landtrans_bookingno\": (string) Land Transport Booking no, //\"445012064\"\n  \"landtrans_company\": (string) Land Transport company, //\"Bangkok Transport\"\n  \"landtrans_contact_driver\": (string) Land Transport driver, //\"Foo Bar\"\n  \"landtrans_contact_no\": (string) Land Transport Contact Number, //\"456 78910\"\n  \"landtrans_pickup_date\": (integer) Land Transport pickup date timestamp, //1451606400\n  \"landtrans_pickup_time\": (integer) Land Transport pickup time timestamp, //1451606400\n  \"landtrans_pickup_loc\": (string) Land Transport pickup location, //\"Pathum Wan ..\"\n  \"landtrans_pickup_loc_lat\": (float) Land Transport pickup address latitude, //\"13.681108\"\n  \"landtrans_pickup_loc_long\": (float) Land Transport pickup address longitude, //\"13.681108\"\n  \"landtrans_pickup_country\": (string) Land Transport pickup country, //\"Thailand\"\n  \"landtrans_pickup_city\": (string) Land Transport pickup city, //\"Bangkok\"\n  \"landtrans_dropoff_date\": (integer) Land Transport dropoff date timestamp, //1451606400\n  \"landtrans_dropoff_time\": (integer) Land Transport dropoff time timestamp, //1451606400\n  \"landtrans_dropoff_loc\": (string) Land Transport dropoff location, //\"Pathum Wan ..\"\n  \"landtrans_dropoff_loc_lat\": (float) Land Transport dropoff address latitude, //\"13.681108\"\n  \"landtrans_dropoff_loc_long\": (float) Land Transport dropoff address longitude, //\"13.681108\"\n  \"landtrans_dropoff_country\": (string) Land Transport dropoff country, //\"Thailand\"\n  \"landtrans_dropoff_city\": (string) Land Transport dropoff city, //\"Bangkok\"\n  \"currency\": (string) Cost currency, //\"SGD\"\n}\n</code></pre><p><strong>Point of Interest</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"tipoi_address\": (string) POI address, //\"Pathum Wan ...\"\n  \"tipoi_address_lat\": (float) POI address latitude, //\"13.681108\"\n  \"tipoi_address_long\": (float) POI address longitude, //\"100.747283\"\n  \"tipoi_address_country\": (string) POI country, //\"Thailand\"\n  \"tipoi_address_city\": (string) POI city, //\"Bangkok\"\n  \"tipoi_name\": (string) POI Name, //\"Bangkok Sunset\"\n  \"tipoi_start_date\": (integer) POI start date timestamp, //1451606400\n  \"tipoi_start_time\": (integer) POI start time timestamp, //1451606400\n  \"tipoi_end_date\": (integer) POI end date timestamp, //1451606400\n  \"tipoi_end_time\": (integer) POI end time timestamp, //1451606400\n  \"tipoi_touropp_contact\": (string) POI operator contact, //\"123 45678\"\n  \"tipoi_touropp_contactperson\": (string) POI operator contact person, //\"John\"\n  \"tipoi_touropp_email\": (string) POI operator email, //\"info@poi.com\"\n  \"tipoi_touropp_meetingpoint\": (string) POI meeting point, //\"BSun Office\"\n  \"tipoi_touropp_name\": (string) POI operator name, //\"BSun\"\n  \"tipoi_touropp_totalfees\": (float) POI total fees, //\"2.20\"\n  \"tipoi_website\": (string) POI website, //\"www.bsun.com\"\n  \"currency\": (string) Booking currency, //\"SGD\"\n  \"cost\": (float) Booking cost, //\"2.20\"\n  \"participant_data\": (array) Participant data, //[]\n}\n</code></pre><p><strong>Sports Event</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"sport_address\": (string) Sport Event address, //\"Pathum Wan ...\"\n  \"sport_address_lat\": (float) Sport Event address latitude, //\"13.681108\"\n  \"sport_address_long\": (float) Sport Event address longitude, //\"100.747283\"\n  \"sport_address_country\": (string) Sport Event country, //\"Thailand\"\n  \"sport_address_city\": (string) Sport Event city, //\"Bangkok\"\n  \"sport_name\": (string) Sport Event Name, //\"Sunset diving\"\n  \"sport_end_date\": (integer) Sport Event start date timestamp, //1451606400\n  \"sport_end_time\": (integer) Sport Event start time timestamp, //1451606400\n  \"sport_start_date\": (integer) Sport Event end date timestamp, //1451606400\n  \"sport_start_time\": (integer) Sport Event end time timestamp, //1451606400\n  \"sport_touropp_contact\": (string) Sport Event operator contact, //\"123 45678\"\n  \"sport_touropp_contactperson\": (string) Sport Event operator contact person, //\"John\"\n  \"sport_touropp_email\": (string) Sport Event operator email, //\"info@poi.com\"\n  \"sport_touropp_meetingpoint\": (string) Sport Event meeting point, //\"BSun Office\"\n  \"sport_touropp_name\": (string) Sport Event operator name, //\"BSun\"\n  \"sport_touropp_totalfees\": (float) Sport Event total fees, //\"2.20\"\n  \"sport_website\": (string) Sport Event website, //\"www.bsun.com\"\n  \"currency\": (string) Booking currency, //\"SGD\"\n  \"cost\": (float) Booking cost, //\"2.20\"\n  \"people_data\": (array) People data, //[]\n}\n</code></pre><p><strong>Train</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"booking_contact\": (string) Booking contact, //\"+ 662‐356‐1111\"\n  \"booking_reference\": (string) Booking reference, //\"445012064\"\n  \"booking_ttl_cost\": (float) Booking total cost, //\"427.30\"\n  \"booking_via\": (string) Booking via, // \"Thai Airways\"\n  \"booking_website\": (string) Booking website, //\"www.thaiairways.com\"\n  \"train_passenger\": (string) Train passenger, //\"Foo Bar\"\n  \"train_carrier\": (string) Train carrier, //\"Bangkok Train\"\n  \"train_train_no\": (string) Train No, //\"BA1234\"\n  \"train_confirmation\": (string) Train confirmation number, //\"ABC123\"\n  \"train_seat\": (string) Train seat, //\"D12\"\n  \"train_depature_date\": (integer) Train departure date timestamp, //1451606400\n  \"train_depature_time\": (integer) Train departure time timestamp, //1451606400\n  \"train_depature_platform\": (string) Train departure platform, //\"A\"\n  \"train_depature_station\": (string) Train departure station, //\"Bangkok\"\n  \"train_depature_station_lat\": (float) Train departure station latitude, //13.681108\n  \"train_depature_station_long\": (float) Train departure station longitude, //100.747283\n  \"train_depature_country\": (string) Train departure country, //\"Thailand\"\n  \"train_depature_city\": (string) Train departure city, //\"Bangkok\"\n  \"train_arrival_date\": (integer) Train arrival date timestamp, //1451606400\n  \"train_arrival_time\": (integer) Train arrival time timestamp, //1451606400\n  \"train_arrival_platform\": (string) Train arrival platform, //\"A\"\n  \"train_arrival_station\": (string) Train arrival station, //\"Bangkok\"\n  \"train_arrival_station_lat\": (float) Train arrival station latitude, //13.681108\n  \"train_arrival_station_long\": (float) Train arrival station longitude, //100.747283\n  \"train_arrival_country\": (string) Train arrival country, //\"Thailand\"\n  \"train_arrival_city\": (string) Train arrival city, //\"Bangkok\"\n  \"currency\": (string) Cost currency, //\"SGD\"\n}\n</code></pre>","event":[{"listen":"prerequest","script":{"id":"e72a7e42-0900-492f-b1e1-3b6be0732267","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"950ef0af-c626-48c5-9087-2aee978dabe2","type":"text/javascript","exec":[""]}}],"_postman_id":"3d6dadce-e5e3-45bd-9e96-dc4183c26e20"},{"name":"Combine Trips","item":[{"name":"Combine Trip (app & web)","id":"b592142c-1790-4796-b1eb-1e7b92d51af8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":" {\r\n  \"trips_id\": [\r\n      {\r\n          \"id\": (string) Trip uuid, //\"f438d1c4-0e35-4730-9837-d1cb9643dbb8\"\r\n      },\r\n       ...\r\n     ]\r\n }"},"url":"{{host}}/pub/v1/{{user_id}}/combine-trip","description":"<p>Allows users to combine trip A and trip B</p>\n","urlObject":{"path":["pub","v1","{{user_id}}","combine-trip"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"483801bb-1133-4ab7-8757-907d2983f11f","name":"Combine Trip","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":" {\r\n  \"trips_id\": [\r\n      {\r\n          \"id\": (string) Trip uuid, //\"f438d1c4-0e35-4730-9837-d1cb9643dbb8\"\r\n      },\r\n       ...\r\n     ]\r\n }"},"url":"{{host}}/pub/v1/{{user_id}}/combine-trip"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": \"000000\",\r\n     \"message\": \"success.\",\r\n      \"data\": {\r\n       \"mobile_id\": (string) Trip ID of App, \r\n       \"trip_id\": (string) Trip uuid, //\"ac06468d-87b6-4e1a-8c41-b1a1765d47b4\"\r\n        \"trip_title\": (string) Trip title, //\"BANGKOK DEMO TRIP\"\r\n        \"trip_start_date\": (integer) Trip start date timestamp, //1451606400\r\n        \"trip_end_date\": (integer) Trip end date timestamp, //1452384000\r\n      \"trip_image\": (string) Trip image, \"https://...\"\r\n        \"trip_items\": (array) Trip items, //[]\r\n       \"trip_itenerary\": (array) Trip itinerary, //[]\r\n     \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n   }\r\n }"}],"_postman_id":"b592142c-1790-4796-b1eb-1e7b92d51af8"},{"name":"Get Combine Trip (app & web)","id":"3eda326a-8dfc-4b03-94c2-62319342d3e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"url":"{{host}}/pub/v1/{{user_id}}/combine-trip","description":"<p>Show all combined trips for a specific user</p>\n","urlObject":{"path":["pub","v1","{{user_id}}","combine-trip"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"cbea3a5e-6321-4a44-ba2c-ab1a936b7d46","name":"Get Combine Trip","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"url":"{{host}}/pub/v1/{{user_id}}/combine-trip"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":" {\r\n     \"status\": \"000000\",\r\n     \"message\": \"success.\",\r\n      \"data\": [\r\n        {\r\n         \"mobile_id\": (string) Trip ID of App, \r\n         \"trip_id\": (string) Trip uuid, //\"ac06468d-87b6-4e1a-8c41-b1a1765d47b4\"\r\n         \"trip_title\": (string) Trip title, //\"BANGKOK DEMO TRIP\"\r\n         \"trip_start_date\": (integer) Trip start date timestamp, //1451606400\r\n         \"trip_end_date\": (integer) Trip end date timestamp, //1452384000\r\n         \"trip_image\": (string) Trip image, \"https://...\"\r\n          \"trip_items\": (array) Trip items, //[]\r\n         \"trip_itenerary\": (array) Trip itinerary, //[]\r\n         \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n        },\r\n       ...\r\n   ]\r\n }"}],"_postman_id":"3eda326a-8dfc-4b03-94c2-62319342d3e3"},{"name":"Uncombine Trip (app & web)","id":"5fb9c859-b315-4642-a8e7-8f1698886854","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":"{\r\n  \"trips_id\": [\r\n    {\r\n      \"id\": \"e8eba8b8-0222-4358-808a-eed6a4d382ea\"\r\n    },\r\n    {\r\n      \"id\": \"0d833f73-34a6-43ca-b9e3-4690d922c970\"\r\n    }\r\n  ]\r\n}"},"url":"{{host}}/pub/v1/{{user_id}}/combine-trip/uncombine/:trip_id","description":"<p>Allows user to seperate combined trips</p>\n","urlObject":{"path":["pub","v1","{{user_id}}","combine-trip","uncombine",":trip_id"],"host":["{{host}}"],"query":[],"variable":[{"description":{"content":"<p>Trip uuid</p>\n","type":"text/plain"},"type":"any","value":"","key":"trip_id"}]}},"response":[{"id":"9744e1b0-7552-441b-bc5e-1153a59f3ee8","name":"Uncombine Trip","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{host}}/pub/v1/{{user_id}}/combine-trip/uncombine/:trip_id","host":["{{host}}"],"path":["pub","v1","{{user_id}}","combine-trip","uncombine",":trip_id"],"variable":[{"key":"trip_id","value":""}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n     \"status\": \"000000\",\r\n     \"message\": \"success.\",\r\n      \"data\": [\r\n       {\r\n          \"mobile_id\": (string) Trip ID of App, \r\n         \"trip_id\": (string) Trip uuid, //\"ac06468d-87b6-4e1a-8c41-b1a1765d47b4\"\r\n         \"trip_title\": (string) Trip title, //\"BANGKOK DEMO TRIP\"\r\n         \"trip_start_date\": (integer) Trip start date timestamp, //1451606400\r\n          \"trip_end_date\": (integer) Trip end date timestamp, //1452384000\r\n         \"trip_image\": (string) Trip image, \"https://...\"\r\n         \"trip_items\": (array) Trip items, //[]\r\n         \"trip_itenerary\": (array) Trip itinerary, //[]\r\n         \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n     },\r\n     ...\r\n   ]\r\n }"}],"_postman_id":"5fb9c859-b315-4642-a8e7-8f1698886854"}],"id":"d5beec89-e75a-40ba-afb2-a92a180f792a","description":"<p>Collection for users to manually combine trips</p>\n","_postman_id":"d5beec89-e75a-40ba-afb2-a92a180f792a"},{"name":"Trip Notes","item":[{"name":"Get Trip Notes List (app & web)","id":"28d7117e-1133-48e9-ac4e-fd42d8a638c1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"url":"{{host}}/pub/v1/{{user_id}}/notes","description":"<p>Show trip notes for a specific user</p>\n","urlObject":{"path":["pub","v1","{{user_id}}","notes"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"e237b621-68c0-4552-8f47-79953e1bf01b","name":"Get Notes","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"url":"{{host}}/pub/v1/{{user_id}}/notes"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":" {\r\n     \"status\": \"000000\",\r\n       \"message\": \"success.\",\r\n      \"data\": [\r\n        {\r\n          \"note_id\": (string) Trip note uuid, //\"da230b65-dff5-4973-817a-b19ac4805c67\"\r\n         \"note_description\": (string) Trip note description, //\"Lorem ipsum dolor sit amet\"\r\n          \"note_created_at\": (integer) Trip note created timestamp, //1516261819\r\n          \"attachment\": null,\r\n         \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n       }\r\n    ],\r\n     \"total\": (integer) Total records, //1\r\n  }"}],"_postman_id":"28d7117e-1133-48e9-ac4e-fd42d8a638c1"},{"name":"Get Trip Notes Details (app & web)","id":"cbb20616-218d-4ca8-8c8e-2b659140de47","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"url":"{{host}}/pub/v1/{{user_id}}/notes/:note_id","description":"<p>Shows trip note details for specific trip note</p>\n","urlObject":{"path":["pub","v1","{{user_id}}","notes",":note_id"],"host":["{{host}}"],"query":[],"variable":[{"description":{"content":"<p>Notes uuid</p>\n","type":"text/plain"},"type":"any","value":"","key":"note_id"}]}},"response":[{"id":"bb0eddb5-024e-476d-a206-819e8201bc81","name":"Get Notes Details","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"url":{"raw":"{{host}}/pub/v1/{{user_id}}/notes/:note_id","host":["{{host}}"],"path":["pub","v1","{{user_id}}","notes",":note_id"],"variable":[{"key":"note_id","value":"","description":"Notes uuid"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":" {\r\n      \"status\": \"000000\",\r\n      \"message\": \"success.\",\r\n      \"data\": {\r\n       \"id\": (string) Trip note uuid, //\"da230b65-dff5-4973-817a-b19ac4805c67\"\r\n       \"description\": (string) Trip note description, //\"Lorem ipsum dolor sit amet\"\r\n       \"created_at\": (integer) Trip note created timestamp, //1516261819\r\n        \"attachment\": (array) Trip note attachments, //[]\r\n         \"images\": (array) Trip note images, //[]\r\n        \"trip_assign\": (array), Trip note assign, //[]\r\n        \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n     }\r\n  }"}],"_postman_id":"cbb20616-218d-4ca8-8c8e-2b659140de47"},{"name":"Create Trip Note (app & web)","id":"e76c6493-43a5-4278-a3ea-9684717507fb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":"{\r\n  \"description\": (string) Trip note description, //\"Lorem ipsum dolor sit amet\"\r\n }"},"url":"{{host}}/pub/v1/{{user_id}}/notes","description":"<p>Add trip notes for a specific user.</p>\n<div class=\"headers\">\n<div class=\"heading\">VALUES</div>\n<hr />\n\n<div class=\"param row\">\n         <div class=\"param row\">\n           <div class=\"name col-md-3 col-xs-12\">description</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Trip note description, //\"Lorem ipsum dolor sit amet\"</div>\n          </div>\n        \n          \n         \n         \n           \n          \n </div>         \n</div>","urlObject":{"path":["pub","v1","{{user_id}}","notes"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"d15645ff-3834-4175-bcec-80583161bb13","name":"Create Note","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":"{\r\n  \"description\": (string) Trip note description, //\"Lorem ipsum dolor sit amet\"\r\n }"},"url":"{{host}}/pub/v1/{{user_id}}/notes"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n       \"status\": \"000000\",\r\n       \"message\": \"success.\",\r\n      \"data\": [\r\n        {\r\n          \"note_id\": (string) Trip note uuid, //\"da230b65-dff5-4973-817a-b19ac4805c67\"\r\n         \"note_description\": (string) Trip note description, //\"Lorem ipsum dolor sit amet\"\r\n          \"note_created_at\": (integer) Trip note created timestamp, //1516261819\r\n         \"attachment\": null,\r\n          \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n      }\r\n     ],\r\n   \"total\": (integer) Total records, //1\r\n }"}],"_postman_id":"e76c6493-43a5-4278-a3ea-9684717507fb"},{"name":"Update Trip Note (app & web)","id":"d2af00be-d755-40f9-872d-3f60c538c2a4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":"{\r\n  \"description\": (string) Trip note description, //\"Lorem ipsum dolor sit amet\"\r\n }"},"url":"{{host}}/pub/v1/{{user_id}}/notes/:note_id","description":"<p>Update trip note details for specific trip note.</p>\n<div class=\"headers\">\n<div class=\"heading\">VALUES</div>\n<hr />\n\n<div class=\"param row\">\n         <div class=\"param row\">\n           <div class=\"name col-md-3 col-xs-12\">description</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Trip note description, //\"Lorem ipsum dolor sit amet\"</div>\n          </div>\n        \n          \n         \n         \n           \n          \n </div>         \n</div>","urlObject":{"path":["pub","v1","{{user_id}}","notes",":note_id"],"host":["{{host}}"],"query":[],"variable":[{"description":{"content":"<p>Trip Note uuid</p>\n","type":"text/plain"},"type":"any","value":"","key":"note_id"}]}},"response":[{"id":"3218020b-f022-43b2-9260-f4cc39fb4bff","name":"Update Trip Note","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":"{\r\n  \"description\": (string) Trip note description, //\"Lorem ipsum dolor sit amet\"\r\n }"},"url":{"raw":"{{host}}/pub/v1/{{user_id}}/notes/:note_id","host":["{{host}}"],"path":["pub","v1","{{user_id}}","notes",":note_id"],"variable":[{"key":"note_id","value":"","description":"Trip Note uuid"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n      \"status\": \"000000\",\r\n      \"message\": \"success.\",\r\n     \"data\": {\r\n       \"mobile_id\": (string) Trip note ID of App, \r\n        \"trip_note_id\": (string) Trip note uuid, //\"da230b65-dff5-4973-817a-b19ac4805c67\"\r\n       \"trip_note_description\": (string) Trip note description, //\"Lorem ipsum dolor sit amet\"\r\n      \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n    }\r\n  }"}],"_postman_id":"d2af00be-d755-40f9-872d-3f60c538c2a4"},{"name":"Sync Trip Note (app & web)","id":"7bc2149b-3b68-43fa-ae65-cc2afd878ec6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":"{\r\n     \"notes\":[\r\n        {\r\n          \"note_id\": (string) Trip note uuid, //\"da230b65-dff5-4973-817a-b19ac4805c67\"\r\n          \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n         },\r\n        ...\r\n      ]\r\n}"},"url":"{{host}}/pub/v1/{{user_id}}/notes-sync","description":"<p>Sync trip notes after the app was offline or a note has been added on the web.</p>\n<div class=\"headers\">\n<div class=\"heading\">VALUES</div>\n<hr />\n\n<div class=\"param row\">\n         <div class=\"param row\">\n           <div class=\"name col-md-3 col-xs-12\">notes</div>\n            <div class=\"value col-md-9 col-xs-12\">[\n        {\n          \"note_id\": (string) Trip note uuid, //\"da230b65-dff5-4973-817a-b19ac4805c67\"\n          \"last_updated\": (integer) Last updated timestamp, //1509941412\n         },\n        ...\n      ]</div>\n          </div>\n        \n          \n         \n         \n           \n          \n </div>         \n</div>","urlObject":{"path":["pub","v1","{{user_id}}","notes-sync"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"c2e7ea01-8176-4d6b-a6ae-42ef1381d33a","name":"Sync Trip Note","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":"{\r\n     \"notes\":[\r\n        {\r\n          \"note_id\": (string) Trip note uuid, //\"da230b65-dff5-4973-817a-b19ac4805c67\"\r\n          \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n         },\r\n        ...\r\n      ]\r\n}"},"url":"{{host}}/pub/v1/{{user_id}}/notes-sync"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n     \"status\": \"000000\",\r\n      \"message\": \"success.\",\r\n     \"data\": {\r\n        \"sync_notes\": [ \r\n          {\r\n            \"note_id\": (string) Trip note uuid, //\"da230b65-dff5-4973-817a-b19ac4805c67\"\r\n             \"note_description\": (string) Trip note description, //\"Lorem ipsum dolor sit amet\"\r\n            \"note_created_at\": (integer) Trip note created timestamp, //1516261819\r\n            \"attachment\": null,\r\n            \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n         },\r\n         ...\r\n        ],\r\n       \"deleted_notes\": [\r\n         \"note_id\": (string) Trip note uuid, //\"da230b65-dff5-4973-817a-b19ac4805c67\"\r\n         ...\r\n        ]\r\n     }\r\n  }"}],"_postman_id":"7bc2149b-3b68-43fa-ae65-cc2afd878ec6"},{"name":"Assign Trip Note (app & web)","id":"cc47c65e-9f35-472a-93b8-8b8ae4ebfe3a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":" {\r\n      \"trip_assign\": [\r\n        {\r\n          \"trip_item_id\": (string) Trip item uuid, // \r\n        },\r\n      ...\r\n  ]\r\n }"},"url":"{{host}}/pub/v1/{{user_id}}/notes/:note_id/assign","description":"<p>Assign trip notes to specific user.</p>\n<div class=\"headers\">\n<div class=\"heading\">VALUES</div>\n<hr />\n\n<div class=\"param row\">\n         <div class=\"param row\">\n           <div class=\"name col-md-3 col-xs-12\">trip_assign</div>\n            <div class=\"value col-md-9 col-xs-12\">[\n        {\n          \"trip_item_id\": (string) Trip item uuid, // \n         },\n        ...\n      ]</div>\n          </div>\n        \n          \n         \n         \n           \n          \n </div>         \n</div>","urlObject":{"path":["pub","v1","{{user_id}}","notes",":note_id","assign"],"host":["{{host}}"],"query":[],"variable":[{"description":{"content":"<p>Trip Note uuid</p>\n","type":"text/plain"},"type":"any","value":"","key":"note_id"}]}},"response":[{"id":"9d3b0324-fe34-40f1-a800-8a3285c65456","name":"Assign Trip Note","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":" {\r\n      \"trip_assign\": [\r\n        {\r\n          \"trip_item_id\": (string) Trip item uuid, // \r\n        },\r\n      ...\r\n  ]\r\n }"},"url":{"raw":"{{host}}/pub/v1/{{user_id}}/notes/:note_id/assign","host":["{{host}}"],"path":["pub","v1","{{user_id}}","notes",":note_id","assign"],"variable":[{"description":"Trip Note uuid","key":"note_id","value":""}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n      \"status\": \"000000\",\r\n      \"message\": \"success.\",\r\n     \"data\": {\r\n        \"note_id\": (string) Trip note uuid, //\"da230b65-dff5-4973-817a-b19ac4805c67\"\r\n         \"note_last_updated\": (integer) Last updated timestamp, //1509941412\r\n   }\r\n }"}],"_postman_id":"cc47c65e-9f35-472a-93b8-8b8ae4ebfe3a"},{"name":"Upload Trip Note Document (app & web)","id":"d5f762f6-5d31-44bb-ac9f-f54bdde5d829","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"formdata","formdata":[{"key":"FILE","type":"file","value":null}]},"url":"{{host}}/pub/v1/{{user_id}}/notes/:note_id/attachment","description":"<p>Add trip note documents for a specific trip note</p>\n","urlObject":{"path":["pub","v1","{{user_id}}","notes",":note_id","attachment"],"host":["{{host}}"],"query":[],"variable":[{"description":{"content":"<p>Trip Note uuid</p>\n","type":"text/plain"},"type":"any","value":"","key":"note_id"}]}},"response":[{"id":"a9879d2c-cf71-43f4-b268-47cc95c1ea55","name":"Upload Trip Note Document","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"formdata","formdata":[{"key":"FILE","type":"file"}]},"url":{"raw":"{{host}}/pub/v1/{{user_id}}/notes/:note_id/attachment","host":["{{host}}"],"path":["pub","v1","{{user_id}}","notes",":note_id","attachment"],"variable":[{"description":"Trip Note uuid","key":"note_id","value":""}]}},"_postman_previewlanguage":null,"header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": \"000000\",\r\n    \"message\": \"success\",\r\n     \"data\": {\r\n        \"note_id\": (string) Trip note uuid, //\"da230b65-dff5-4973-817a-b19ac4805c67\"\r\n       \"attachment_id\": (string) Trip note attachment uuid, //\"da230b65-dff5-4973-817a-b19ac4805c67\"\r\n       \"attachment_url\": (string) Trip note attachment url, //\"https://..\"\r\n     \"note_last_updated\": (integer) Last updated timestamp, //1509941412\r\n   }\r\n }"}],"_postman_id":"d5f762f6-5d31-44bb-ac9f-f54bdde5d829"},{"name":"Upload Trip Note Image (app & web)","id":"09e079c8-79ae-4995-8daa-756c08a758fc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"formdata","formdata":[{"key":"FILE","type":"file","value":null}]},"url":"{{host}}/pub/v1/{{user_id}}/notes/:note_id/image","description":"<p>Upload trip note images for a specific trip note</p>\n","urlObject":{"path":["pub","v1","{{user_id}}","notes",":note_id","image"],"host":["{{host}}"],"query":[],"variable":[{"description":{"content":"<p>Trip Note uuid</p>\n","type":"text/plain"},"type":"any","value":"","key":"note_id"}]}},"response":[{"id":"f1a57e21-1bfb-4c73-b39b-31cbb56be366","name":"Upload Trip Note Image","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"formdata","formdata":[{"key":"FILE","type":"file"}]},"url":{"raw":"{{host}}/pub/v1/{{user_id}}/notes/:note_id/image","host":["{{host}}"],"path":["pub","v1","{{user_id}}","notes",":note_id","image"],"variable":[{"description":"Trip Note uuid","key":"note_id","value":""}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n      \"status\": \"000000\",\r\n      \"message\": \"success\",\r\n      \"data\": {\r\n        \"note_id\": (string) Trip note uuid, //\"da230b65-dff5-4973-817a-b19ac4805c67\"\r\n        \"image_id\": (string) Trip note image uuid, //\"da230b65-dff5-4973-817a-b19ac4805c67\"\r\n        \"image_url\": (string) Trip note image url, //\"https://..\"\r\n        \"note_last_updated\": (integer) Last updated timestamp, //1509941412\r\n      }\r\n  }"}],"_postman_id":"09e079c8-79ae-4995-8daa-756c08a758fc"},{"name":"Delete Trip Note (app & web)","id":"28cb81f7-bc07-4dcd-8cc4-ecd488b8c2c3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":""},"url":"{{host}}/pub/v1/{{user_id}}/notes/:note_id","description":"<p>Remove a specific trip note</p>\n","urlObject":{"path":["pub","v1","{{user_id}}","notes",":note_id"],"host":["{{host}}"],"query":[],"variable":[{"description":{"content":"<p>Trip Note uuid</p>\n","type":"text/plain"},"type":"any","value":"","key":"note_id"}]}},"response":[{"id":"9180d6cf-d756-4d58-8f40-c67da9c47918","name":"Delete Trip Note","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{host}}/pub/v1/{{user_id}}/notes/:note_id","host":["{{host}}"],"path":["pub","v1","{{user_id}}","notes",":note_id"],"variable":[{"description":"Trip Note uuid","key":"note_id","value":""}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n    2   \"status\": \"000000\",\r\n    3   \"message\": \"success.\",\r\n    4   \"data\": []\r\n }"}],"_postman_id":"28cb81f7-bc07-4dcd-8cc4-ecd488b8c2c3"},{"name":"Delete Trip Note Image (app & web)","id":"cb45eb18-8d85-43ef-b5d8-178b6dcc44c4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":""},"url":"{{host}}/pub/v1/{{user_id}}/notes/:note_id/attachment/:image_id","description":"<p>Remove a trip note image associated with a specific trip note</p>\n","urlObject":{"path":["pub","v1","{{user_id}}","notes",":note_id","attachment",":image_id"],"host":["{{host}}"],"query":[],"variable":[{"description":{"content":"<p>Trip Note uuid</p>\n","type":"text/plain"},"type":"any","value":"","key":"note_id"},{"description":{"content":"<p>Trip Note image uuid</p>\n","type":"text/plain"},"type":"any","value":"","key":"image_id"}]}},"response":[{"id":"c1f750cf-df5d-4a2a-af7c-1d6da8bddc68","name":"Delete Trip Note Image","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{host}}/pub/v1/{{user_id}}/notes/:note_id/attachment/:image_id","host":["{{host}}"],"path":["pub","v1","{{user_id}}","notes",":note_id","attachment",":image_id"],"variable":[{"description":"Trip Note uuid","key":"note_id","value":""},{"key":"image_id","value":"","description":"Trip Note image uuid"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n      \"status\": \"000000\",\r\n       \"message\": \"success.\",\r\n      \"data\": {\r\n         \"note_id\": (string) Trip note uuid, //\"da230b65-dff5-4973-817a-b19ac4805c67\"\r\n        \"note_last_updated\": (integer) Last updated timestamp, //1509941412\r\n  }\r\n }"}],"_postman_id":"cb45eb18-8d85-43ef-b5d8-178b6dcc44c4"},{"name":"Delete Trip Note Document (app & web)","id":"7a9754bb-ad2b-42e4-bd16-8b9e7061ab7c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":""},"url":"{{host}}/pub/v1/{{user_id}}/notes/:note_id/attachment/:document_id","description":"<p>Remove a document associated with a specific trip note</p>\n","urlObject":{"path":["pub","v1","{{user_id}}","notes",":note_id","attachment",":document_id"],"host":["{{host}}"],"query":[],"variable":[{"description":{"content":"<p>Trip Note uuid</p>\n","type":"text/plain"},"type":"any","value":"","key":"note_id"},{"description":{"content":"<p>Trip Note Document uuid</p>\n","type":"text/plain"},"type":"any","value":"","key":"document_id"}]}},"response":[{"id":"b36d0914-95cf-4dd5-adc7-96f1d8ded0b3","name":"Delete Trip Note Document","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{host}}/pub/v1/{{user_id}}/notes/:note_id/attachment/:document_id","host":["{{host}}"],"path":["pub","v1","{{user_id}}","notes",":note_id","attachment",":document_id"],"variable":[{"description":"Trip Note uuid","key":"note_id","value":""},{"key":"document_id","value":"","description":"Trip Note Document uuid"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n     \"status\": \"000000\",\r\n      \"message\": \"success.\",\r\n      \"data\": {\r\n        \"note_id\": (string) Trip note uuid, //\"da230b65-dff5-4973-817a-b19ac4805c67\"\r\n        \"note_last_updated\": (integer) Last updated timestamp, //1509941412\r\n       }\r\n}"}],"_postman_id":"7a9754bb-ad2b-42e4-bd16-8b9e7061ab7c"},{"name":"Unassign Trip Note (app & web)","id":"9a090b5e-eca9-478a-be30-d351abe6c591","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":""},"url":"{{host}}/pub/v1/{{user_id}}/notes/:note_id/assign/:trip_id","description":"<p>Unassign trip note from a specific trip</p>\n","urlObject":{"path":["pub","v1","{{user_id}}","notes",":note_id","assign",":trip_id"],"host":["{{host}}"],"query":[],"variable":[{"description":{"content":"<p>Trip Note uuid</p>\n","type":"text/plain"},"type":"any","value":"","key":"note_id"},{"description":{"content":"<p>Trip uuid</p>\n","type":"text/plain"},"type":"any","value":"","key":"trip_id"}]}},"response":[{"id":"dec0d460-74d7-4f27-800a-b9249902fcdd","name":"Unassign Trip Note","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{host}}/pub/v1/{{user_id}}/notes/:note_id/assign/:trip_id","host":["{{host}}"],"path":["pub","v1","{{user_id}}","notes",":note_id","assign",":trip_id"],"variable":[{"description":"Trip Note uuid","key":"note_id","value":""},{"key":"trip_id","value":"","description":"Trip uuid"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n     \"status\": \"000000\",\r\n     \"message\": \"success.\",\r\n      \"data\": {\r\n         \"note_id\": (string) Trip note uuid, //\"da230b65-dff5-4973-817a-b19ac4805c67\"\r\n        \"note_last_updated\": (integer) Last updated timestamp, //1509941412\r\n       }\r\n }"}],"_postman_id":"9a090b5e-eca9-478a-be30-d351abe6c591"}],"id":"dcb295a5-1398-4328-bab5-222f8ff6da12","description":"<p>Collection to manage trip notes</p>\n","_postman_id":"dcb295a5-1398-4328-bab5-222f8ff6da12"},{"name":"List Trips (app & web)","id":"7fec151c-fd13-4b69-a54d-01171a1e8455","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"url":"{{host}}/pub/v1/{{user_id}}/trip","description":"<p>Retrieve all trips for a specifc user sorted by trip dates</p>\n","urlObject":{"path":["pub","v1","{{user_id}}","trip"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"ae151036-182a-4ae9-b8c5-4f543a311105","name":"List Trips","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"url":"{{host}}/pub/v1/{{user_id}}/trip"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n \"status\": \"000000\",\r\n \"message\": \"success.\",\r\n \"data\": [\r\n\t   {\r\n          \"mobile_id\": (string) Trip ID of App, \r\n           \"trip_id\": (string) Trip uuid, //\"ac06468d-87b6-4e1a-8c41-b1a1765d47b4\"\r\n           \"trip_title\": (string) Trip title, //\"BANGKOK DEMO TRIP\"\r\n           \"trip_route\": (string) Trip route, //\"JKT, SIN\"\r\n        \t\"trip_start_date\": (integer) Trip start date timestamp, //1451606400\r\n        \t\"trip_end_date\": (integer) Trip end date timestamp, //1452384000\r\n        \t\"trip_image\": (string) Trip image, \"https://...\"\r\n        \t\"trip_custom_image\": (string) Trip custom image, \"https://...\"\r\n        \t\"trip_items\": [\r\n            {\r\n            \t\"id\": (string) Trip item uuid, //\"d63c83f7-be82-4f89-a38d-ddd133970519\"\r\n            \t\"type\": (string) Trip item type, //\"FLIGHT\" see #Notes\r\n            \t\"mobile_id\": (string) Trip item ID of App, \r\n            \t\"booking_contact\": (string) Booking contact, //\"+ 662‐356‐1111\"\r\n            \t\"booking_reference\": (string) Booking reference, //\"445012064\"\r\n            \t\"booking_total_cost\": (float) Booking total cost, //\"427.30\"\r\n            \t\"booking_via\": (string) Booking via, // \"Thai Airways\"\r\n            \t\"booking_website\": (string) Booking website, //\"www.thaiairways.com\"\r\n            \t\"flight_arrival_airport_lat\": (float) Flight Arrival Airport Latitude, //\"13.681108\"\r\n            \t\"flight_arrival_airport_long\": (float) Flight Arrival Airport Longitude, //\"100.747283\"\r\n            \t\"flight_arrival_airport_name\": (string) Flight Arrival Airport Name, //\"BKK\"\r\n            \t\"flight_arrival_date\": (integer) Flight Arrival Date Timestamp, //1451606400\r\n            \t\"flight_arrival_gate\": (string) Flight Arrival Gate, //\"2\"\r\n            \t\"flight_arrival_terminal\": (string) Flight Arrival Terminal, //\"1\"\r\n            \t\"flight_arrival_time\": (integer) Flight Arrival Time Timestamp, //1516179600\r\n            \t\"flight_carrier\": (string) Flight Carrier, //\"Thai Airways\"\r\n            \t\"flight_class\": (string) Flight Class, //\"Economy\"\r\n            \t\"flight_confirmation\":  (string) Flight Confirmation No, //\"IJ4QPV\"\r\n            \t\"flight_depature_airport_lat\": (float) Flight Departure Airport Latitude, //\"1.350189\"\r\n            \t\"flight_depature_airport_long\": (float) Flight Departure Airport Longitude, //\"103.994433\"\r\n            \t\"flight_depature_airport_name\": (string) Flight Departure Airport Name, //\"SIN\"\r\n            \t\"flight_depature_date\": (integer) Flight Departure Date Timestamp, //1451606400\r\n        \t\t\"flight_depature_gate\": (string) Flight Departure Gate, //\"44\"\r\n            \t\"flight_depature_terminal\": (string) Flight Departure Terminal, //\"1\"\r\n            \t\"flight_depature_time\": (integer) Flight Departure Time Timestamp, //1516174800\r\n            \t\"flight_no\": (string) Flight No, //\"TG 402\"\r\n            \t\"flight_passenger\": (string) Flight Passenger, //\"Foo Bar\"\r\n            \t\"flight_seat\": (string) Flight Seat, //\"35K\"\r\n            \t \"flight_ticket\": (string) Flight Ticket, //\"217 2307543925\"\r\n            \t \"duration\": (integer) Flight Duration in seconds, //\"8400\"\r\n            \t\"currency\": (string) Booking currency, //\"SGD\"\r\n        \t\t\"document_box\": (array) Trip documents id,\r\n            \t\"tz_start\": (string) Start timezone, //\"Asia/Kuala_Lumpur\"\r\n            \t\"tz_offset_start\": (integer) Offset start timezone in second, //28800\r\n            \t\"tz_end\": (string)  End timezone, //\"Asia/Jakarta\"\r\n            \t\"tz_offset_end\": (integer)  Offset end timezone in second, //25200\r\n           },\r\n           ...\r\n          ],\r\n         \"trip_itenerary\": [\r\n           {\r\n             \"id\": (string) Trip item uuid, //\"d63c83f7-be82-4f89-a38d-ddd133970519\"\r\n            \"child_type\": (string) Trip item type, //\"FLIGHT\" see #Notes\r\n            \"start_date\": (integer) Trip item start date timestamp, //1451606400\r\n             \"start_time\": (integer) Trip item start time timestamp, //1516174800\r\n              \"end_date\": (integer) Trip item end date timestamp, //1451606400\r\n             \"end_time\": (integer) Trip item end time timestamp, //1516179600\r\n           },\r\n           ...\r\n         ],\r\n          \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n          \"is_combine\": (boolean) Trip combined, //false\r\n          \"is_demo\": (boolean) Demo trip status, //false\r\n      },\r\n       ...\r\n   ],\r\n   \"total\": (integer) Total records, //1\r\n }"}],"_postman_id":"7fec151c-fd13-4b69-a54d-01171a1e8455"},{"name":"View Trip Details (web)","id":"0b8b917e-f753-4340-91ab-4add4b37d64a","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"url":"{{host}}/pub/v1/{{user_id}}/trip/:trip_id","description":"<p>Show detailed trip information for a specific trip by a specific user</p>\n","urlObject":{"path":["pub","v1","{{user_id}}","trip",":trip_id"],"host":["{{host}}"],"query":[],"variable":[{"description":{"content":"<p>Trip uuid</p>\n","type":"text/plain"},"type":"any","value":"","key":"trip_id"}]}},"response":[{"id":"ea9721fb-281d-4870-803e-1b603f422d33","name":"View Trip Details","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"url":{"raw":"{{host}}/pub/v1/{{user_id}}/trip/:trip_id","host":["{{host}}"],"path":["pub","v1","{{user_id}}","trip",":trip_id"],"variable":[{"key":"trip_id","value":"","description":"Trip uuid"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n   \"status\": \"000000\",\r\n   \"message\": \"success.\",\r\n   \"data\":{\r\n     \"trip_id\": (string) Trip uuid, //\"ac06468d-87b6-4e1a-8c41-b1a1765d47b4\"\r\n     \"trip_title\": (string) Trip title, //\"BANGKOK DEMO TRIP\"\r\n     \"trip_route\": (string) Trip route, //\"JKT, SIN\"\r\n     \"trip_start_date\": (integer) Trip start date timestamp, //1451606400\r\n     \"trip_end_date\": (integer) Trip end date timestamp, //1452384000\r\n     \"trip_image\": (string) Trip image, \"https://...\"\r\n     \"trip_custom_image\": (string) Trip custom image, \"https://...\"\r\n     \"trip_items\": [\r\n       {\r\n         \"id\": (string) Trip item uuid, //\"d63c83f7-be82-4f89-a38d-ddd133970519\"\r\n         \"type\": (string) Trip item type, //\"FLIGHT\" see #Notes\r\n         \"mobile_id\": (string) Trip item ID of App, \r\n         \"booking_contact\": (string) Booking contact, //\"+ 662‐356‐1111\"\r\n         \"booking_reference\": (string) Booking reference, //\"445012064\"\r\n         \"booking_total_cost\": (float) Booking total cost, //\"427.30\"\r\n         \"booking_via\": (string) Booking via, // \"Thai Airways\"\r\n         \"booking_website\": (string) Booking website, //\"www.thaiairways.com\"\r\n         \"flight_arrival_airport_lat\": (float) Flight Arrival Airport Latitude, //\"13.681108\"\r\n         \"flight_arrival_airport_long\": (float) Flight Arrival Airport Longitude, //\"100.747283\"\r\n         \"flight_arrival_airport_name\": (string) Flight Arrival Airport Name, //\"BKK\"\r\n         \"flight_arrival_date\": (integer) Flight Arrival Date Timestamp, //1451606400\r\n         \"flight_arrival_gate\": (string) Flight Arrival Gate, //\"2\"\r\n         \"flight_arrival_terminal\": (string) Flight Arrival Terminal, //\"1\"\r\n         \"flight_arrival_time\": (integer) Flight Arrival Time Timestamp, //1516179600\r\n         \"flight_carrier\": (string) Flight Carrier, //\"Thai Airways\"\r\n         \"flight_class\": (string) Flight Class, //\"Economy\"\r\n         \"flight_confirmation\":  (string) Flight Confirmation No, //\"IJ4QPV\"\r\n         \"flight_depature_airport_lat\": (float) Flight Departure Airport Latitude, //\"1.350189\"\r\n         \"flight_depature_airport_long\": (float) Flight Departure Airport Longitude, //\"103.994433\"\r\n         \"flight_depature_airport_name\": (string) Flight Departure Airport Name, //\"SIN\"\r\n         \"flight_depature_date\": (integer) Flight Departure Date Timestamp, //1451606400\r\n         \"flight_depature_gate\": (string) Flight Departure Gate, //\"44\"\r\n         \"flight_depature_terminal\": (string) Flight Departure Terminal, //\"1\"\r\n         \"flight_depature_time\": (integer) Flight Departure Time Timestamp, //1516174800\r\n         \"flight_no\": (string) Flight No, //\"TG 402\"\r\n         \"flight_passenger\": (string) Flight Passenger, //\"Foo Bar\"\r\n         \"flight_seat\": (string) Flight Seat, //\"35K\"\r\n         \"flight_ticket\": (string) Flight Ticket, //\"217 2307543925\"\r\n         \"duration\": (integer) Flight Duration in seconds, //\"8400\"\r\n         \"currency\": (string) Booking currency, //\"SGD\"\r\n         \"document_box\": (array) Trip documents id,\r\n         \"tz_start\": (string) Start timezone, //\"Asia/Kuala_Lumpur\"\r\n         \"tz_offset_start\": (integer) Offset start timezone in second, //28800\r\n         \"tz_end\": (string)  End timezone, //\"Asia/Jakarta\"\r\n         \"tz_offset_end\": (integer)  Offset end timezone in second, //25200\r\n       },\r\n       ...\r\n     ],\r\n     \"trip_itenerary\": [\r\n       {\r\n         \"id\": (string) Trip item uuid, //\"d63c83f7-be82-4f89-a38d-ddd133970519\"\r\n         \"child_type\": (string) Trip item type, //\"FLIGHT\" see #Notes\r\n         \"start_date\": (integer) Trip item start date timestamp, //1451606400\r\n         \"start_time\": (integer) Trip item start time timestamp, //1516174800\r\n         \"end_date\": (integer) Trip item end date timestamp, //1451606400\r\n         \"end_time\": (integer) Trip item end time timestamp, //1516179600\r\n       },\r\n       ...\r\n     ],\r\n     \"trip_notes\": (array) Trip notes, //[]\r\n     \"is_demo\": (boolean) Demo trip status, //false\r\n     \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n   }\r\n }"}],"_postman_id":"0b8b917e-f753-4340-91ab-4add4b37d64a"},{"name":"View Trip Item Details (web)","id":"01ede010-bf47-450b-9bcf-3c22c9a21c21","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"url":"{{host}}/pub/v1/{{user_id}}/trip/:trip_id/:trip_item_type/:trip_item_id","description":"<p>Show detailed trip Item information based on a specific trip and trip item</p>\n","urlObject":{"path":["pub","v1","{{user_id}}","trip",":trip_id",":trip_item_type",":trip_item_id"],"host":["{{host}}"],"query":[],"variable":[{"description":{"content":"<p>Trip uuid</p>\n","type":"text/plain"},"type":"any","value":"","key":"trip_id"},{"description":{"content":"<p>flight,retaurant,hotel_ci,hotel_co,appointment,car,coach,cruise,event,ferry,landtrans,poi,sport_event,train</p>\n","type":"text/plain"},"type":"any","value":"","key":"trip_item_type"},{"description":{"content":"<p>Trip Item uuid</p>\n","type":"text/plain"},"type":"any","value":"","key":"trip_item_id"}]}},"response":[{"id":"d73832a1-44fe-4fd2-ab31-5019ac53f2f4","name":"View Trip Item Details","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"DEVICE-SESSION","type":"text"},{"key":"x-client-id","value":"API-KEY","type":"text"},{"key":"x-client-secret","value":"API-SECRET","type":"text"}],"url":{"raw":"https://api.travelerbuddy.com/pub/v1/:user_id/trip/:trip_id/:trip_item_type/:trip_item_id","protocol":"https","host":["api","travelerbuddy","com"],"path":["pub","v1",":user_id","trip",":trip_id",":trip_item_type",":trip_item_id"],"variable":[{"key":"user_id","value":"","description":"User's ID"},{"key":"trip_id","value":"","description":"Trip uuid"},{"key":"trip_item_type","value":"","description":"FLIGHT,RESTAURANT,HOTEL_CI,HOTEL_CO,APPOINTMENT,CAR,COACH,CRUISE,EVENT,FERRY,LANDTRANS,POI,SPORT_EVENT,TRAIN"},{"key":"trip_item_id","value":"","description":"Trip Item uuid"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n   \"status\": \"000000\",\r\n   \"message\": \"success.\",\r\n   \"data\": {\r\n     \"id\": (string) Trip item uuid, //\"d63c83f7-be82-4f89-a38d-ddd133970519\"\r\n     \"type\": (string) Trip item type, //\"FLIGHT\" see #Notes\r\n     \"mobile_id\": (string) Trip item ID of App, \r\n     \"booking_contact\": (string) Booking contact, //\"+ 662‐356‐1111\"\r\n     \"booking_reference\": (string) Booking reference, //\"445012064\"\r\n     \"booking_total_cost\": (float) Booking total cost, //\"427.30\"\r\n     \"booking_via\": (string) Booking via, // \"Thai Airways\"\r\n     \"booking_website\": (string) Booking website, //\"www.thaiairways.com\"\r\n     \"flight_arrival_airport_lat\": (float) Flight Arrival Airport Latitude, //\"13.681108\"\r\n     \"flight_arrival_airport_long\": (float) Flight Arrival Airport Longitude, //\"100.747283\"\r\n     \"flight_arrival_airport_name\": (string) Flight Arrival Airport Name, //\"BKK\"\r\n     \"flight_arrival_date\": (integer) Flight Arrival Date Timestamp, //1451606400\r\n     \"flight_arrival_gate\": (string) Flight Arrival Gate, //\"2\"\r\n     \"flight_arrival_terminal\": (string) Flight Arrival Terminal, //\"1\"\r\n     \"flight_arrival_time\": (integer) Flight Arrival Time Timestamp, //1516179600\r\n     \"flight_carrier\": (string) Flight Carrier, //\"Thai Airways\"\r\n     \"flight_class\": (string) Flight Class, //\"Economy\"\r\n     \"flight_confirmation\":  (string) Flight Confirmation No, //\"IJ4QPV\"\r\n     \"flight_depature_airport_lat\": (float) Flight Departure Airport Latitude, //\"1.350189\"\r\n     \"flight_depature_airport_long\": (float) Flight Departure Airport Longitude, //\"103.994433\"\r\n     \"flight_depature_airport_name\": (string) Flight Departure Airport Name, //\"SIN\"\r\n     \"flight_depature_date\": (integer) Flight Departure Date Timestamp, //1451606400\r\n     \"flight_depature_gate\": (string) Flight Departure Gate, //\"44\"\r\n     \"flight_depature_terminal\": (string) Flight Departure Terminal, //\"1\"\r\n     \"flight_depature_time\": (integer) Flight Departure Time Timestamp, //1516174800\r\n     \"flight_no\": (string) Flight No, //\"TG 402\"\r\n     \"flight_passenger\": (string) Flight Passenger, //\"Foo Bar\"\r\n     \"flight_seat\": (string) Flight Seat, //\"35K\"\r\n     \"flight_ticket\": (string) Flight Ticket, //\"217 2307543925\"\r\n     \"duration\": (integer) Flight Duration in seconds, //\"8400\"\r\n     \"currency\": (string) Booking currency, //\"SGD\"\r\n     \"document_box\": (array) Trip documents id,\r\n     \"tz_start\": (string) Start timezone, //\"Asia/Kuala_Lumpur\"\r\n     \"tz_offset_start\": (integer) Offset start timezone in second, //28800\r\n     \"tz_end\": (string)  End timezone, //\"Asia/Jakarta\"\r\n     \"tz_offset_end\": (integer)  Offset end timezone in second, //25200\r\n     \"trip_id\": (string) Trip uuid, //\"ac06468d-87b6-4e1a-8c41-b1a1765d47b4\"\r\n     \"trip_last_updated\": (integer) Last updated timestamp, //1509941412\r\n   }\r\n }"}],"_postman_id":"01ede010-bf47-450b-9bcf-3c22c9a21c21"},{"name":"Create Trip  (app & web)","id":"363ef9b3-6469-4a61-a61b-0285a4e4e118","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"trip_title\": \"BANGKOK DEMO TRIP\",\n  \"trip_start_date\": 1451606400,\n  \"trip_end_date\": 1452384000\n}"},"url":"{{host}}/pub/v1/{{user_id}}/trip","description":"<p>Allows the user to create a new trip manually.</p>\n<div class=\"headers\">\n<div class=\"heading\">VALUES</div>\n<hr />\n\n<div class=\"param row\">\n         <div class=\"param row\">\n           <div class=\"name col-md-3 col-xs-12\">trip_title</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Title of Trip \"TEST TRIP\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">trip_start_date</div>\n            <div class=\"value col-md-9 col-xs-12\">(integer) Trip start date timestamp, //1451606400</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">trip_end_date</div>\n            <div class=\"value col-md-9 col-xs-12\">(integer) Trip end date timestamp, //1452384000</div>\n          </div>\n          \n          \n         \n         \n           \n          \n </div>         \n</div>","urlObject":{"path":["pub","v1","{{user_id}}","trip"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"cfe207b2-a10b-4924-99e6-b1ca4391db22","name":"Create Trip","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"trip_title\": \"BANGKOK DEMO TRIP\",\n  \"trip_start_date\": 1451606400,\n  \"trip_end_date\": 1452384000\n}"},"url":"{{host}}/pub/v1/{{user_id}}/trip"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":" {\r\n   \"status\": \"000000\",\r\n   \"message\": \"success.\",\r\n   \"data\": {\r\n     \"mobile_id\": (string) Trip ID of App, \r\n    \"trip_id\": (string) Trip uuid, //\"ac06468d-87b6-4e1a-8c41-b1a1765d47b4\"\r\n     \"trip_title\": (string) Trip title, //\"BANGKOK DEMO TRIP\"\r\n     \"trip_start_date\": (integer) Trip start date timestamp, //1451606400\r\n     \"trip_end_date\": (integer) Trip end date timestamp, //1452384000\r\n     \"trip_image\": (string) Trip image, \"\"\r\n     \"is_demo\": (boolean) Demo trip status, //false\r\n     \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n   }\r\n }"}],"_postman_id":"363ef9b3-6469-4a61-a61b-0285a4e4e118"},{"name":"Update Trip  (app & web)","id":"e6345803-1560-4dcc-bdbf-fa4718c8a782","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"trip_title\": \"BANGKOK DEMO TRIP\",\n  \"trip_start_date\": 1451606400,\n  \"trip_end_date\": 1452384000\n}"},"url":"{{host}}/pub/v1/{{user_id}}/trip/:trip_id","description":"<p>Update trip information for a specific trip.</p>\n<div class=\"headers\">\n<div class=\"heading\">VALUES</div>\n<hr />\n\n<div class=\"param row\">\n         <div class=\"param row\">\n           <div class=\"name col-md-3 col-xs-12\">trip_title</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Title of Trip \"TEST TRIP\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">trip_start_date</div>\n            <div class=\"value col-md-9 col-xs-12\">(integer) Trip start date timestamp, //1451606400</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">trip_end_date</div>\n            <div class=\"value col-md-9 col-xs-12\">(integer) Trip end date timestamp, //1452384000</div>\n          </div>\n          \n          \n         \n         \n           \n          \n </div>         \n</div>","urlObject":{"path":["pub","v1","{{user_id}}","trip",":trip_id"],"host":["{{host}}"],"query":[],"variable":[{"description":{"content":"<p>Trip uuid</p>\n","type":"text/plain"},"type":"any","value":"","key":"trip_id"}]}},"response":[{"id":"a7df4eeb-96d8-4ea7-a6fc-8bc6d515c7fb","name":"Update Trip","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"trip_title\": \"BANGKOK DEMO TRIP\",\n  \"trip_start_date\": 1451606400,\n  \"trip_end_date\": 1452384000\n}"},"url":{"raw":"{{host}}/pub/v1/{{user_id}}/trip/:trip_id","host":["{{host}}"],"path":["pub","v1","{{user_id}}","trip",":trip_id"],"variable":[{"key":"trip_id","value":"","description":"Trip uuid"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":" {\r\n  \"status\": \"000000\",\r\n   \"message\": \"success.\",\r\n   \"data\": {\r\n     \"mobile_id\": (string) Trip ID of App, \r\n     \"trip_id\": (string) Trip uuid, //\"ac06468d-87b6-4e1a-8c41-b1a1765d47b4\"\r\n    \"trip_title\": (string) Trip title, //\"BANGKOK DEMO TRIP\"\r\n    \"trip_start_date\": (integer) Trip start date timestamp, //1451606400\r\n     \"trip_end_date\": (integer) Trip end date timestamp, //1452384000\r\n     \"trip_image\": (string) Trip image, \"\"\r\n     \"is_demo\": (boolean) Demo trip status, //false\r\n     \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n   }\r\n }"}],"_postman_id":"e6345803-1560-4dcc-bdbf-fa4718c8a782"},{"name":"Delete Trip  (app & web)","id":"41ae0573-50be-4c9c-8533-8e6597b7856c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"url":"{{host}}/pub/v1/{{user_id}}/trip/:trip_id","description":"<p>Allows the user to remove a trip</p>\n","urlObject":{"path":["pub","v1","{{user_id}}","trip",":trip_id"],"host":["{{host}}"],"query":[],"variable":[{"description":{"content":"<p>Trip uuid</p>\n","type":"text/plain"},"type":"any","value":"","key":"trip_id"}]}},"response":[{"id":"65a589cf-ee71-4af6-810d-64698837f4a4","name":"Delete Trip","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"url":{"raw":"{{host}}/pub/v1/{{user_id}}/trip/:trip_id","host":["{{host}}"],"path":["pub","v1","{{user_id}}","trip",":trip_id"],"variable":[{"description":"Trip uuid","key":"trip_id","value":""}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n   \"status\": \"000000\",\r\n  \"message\": \"success\",\r\n   \"data\": []\r\n}"}],"_postman_id":"41ae0573-50be-4c9c-8533-8e6597b7856c"},{"name":"Upload Custom Trip Background  (app)","id":"73a2a3c8-2ea1-4291-9b16-f090f5a611f8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"FILE","description":"<p>jpg,gif,png</p>\n","type":"file","value":null}]},"url":"{{host}}/pub/v1/{{user_id}}/trip-image/:trip_id","description":"<p>Allows the user to upload a custom background image associated with a trip</p>\n","urlObject":{"path":["pub","v1","{{user_id}}","trip-image",":trip_id"],"host":["{{host}}"],"query":[],"variable":[{"description":{"content":"<p>Trip uuid</p>\n","type":"text/plain"},"type":"any","value":"","key":"trip_id"}]}},"response":[{"id":"539c769c-5a7b-491b-99c5-c58c3e7254a3","name":"Custom Trip Background Upload","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"FILE","type":"file"}]},"url":{"raw":"{{host}}/pub/v1/{{user_id}}/trip-image/:trip_id","host":["{{host}}"],"path":["pub","v1","{{user_id}}","trip-image",":trip_id"],"variable":[{"key":"trip_id","value":""}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n       \"status\": \"000000\",\r\n      \"message\": \"success.\",\r\n     \"data\": {\r\n       \"trip_id\": (string) Trip uuid, //\"ac06468d-87b6-4e1a-8c41-b1a1765d47b4\"\r\n      \"trip_custom_image\": (string) Trip custom image, //\"https://...\"\r\n       \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n   }\r\n}"}],"_postman_id":"73a2a3c8-2ea1-4291-9b16-f090f5a611f8"},{"name":"Delete Custom Trip Background (app)","id":"470afcb2-69cb-412f-9a37-f3f08b9b44f4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"url":"{{host}}/pub/v1/{{user_id}}/trip-image/:trip_id","description":"<p>Allows the user to remove a custom background image associated with a trip</p>\n","urlObject":{"path":["pub","v1","{{user_id}}","trip-image",":trip_id"],"host":["{{host}}"],"query":[],"variable":[{"type":"any","value":"","key":"trip_id"}]}},"response":[{"id":"56977a47-2cdd-4744-bf0d-86a5e698f7ba","name":"Delete Trip Background Upload","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"url":{"raw":"{{host}}/pub/v1/{{user_id}}/trip-image/:trip_id","host":["{{host}}"],"path":["pub","v1","{{user_id}}","trip-image",":trip_id"],"variable":[{"key":"trip_id","value":""}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n     \"status\": \"000000\",\r\n     \"message\": \"success.\",\r\n     \"data\": {\r\n       \"trip_id\": (string) Trip uuid, //\"ac06468d-87b6-4e1a-8c41-b1a1765d47b4\"\r\n      \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n   }\r\n }"}],"_postman_id":"470afcb2-69cb-412f-9a37-f3f08b9b44f4"},{"name":"Synchronize Trips (app & web)","id":"559cc82d-65ee-45d8-b0f7-60241a8feb0c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"},{"key":"x-session","type":"text","value":"{{session}}"}],"body":{"mode":"raw","raw":"{\r\n  \"trips\":[{\r\n  \t\"id\"://TRIP uuid,\r\n  \t \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n  }]\r\n}"},"url":"{{host}}/pub/v1/{{user_id}}/trip-sync","description":"<p>Update trip listing after the app has been offline or trips have been added on the web.</p>\n<div class=\"headers\">\n<div class=\"heading\">VALUES</div>\n<hr />\n\n<div class=\"param row\">\n         <div class=\"param row\">\n           <div class=\"name col-md-3 col-xs-12\">trips</div>\n            <div class=\"value col-md-9 col-xs-12\">[{\"id\"://trip uuid,\"last_update\"://modified date}]</div>\n          </div>\n          \n </div>         \n</div>","urlObject":{"path":["pub","v1","{{user_id}}","trip-sync"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"5484f908-4a5e-41ec-b88e-32240403d590","name":"Synchronize Trips","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"},{"key":"x-session","type":"text","value":"{{session}}"}],"body":{"mode":"raw","raw":"{\r\n  \"trips\":[{\r\n  \t\"id\"://TRIP uuid,\r\n  \t \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n  }]\r\n}"},"url":"{{host}}/pub/v1/{{user_id}}/trip-sync"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":" {\r\n   \"status\": \"000000\",\r\n     \"message\": \"success.\",\r\n   \"data\": {\r\n       \"sync_trips\": [\r\n          {\r\n            \"mobile_id\": (string) Trip ID of App, \r\n            \"trip_id\": (string) Trip uuid, //\"ac06468d-87b6-4e1a-8c41-b1a1765d47b4\"\r\n            \"trip_title\": (string) Trip title, //\"BANGKOK DEMO TRIP\"\r\n           \"trip_route\": (string) Trip route, //\"JKT, SIN\"\r\n            \"trip_start_date\": (integer) Trip start date timestamp, //1451606400\r\n            \"trip_end_date\": (integer) Trip end date timestamp, //1452384000\r\n          \"trip_image\": (string) Trip image, \"https://...\"\r\n           \"trip_custom_image\": (string) Trip custom image, \"https://...\"\r\n          \"trip_items\": [\r\n             {\r\n                \"id\": (string) Trip item uuid, //\"d63c83f7-be82-4f89-a38d-ddd133970519\"\r\n               \"type\": (string) Trip item type, //\"FLIGHT\" see #Notes\r\n               \"mobile_id\": (string) Trip item ID of App, \r\n                \"booking_contact\": (string) Booking contact, //\"+ 662‐356‐1111\"\r\n               \"booking_reference\": (string) Booking reference, //\"445012064\"\r\n              \"booking_total_cost\": (float) Booking total cost, //\"427.30\"\r\n                \"booking_via\": (string) Booking via, // \"Thai Airways\"\r\n                \"booking_website\": (string) Booking website, //\"www.thaiairways.com\"\r\n               \"flight_arrival_airport_lat\": (float) Flight Arrival Airport Latitude, //\"13.681108\"\r\n               \"flight_arrival_airport_long\": (float) Flight Arrival Airport Longitude, //\"100.747283\"\r\n               \"flight_arrival_airport_name\": (string) Flight Arrival Airport Name, //\"BKK\"\r\n               \"flight_arrival_date\": (integer) Flight Arrival Date Timestamp, //1451606400\r\n               \"flight_arrival_gate\": (string) Flight Arrival Gate, //\"2\"\r\n            \"flight_arrival_terminal\": (string) Flight Arrival Terminal, //\"1\"\r\n               \"flight_arrival_time\": (integer) Flight Arrival Time Timestamp, //1516179600\r\n              \"flight_carrier\": (string) Flight Carrier, //\"Thai Airways\"\r\n             \"flight_class\": (string) Flight Class, //\"Economy\"\r\n              \"flight_confirmation\":  (string) Flight Confirmation No, //\"IJ4QPV\"\r\n             \"flight_depature_airport_lat\": (float) Flight Departure Airport Latitude, //\"1.350189\"\r\n            \"flight_depature_airport_long\": (float) Flight Departure Airport Longitude, //\"103.994433\"\r\n             \"flight_depature_airport_name\": (string) Flight Departure Airport Name, //\"SIN\"\r\n              \"flight_depature_date\": (integer) Flight Departure Date Timestamp, //1451606400\r\n              \"flight_depature_gate\": (string) Flight Departure Gate, //\"44\"\r\n              \"flight_depature_terminal\": (string) Flight Departure Terminal, //\"1\"\r\n              \"flight_depature_time\": (integer) Flight Departure Time Timestamp, //1516174800\r\n               \"flight_no\": (string) Flight No, //\"TG 402\"\r\n                \"flight_passenger\": (string) Flight Passenger, //\"Foo Bar\"\r\n              \"flight_seat\": (string) Flight Seat, //\"35K\"\r\n               \"flight_ticket\": (string) Flight Ticket, //\"217 2307543925\"\r\n                \"duration\": (integer) Flight Duration in seconds, //\"8400\"\r\n                \"currency\": (string) Booking currency, //\"SGD\"\r\n        \t\t\"document_box\": (array) Trip documents id,\r\n              \"tz_start\": (string) Start timezone, //\"Asia/Kuala_Lumpur\"\r\n               \"tz_offset_start\": (integer) Offset start timezone in second, //28800\r\n               \"tz_end\": (string)  End timezone, //\"Asia/Jakarta\"\r\n               \"tz_offset_end\": (integer)  Offset end timezone in second, //25200\r\n             },\r\n              ...\r\n           ],\r\n            \"trip_itenerary\": [\r\n            {\r\n                \"id\": (string) Trip item uuid, //\"d63c83f7-be82-4f89-a38d-ddd133970519\"\r\n              \"child_type\": (string) Trip item type, //\"FLIGHT\" see #Notes\r\n              \"start_date\": (integer) Trip item start date timestamp, //1451606400\r\n               \"start_time\": (integer) Trip item start time timestamp, //1516174800\r\n                \"end_date\": (integer) Trip item end date timestamp, //1451606400\r\n              \"end_time\": (integer) Trip item end time timestamp, //1516179600\r\n             },\r\n             ...\r\n            ],\r\n            \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n            \"is_combine\": (boolean) Trip combined, //false\r\n            \"is_demo\": (boolean) Demo trip status, //false\r\n          },\r\n          ...\r\n       ],\r\n      \"deleted_trips\": [\r\n          \"trip_id\": (string) Trip uuid, //\"da230b65-dff5-4973-817a-b19ac4805c67\"\r\n         ...\r\n     ]\r\n   } \r\n}"}],"_postman_id":"559cc82d-65ee-45d8-b0f7-60241a8feb0c"},{"name":"Trip Overview (app)","id":"c078ad7b-7257-44d5-8429-d67fcdd7ebcd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"},{"key":"x-session","type":"text","value":"{{session}}"}],"body":{"mode":"raw","raw":"{\r\n  \"trips\":[]\r\n}"},"url":"{{host}}/pub/v1/{{user_id}}/trip-overview/:timestamp","description":"<p>Shows 5 recent trips based on current date and time</p>\n","urlObject":{"path":["pub","v1","{{user_id}}","trip-overview",":timestamp"],"host":["{{host}}"],"query":[],"variable":[{"description":{"content":"<p>Convert date to integer</p>\n","type":"text/plain"},"type":"any","value":"1541667124","key":"timestamp"}]}},"response":[{"id":"d5d7b358-e952-49f8-9b1f-01032eb954af","name":"Trip Overview","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"},{"key":"x-session","type":"text","value":"{{session}}"}],"body":{"mode":"raw","raw":"{\r\n  \"trips\":[]\r\n}"},"url":{"raw":"{{host}}/pub/v1/{{user_id}}/trip-overview/:timestamp","host":["{{host}}"],"path":["pub","v1","{{user_id}}","trip-overview",":timestamp"],"variable":[{"key":"timestamp","value":"1541667124"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n     \"status\": \"000000\",\r\n      \"message\": \"success.\",\r\n     \"data\": [\r\n       {\r\n         \"mobile_id\": (string) Trip ID of App, \r\n          \"trip_id\": (string) Trip uuid, //\"ac06468d-87b6-4e1a-8c41-b1a1765d47b4\"\r\n          \"trip_title\": (string) Trip title, //\"BANGKOK DEMO TRIP\"\r\n         \"trip_route\": (string) Trip route, //\"JKT, SIN\"\r\n         \"trip_start_date\": (integer) Trip start date timestamp, //1451606400\r\n         \"trip_end_date\": (integer) Trip end date timestamp, //1452384000\r\n          \"trip_image\": (string) Trip image, //\"https://...\"\r\n         \"trip_custom_image\": (string) Trip custom image, //\"https://...\"\r\n          \"is_complete\": (boolean) Has trip items status, //false if trip not across a time\r\n          \"trip_items\": [], //empty if trip not across a time\r\n         \"trip_itenerary\": [], //empty if trip not across a time\r\n         \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n          \"is_combine\": (boolean) Trip combined, //false\r\n         \"is_demo\": (boolean) Demo trip status, //false\r\n        },\r\n        ...\r\n     ],\r\n   \"total\": (integer) Total records, //1\r\n }"}],"_postman_id":"c078ad7b-7257-44d5-8429-d67fcdd7ebcd"}],"id":"b640493a-f95a-4df4-94e0-f016b5961092","description":"<p>Collection to manage trips for a specific user</p>\n<h1 id=\"trip-items\">Trip Items:</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>trip_item_type</th>\n<th>Trip Item Name</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>flight</td>\n<td>Flight</td>\n</tr>\n<tr>\n<td>hotel_ci</td>\n<td>Hotel Check in</td>\n</tr>\n<tr>\n<td>hotel_co</td>\n<td>Hotel Check out</td>\n</tr>\n<tr>\n<td>restaurant</td>\n<td>Restaurant</td>\n</tr>\n<tr>\n<td>appointment</td>\n<td>Meeting</td>\n</tr>\n<tr>\n<td>car_rental</td>\n<td>Car Rental</td>\n</tr>\n<tr>\n<td>coach</td>\n<td>Coach</td>\n</tr>\n<tr>\n<td>cruise</td>\n<td>Cruise/Ferry</td>\n</tr>\n<tr>\n<td>event</td>\n<td>Event</td>\n</tr>\n<tr>\n<td>landtrans</td>\n<td>Land Transport</td>\n</tr>\n<tr>\n<td>poi</td>\n<td>Point of Interest</td>\n</tr>\n<tr>\n<td>sport_event</td>\n<td>Sports Event</td>\n</tr>\n<tr>\n<td>train</td>\n<td>Train</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"id":"fa4c2202-87d8-4863-bc1f-711eb666e889","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"209d32e0-9605-42b3-b18a-4008f07a2dfc","type":"text/javascript","exec":[""]}}],"_postman_id":"b640493a-f95a-4df4-94e0-f016b5961092"},{"name":"DocumentBox","item":[{"name":"Get Document List (app & web)","id":"e52b3649-368c-43c9-81d7-7ac42d01ac68","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"url":"{{host}}/pub/v1/{{user_id}}/docbox","description":"<p>Retrieve list of all user's stored documents</p>\n","urlObject":{"path":["pub","v1","{{user_id}}","docbox"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"3083ff43-c86e-4e47-bee8-256a45f407bd","name":"Documentbox List","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"url":"{{host}}/pub/v1/{{user_id}}/docbox"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n      \"status\": \"000000\",\r\n      \"message\": \"success\",\r\n     \"data\": [\r\n         {\r\n          \"id\": (string) DocumentBox uuid, //\"c714e90e-dc8d-4190-ba69-5fbefb319911\"\r\n          \"title\": (string) DocumentBox title, //\"Default Trip\"\r\n          \"url\": (string) DocumentBox url, //\"http://...\",\r\n         \"file_type\": (string) DocumentBox file type, //\"pdf\"\r\n         \"category\": (string) DocumentBox category, //\"DOCUMENTS\"\r\n         \"created_at\": (integer) DocumentBox created timestamp, //1505372623\r\n         \"is_processed\": (boolean) DocumentBox processed status, //true\r\n         \"is_accessed\": (boolean) DocumentBox accessed status, //false\r\n       \"is_sync\": (boolean) DocumentBox need to sync status, //false\r\n       \"is_attached\": (boolean) DocumentBox attached status, //false\r\n       \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n     },\r\n    ...\r\n  ],\r\n }"}],"_postman_id":"e52b3649-368c-43c9-81d7-7ac42d01ac68"},{"name":"Upload Multiple Document  (app & web)","id":"d6bf546c-8162-4c35-8f0e-c9d9b10c4f0b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"formdata","formdata":[{"key":"FILE","type":"file","value":null}]},"url":"{{host}}/pub/v1/{{user_id}}/docbox/upload/:trip_item_id","description":"<p>Upload multiple documents at once (bulk upload) to the user's DocumentBox</p>\n","urlObject":{"path":["pub","v1","{{user_id}}","docbox","upload",":trip_item_id"],"host":["{{host}}"],"query":[],"variable":[{"type":"any","value":"","key":"trip_item_id"}]}},"response":[{"id":"41102021-8e0f-48ef-9cee-1c58038b565e","name":"Upload Multiple Document  (app & web)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"formdata","formdata":[{"key":"FILE","type":"file"}]},"url":{"raw":"{{host}}/pub/v1/{{user_id}}/docbox/:trip_item_id","host":["{{host}}"],"path":["pub","v1","{{user_id}}","docbox",":trip_item_id"],"variable":[{"description":"Trip Item uuid","key":"trip_item_id","value":""}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n     \"status\": \"000000\",\r\n      \"message\": \"success\",\r\n    \"data\": []\r\n }"}],"_postman_id":"d6bf546c-8162-4c35-8f0e-c9d9b10c4f0b"},{"name":"Assign Document (app & web)","id":"8a1c2e94-f198-408c-ba87-842d9f4e0142","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"trip_docs_id\": [\r\n    (string) DocumentBox uuid, //\"c714e90e-dc8d-4190-ba69-5fbefb319911\",\r\n    ...\r\n   ]\r\n   \"trip_item_id\": (string) Trip item uuid, //\"0d38c02c-6a01-4c57-b29a-572dc5aff30b\"\r\n }"},"url":"{{host}}/pub/v1/{{user_id}}/docbox/assign","description":"<p>Assign a document to a specific trip item.</p>\n<div class=\"headers\">\n<div class=\"heading\">VALUES</div>\n<hr />\n\n<div class=\"param row\">\n         <div class=\"param row\">\n           <div class=\"name col-md-3 col-xs-12\">trip_docs_id</div>\n            <div class=\"value col-md-9 col-xs-12\">[\n    (string) DocumentBox uuid, //\"c714e90e-dc8d-4190-ba69-5fbefb319911\",\n    ...\n   ]</div>\n<div class=\"param row\">\n           <div class=\"name col-md-3 col-xs-12\">trip_item_id</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Trip item uuid, //\"0d38c02c-6a01-4c57-b29a-572dc5aff30b\"</div>\n        \n\n         \n           \n          \n </div>         \n</div>\n</div></div>","urlObject":{"path":["pub","v1","{{user_id}}","docbox","assign"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"7b425e6f-2f75-40ee-a162-6cda9e9f08f3","name":"Assign Documentbox","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"trip_docs_id\": [\r\n    (string) DocumentBox uuid, //\"c714e90e-dc8d-4190-ba69-5fbefb319911\",\r\n    ...\r\n   ]\r\n   \"trip_item_id\": (string) Trip item uuid, //\"0d38c02c-6a01-4c57-b29a-572dc5aff30b\"\r\n }"},"url":"{{host}}/pub/v1/{{user_id}}/docbox/assign"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n   \"status\": \"000000\",\r\n   \"message\": \"success\",\r\n   \"data\": []\r\n}"}],"_postman_id":"8a1c2e94-f198-408c-ba87-842d9f4e0142"},{"name":"Delete Document  (app & web)","id":"6f80c2d9-08f4-4689-868e-6500b5d3eff7","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n   \"documentboxs_id\": [\r\n     (string) DocumentBox uuid, //\"c714e90e-dc8d-4190-ba69-5fbefb319911\"\r\n   ]\r\n }"},"url":"{{host}}/pub/v1/{{user_id}}/docbox/delete","description":"<p>Delete a document from the user's DocumentBox.</p>\n<div class=\"headers\">\n<div class=\"heading\">VALUES</div>\n<hr />\n\n<div class=\"param row\">\n         <div class=\"param row\">\n           <div class=\"name col-md-3 col-xs-12\">documentboxs_id</div>\n            <div class=\"value col-md-9 col-xs-12\">[\n     (string) DocumentBox uuid, //\"c714e90e-dc8d-4190-ba69-5fbefb319911\"\n   ]</div>\n\n        \n\n         \n           \n          \n </div>         \n</div></div>","urlObject":{"path":["pub","v1","{{user_id}}","docbox","delete"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"41420f60-eb16-4602-8f12-abba99555794","name":"Documentbox List","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n   \"documentboxs_id\": [\r\n     (string) DocumentBox uuid, //\"c714e90e-dc8d-4190-ba69-5fbefb319911\"\r\n   ]\r\n }"},"url":"{{host}}/pub/v1/{{user_id}}/docbox/delete"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n   \"status\": \"000000\",\r\n   \"message\": \"success\",\r\n   \"data\": []\r\n }"}],"_postman_id":"6f80c2d9-08f4-4689-868e-6500b5d3eff7"},{"name":"Set Access Document (app)","id":"a56b2ddb-260c-44c9-8578-cea2d0168f55","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"raw","raw":""},"url":"{{host}}/pub/v1/{{user_id}}/docbox/access/:documentbox_id","description":"<p>Grant access to a specific document in the user's DocumentBox</p>\n","urlObject":{"path":["pub","v1","{{user_id}}","docbox","access",":documentbox_id"],"host":["{{host}}"],"query":[],"variable":[{"description":{"content":"<p>Document Box uuid</p>\n","type":"text/plain"},"type":"any","value":"","key":"documentbox_id"}]}},"response":[{"id":"22309557-0e2d-4781-ab0e-a08f5686b58a","name":"Set Access Documentbox","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{host}}/pub/v1/{{user_id}}/docbox/access/:documentbox_id","host":["{{host}}"],"path":["pub","v1","{{user_id}}","docbox","access",":documentbox_id"],"variable":[{"key":"documentbox_id","value":"","description":"Document Box uuid"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":" {\r\n    2   \"status\": \"000000\",\r\n    3   \"message\": \"success\",\r\n    4   \"data\": {\r\n    5     \"id\": (string) DocumentBox uuid, //\"c714e90e-dc8d-4190-ba69-5fbefb319911\"\r\n    6     \"title\": (string) DocumentBox title, //\"Default Trip\"\r\n    7     \"url\": (string) DocumentBox url, //\"http://...\",\r\n    8     \"file_type\": (string) DocumentBox file type, //\"pdf\"\r\n    9     \"category\": (string) DocumentBox category, //\"DOCUMENTS\"\r\n   10     \"created_at\": (integer) DocumentBox created timestamp, //1505372623\r\n   11     \"is_processed\": (boolean) DocumentBox processed status, //true\r\n   12     \"is_accessed\": (boolean) DocumentBox accessed status, //false\r\n   13     \"is_sync\": (boolean) DocumentBox need to sync status, //false\r\n   14     \"is_attached\": (boolean) DocumentBox attached status, //false\r\n   15     \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n   16   }\r\n   17 }"}],"_postman_id":"a56b2ddb-260c-44c9-8578-cea2d0168f55"},{"name":"Set Unsync Document (app)","id":"bdaf37e3-fadf-4f4b-81e3-27f164e178d8","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"docboxs\": [\r\n    (string) DocumentBox uuid, //\"c714e90e-dc8d-4190-ba69-5fbefb319911\",\r\n     ...\r\n   ]\r\n}"},"url":"{{host}}/pub/v1/{{user_id}}/docbox/set-unsync","description":"<p>Set document synching to unsync which removes all documents previously synced.</p>\n<div class=\"headers\">\n<div class=\"heading\">VALUES</div>\n<hr />\n\n<div class=\"param row\">\n         <div class=\"param row\">\n           <div class=\"name col-md-3 col-xs-12\">docboxs</div>\n            <div class=\"value col-md-9 col-xs-12\">[\n     (string) DocumentBox uuid, //\"c714e90e-dc8d-4190-ba69-5fbefb319911\"\n   ]</div>\n\n        \n\n         \n           \n          \n </div>    </div></div>","urlObject":{"path":["pub","v1","{{user_id}}","docbox","set-unsync"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"d3239642-7009-4c34-8c5f-65ec734b02ee","name":"Set UnsyncDocumentbox","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"docboxs\": [\r\n    (string) DocumentBox uuid, //\"c714e90e-dc8d-4190-ba69-5fbefb319911\",\r\n     ...\r\n   ]\r\n}"},"url":"{{host}}/pub/v1/{{user_id}}/docbox/set-unsync"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n  \"status\": \"000000\",\r\n   \"message\": \"success\",\r\n  \"data\": []\r\n }"}],"_postman_id":"bdaf37e3-fadf-4f4b-81e3-27f164e178d8"},{"name":"Share Document (app & web)","id":"59a803c7-e354-4c62-afa5-c49737b486b1","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n   \"documentboxs_id\": (string) DocumentBox uuid, //\"c714e90e-dc8d-4190-ba69-5fbefb319911\",\r\n   \"email\": (string) Destination email address, //\"mail@user.com\"\r\n }"},"url":"{{host}}/pub/v1/{{user_id}}/docbox/share","description":"<p>Share specific document(s) via email.</p>\n<div class=\"headers\">\n<div class=\"heading\">VALUES</div>\n<hr />\n\n<div class=\"param row\">\n         <div class=\"param row\">\n           <div class=\"name col-md-3 col-xs-12\">documentboxs_id</div>\n            <div class=\"value col-md-9 col-xs-12\">[\n     (string) DocumentBox uuid, //\"c714e90e-dc8d-4190-ba69-5fbefb319911\"\n   ]</div>\n<div class=\"param row\">\n           <div class=\"name col-md-3 col-xs-12\">email</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Destination email address, //\"mail@user.com\"</div>    \n\n         \n           \n          \n </div>   </div></div></div>","urlObject":{"path":["pub","v1","{{user_id}}","docbox","share"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"051b1f22-bdce-4fd4-8046-920c8cd23e15","name":"Share Documentbox","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n   \"documentboxs_id\": [\r\n     (string) DocumentBox uuid, //\"c714e90e-dc8d-4190-ba69-5fbefb319911\"\r\n    ],\r\n   \"email\": (string) Destination email address, //\"mail@user.com\"\r\n }"},"url":"{{host}}/pub/v1/{{user_id}}/docbox/share"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n  \"status\": \"000000\",\r\n   \"message\": \"success\",\r\n   \"data\": []\r\n}"}],"_postman_id":"59a803c7-e354-4c62-afa5-c49737b486b1"},{"name":"Sync Document (app & web)","id":"5d10a702-aef5-4e5b-a203-3974f7c87827","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"docboxs\":[\r\n     {\r\n       \"id\": (string) DocumentBox uuid, //\"d714e90e-dc8d-4190-ba69-5fbefb319911\"\r\n      \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n    },\r\n     ...\r\n   ]\r\n}"},"url":"{{host}}/pub/v1/{{user_id}}/docbox/sync","description":"<p>Get documents uploaded when offline or when they were added on the web.</p>\n<div class=\"headers\">\n<div class=\"heading\">VALUES</div>\n<hr />\n\n<div class=\"param row\">\n         <div class=\"param row\">\n           <div class=\"name col-md-3 col-xs-12\">docboxs</div>\n            <div class=\"value col-md-9 col-xs-12\">[\n     {\n       \"id\": (string) DocumentBox uuid, //\"d714e90e-dc8d-4190-ba69-5fbefb319911\"\n      \"last_updated\": (integer) Last updated timestamp, //1509941412\n    },\n     ...\n   ]</div>\n\n        \n\n         \n           \n          \n </div> </div></div>","urlObject":{"path":["pub","v1","{{user_id}}","docbox","sync"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"ac9b506c-7ab2-476a-af32-90e516ae50b4","name":"Sync Documentbox","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n   \"docboxs\":[\r\n     {\r\n       \"id\": (string) DocumentBox uuid, //\"d714e90e-dc8d-4190-ba69-5fbefb319911\"\r\n      \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n    },\r\n    ...\r\n  ]\r\n }"},"url":"{{host}}/pub/v1/{{user_id}}/docbox/sync"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n  \"status\": \"000000\",\r\n   \"message\": \"success\",\r\n   \"data\": {\r\n    \"sync_docboxs\": [\r\n       {\r\n         \"id\": (string) DocumentBox uuid, //\"c714e90e-dc8d-4190-ba69-5fbefb319911\"\r\n         \"title\": (string) DocumentBox title, //\"Default Trip\"\r\n         \"url\": (string) DocumentBox url, //\"http://...\",\r\n         \"file_type\": (string) DocumentBox file type, //\"pdf\"\r\n         \"category\": (string) DocumentBox category, //\"DOCUMENTS\"\r\n         \"created_at\": (integer) DocumentBox created timestamp, //1505372623\r\n           \"is_processed\": (boolean) DocumentBox processed status, //true\r\n           \"is_accessed\": (boolean) DocumentBox accessed status, //false\r\n           \"is_sync\": (boolean) DocumentBox need to sync status, //false\r\n            \"is_attached\": (boolean) DocumentBox attached status, //false\r\n            \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n        },\r\n        ...\r\n       ],\r\n      \"deleted_docboxs\": [\r\n        (string) DocumentBox uuid, //\"d714e90e-dc8d-4190-ba69-5fbefb319911\"\r\n       ...\r\n     ]\r\n   }\r\n }"}],"_postman_id":"5d10a702-aef5-4e5b-a203-3974f7c87827"},{"name":"View Document (web)","id":"cf824f0a-3692-4136-a812-9bd77c20a38a","request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":""},"url":"{{host}}/pub/v1/{{user_id}}/docbox/view/:document_id","description":"<p>View the details of a document in the DocumentBox</p>\n","urlObject":{"path":["pub","v1","{{user_id}}","docbox","view",":document_id"],"host":["{{host}}"],"query":[],"variable":[{"description":{"content":"<p>Document uuid</p>\n","type":"text/plain"},"type":"any","value":"","key":"document_id"}]}},"response":[{"id":"84b90477-e471-4608-83c3-de0ab2b65268","name":"View Documentbox","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"FILE","type":"file"}]},"url":{"raw":"{{host}}/pub/v1/{{user_id}}/docbox/view/:document_id","host":["{{host}}"],"path":["pub","v1","{{user_id}}","docbox","view",":document_id"],"variable":[{"key":"document_id","value":"","description":"Document uuid"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"File URL"}],"_postman_id":"cf824f0a-3692-4136-a812-9bd77c20a38a"}],"id":"244448d6-536c-4419-8925-9f2ef95cfcc4","description":"<p>Collection to manage user's DocumentBox</p>\n","_postman_id":"244448d6-536c-4419-8925-9f2ef95cfcc4"},{"name":"Pre-Travel Check","item":[{"name":"Get Pre-Travel Check List (app & web)","id":"045941d8-1a34-42d5-9189-86e37982f441","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"url":"{{host}}/pub/v1/{{user_id}}/ptc","description":"<p>Retrieve all the PTC requests that have been executed for a specific user</p>\n","urlObject":{"path":["pub","v1","{{user_id}}","ptc"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"72e32600-1018-4eb8-9070-6fe64867c34b","name":"Pre-Travel Check List","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"url":"{{host}}/pub/v1/{{user_id}}/ptc"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n   \"status\": \"000000\",\r\n   \"message\": \"success\",\r\n   \"data\": [\r\n     {\r\n       \"id\": (string), Traveldoc uuid, //\"ba294c28-614d-4dd6-886f-86451eb1a8db\"\r\n       \"mobile_id\": (string) Traveldoc ID of App, \r\n       \"passport_id\": (string) Passport uuid, //\"\"\r\n      \"passport_issuing_country\": (string) Passport issue country, //\"Australia\"\r\n       \"passport_no\": (string) Passport number, //\"\"\r\n       \"passport_expiration\": (integer) Passport expiration timestamp, //1546383600\r\n       \"country_departure\": (string) Departure country, //\"Australia (AUS)\"\r\n       \"country_arrival\": (string) Destination country, //\"France (FRA)\"\r\n       \"arrival_date\": (integer) Arrival date timestamp, //1514847600\r\n       \"departure_date\": (integer) Departure date timestamp, //1514847600\r\n       \"status\": (string) Traveldoc status, //\"None\"\r\n       \"title\": (string) Traveldoc title, //\"\"\r\n       \"level1_messages\": (array) Traveldoc message level 1 result, //[]\r\n       \"level2_messages\": (array) Traveldoc message level 2 result, //[]\r\n       \"level3_messages\": (array) Traveldoc health result, //[]\r\n       \"level4_messages\": (array) Traveldoc customs result, //[]\r\n       \"level5_messages\": (array) Traveldoc other result, //[]\r\n       \"level6_messages\": (array) Passport Validity Check messages, //[]\r\n       \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n       \"requirements\": [\r\n            {\r\n                \"name\": (string) Requirement Name, //\"Entry Restriction\"\r\n                \"status\": (string) Requirement Status, //\"Red/Amber/Green/None\"\r\n                \"message\": (string) Requirement Message, //\"Message Description...\"\r\n            },\r\n            ...\r\n        ],\r\n        \"sherpa_requirements\": [\r\n            {\r\n            \"name\": (string) Requirement Name, //\"Entry Restriction\"\r\n            \"status\": (string) Requirement Status, //\"Red/Amber/Green/None\"\r\n            \"messages\": (array) Requirement Messages, //\"See #Notes ##Sherpa messages\"\r\n            \"country_iso3\": (array) Country Iso3 for Transit, //\"IDN\"\r\n            },\r\n            ...\r\n        ]\r\n     },\r\n     ...\r\n   ]\r\n }"}],"_postman_id":"045941d8-1a34-42d5-9189-86e37982f441"},{"name":"Sync Pre-Travel Check (app)","id":"e27ec2dc-fd0f-4156-9f09-7a70afb7cd69","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":""},"url":"{{host}}/pub/v1/{{user_id}}/ptc-sync","description":"<p>Sync the available PTC information for a specific user.</p>\n<div class=\"headers\">\n<div class=\"heading\">VALUES</div>\n<hr />\n<div class=\"heading\">Sync PTC</div>\n<hr />\n<div class=\"param row\">\n         <div class=\"param row\">\n           <div class=\"name col-md-3 col-xs-12\">id</div>\n            <div class=\"value col-md-9 col-xs-12\"> (string) PTC uuid, //\"da230b65-dff5-4973-817a-b19ac4805c67\"</div>\n          </div>\n           <div class=\"param row\">\n           <div class=\"name col-md-3 col-xs-12\">mobile_id</div>\n            <div class=\"value col-md-9 col-xs-12\"> (string) PTC ID of App,</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">passport_id</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Passport uuid, //\"China\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">passport_issuing_country</div>\n            <div class=\"value col-md-9 col-xs-12\"> (string) Passport issue country, //\"Australia\"</div>\n         </div>\n         <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">passport_no</div>\n            <div class=\"value col-md-9 col-xs-12\"> (string) Passport number, //\"\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">passport_expiration</div>\n            <div class=\"value col-md-9 col-xs-12\"> (integer) Passport expiration timestamp, //1546383600</div>\n          </div>\n           <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">country_departure</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Departure country, //\"Australia (AUS)\"</div>\n          </div>\n           <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">country_arrival</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Destination country, //\"France (FRA)\"</div>\n          </div>\n           <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">arrival_date</div>\n            <div class=\"value col-md-9 col-xs-12\">(integer) Arrival date timestamp, //1472594400</div>\n          </div>\n           <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">departure_date</div>\n            <div class=\"value col-md-9 col-xs-12\">(integer) Departure date timestamp, //1472594400</div>\n          </div>\n           <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">status</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) PTC status, //\"None\"</div>\n          </div>\n           <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">title</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) PTC title, //\"\"</div>\n          </div>\n           <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">level1_messages</div>\n            <div class=\"value col-md-9 col-xs-12\">(array) PTC message level 1 result, //[]</div>\n          </div>\n           <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">level2_messages</div>\n            <div class=\"value col-md-9 col-xs-12\">(array) PTC message level 2 result, //[]</div>\n          </div>\n           <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">level3_messages</div>\n            <div class=\"value col-md-9 col-xs-12\"> (array) PTC health result, //[]</div>\n          </div>\n           <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">level4_messages</div>\n            <div class=\"value col-md-9 col-xs-12\"> (array) PTC customs result, //[]</div>\n          </div>\n           <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">level5_messages</div>\n            <div class=\"value col-md-9 col-xs-12\">(array) PTC other result, //[]</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">last_updated</div>\n            <div class=\"value col-md-9 col-xs-12\">(integer) Departure date timestamp,(integer) Last updated timestamp, //1509941412</div>\n          </div>\n        \n</div>\n<div class=\"heading\">Deleted PTC</div>\n<hr />\n<div class=\"param row\">\n        <div class=\"param row\">\n           <div class=\"name col-md-3 col-xs-12\">id</div>\n            <div class=\"value col-md-9 col-xs-12\"> (string) PTC uuid, //\"da230b65-dff5-4973-817a-b19ac4805c67\"</div>\n          </div>\n</div>\n</div>","urlObject":{"path":["pub","v1","{{user_id}}","ptc-sync"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"d610682c-58c9-4e09-9019-9347ac2dec97","name":"Sync Pre-Travel Check (app)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":"{\r\n      \"traveldocs\":[\r\n        {\r\n          \"id\": (string) Traveldoc uuid, //\"da230b65-dff5-4973-817a-b19ac4805c67\"\r\n          \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n        },\r\n      ...\r\n    ]\r\n}"},"url":"{{host}}/pub/v1/{{user_id}}/ptc-sync"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n     \"status\": \"000000\",\r\n       \"message\": \"success\",\r\n     \"data\": {\r\n       \"sync_traveldocs\": [\r\n          {\r\n           \"id\": (string) Traveldoc uuid, //\"ba294c28-614d-4dd6-886f-86451eb1a8db\"\r\n             \"mobile_id\": (string) Traveldoc ID of App, \r\n            \"passport_id\": (string) Passport uuid, //\"\"\r\n           \"passport_issuing_country\": (string) Passport issue country, //\"Australia\"\r\n            \"passport_no\": (string) Passport number, //\"\"\r\n           \"passport_expiration\": (integer) Passport expiration timestamp, //1546383600\r\n           \"country_departure\": (string) Departure country, //\"Australia (AUS)\"\r\n            \"country_arrival\": (string) Destination country, //\"France (FRA)\"\r\n           \"arrival_date\": (integer) Arrival date timestamp, //1514847600\r\n           \"departure_date\": (integer) Departure date timestamp, //1514847600\r\n           \"status\": (string) Traveldoc status, //\"None\"\r\n           \"title\": (string) Traveldoc title, //\"\"\r\n            \"level1_messages\": (array) Traveldoc message level 1 result, //[]\r\n          \"level2_messages\": (array) Traveldoc message level 2 result, //[]\r\n           \"level3_messages\": (array) Traveldoc health result, //[]\r\n            \"level4_messages\": (array) Traveldoc customs result, //[]\r\n            \"level5_messages\": (array) Traveldoc other result, //[]\r\n            \"level6_messages\": (array) Passport Validity Check messages, //[]\r\n            \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n            \"requirements\": [\r\n                {\r\n                    \"name\": (string) Requirement Name, //\"Entry Restriction\"\r\n                    \"status\": (string) Requirement Status, //\"Red/Amber/Green/None\"\r\n                    \"message\": (string) Requirement Message, //\"Message Description...\"\r\n                },\r\n                ...\r\n            ],\r\n            \"sherpa_requirements\": [\r\n                {\r\n                \"name\": (string) Requirement Name, //\"Entry Restriction\"\r\n                \"status\": (string) Requirement Status, //\"Red/Amber/Green/None\"\r\n                \"messages\": (array) Requirement Messages, //\"See #Notes ##Sherpa messages\"\r\n                \"country_iso3\": (array) Country Iso3 for Transit, //\"IDN\"\r\n                },\r\n                ...\r\n            ]\r\n         },\r\n         ...\r\n       ],\r\n      \"deleted_traveldocs\": [\r\n         \"id\": (string) Traveldoc uuid, //\"da230b65-dff5-4973-817a-b19ac4805c67\"\r\n        ...\r\n      ]\r\n    }\r\n }"}],"_postman_id":"e27ec2dc-fd0f-4156-9f09-7a70afb7cd69"},{"name":"Request Pre-Travel Check (app & web)","id":"5bb6390f-9e8e-47c9-9286-5c03d9b87598","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":"[\r\n     {\r\n          \"passport_id\": (string) Passport uuid, //\"\"\r\n         \"country_of_issue\": (string) Passport issue country, //\"China\"\r\n          \"date_of_expiry\": (integer) Passport expiration timestamp, //1546383600\r\n         \"country_departure\": (string) Departure country, //\"Thailand\"\r\n          \"country_arrival\": (string) Destination country, //\"United States of America\"\r\n          \"arrival_date\": (integer) Arrival date timestamp, //1472594400\r\n          \"departure_date\": (integer) Departure date timestamp, //1472594400\r\n      }\r\n   ]"},"url":"{{host}}/pub/v1/{{user_id}}/ptc","description":"<p>Request for the manual execution of a PTC based on information provided by the user manually.</p>\n<div class=\"headers\">\n<div class=\"heading\">VALUES</div>\n<hr />\n\n<div class=\"param row\">\n         <div class=\"param row\">\n           <div class=\"name col-md-3 col-xs-12\">passport_id</div>\n            <div class=\"value col-md-9 col-xs-12\"> (string) Passport uuid, //\"\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">country_of_issue</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Passport issue country, //\"China\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">date_of_expiry</div>\n            <div class=\"value col-md-9 col-xs-12\">(integer) Passport expiration timestamp, //1546383600</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">country_departure</div>\n            <div class=\"value col-md-9 col-xs-12\"> (string) Departure country, //\"Thailand\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">country_arrival</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Destination country, //\"United States of America\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">arrival_date</div>\n            <div class=\"value col-md-9 col-xs-12\"> (integer) Arrival date timestamp, //1472594400</div>\n          </div>\n           <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">departure_date</div>\n            <div class=\"value col-md-9 col-xs-12\">(integer) Departure date timestamp, //1472594400</div>\n          </div>\n          \n</div></div>","urlObject":{"path":["pub","v1","{{user_id}}","ptc"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"1701e112-019b-4a34-bc70-97d324c95d36","name":"Request Pre-Travel Check (app & web)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":"[\r\n     {\r\n          \"passport_id\": (string) Passport uuid, //\"\"\r\n         \"country_of_issue\": (string) Passport issue country, //\"China\"\r\n          \"date_of_expiry\": (integer) Passport expiration timestamp, //1546383600\r\n         \"country_departure\": (string) Departure country, //\"Thailand\"\r\n          \"country_arrival\": (string) Destination country, //\"United States of America\"\r\n          \"arrival_date\": (integer) Arrival date timestamp, //1472594400\r\n          \"departure_date\": (integer) Departure date timestamp, //1472594400\r\n      }\r\n   ]"},"url":"{{host}}/pub/v1/{{user_id}}/ptc"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n      \"status\": \"000000\",\r\n     \"message\": \"success\",\r\n      \"data\": [\r\n        {\r\n          \"id\": (string), Traveldoc uuid, //\"ba294c28-614d-4dd6-886f-86451eb1a8db\"\r\n          \"mobile_id\": (string) Traveldoc ID of App, \r\n         \"passport_id\": (string) Passport uuid, //\"\"\r\n          \"country_departure\": (string) Departure country, //\"Australia (AUS)\"\r\n         \"country_arrival\": (string) Destination country, //\"France (FRA)\"\r\n        \"arrival_date\": (integer) Arrival date timestamp, //1514847600\r\n          \"departure_date\": (integer) Departure date timestamp, //1514847600\r\n       }\r\n    ]\r\n  }"}],"_postman_id":"5bb6390f-9e8e-47c9-9286-5c03d9b87598"},{"name":"Get Pre-Travel Check Detail (web)","id":"0113984d-2e27-4e18-88da-693669a20a1b","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"url":"{{host}}/pub/v1/{{user_id}}/ptc/:ptc_id","description":"<p>Shows details of an executed PTC</p>\n","urlObject":{"path":["pub","v1","{{user_id}}","ptc",":ptc_id"],"host":["{{host}}"],"query":[],"variable":[{"description":{"content":"<p>Pre-Travel Check uuid</p>\n","type":"text/plain"},"type":"any","value":"","key":"ptc_id"}]}},"response":[{"id":"34c00a69-d370-49e2-ba40-943bd8f03eae","name":"Pre-Travel Check Detail","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"url":{"raw":"{{host}}/pub/v1/{{user_id}}/ptc/:ptc_id","host":["{{host}}"],"path":["pub","v1","{{user_id}}","ptc",":ptc_id"],"variable":[{"key":"ptc_id","value":"","description":"Pre-Travel Check uuid"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n       \"status\": \"000000\",\r\n       \"message\": \"success\",\r\n     \"data\": {\r\n        \"id\": (string), Traveldoc uuid, //\"ba294c28-614d-4dd6-886f-86451eb1a8db\"\r\n        \"mobile_id\": (string) Traveldoc ID of App, \r\n        \"passport_id\": (string) Passport uuid, //\"\"\r\n        \"passport_issuing_country\": (string) Passport issue country, //\"Australia\"\r\n        \"passport_no\": (string) Passport number, //\"\"\r\n        \"passport_expiration\": (integer) Passport expiration timestamp, //1546383600\r\n    \t\"country_departure\": (string) Departure country, //\"Australia (AUS)\"\r\n        \"country_arrival\": (string) Destination country, //\"France (FRA)\"\r\n        \"arrival_date\": (integer) Arrival date timestamp, //1514847600\r\n        \"departure_date\": (integer) Departure date timestamp, //1514847600\r\n        \"status\": (string) Traveldoc status, //\"None\"\r\n        \"title\": (string) Traveldoc title, //\"\"\r\n        \"level1_messages\": (array) Traveldoc message level 1 result, //[]\r\n        \"level2_messages\": (array) Traveldoc message level 2 result, //[]\r\n        \"level3_messages\": (array) Traveldoc health result, //[]\r\n        \"level4_messages\": (array) Traveldoc customs result, //[]\r\n        \"level5_messages\": (array) Traveldoc other result, //[]\r\n        \"level6_messages\": (array) Passport Validity Check messages, //[]\r\n        \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n        \"requirements\": [\r\n            {\r\n                \"name\": (string) Requirement Name, //\"Entry Restriction\"\r\n                \"status\": (string) Requirement Status, //\"Red/Amber/Green/None\"\r\n                \"message\": (string) Requirement Message, //\"Message Description...\"\r\n            },\r\n            ...\r\n        ],\r\n        \"sherpa_requirements\": [\r\n            {\r\n            \"name\": (string) Requirement Name, //\"Entry Restriction\"\r\n            \"status\": (string) Requirement Status, //\"Red/Amber/Green/None\"\r\n            \"messages\": (array) Requirement Messages, //\"See #Notes ##Sherpa messages\"\r\n            \"country_iso3\": (array) Country Iso3 for Transit, //\"IDN\"\r\n            },\r\n            ...\r\n        ]\r\n      }\r\n}"}],"_postman_id":"0113984d-2e27-4e18-88da-693669a20a1b"},{"name":"Delete Pre-Travel Check (app & web)","id":"8c0124fe-f0b6-4654-86b8-f30f88468226","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"url":"{{host}}/pub/v1/{{user_id}}/ptc/:ptc_id","description":"<p>Remove the a specific PTC from the list</p>\n","urlObject":{"path":["pub","v1","{{user_id}}","ptc",":ptc_id"],"host":["{{host}}"],"query":[],"variable":[{"description":{"content":"<p>Pre-Travel Check uuid</p>\n","type":"text/plain"},"type":"any","value":"","key":"ptc_id"}]}},"response":[{"id":"326c838f-679e-4529-8622-d4897d096da5","name":"Delete Pre-Travel Check","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"url":{"raw":"{{host}}/pub/v1/{{user_id}}/ptc/:ptc_id","host":["{{host}}"],"path":["pub","v1","{{user_id}}","ptc",":ptc_id"],"variable":[{"key":"ptc_id","value":"","description":"Pre-Travel Check uuid"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n     \"status\": \"000000\",\r\n     \"message\": \"success\",\r\n     \"data\": []\r\n}"}],"_postman_id":"8c0124fe-f0b6-4654-86b8-f30f88468226"},{"name":"Get Pre-Travel Check Interactive Map (app & web)","id":"0bf38e64-097b-4ada-a5d1-6ba5e9a8105a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"url":"{{host}}/pub/v1/{{user_id}}/ptc/interactive-map?type=android","description":"<p>Retrieve the PTC interactive map url used for webview or iframe</p>\n","urlObject":{"path":["pub","v1","{{user_id}}","ptc","interactive-map"],"host":["{{host}}"],"query":[{"description":{"content":"<p>android/ios/webapp</p>\n","type":"text/plain"},"key":"type","value":"android"}],"variable":[]}},"response":[{"id":"c3accd9d-3f6c-4560-9ecc-a59b8e5d0fb7","name":"Get Pre-Travel Check Interactive Map (app & web)","originalRequest":{"method":"GET","header":[{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"url":{"raw":"{{host}}/pub/v1/{{user_id}}/ptc/interactive-map?type=android","host":["{{host}}"],"path":["pub","v1","{{user_id}}","ptc","interactive-map"],"query":[{"key":"type","value":"android"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 01 Sep 2021 02:38:13 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Vary","value":"Accept-Encoding"},{"key":"x-session","value":"3a562f53db74bc609650224c1629325d90b69ba31c7b8943931553bd3d9ca707"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"000000\",\n    \"message\": \"success\",\n    \"data\": {\n        \"url\": (string) URL used for webview or iframe, //\"https://...\"\n    }\n}"}],"_postman_id":"0bf38e64-097b-4ada-a5d1-6ba5e9a8105a"}],"id":"7eb04869-6770-4e9e-a9ed-4cdb3fbfa437","description":"<p>Collection to unser's pre-travel checks</p>\n<h1 id=\"notes\">Notes</h1>\n<p>Pre-Travel checks are executed automatically in the back end, except for the following scenarios:</p>\n<ul>\n<li>The user's country of residence in his profile equals to arrival country</li>\n<li>The user's citizenship in his profile equals to arrival country</li>\n<li>The user is EU citizen and arrival country is also within the EU</li>\n</ul>\n<h1 id=\"additional-response-data-information\">Additional response data information:</h1>\n<p>Each \"message#_level\" uses format: {\"message\": , \"service_type\": , \"message_status\": }.</p>\n<p>Message level description:</p>\n<ul>\n<li>Level 1 contains messages which are considered the most important and most relevant to the passenger.</li>\n<li>Level 2 contains messages which are less important or less specific to the passenger.</li>\n<li>Level 3 contains health information.</li>\n<li>Level 4 contains customs information.</li>\n<li>Level 5 contains additional information.</li>\n<li>Level 6 contains passport validity check.</li>\n<li>Sherpa Requirements contains latest Covid-19 Advice.</li>\n</ul>\n<p>Message level \"\" field format:</p>\n<ul>\n<li>Level 1 and 2: plain text</li>\n<li>Level 3, 4 and 5: html</li>\n</ul>\n<p>Message level translated on the app:</p>\n<ul>\n<li>Level 1 displayed in \"YOUR PASSPORT\" section</li>\n<li>Level 2 displayed in \"OTHER ENTRY ADVICE\" section</li>\n<li>Level 3 displayed in \"HEALTH\" section</li>\n<li>Level 4 displayed in \"CUSTOMS\" section</li>\n<li>Level 5 is currently not in use</li>\n<li>Level 6 displayed in \"PASSPORT VALIDITY\" section</li>\n<li>Sherpa Requirements displayed in COVID-19 Advice Section</li>\n</ul>\n","event":[{"listen":"prerequest","script":{"id":"258619c1-4ef7-429c-bf5e-b6597d10a8b2","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"0955bf9f-6f6a-4c98-8521-ef3f5cf95201","type":"text/javascript","exec":[""]}}],"_postman_id":"7eb04869-6770-4e9e-a9ed-4cdb3fbfa437"},{"name":"Currencies","item":[{"name":"Get Currencies (app & web)","id":"83847bb4-a8f1-4692-aebb-7bfe515448ec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"url":"{{host}}/pub/v1/currency/codes","description":"<p>Retrieve all available currencies</p>\n","urlObject":{"path":["pub","v1","currency","codes"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"cb91b105-329f-495c-8706-8aacf0848d32","name":"Get Currencies","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"url":"{{host}}/pub/v1/currency/codes"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n  \"status\": \"000000\",\r\n  \"message\": \"success.\",\r\n   \"data\": {\r\n     \"currency_codes\": [\r\n       {\r\n         \"code\": (string) Currency code, //\"AFN\"\r\n       },\r\n      ...\r\n    ],\r\n     \"total\": (integer) total records, //1\r\n     \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n   }\r\n}"}],"_postman_id":"83847bb4-a8f1-4692-aebb-7bfe515448ec"},{"name":"Sync Currency List (app)","id":"d6135e10-0f39-4ee5-a3f6-05c3f3134b1d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"url":"{{host}}/pub/v1/currency/codes/sync?last_updated=123456","description":"<p>Update list with the latest available currencies</p>\n","urlObject":{"path":["pub","v1","currency","codes","sync"],"host":["{{host}}"],"query":[{"description":{"content":"<p>convert date to integer</p>\n","type":"text/plain"},"key":"last_updated","value":"123456"}],"variable":[]}},"response":[{"id":"49c5ed5a-74f9-46a4-841f-36553afd99a3","name":"Sync Currency List","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"url":{"raw":"{{host}}/pub/v1/currency/codes/sync?last_updated=123456","host":["{{host}}"],"path":["pub","v1","currency","codes","sync"],"query":[{"key":"last_updated","value":"123456","description":"convert date to integer"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n   \"status\": \"000000\",\r\n   \"message\": \"success.\",\r\n   \"data\": {\r\n      \"currency_codes\": [\r\n       {\r\n        \"code\": (string) Currency code, //\"AFN\"\r\n       },\r\n       ...\r\n     ],\r\n     \"total\": (integer) total records, //1\r\n     \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n   }\r\n}"}],"_postman_id":"d6135e10-0f39-4ee5-a3f6-05c3f3134b1d"}],"id":"dbb2c780-14a1-46ba-a61d-efb91d1560fe","description":"<p>Collection to retrieve a curated and maintained list of currencies</p>\n","_postman_id":"dbb2c780-14a1-46ba-a61d-efb91d1560fe"},{"name":"Country","item":[{"name":"Get Country List (app & web)","id":"a32d8832-ce8d-408a-b98d-7f89a3a0d914","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"url":"{{host}}/pub/v1/country/all","description":"<p>Retrieve all available countries</p>\n","urlObject":{"path":["pub","v1","country","all"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"f72f2b80-8a16-4d50-b510-8aa48877ae72","name":"Get Country List","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text","disabled":true},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"url":"{{host}}/pub/v1/country/all"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":" {\r\n      \"status\": \"000000\",\r\n      \"message\": \"success.\",\r\n      \"data\": {\r\n       \"countries\": [\r\n          {\r\n           \"code\": (string) Country code, //\"AU\"\r\n           \"name\": (string) Country name, //\"Australia\"\r\n           \"full_name\": (string) Country full name, //\"Commonwealth of Australia\"\r\n        \"iso3\": (string) Country iso3 code, //\"AUS\"\r\n         \"number\": (integer) Country number, //36\r\n         \"continent_code\": (string) Country continent code, //\"OC\"\r\n          \"display_order\": (integer) Order number, //15\r\n       },\r\n       ...\r\n     ],\r\n     \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n   }\r\n }"}],"_postman_id":"a32d8832-ce8d-408a-b98d-7f89a3a0d914"},{"name":"Sync Country List (app)","id":"684622b7-be6c-4ba1-b41c-7787f644a83c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"url":"{{host}}/pub/v1/country/sync?last_updated=123456","description":"<p>Update list with the latest available countries</p>\n","urlObject":{"path":["pub","v1","country","sync"],"host":["{{host}}"],"query":[{"description":{"content":"<p>date to integer</p>\n","type":"text/plain"},"key":"last_updated","value":"123456"}],"variable":[]}},"response":[{"id":"de10c3cb-fae8-42c3-88e4-6f5a87578db1","name":"Sync Country List","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}","disabled":true},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"url":{"raw":"{{host}}/pub/v1/country/sync?last_updated=123456","host":["{{host}}"],"path":["pub","v1","country","sync"],"query":[{"key":"last_updated","value":"123456","description":"date to integer"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":" {\r\n      \"status\": \"000000\",\r\n     \"message\": \"success.\",\r\n      \"data\": {\r\n        \"countries\": [\r\n          {\r\n            \"code\": (string) Country code, //\"AU\"\r\n            \"name\": (string) Country name, //\"Australia\"\r\n            \"full_name\": (string) Country full name, //\"Commonwealth of Australia\"\r\n           \"iso3\": (string) Country iso3 code, //\"AUS\"\r\n            \"number\": (integer) Country number, //36\r\n           \"continent_code\": (string) Country continent code, //\"OC\"\r\n          \"display_order\": (integer) Order number, //15\r\n       },\r\n      ...\r\n    ],\r\n     \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n   }\r\n }"}],"_postman_id":"684622b7-be6c-4ba1-b41c-7787f644a83c"}],"id":"aecc5a1f-6f43-4ae1-986e-a73f20056507","description":"<p>Collection to retrieve a curated and maitained list of countries</p>\n","_postman_id":"aecc5a1f-6f43-4ae1-986e-a73f20056507"},{"name":"Airlines","item":[{"name":"Get Airlines List (app & web)","id":"6e9bc9d8-21e4-4565-bac8-ac00cd6ffdb8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"url":"{{host}}/pub/v1/airline/list","description":"<p>Retrieve all available airlines</p>\n","urlObject":{"path":["pub","v1","airline","list"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"36b2bcb2-d6e8-41c1-8379-155d55df92bd","name":"Get Airlines List","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}","disabled":true},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"url":"{{host}}/pub/v1/airline/list"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n      \"status\": \"000000\",\r\n     \"message\": \"success.\",\r\n     \"data\": {\r\n       \"airlines\": [\r\n          {\r\n            \"iata\": (string) Airline iata code, //\"0B\"\r\n            \"name\": (string) Airline name, //\"Blue Air\"\r\n        },\r\n       ...\r\n     ],\r\n     \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n     \"total\": (integer) total records, //1\r\n   }\r\n }"}],"_postman_id":"6e9bc9d8-21e4-4565-bac8-ac00cd6ffdb8"},{"name":"Sync Airlies List (app)","id":"e41400e4-4316-401a-91d8-c99b147929df","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"url":"{{host}}/pub/v1/airline/sync?last_updated=date","description":"<p>Updates list with the latest available airlines</p>\n","urlObject":{"path":["pub","v1","airline","sync"],"host":["{{host}}"],"query":[{"description":{"content":"<p>date to integer</p>\n","type":"text/plain"},"key":"last_updated","value":"date"}],"variable":[]}},"response":[{"id":"25bcc08c-adfa-4747-9cec-34be213ba254","name":"Sync Airlies List","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}","disabled":true},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"url":{"raw":"{{host}}/pub/v1/airline/sync?last_updated=date","host":["{{host}}"],"path":["pub","v1","airline","sync"],"query":[{"key":"last_updated","value":"date","description":"date to integer"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n       \"status\": \"000000\",\r\n      \"message\": \"success.\",\r\n      \"data\": {\r\n         \"airlines\": [\r\n           {\r\n            \"iata\": (string) Airline iata code, //\"0B\"\r\n             \"name\": (string) Airline name, //\"Blue Air\"\r\n          },\r\n          ...\r\n        ],\r\n      \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n      \"total\": (integer) total records, //1\r\n   }\r\n }"}],"_postman_id":"e41400e4-4316-401a-91d8-c99b147929df"}],"id":"b8b25efb-7073-4132-9ef2-dc8c7d4ee76a","description":"<p>Collection to retrieve a curated and maintained list of airlines and their code</p>\n","_postman_id":"b8b25efb-7073-4132-9ef2-dc8c7d4ee76a"},{"name":"Airport","item":[{"name":"Get Airport List (app & web)","id":"a63ecbb0-9b7b-48d7-9d2f-df4f367c816c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"url":"{{host}}/pub/v1/airport/all","description":"<p>Retrieve all available airports</p>\n","urlObject":{"path":["pub","v1","airport","all"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"be77756a-9517-49f1-b164-3aeac76b9770","name":"Get Airport List","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}","disabled":true},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"url":"{{host}}/pub/v1/airport/all"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n     \"status\": \"000000\",\r\n      \"message\": \"success.\",\r\n      \"data\": {\r\n        \"airports\": [\r\n          {\r\n            \"id_server\": (integer) Airport ID, //7930\r\n            \"airport\": (string) Airport name, //\"Domodedovo\"\r\n             \"city\": (string) Airport city, //\"Moscow\"\r\n            \"country\": (string) Airport country, //\"Russian Federation\"\r\n            \"background\": (string) Airport image, //\"https://..\"\r\n            \"iata\": (string) Airport IATA code, //\"DME\"\r\n            \"lat\": (float) Airport latitude, //\"55.442\"\r\n           \"longi\": (float) Airport longitude, //\"37.763\"\r\n           \"timezone\": (string) Airport timezone, //\"Europe/Moscow\"\r\n          },\r\n          ...\r\n       ],\r\n      \"last_update\": (integer) Last update of record, //1459852447\r\n   }\r\n }"}],"_postman_id":"a63ecbb0-9b7b-48d7-9d2f-df4f367c816c"},{"name":"Sync Airport List (app)","id":"f876ac7c-064f-40ef-9d70-3fec4063571e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"url":"{{host}}/pub/v1/airport/sync?last_updated=123456","description":"<p>Update list with the latest available airports</p>\n","urlObject":{"path":["pub","v1","airport","sync"],"host":["{{host}}"],"query":[{"description":{"content":"<p>date to integer</p>\n","type":"text/plain"},"key":"last_updated","value":"123456"}],"variable":[]}},"response":[{"id":"4a531557-a2e3-439e-993a-7a9b9c8f0277","name":"Sync Airport List","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"url":{"raw":"{{host}}/pub/v1/airport/sync?last_updated=123456","host":["{{host}}"],"path":["pub","v1","airport","sync"],"query":[{"key":"last_updated","value":"123456","description":"date to integer"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":" {\r\n       \"status\": \"000000\",\r\n      \"message\": \"success.\",\r\n      \"data\": [\r\n        {\r\n          \"id_server\": (integer) Airport ID, //7930\r\n          \"airport\": (string) Airport name, //\"Domodedovo\"\r\n          \"city\": (string) Airport city, //\"Moscow\"\r\n          \"country\": (string) Airport country, //\"Russian Federation\"\r\n          \"background\": (string) Airport image, //\"https://..\"\r\n         \"iata\": (string) Airport IATA code, //\"DME\"\r\n       \"lat\": (float) Airport latitude, //\"55.442\"\r\n       \"longi\": (float) Airport longitude, //\"37.763\"\r\n      \"timezone\": (string) Airport timezone, //\"Europe/Moscow\"\r\n     },\r\n     ...\r\n   ]\r\n }"}],"_postman_id":"f876ac7c-064f-40ef-9d70-3fec4063571e"}],"id":"4ced3c9c-da60-4db2-bcda-08b398f7a927","description":"<p>Collection to retrieve a curated and maintained list of airports</p>\n","_postman_id":"4ced3c9c-da60-4db2-bcda-08b398f7a927"},{"name":"Flight Stats","item":[{"name":"Get Flight Schedule (app & web)","id":"6a455f3f-0e5c-44e0-80af-417ad7545820","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":" {\r\n     \"flight_no\": (string) Flight Number, //\"AA123\"\r\n     \"departure_date\": (integer) Departure date timestamp, //1516254574\r\n }"},"url":"{{host}}/pub/v1/flightstats-service/schedules","description":"<p>Get Flight schedule information.</p>\n<div class=\"headers\">\n<div class=\"heading\">VALUES</div>\n<hr />\n\n<div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">flight_no</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Flight Number, //\"AA123\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">departure_date</div>\n            <div class=\"value col-md-9 col-xs-12\">(integer) Departure date timestamp, //1516254574</div>\n          </div>\n          \n          \n</div>\n\n","urlObject":{"path":["pub","v1","flightstats-service","schedules"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"bb5ffa58-5670-4dcc-b0fd-dc596e049af4","name":"Get Flight Schedule","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"raw","raw":" {\r\n     \"flight_no\": (string) Flight Number, //\"AA123\"\r\n     \"departure_date\": (integer) Departure date timestamp, //1516254574\r\n }"},"url":"{{host}}/pub/v1/flightstats-service/schedules"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n       \"status\": \"000000\",\r\n      \"message\": \"success\",\r\n      \"data\": {\r\n        \"carrier\": (string) Flight Carrier, //\"American Airlines\"\r\n        \"departure\": {\r\n          \"datetime\": (integer) Departure datetime timestamp, //1505459400\r\n         \"airport\": (string) Departure airport code, \"DFW\"\r\n          \"latitude\": (float) Departure airport latitude, //32.897462\r\n          \"longitude\": (float) Departure airport longitude, //-97.036128\r\n         \"terminal\": (string) Departure terminal, //\"D\"\r\n        },\r\n        \"arrival\": {\r\n        \"datetime\": (integer) Arrival datetime timestamp, //1505472180\r\n          \"airport\": (string) Arrival airport code, \"HNL\"\r\n          \"latitude\": (float) Arrival airport latitude, //21.325833\r\n         \"longitude\": (float) Arrival airport longitude, //-157.921667\r\n         \"terminal\": (string) Arrival terminal, //\"E\"\r\n       }\r\n    }\r\n}"}],"_postman_id":"6a455f3f-0e5c-44e0-80af-417ad7545820"}],"id":"36ff8689-c69b-4aea-b427-8679dd269f3c","_postman_id":"36ff8689-c69b-4aea-b427-8679dd269f3c","description":""},{"name":"Share Trip","item":[{"name":"Share Trip via Email (app & web)","id":"d35afd3f-6f72-45d8-8834-2bc9598e6a1c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"url":"{{host}}/pub/v1/{{user_id}}/share-trip/:trip_id/email?email=example@email.com","description":"<p>Share trip by adding an email address that will receive the itinerary.</p>\n","urlObject":{"path":["pub","v1","{{user_id}}","share-trip",":trip_id","email"],"host":["{{host}}"],"query":[{"description":{"content":"<p>Receiver</p>\n","type":"text/plain"},"key":"email","value":"example@email.com"}],"variable":[{"description":{"content":"<p>Trip uuid</p>\n","type":"text/plain"},"type":"any","value":"","key":"trip_id"}]}},"response":[{"id":"0799e9d4-0a3b-4e5c-9760-d26255506d9f","name":"Share Trip via Email","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"url":{"raw":"{{host}}/pub/v1/{{user_id}}/share-trip/:trip_id/email?email=example@email.com","host":["{{host}}"],"path":["pub","v1","{{user_id}}","share-trip",":trip_id","email"],"query":[{"key":"email","value":"example@email.com","description":"Receiver"}],"variable":[{"key":"trip_id","value":"","description":"Trip uuid"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n      \"status\": \"000000\",\r\n      \"message\": \"success.\",\r\n     \"data\": [\r\n       {\r\n         \"id\": (string) Help id, //\"d810aa5b-e62f-4755-8a18-17c18e73f07b\"\r\n          \"title\": (string) Help title, //\"What is the ...\"\r\n          \"description\": (string) Help description, //\"Please refer ...\"\r\n         \"created_at\": (integer) Help created timestamp, //1442465139\r\n         \"updated_at\": (integer) Help updated timestamp, //1442465139\r\n       },\r\n        ...\r\n      ]\r\n }"}],"_postman_id":"d35afd3f-6f72-45d8-8834-2bc9598e6a1c"},{"name":"Share Trip via Social Media (app & web)","id":"846d7c91-2dba-48e1-9ccc-8ed50ba2a5bb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"url":"{{host}}/pub/v1/{{user_id}}/share-trip/:trip_id/social-media","description":"<p>Share trip using social media.</p>\n","urlObject":{"path":["pub","v1","{{user_id}}","share-trip",":trip_id","social-media"],"host":["{{host}}"],"query":[],"variable":[{"description":{"content":"<p>Trip uuid</p>\n","type":"text/plain"},"type":"any","value":"","key":"trip_id"}]}},"response":[{"id":"3a7fe3c2-16a5-4b4d-9367-09a4f963386d","name":"Share Trip via Social Media","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"url":{"raw":"{{host}}/pub/v1/{{user_id}}/share-trip/:trip_id/social_media","host":["{{host}}"],"path":["pub","v1","{{user_id}}","share-trip",":trip_id","social_media"],"variable":[{"description":"Trip uuid","key":"trip_id","value":""}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n      \"status\": \"000000\",\r\n      \"message\": \"success.\",\r\n       \"data\": {\r\n        \"text\": (string) Social media text with trip url, //\"I would like to share my itinerary with you: ...\"\r\n        \"url\": (string) Shared Trip url, //\"http://..\"\r\n    }\r\n}"}],"_postman_id":"846d7c91-2dba-48e1-9ccc-8ed50ba2a5bb"}],"id":"718046eb-4c81-4830-8df7-fd78bf8a0b7a","description":"<p>Collection for users to be able to share trip details</p>\n","_postman_id":"718046eb-4c81-4830-8df7-fd78bf8a0b7a"},{"name":"Sync Tracker","item":[{"name":"Sync Tracker (app)","id":"5261aff6-6032-4efc-8f17-647505b70647","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n      \"id\": (integer) Notification sync id, //123\r\n       \"device_id\": (string) Device id, //\"968d776a0aed85309d10\"\r\n      \"type\": (string) Sync status type, //\"completed\" or \"received\"\r\n}"},"url":"{{host}}/pub/v1/sync-track","description":"<p>For check whether app already “received“ and “completed“ background sync, api will stop send retry background sync notification if app send “completed“ status.</p>\n<div class=\"headers\">\n<div class=\"heading\">VALUES</div>\n<hr />\n\n<div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">id</div>\n            <div class=\"value col-md-9 col-xs-12\">(integer) Notification sync id, //123</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">device_id</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Device id, //\"968d776a0aed85309d10\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">type</div>\n            <div class=\"value col-md-9 col-xs-12\"> (string) Sync status type, //\"completed\" or \"received\"</div>\n          </div>\n          \n</div>\n\n","urlObject":{"path":["pub","v1","sync-track"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"d536d3f7-f3ec-47ee-8da5-f26c0f106f3f","name":"Sync Tracker","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n      \"id\": (integer) Notification sync id, //123\r\n       \"device_id\": (string) Device id, //\"968d776a0aed85309d10\"\r\n      \"type\": (string) Sync status type, //\"completed\" or \"received\"\r\n}"},"url":"{{host}}/pub/v1/sync-track"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n       \"status\": \"000000\",\r\n     \"message\": \"success.\",\r\n      \"data\": []\r\n }"}],"_postman_id":"5261aff6-6032-4efc-8f17-647505b70647"}],"id":"da7885c5-9f45-43c6-9938-93a164086528","_postman_id":"da7885c5-9f45-43c6-9938-93a164086528","description":""},{"name":"Immigration","item":[{"name":"Get Immigration List  (app & web)","id":"5c61966a-ae70-416a-a9ca-3097feff836e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"url":"{{host}}/pub/v1/{{user_id}}/immigration","description":"<p>Retrieve immmigration information based on the next upcoming flight information in the itinerary</p>\n","urlObject":{"path":["pub","v1","{{user_id}}","immigration"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"04db0ab1-77b1-4f6b-9208-5ab228b73006","name":"Get Immigration List  (app & web)","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"url":"{{host}}/pub/v1/immigration"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n     \"status\": \"000000\",\r\n     \"message\": \"success.\",\r\n      \"data\": {\r\n       \"immigrations\": [\r\n          {\r\n           \"id\": (string) Immigration uuid, //\"783f3f47-2f0e-4f90-80cb-62cf8b327059\"\r\n            \"mobile_id\": (string) Profile ID of App,\r\n             \"trip_id\": (string) Trip uuid, //\"ac06468d-87b6-4e1a-8c41-b1a1765d47b4\"\r\n            \"trip_item_id\": (string) Trip item uuid, //\"5880eb7c-97c0-4adc-817c-6111444e2cff\"\r\n           \"destination_country\": (string) Immigration country, //\"Singapore\"\r\n           \"passport_no\": (string) Passport Number, //\"AA15454\"\r\n            \"passport_place_of_issue\": (string) Passport place of issue, //\"Singapore\"\r\n            \"passport_issue_date\": (integer) Passport issue date timestamp, //1516233600\r\n          \"passport_expiry_date\": (integer) Passport expiry date timestamp, //1516233600\r\n           \"arrival_date\": (integer) Arrival date timestamp, //1452455700\r\n          \"arrival_place\": (string) Last of embarkation, //\"Bangkok, Thailand\"\r\n            \"arrival_flight_no\": (string) Flight number, //\"TG 409\"\r\n           \"visit_address\": (string) Visiting address, //\"Singapore\"\r\n            \"departure_date\": (integer) Departure date timestamp, //1516261200\r\n            \"immediate_destination\": (string) Immediate destination, //\"Bangkok, Thailand\"\r\n            \"departure_flight_no\": (string) Departure flight number, \"TG402\"\r\n         },\r\n         ...\r\n        ],\r\n        \"total\": (integer) Total records, //1\r\n     }\r\n }"}],"_postman_id":"5c61966a-ae70-416a-a9ca-3097feff836e"},{"name":"Get Immigration Detail (web)","id":"327c33a7-0837-4d8f-b73c-4693b1eb6986","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"url":"{{host}}/pub/v1/{{user_id}}/immigration/:trip_id/:trip_item_id","description":"<p>Retrieve immmigration information based on the next upcoming flight information in the itinerary</p>\n","urlObject":{"path":["pub","v1","{{user_id}}","immigration",":trip_id",":trip_item_id"],"host":["{{host}}"],"query":[],"variable":[{"description":{"content":"<p>Trip uuid</p>\n","type":"text/plain"},"type":"any","value":"","key":"trip_id"},{"description":{"content":"<p>Trip Item uuid</p>\n","type":"text/plain"},"type":"any","value":"","key":"trip_item_id"}]}},"response":[{"id":"623f6f49-39e6-46f7-89e5-d75963ba2b25","name":"Get Immigration Detail (web)","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"url":{"raw":"{{host}}/pub/v1/immigration/:trip_id/:trip_item_id","host":["{{host}}"],"path":["pub","v1","immigration",":trip_id",":trip_item_id"],"variable":[{"key":"trip_id","value":"","description":"Trip uuid"},{"key":"trip_item_id","value":"","description":"Trip Item uuid"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": \"000000\",\r\n     \"message\": \"success.\",\r\n     \"data\": {\r\n        \"id\": (string) Immigration uuid, //\"783f3f47-2f0e-4f90-80cb-62cf8b327059\"\r\n       \"mobile_id\": (string) Profile ID of App,\r\n       \"trip_id\": (string) Trip uuid, //\"ac06468d-87b6-4e1a-8c41-b1a1765d47b4\"\r\n        \"trip_item_id\": (string) Trip item uuid, //\"5880eb7c-97c0-4adc-817c-6111444e2cff\"\r\n        \"destination_country\": (string) Immigration country, //\"Singapore\"\r\n       \"passport_no\": (string) Passport Number, //\"AA15454\"\r\n      \"passport_place_of_issue\": (string) Passport place of issue, //\"Singapore\"\r\n     \"passport_issue_date\": (integer) Passport issue date timestamp, //1516233600\r\n      \"passport_expiry_date\": (integer) Passport expiry date timestamp, //1516233600\r\n       \"arrival_date\": (integer) Arrival date timestamp, //1452455700\r\n       \"arrival_place\": (string) Last of embarkation, //\"Bangkok, Thailand\"\r\n       \"arrival_flight_no\": (string) Flight number, //\"TG 409\"\r\n       \"visit_address\": (string) Visiting address, //\"Singapore\"\r\n       \"departure_date\": (integer) Departure date timestamp, //1516261200\r\n       \"immediate_destination\": (string) Immediate destination, //\"Bangkok, Thailand\"\r\n      \"departure_flight_no\": (string) Departure flight number, \"TG402\"\r\n     }\r\n  }"}],"_postman_id":"327c33a7-0837-4d8f-b73c-4693b1eb6986"},{"name":"Update Immigration Detail (web)","id":"448326d9-6bce-4aab-b320-e514e447c025","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":"{\r\n      \"destination_country\": (string) Immigration country, //\"Singapore\"\r\n     \"passport_no\": (string) Passport Number, //\"AA15454\"\r\n      \"passport_place_of_issue\": (string) Passport place of issue, //\"Singapore\"\r\n      \"passport_issue_date\": (integer) Passport issue date timestamp, //1516233600\r\n      \"passport_expiry_date\": (integer) Passport expiry date timestamp, //1516233600\r\n     \"arrival_date\": (integer) Arrival date timestamp, //1452455700\r\n      \"arrival_place\": (string) Last of embarkation, //\"Bangkok, Thailand\"\r\n      \"arrival_flight_no\": (string) Flight number, //\"TG 409\"\r\n     \"visit_address\": (string) Visiting address, //\"Singapore\"\r\n     \"departure_date\": (integer) Departure date timestamp, //1516261200\r\n     \"immediate_destination\": (string) Immediate destination, //\"Bangkok, Thailand\"\r\n     \"departure_flight_no\": (string) Departure flight number, \"TG402\"\r\n }"},"url":"{{host}}/pub/v1/{{user_id}}/immigration/:trip_id/:trip_item_id","description":"<p>Update immigration infromation.</p>\n<div class=\"headers\">\n<div class=\"heading\">VALUES</div>\n<hr />\n\n<div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">destination_country</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Immigration country, //\"Singapore\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">passport_no</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Passport Number, //\"AA15454\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">passport_place_of_issue</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Passport place of issue, //\"Singapore\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">passport_issue_date</div>\n            <div class=\"value col-md-9 col-xs-12\">(integer) Passport issue date timestamp, //1516233600</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">passport_expiry_date</div>\n            <div class=\"value col-md-9 col-xs-12\">(integer) Passport expiry date timestamp, //1516233600</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">arrival_date</div>\n            <div class=\"value col-md-9 col-xs-12\">(integer) Arrival date timestamp, //1452455700</div>\n          </div>\n           <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">arrival_place</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Last of embarkation, //\"Bangkok, Thailand\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">arrival_flight_no</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Flight number, //\"TG 409\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">visit_address</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Visiting address, //\"Singapore\"</div>\n          </div>\n           <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">departure_date</div>\n            <div class=\"value col-md-9 col-xs-12\">(integer) Departure date timestamp, //1516261200</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">immediate_destination</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Immediate destination, //\"Bangkok, Thailand\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">departure_flight_no</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Departure flight number, \"TG402\"</div>\n          </div>\n</div>\n","urlObject":{"path":["pub","v1","{{user_id}}","immigration",":trip_id",":trip_item_id"],"host":["{{host}}"],"query":[],"variable":[{"description":{"content":"<p>Trip uuid</p>\n","type":"text/plain"},"type":"any","value":"","key":"trip_id"},{"description":{"content":"<p>Trip Item uuid</p>\n","type":"text/plain"},"type":"any","value":"","key":"trip_item_id"}]}},"response":[{"id":"9f238576-76c6-4187-874d-2372c5be7bf7","name":"Update Immigration Detail (web)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":"{\r\n      \"destination_country\": (string) Immigration country, //\"Singapore\"\r\n     \"passport_no\": (string) Passport Number, //\"AA15454\"\r\n      \"passport_place_of_issue\": (string) Passport place of issue, //\"Singapore\"\r\n      \"passport_issue_date\": (integer) Passport issue date timestamp, //1516233600\r\n      \"passport_expiry_date\": (integer) Passport expiry date timestamp, //1516233600\r\n     \"arrival_date\": (integer) Arrival date timestamp, //1452455700\r\n      \"arrival_place\": (string) Last of embarkation, //\"Bangkok, Thailand\"\r\n      \"arrival_flight_no\": (string) Flight number, //\"TG 409\"\r\n     \"visit_address\": (string) Visiting address, //\"Singapore\"\r\n     \"departure_date\": (integer) Departure date timestamp, //1516261200\r\n     \"immediate_destination\": (string) Immediate destination, //\"Bangkok, Thailand\"\r\n     \"departure_flight_no\": (string) Departure flight number, \"TG402\"\r\n }"},"url":{"raw":"{{host}}/pub/v1/immigration/:trip_id/:trip_item_id","host":["{{host}}"],"path":["pub","v1","immigration",":trip_id",":trip_item_id"],"variable":[{"key":"trip_id","value":"","description":"Trip uuid"},{"key":"trip_item_id","value":"","description":"Trip Item uuid"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":" {\r\n      \"status\": \"000000\",\r\n      \"message\": \"success.\",\r\n      \"data\": {\r\n       \"id\": (string) Immigration uuid, //\"783f3f47-2f0e-4f90-80cb-62cf8b327059\"\r\n        \"mobile_id\": (string) Profile ID of App,\r\n       \"trip_id\": (string) Trip uuid, //\"ac06468d-87b6-4e1a-8c41-b1a1765d47b4\"\r\n        \"trip_item_id\": (string) Trip item uuid, //\"5880eb7c-97c0-4adc-817c-6111444e2cff\"\r\n       \"destination_country\": (string) Immigration country, //\"Singapore\"\r\n       \"passport_no\": (string) Passport Number, //\"AA15454\"\r\n       \"passport_place_of_issue\": (string) Passport place of issue, //\"Singapore\"\r\n       \"passport_issue_date\": (integer) Passport issue date timestamp, //1516233600\r\n       \"passport_expiry_date\": (integer) Passport expiry date timestamp, //1516233600\r\n       \"arrival_date\": (integer) Arrival date timestamp, //1452455700\r\n       \"arrival_place\": (string) Last of embarkation, //\"Bangkok, Thailand\"\r\n       \"arrival_flight_no\": (string) Flight number, //\"TG 409\"\r\n       \"visit_address\": (string) Visiting address, //\"Singapore\"\r\n       \"departure_date\": (integer) Departure date timestamp, //1516261200\r\n        \"immediate_destination\": (string) Immediate destination, //\"Bangkok, Thailand\"\r\n       \"departure_flight_no\": (string) Departure flight number, \"TG402\"\r\n      }\r\n }"}],"_postman_id":"448326d9-6bce-4aab-b320-e514e447c025"}],"id":"f94710e4-4bcc-4493-9e53-fbf03f10d100","description":"<p>Collection to manage immigration information</p>\n","_postman_id":"f94710e4-4bcc-4493-9e53-fbf03f10d100"},{"name":"Notification","item":[{"name":"Get Notification List (app & web)","id":"9c0c6df2-9393-4db0-bc8c-ab58cdcf6479","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-session","value":"{{session}}","type":"text"},{"key":"x-client-id","value":"{{client_id}}","type":"text"},{"key":"x-client-secret","value":"{{client_secret}}","type":"text"}],"url":"{{host}}/pub/v1/{{user_id}}/notification","description":"<p>Retrieve all available sent notifications</p>\n","urlObject":{"path":["pub","v1","{{user_id}}","notification"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"68050e5f-113c-45f2-bd33-daa7ba661fd4","name":"Get Notification List (app & web)","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"url":"{{host}}/pub/v1/notification"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n      \"status\": \"000000\",\r\n      \"message\": \"success.\",\r\n       \"data\": [\r\n        {\r\n          \"header\": (string) Notification category, //\"SHARE\"\r\n          \"notification\": [\r\n            {\r\n              \"id\": (string) Notification uuid, \"399981be-43dc-4b13-9afd-c222edfd1a08\"\r\n             \"title\": (string) Notification title, //\"Referral Program\"\r\n             \"message\": (string) Notification title, //\"Lorem ipsum dolor sit amet ...\",\r\n            \"trip_id\": (string) Trip uuid,\r\n             \"type\": (string) Notification type, //\"referral\"\r\n              \"url\": (string) Notificaiton scheme url, //\"https..\",\r\n              \"message_date\": (integer) Notification date timestamp, //1516185784,\r\n             \"is_read\": (boolean) Notification read status, //false\r\n            \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n           },\r\n           ...\r\n        ]\r\n     },\r\n       ...\r\n    ]\r\n }"}],"_postman_id":"9c0c6df2-9393-4db0-bc8c-ab58cdcf6479"},{"name":"Update Notification Read Status (app & web)","id":"ab135e63-4bd3-43a6-911f-af0195037c21","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"url":"{{host}}/pub/v1/{{user_id}}/notification/read","description":"<p>Updates the read status of a notification</p>\n","urlObject":{"path":["pub","v1","{{user_id}}","notification","read"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"f6715085-057f-4a24-b04a-275e871bb027","name":"Update Notification Read Status (app & web)","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"url":"{{host}}/pub/v1/notification/read"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n      \"status\": \"000000\",\r\n      \"message\": \"success.\",\r\n       \"data\": [\r\n       {\r\n           \"header\": (string) Notification category, //\"SHARE\"\r\n           \"notification\": [\r\n             {\r\n             \"id\": (string) Notification uuid, \"399981be-43dc-4b13-9afd-c222edfd1a08\"\r\n            \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n          },\r\n           ...\r\n          ]\r\n       },\r\n      ...\r\n   ]\r\n }"}],"_postman_id":"ab135e63-4bd3-43a6-911f-af0195037c21"},{"name":"Sync Notification List (app & web)","id":"8dfd8df9-82ec-4525-96c9-535eb113ba69","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":"{\r\n      \"notifications\":[\r\n        {\r\n         \"id\": (string) Notification uuid, \"399981be-43dc-4b13-9afd-c222edfd1a08\"\r\n         \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n       },\r\n        ...\r\n     ]\r\n}"},"url":"{{host}}/pub/v1/{{user_id}}/notification-sync","description":"<p>Sync notfications after app was offline and/or data was updated in the web.</p>\n<div class=\"headers\">\n<div class=\"heading\">VALUES</div>\n<hr />\n\n<div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">id</div>\n            <div class=\"value col-md-9 col-xs-12\">(string) Notification uuid, \"399981be-43dc-4b13-9afd-c222edfd1a08\"</div>\n          </div>\n          <div class=\"param row\">\n            <div class=\"name col-md-3 col-xs-12\">last_updated</div>\n            <div class=\"value col-md-9 col-xs-12\">(integer) Last updated timestamp, //1509941412</div>\n          </div>\n         \n          \n</div>\n","urlObject":{"path":["pub","v1","{{user_id}}","notification-sync"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"9b2a08f3-f1ec-42c5-86ed-3921a0dabe26","name":"Sync Notification List (app & web)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":"{\r\n      \"notifications\":[\r\n        {\r\n         \"id\": (string) Notification uuid, \"399981be-43dc-4b13-9afd-c222edfd1a08\"\r\n         \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n       },\r\n        ...\r\n     ]\r\n}"},"url":"{{host}}/pub/v1/notification-sync"},"_postman_previewlanguage":null,"header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": \"000000\",\r\n    \"message\": \"success.\",\r\n     \"data\": {\r\n      \"sync_notifications\": [\r\n        {\r\n          \"header\": (string) Notification category, //\"SHARE\"\r\n           \"notification\": [\r\n             {\r\n               \"id\": (string) Notification uuid, \"399981be-43dc-4b13-9afd-c222edfd1a08\"\r\n              \"title\": (string) Notification title, //\"Referral Program\"\r\n              \"message\": (string) Notification title, //\"Lorem ipsum dolor sit amet ...\",\r\n               \"trip_id\": (string) Trip uuid,\r\n              \"type\": (string) Notification type, //\"referral\"\r\n              \"url\": (string) Notificaiton scheme url, //\"https..\",\r\n               \"message_date\": (integer) Notification date timestamp, //1516185784,\r\n               \"is_read\": (boolean) Notification read status, //false\r\n              \"last_updated\": (integer) Last updated timestamp, //1509941412\r\n              },\r\n              ...\r\n          ]\r\n         },\r\n        ...\r\n        ],\r\n      \"deleted_notifications\": [\r\n         (string) Notification uuid, \"399981be-43dc-4b13-9afd-c222edfd1a08\"\r\n         ...\r\n      ]\r\n     }\r\n}"}],"_postman_id":"8dfd8df9-82ec-4525-96c9-535eb113ba69"},{"name":"Delete Notification (app & web)","id":"80c86847-e2d0-4a51-a602-ac8915df3f03","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"url":"{{host}}/pub/v1/{{user_id}}/notification/:notification_id","description":"<p>Remove specific notification(s) from the list</p>\n","urlObject":{"path":["pub","v1","{{user_id}}","notification",":notification_id"],"host":["{{host}}"],"query":[],"variable":[{"description":{"content":"<p>Notification uuid</p>\n","type":"text/plain"},"type":"any","value":"","key":"notification_id"}]}},"response":[{"id":"06fee2e1-bcf7-4b97-89a3-e84add6a7b81","name":"Delete Notification (app & web)","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-session","type":"text","value":"{{session}}"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"url":{"raw":"{{host}}/pub/v1/notification/:notification_id","host":["{{host}}"],"path":["pub","v1","notification",":notification_id"],"variable":[{"key":"notification_id","value":"","description":"Notification uuid"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n        \"status\": \"000000\",\r\n        \"message\": \"success.\"\r\n }"}],"_postman_id":"80c86847-e2d0-4a51-a602-ac8915df3f03"}],"id":"9d712eca-8aa5-48ef-a67a-29ce6c840b9a","description":"<p>Collection to manage notifications shown as alerts to the user after they have been sent via mobile or desktop push notifications</p>\n","_postman_id":"9d712eca-8aa5-48ef-a67a-29ce6c840b9a"},{"name":"Travel Advice","item":[{"name":"Travel Advice Status (standalone)","id":"711855fd-4cc9-4bb7-bbc0-9917dfaefb4f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":"{\r\n    \"origin_country\": (string) Origin Country iso3 code, //\"SGP\"\r\n    \"origin_region\": (string) Origin Region code, //\"\"\r\n    \"destination_country\": (string) Destination Country iso3 code, //\"GBR\"\r\n    \"destination_region\": (string) Destination Region code, //\"GB-ENG\"\r\n    \"travel_date\": (string) Travel Date (YYYY-MM-DD), //\"2021-08-30\"\r\n    \"filter\": (string) Filter, //\"travel_open\",\"travel_and_test\",\"travel_and_quarantine\",\"covid_test\",\"no_covid_test\",\"quarantine\",\"no_quarantine\",\"restricted\",\"no_restricted\",\"all\"\r\n    \"vaccinated\": (boolean) Fully Vaccinated status, //false or true\r\n    \"language\": (string) Language iso code, //\"en\",\"de\",\"fr\",\"it\"\r\n}"},"url":"{{host}}/pub/v1/travel-advice/status","description":"<p>Get travel advices status: <a href=\"https://portal.travelerbuddy.com/travel-advice-map\">https://portal.travelerbuddy.com/travel-advice-map</a></p>\n","urlObject":{"path":["pub","v1","travel-advice","status"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"f59c4ed8-d180-48a5-a09b-9340383f8314","name":"Travel Advice Status (standalone)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":"{\r\n    \"origin_country\": (string) Origin Country iso3 code, //\"SGP\"\r\n    \"origin_region\": (string) Origin Region code, //\"\"\r\n    \"destination_country\": (string) Destination Country iso3 code, //\"GBR\"\r\n    \"destination_region\": (string) Destination Region code, //\"GB-ENG\"\r\n    \"travel_date\": (string) Travel Date (YYYY-MM-DD), //\"2021-08-30\"\r\n    \"filter\": (string) Filter, //\"travel_open\",\"travel_and_test\",\"travel_and_quarantine\",\"covid_test\",\"no_covid_test\",\"quarantine\",\"no_quarantine\",\"restricted\",\"no_restricted\",\"all\"\r\n    \"vaccinated\": (boolean) Fully Vaccinated status, //false or true\r\n    \"language\": (string) Language iso code, //\"en\",\"de\",\"fr\",\"it\"\r\n}"},"url":"{{host}}/pub/v1/travel-advice/status"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 31 Aug 2021 04:01:57 GMT"},{"key":"Server","value":"Apache/2.4.35 (Win32) OpenSSL/1.1.1d mod_fcgid/2.3.10-dev"},{"key":"X-Powered-By","value":"PHP/7.4.4"},{"key":"x-session","value":""},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"000000\",\n    \"message\": \"success\",\n    \"data\": [\n        {\n            \"country\": (string) Country iso3 code, //\"GBR\"\n            \"region\": (string) Region code, //\"GB-ENG\"\n            \"entry_restriction\": {\n                \"status\": (string) Status, //\"Red\",\"Amber\" or \"Green\"\n                \"label\": (string) Label, //\"Not Restricted\"\n            },\n            \"covid_19_test\": {\n                \"status\": (string) Status, //\"Red\",\"Amber\" or \"Green\" \n                \"label\": (string) Label, //\"Required\"\n                \"recommended\": (boolean) Recommended status, //true or false\n            },\n            \"quarantine\": {\n                \"status\": (string) Status, //\"Red\",\"Amber\" or \"Green\" \n                \"label\": (string) Label, //\"Required\"\n                \"recommended\": (boolean) Recommended status, //true or false\n            },\n            \"vaccination\": {\n                \"status\": (string) Status, //\"Red\",\"Amber\" or \"Green\" \n                \"label\": (string) Label, //\"Required\"\n                \"recommended\": (boolean) Recommended status, //true or false\n            }\n        },\n        ...\n    ]\n}"}],"_postman_id":"711855fd-4cc9-4bb7-bbc0-9917dfaefb4f"},{"name":"Travel Advice Detail (standalone)","id":"b3041d13-12a7-4be1-ba64-1b64e9e4b184","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":"{\r\n    \"first_name\": (string) User First Name, //\"Foo\"\r\n    \"last_name\": (string) User Last Name, //\"Bar\"\r\n    \"email_address\": (string) User Email Address, //\"foobar@mail.com\"\r\n    \"nationality\": (string) Nationality Country iso3 code, //\"SGP\"\r\n    \"residence_country\": (string) Residence Country iso3 code, //\"SGP\"\r\n    \"vaccinated\": (boolean) Fully Vaccinated status, //false or true\r\n    \"language\": (string) Language iso code, //\"en\",\"de\",\"fr\",\"it\"\r\n    \"trips\": (array) Trips segments [\r\n        {\r\n            \"origin_country\": (string) Origin Country iso3 code, //\"SGP\"\r\n            \"origin_region\": (string) Origin Region code, //\"\"\r\n            \"destination_country\": (string) Destination Country iso3 code, //\"GBR\"\r\n            \"destination_region\": (string) Destination Region code, //\"GB-ENG\"\r\n            \"departure_date\": (string) Departure Date (YYYY-MM-DD), //\"2021-08-30\"\r\n            \"return_date\": (string) Return Date (YYYY-MM-DD), //\"2021-08-31\"\r\n            \"departure_airline\": (string) Departure Airline iata code, //\"TR\"\r\n            \"return_airline\": (string) Return Airline iata code, //\"BA\"\r\n            \"transit_countries\": [ (array) Transit countries iso3 code\r\n                (string) Transit country iso3 code, //\"DEU\"\r\n                ...\r\n            ]\r\n        },\r\n        ...\r\n    ],\r\n    \"travel_histories\": (array) Travel History [\r\n        {\r\n            \"country\": (string) Travel History country iso3 code, //\"CHE\",\r\n            \"start\": (string) Travel History Start Date (YYYY-MM-DD), //\"2021-08-20\"\r\n            \"end\": (string) Travel History End Date (YYYY-MM-DD), //\"2021-08-21\"\r\n        },\r\n        ...\r\n    ],\r\n    \"travel_documents\": (array) Travel Documents [\r\n        {\r\n            \"type\": (string) Travel Document type, //\"visa\" or \"passport\",\r\n            \"country\": (string) Travel Document issuing country iso3 code, //\"SGP\",\r\n            \"expire_date\": (string) Travel Document Expire Date (YYYY-MM-DD), //\"2021-12-31\"\r\n        },\r\n        ...\r\n    ]\r\n}"},"url":"{{host}}/pub/v1/travel-advice/detail","description":"<p>Get travel advices detail: <a href=\"https://portal.travelerbuddy.com/travel-advice\">https://portal.travelerbuddy.com/travel-advice</a></p>\n","urlObject":{"path":["pub","v1","travel-advice","detail"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"169dcd7a-cf77-46f3-bbcc-8b90a5291270","name":"Travel Advice Detail (standalone)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-client-id","type":"text","value":"{{client_id}}"},{"key":"x-client-secret","type":"text","value":"{{client_secret}}"}],"body":{"mode":"raw","raw":"{\r\n    \"first_name\": (string) User First Name, //\"Foo\"\r\n    \"last_name\": (string) User Last Name, //\"Bar\"\r\n    \"email_address\": (string) User Email Address, //\"foobar@mail.com\"\r\n    \"nationality\": (string) Nationality Country iso3 code, //\"SGP\"\r\n    \"residence_country\": (string) Residence Country iso3 code, //\"SGP\"\r\n    \"vaccinated\": (boolean) Fully Vaccinated status, //false or true\r\n    \"language\": (string) Language iso code, //\"en\",\"de\",\"fr\",\"it\"\r\n    \"trips\": (array) Trips segments [\r\n        {\r\n            \"origin_country\": (string) Origin Country iso3 code, //\"SGP\"\r\n            \"origin_region\": (string) Origin Region code, //\"\"\r\n            \"destination_country\": (string) Destination Country iso3 code, //\"GBR\"\r\n            \"destination_region\": (string) Destination Region code, //\"GB-ENG\"\r\n            \"departure_date\": (string) Departure Date (YYYY-MM-DD), //\"2021-08-30\"\r\n            \"return_date\": (string) Return Date (YYYY-MM-DD), //\"2021-08-31\"\r\n            \"departure_airline\": (string) Departure Airline iata code, //\"TR\"\r\n            \"return_airline\": (string) Return Airline iata code, //\"BA\"\r\n            \"transit_countries\": [ (array) Transit countries iso3 code\r\n                (string) Transit country iso3 code, //\"DEU\"\r\n                ...\r\n            ]\r\n        },\r\n        ...\r\n    ],\r\n    \"travel_histories\": (array) Travel History [\r\n        {\r\n            \"country\": (string) Travel History country iso3 code, //\"CHE\",\r\n            \"start\": (string) Travel History Start Date (YYYY-MM-DD), //\"2021-08-20\"\r\n            \"end\": (string) Travel History End Date (YYYY-MM-DD), //\"2021-08-21\"\r\n        },\r\n        ...\r\n    ],\r\n    \"travel_documents\": (array) Travel Documents [\r\n        {\r\n            \"type\": (string) Travel Document type, //\"visa\" or \"passport\",\r\n            \"country\": (string) Travel Document issuing country iso3 code, //\"SGP\",\r\n            \"expire_date\": (string) Travel Document Expire Date (YYYY-MM-DD), //\"2021-12-31\"\r\n        },\r\n        ...\r\n    ]\r\n}"},"url":"{{host}}/pub/v1/travel-advice/detail"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 30 Aug 2021 10:37:47 GMT"},{"key":"Server","value":"Apache/2.4.35 (Win32) OpenSSL/1.1.1d mod_fcgid/2.3.10-dev"},{"key":"X-Powered-By","value":"PHP/7.4.4"},{"key":"x-session","value":""},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"000000\",\n    \"message\": \"success\",\n    \"data\": [\n        {\n            \"type\": (string) Segment type, //\"arrival\" or \"return\",\n            \"origin_country\": (string) Origin Country iso3 code, //\"SGP\"\n            \"origin_region\": (string) Origin Region code, //null\n            \"destination_country\": (string) Destination Country iso3 code, //\"GBR\"\n            \"destination_region\": (string) Destination Region Code, //\"GB-ENG\"\n            \"date\": (string) Trip Date (YYYY-MM-DD), //\"2021-08-30\"\n            \"overall\": { \n                \"status\": (string) Overall entry restriction status, //\"Red\",\"Amber\" or \"Green\" \n                \"status_label\": (string) Overall entry restriction label, //\"Not Restricted\"\n                \"description\": (string) Overall entry restriction description, //\"Based on your travel history...\"\n            },\n            \"validity\": (array) Validity results [\n                {\n                    \"name\": (string) Validity name, //\"passport_validity\" or \"visa_validity\"\n                    \"title\": (string) Validity title, //\"Passport Validity\"\n                    \"status\": (string) Validity status, //\"Red\",\"Amber\" or \"Green\" \n                    \"status_label\": (string) Validity status label, //\"Invalid\"\n                    \"messages\": (array) Validity messages [\n                        (html string) Validity message, //\"You must have a passport...\"\n                        ...\n                    ]\n                },\n                ...\n            ],\n            \"restrictions\": (array) Restrictions result [\n                {\n                    \"name\": (string) Restriction name, //\"entry_restriction\",\"transit\",\"exit_restriction\"\n                    \"title\": (string) Restriction title, //\"Entry Restriction\"\n                    \"country\": (string) Restriction country iso3 code, //\"GBR\"\n                    \"status\": (string) Restriction status, //\"Red\",\"Amber\" or \"Green\" \n                    \"status_label\": (string) Restriction status label, //\"Partially Restricted\"\n                    \"components\": (array) Components Result [\n                        {\n                            \"category\": (string) Category, //\"ENTRY\",\"BEFORE_ARRIVAL\",\"ON_ARRIVAL\",...\n                            \"title\": (string) Title, //\"Entry restricted for ...\"\n                            \"description\": (string) Description, //\"Most travelers from ...\",\n                            \"travel_history\": (array) Travel History countries [\n                                (string) Travel History country iso3 code, //DEU\n                                ...\n                            ],\n                            \"selected_countries\": (array) Selected countries [\n                                (string) Selected country iso3 code, //AFG\n                                ...\n                            ],\n                            \"testing_types\": (array) Testing Type [\n                                {\n                                    \"medical_requirement_type\": (string) Medical Requirement Type, //\"PCR_TEST\",\"ANTIGEN_TEST\",...\n                                    \"condition\": (string) Condition, //\"BEFORE_DEPARTURE\",\"BEFORE_FINAL_BOARDING\",...\n                                    \"type\": (string) Condition time type, //\"HOURS\",\"DAYS\",...\n                                    \"value\": (integer) Condition time, //72\n                                },\n                                ...\n                            ],\n                            \"additional_details\": (array) Additional Details [\n                                (html string) Additional Detail Description, //\"Entry restrictions...\"\n                                ...\n                            ],\n                            \"additional_links\": (array) Additional Links [\n                                {\n                                    \"title\": (string) Title, //\"Get the NHS app\"\n                                    \"url\": (string) URL, //\"https://www.nhs.uk/nhs-app/\"\n                                },\n                                ...\n                            ],\n                            \"source\": (array) Source links[\n                                {\n                                    \"title\": (string) Title, //\"Singapore Government Agency\"\n                                    \"url\": (string) URL, //\"https://www.ica.gov.sg/covid-19\"\n                                },\n                                ...\n                            ],\n                            \"last_updated\": (string) Last Updated Date (YYYY-MM-DD), //\"2021-08-27\"\n                        },\n                        ...\n                    ],\n                    \"messages\": (array) Fallback messages if components not available [\n                        (html string) Messages, //\"<div>Flights from the following...\"\n                        ...\n                    ]\n                },\n                ...\n            ],\n            \"requirements\":  (array) Requirements result [\n                {\n                    \"name\": (string) Requirement name, //\"health_declaration\",\"mask\",\"covid_19_test\",\"quarantine\",\"authorization\",\"insurance\",\"vaccination\",\"health_regulations\",\"customs\"\n                    \"title\": (string) Requirement title, //\"Health Declaration\"\n                    \"country\": (string) Requirement country iso3 code, //\"GBR\"\n                    \"status\": (string) Requirement status, //\"Red\",\"Amber\" or \"Green\" \n                    \"status_label\": (string) Requirement status label, //\"Required\"\n                    \"components\": (array) Components Result [\n                        {\n                            \"category\": (string) Category, //\"ENTRY\",\"BEFORE_ARRIVAL\",\"ON_ARRIVAL\",...\n                            \"title\": (string) Title, //\"Mandatory health declaration...\"\n                            \"description\": (string) Description, //\"All travellers, except for ...\",\n                            \"travel_history\": (array) Travel History countries [\n                                (string) Travel History country iso3 code, //DEU\n                                ...\n                            ],\n                            \"selected_countries\": (array) Selected countries [\n                                (string) Selected country iso3 code, //AFG\n                                ...\n                            ],\n                            \"testing_types\": (array) Testing Type [\n                                {\n                                    \"medical_requirement_type\": (string) Medical Requirement Type, //\"PCR_TEST\",\"ANTIGEN_TEST\",...\n                                    \"condition\": (string) Condition, //\"BEFORE_DEPARTURE\",\"BEFORE_FINAL_BOARDING\",...\n                                    \"type\": (string) Condition time type, //\"HOURS\",\"DAYS\",...\n                                    \"value\": (integer) Condition time, //72\n                                },\n                                ...\n                            ],\n                            \"additional_details\": (array) Additional Details [\n                                (html string) Additional Detail Description, //\"Travellers can submit...\"\n                                ...\n                            ],\n                            \"additional_links\": (array) Additional Links [\n                                {\n                                    \"title\": (string) Title, //\"Get the NHS app\"\n                                    \"url\": (string) URL, //\"https://www.nhs.uk/nhs-app/\"\n                                },\n                                ...\n                            ],\n                            \"source\": (array) Source links[\n                                {\n                                    \"title\": (string) Title, //\"Singapore Government Agency\"\n                                    \"url\": (string) URL, //\"https://www.ica.gov.sg/covid-19\"\n                                },\n                                ...\n                            ],\n                            \"last_updated\": (string) Last Updated Date (YYYY-MM-DD), //\"2021-08-27\"\n                        },\n                        ...\n                    ],\n                    \"messages\": (array) Fallback messages if components not available [\n                        (html string) Messages, //\"<div>Flights from the following...\"\n                        ...\n                    ]\n                },\n                ...\n            ],\n            \"government_links\": (array) Government Links [\n                {\n                    \"title\": (string) Title, //\"Government COVID-19 Information\"\n                    \"url\": (string) URL, //\"https://www.gov.uk/uk-border-control\"\n                },\n                ...\n            ],\n            \"airline_links\": [\n                {\n                    \"type\": (string) Airline segment type, //\"origin\" or \"destination\"\n                    \"title\": (string) Title, //\"SIA Cargo\"\n                    \"url\": (string) URL, //\"https://www.singaporeair.com/en_UK/sg/travel-info/covid-19/\"\n                    \"national_carrier\": (boolean) National carrier status, //true or false\n                },\n                ...\n            ]\n        },\n        ...\n    ]\n}"}],"_postman_id":"b3041d13-12a7-4be1-ba64-1b64e9e4b184"}],"id":"a3620d2b-6330-4a41-95dd-164de15d2311","_postman_id":"a3620d2b-6330-4a41-95dd-164de15d2311","description":""}],"event":[{"listen":"prerequest","script":{"id":"337dd2d7-2a76-45b6-888a-ea48df8243bb","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"67bda111-a98b-40a0-b8a8-41960bdefa5d","type":"text/javascript","exec":[""]}}]}