# Device environments

Each device in system is created with specific environment, this enables to behave sessions related to given device in certain ways.

List of system defined device environments:

<table><thead><tr><th width="201">Environment name</th><th width="323">Description</th><th width="238.33333333333334" data-type="checkbox">Is sale environment</th></tr></thead><tbody><tr><td><code>BackOffice</code></td><td>Used for PORTOS BackOffice application.</td><td>false</td></tr><tr><td><code>CashRegister</code></td><td>Used for PORTOS Cash register application (PORTOS Pokladňa)</td><td>true</td></tr><tr><td><code>PDA</code></td><td>Used for PORTOS Mobile cashier smartphone application (PORTOS Mobilný čašník)</td><td>true</td></tr><tr><td><code>Tool</code></td><td>Used for all other devices, such as PORTOS Link.</td><td>false</td></tr></tbody></table>

## Sale environment

`CashRegister` and `PDA` environments are so called "*sale environments*".

Sale environments are specific in several ways:

* each "sale environment" device can hold up to one active session at the time. That means, if user is authenticated in cash register device and another request for authorization on same device is invoked, the earlier session is terminated by API.&#x20;
* some API actions (mainly related to ticket updating) are allowed only for users authenticated on sale environment devices.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developers.portos.sk/device-environments.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
