# Ocupação

## Endpoints

* ### Ocupação de playlists

**URL:** \<seuprojeto>.edgecontents.com/ds/api/occupationapi

**Método:** GET

**Autenticação:** Basic Auth

**Parâmetros de Consulta:**

| Parâmetro | Tipo | Obrigatório | Descrição                                               |
| --------- | ---- | ----------- | ------------------------------------------------------- |
| startdate | date | Não         | Data de início                                          |
| enddate   | date | Não         | Data de fim                                             |
| screen    | int  | Não         | Player (aceita múltiplos valores separados por vírgula) |
| site      | int  | Não         | Locais (aceita múltiplos valores separados por vírgula) |
| group     | int  | Não         | Grupos (aceita múltiplos valores separados por vírgula) |

**Exemplo de retorno:**

```json
[
    {
        "date": "2026-02-03",
        "screens": [
            {
                "cd_screen_scr": "34",
                "total_com": "1",
                "total_transb": "0",
                "occup_com": "0",
                "occup_transb": "0"
            },
            {
                "cd_screen_scr": "39",
                "total_com": "17",
                "total_transb": "0",
                "occup_com": "4",
                "occup_transb": "0"
            }
        ]
    }
]
```


---

# 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://help.edgecontents.com/edgecontents/apis/ocupacao.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.
