To add a new Popular destination click on “Add New PopularDestination” and fill in the fields.
...
LocationID and Country Code
To get location id (city id) and Country Code 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 token into the filled following field 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 step 6.
If it needed to display country flag near city name it is necessary to enter Country Code in non-capital letters:
...
⬇ ⬇ ⬇
...
Image
To uploade upload 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 done make sure that field”OnHomePage is switched ON:
...
You can create as many entries as you want.
...