To add a new Popular destination click on “Add New PopularDestination” and fill in the fields.
LocationID
To get location id you need to follow nexts steps:
Open Swagger in a new tab : https://demo.softwaretravel.net/gptp/stat/swagger/index.html#!/Authorization/GET_authorization
Enter API key, companyCodeOrAlias, login, password. Then press “Try it out” button.
In the “Response Body” copy token
Paste the tocen into the filled and click on “Explore”
4. Choose Get/Locations method
5. Into the “limitCountries” field enter “-1” → press “Try it out” button
6. In the response body choose the country and copy “id”. Also you can find here Country Code (iso2Code value)
7. To proceed paste “id” into “paretntId” field” → Into the “limitCities” field enter “-1” → press “Try it out” button . Choose a city to be displayed as a Popular Destination and copy city “id”.
Country Code
See spet 6.
Image
To uploade an image click “Add” → “Add more assets”
There is 2 ways to upload your image: from computer or from url.
When all the steps are dome make sure that field”OnHomePage is switched ON
You can create as many entries as you want.
Now the Popular destination will be displayed on your website: