> For the complete documentation index, see [llms.txt](https://selenium-4.gitbook.io/nexus-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://selenium-4.gitbook.io/nexus-docs/docs/public-reference-data-management/retrieve-profession-classifications/main.md).

# Retrieve Profession Classifications

| Campo              | Valor                                |
| ------------------ | ------------------------------------ |
| **Service Domain** | Public Reference Data Management     |
| **BIAN Version**   | 14.0.0                               |
| **Operation**      | Profession Classifications Retrieval |
| **Method**         | GET                                  |
| **API Name**       | Public Reference Data Management API |
| **Versão**         | Não especificado no Confluence       |
| **Endpoint**       | Não especificado no Confluence       |
| **Autenticação**   | Bearer Token (OAuth 2.0 / OIDC)      |

***

## 1. Descrição da Operação

A operação permite consultar os dados de referência (classificações) de profissões suportadas pela plataforma. A resposta devolve, para cada profissão, o respectivo código, nome, descrição, categoria profissional, estado, data de vigência, categoria de risco e tipo de indústria associado.

***

## 2. Payload de Resposta (Response)

```json
{
  "ReferenceDataDirectoryRecord": {
    "ReferenceDataType": "Profession",
    "ReferenceDataDirectoryEntryRecord": [
      {
        "ReferenceDataEntryReference": "034",
        "ReferenceDataEntryDetails": {
          "ProfessionCode": "034",
          "ProfessionName": "Engenheiro de Software",
          "ProfessionDescription": "Engenheiro de Software é um profissional responsável pelo desenvolvimento, teste e manutenção de software. Ele aplica princípios de engenharia de software para criar soluções eficientes e escaláveis.",
          "ProfessionCategory": {
            "ProfessionCategoryCode": "14",
            "ProfessionCategoryName": "Operário Especializado"
          },
          "ProfessionStatus": "Active",
          "ProfessionEffectiveDate": "2022-01-01",
          "ProfessionRiskCategory": "Normal",
          "ProfessionIndustryType": "Actividas programação informática"
        }
      },
      {
        "ReferenceDataEntryReference": "073",
        "ReferenceDataEntryDetails": {
          "ProfessionCode": "073",
          "ProfessionName": "Militar",
          "ProfessionDescription": "Militar é um profissional que serve nas forças armadas, responsável pela defesa do país e pela execução de operações militares.",
          "ProfessionCategory": {
            "ProfessionCategoryCode": "18",
            "ProfessionCategoryName": "Militar"
          },
          "ProfessionStatus": "Active",
          "ProfessionEffectiveDate": "2006-06-19",
          "ProfessionRiskCategory": "Normal",
          "ProfessionIndustryType": "ADMINISTRAÇÃO PÚBLICA, DEFESA E SEGURANÇ"
        }
      }
    ]
  }
}
```

### 2.1 Objecto: `ReferenceDataDirectoryRecord`

| Campo                               | Tipo   | Descrição                                             |
| ----------------------------------- | ------ | ----------------------------------------------------- |
| `ReferenceDataType`                 | string | Tipo de dado de referência. Valor fixo: `Profession`. |
| `ReferenceDataDirectoryEntryRecord` | array  | Lista de entradas de classificação de profissão.      |

### 2.2 Objecto: `ReferenceDataDirectoryEntryRecord[]`

| Campo                         | Tipo   | Descrição                                               |
| ----------------------------- | ------ | ------------------------------------------------------- |
| `ReferenceDataEntryReference` | string | Código identificador da profissão (ex: `034`, `073`).   |
| `ReferenceDataEntryDetails`   | object | Detalhes da classificação da profissão. Ver secção 2.3. |

### 2.3 Objecto: `ReferenceDataEntryDetails`

| Campo                     | Tipo              | Descrição                                                    |
| ------------------------- | ----------------- | ------------------------------------------------------------ |
| `ProfessionCode`          | string            | Código da profissão.                                         |
| `ProfessionName`          | string            | Nome da profissão (ex: `Engenheiro de Software`, `Militar`). |
| `ProfessionDescription`   | string            | Descrição textual da profissão.                              |
| `ProfessionCategory`      | object            | Categoria profissional. Ver secção 2.4.                      |
| `ProfessionStatus`        | string            | Estado da entrada (ex: `Active`).                            |
| `ProfessionEffectiveDate` | string (ISO 8601) | Data de vigência da classificação.                           |
| `ProfessionRiskCategory`  | string            | Categoria de risco (ex: `Normal`).                           |
| `ProfessionIndustryType`  | string            | Tipo de indústria/sector associado à profissão.              |

### 2.4 Objecto: `ProfessionCategory`

| Campo                    | Tipo   | Descrição                                                                 |
| ------------------------ | ------ | ------------------------------------------------------------------------- |
| `ProfessionCategoryCode` | string | Código da categoria profissional (ex: `14`, `18`).                        |
| `ProfessionCategoryName` | string | Nome da categoria profissional (ex: `Operário Especializado`, `Militar`). |

> **Nota:** A página de origem inclui anotações (comentários) associando cada `ProfessionCategory` a uma categoria fiscal, não presente no payload de resposta em si: a categoria `14 - Operário Especializado` está anotada com `fiscalCategory: { label: "Trabalhador p/conta de outrém", value: "O" }`, e a categoria `18 - Militar` está anotada com `fiscalCategory: { label: "Reformado", value: "R" }`.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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 following URL with the `ask` and `goal` query parameters:

```
GET https://selenium-4.gitbook.io/nexus-docs/docs/public-reference-data-management/retrieve-profession-classifications/main.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `build a script that syncs our docs to a CMS` lets GitBook tailor the answer to that use case.

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.
