# Locations

**Locations** represent the physical places where you deploy Devices.&#x20;

{% openapi src="<https://developers.cloud4wi.com/api-explore-inspector/api-explore.yml>" path="/v1/organizations/{cid}/locations" method="get" %}
<https://developers.cloud4wi.com/api-explore-inspector/api-explore.yml>
{% endopenapi %}

{% openapi src="<https://developers.cloud4wi.com/api-explore-inspector/api-explore.yml>" path="/v1/locations/{lid}" method="get" %}
<https://developers.cloud4wi.com/api-explore-inspector/api-explore.yml>
{% endopenapi %}

{% openapi src="<https://developers.cloud4wi.com/api-explore-inspector/api-explore.yml>" path="/v1/organizations/{cid}/locations" method="post" %}
<https://developers.cloud4wi.com/api-explore-inspector/api-explore.yml>
{% endopenapi %}

{% openapi src="<https://developers.cloud4wi.com/api-explore-inspector/api-explore.yml>" path="/v1/organizations/{cid}/locations/{lid}" method="put" %}
<https://developers.cloud4wi.com/api-explore-inspector/api-explore.yml>
{% endopenapi %}

{% openapi src="<https://developers.cloud4wi.com/api-explore-inspector/api-explore.yml>" path="/v1/organizations/{cid}/locations/{lid}" method="delete" %}
<https://developers.cloud4wi.com/api-explore-inspector/api-explore.yml>
{% endopenapi %}

###

### Required input parameters

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

<figure><img src="https://1632826344-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZC71ybPNbeW962p3rDkK%2Fuploads%2Fp5183ZgWbC7e7yKTztrG%2Flocation-profile-id.PNG?alt=media&#x26;token=4c640656-3e90-465a-a771-dde88d3d82cd" alt=""><figcaption></figcaption></figure>

#### `welcomePortalId`

In Cloud4Wi dashboard follow the path

Guest WiFi -> Splash Pages -> \*Select the Splash Page of interest

<figure><img src="https://1632826344-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZC71ybPNbeW962p3rDkK%2Fuploads%2FVXiRO521qWfwVhlAhJW9%2Fwelcome-portal-id.PNG?alt=media&#x26;token=ca429d0d-1fd3-432b-9c9f-c208e1c96b49" alt=""><figcaption></figcaption></figure>

#### `loginProfileId`

In Cloud4Wi dashboard follow the path

Guest WiFi -> Login Profiles -> \*Select the Login Profile of interest

<figure><img src="https://1632826344-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZC71ybPNbeW962p3rDkK%2Fuploads%2FaDqZ7eR8pD2ufLMUULsV%2Flogin-profile-id.PNG?alt=media&#x26;token=20641111-82d1-48fe-b32f-35c6171367d9" alt=""><figcaption></figcaption></figure>

#### organizationPlanId

In Cloud4wi dashboard follow the path

`Guest Wifi -> Internet Plans -> *Select the Internet Plan of interest`

<figure><img src="https://1632826344-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZC71ybPNbeW962p3rDkK%2Fuploads%2Fig4XnFefdADgY2WSZI3W%2ForganizationPlanId.PNG?alt=media&#x26;token=c0f3652e-9b39-42cf-9130-4fb2f1b51ee6" alt=""><figcaption></figcaption></figure>
