Locations
Last updated
Was this helpful?
Last updated
Was this helpful?
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
Retrieve all Locations configured in the organization Role: Location Manager, Organization Manager Scope: organization_read
/v1/organizations/{cid}/locations
id of the organization (aka tenant)
Filter by a tag or a list of tags comma separated
List locations belongs to an organization Scope: organization_read
/v1/locations/{lid}
Location id
Add a new location Read https://create.cloud4wi.com/dev-hub/api-reference/getting-started/locations for details Role: Organization Manager Scope: organization_write
/v1/organizations/{cid}/locations
id of the organization (aka tenant)
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
Update a location Role: Organization Manager Scope: organization_write
/v1/organizations/{cid}/locations/{lid}
id of the organization (aka tenant)
id of the location
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
Delete a location Role: Organization Manager Scope: organization_write
/v1/organizations/{cid}/locations/{lid}
id of the organization (aka tenant)
id of the location