Locations represent the physical places where you deploy Devices.
To use the Create Location API the following parameters are mandatory:
locationProfileId
welcomePortalId
loginProfileId
These parameters can be extracted in the following ways:
locationProfileId
In Cloud4Wi dashboard follow the path:
Manage -> Location Profiles -> *Select the Location Profile of interest
welcomePortalId
In Cloud4Wi dashboard follow the path
Guest WiFi -> Splash Pages -> *Select the Splash Page of interest
loginProfileId
In Cloud4Wi dashboard follow the path
Guest WiFi -> Login Profiles -> *Select the Login Profile of interest
In Cloud4wi dashboard follow the path
Guest Wifi -> Internet Plans -> *Select the Internet Plan of interest
Delete a location Role: Organization Manager Scope: organization_write
id of the organization (aka tenant)
id of the location
Response
Update a location Role: Organization Manager Scope: organization_write
id of the organization (aka tenant)
id of the location
desc
valid category: other, consumer electronics, sports center, fast food, disco, pools, bar, ice cream, piano bar, underwear, cinema, computers, footwear, gyms, sandwich, sporting goods, hairstyle, public administration, phone, hotels, pizzeria, coffee, restaurants, clothing, pub
country code as ISO 3166-1 alpha-2.
Response
new tags added
Add a new location Read https://create.cloud4wi.com/dev-hub/api-reference/getting-started/locations for details Role: Organization Manager Scope: organization_write
id of the organization (aka tenant)
desc
In format "Europe/Rome"
country code as ISO 3166-1 alpha-2.
valid category: other, consumer electronics, sports center, fast food, disco, pools, bar, ice cream, piano bar, underwear, cinema, computers, footwear, gyms, sandwich, sporting goods, hairstyle, public administration, phone, hotels, pizzeria, coffee, restaurants, clothing, pub
internet plan id at organization level
Response
new tags added
List locations belongs to an organization Scope: organization_read
Location id
Array with the list of Locations
location id
location name
organization id
latitude
longitude
location's time zone
address
city
state/province/region
zip/postal code
country
Retrieve all Locations configured in the organization Role: Location Manager, Organization Manager Scope: organization_read
id of the organization (aka tenant)
Filter by a tag or a list of tags comma separated
Array with the list of Locations
location id
location name
organization id
latitude
longitude
location's time zone
address
city
state/province/region
zip/postal code
country