Business v1 / Nomenclatoare
CAEN versions
The nomenclature versions available for reference: Rev. 0/1/2/3 (historical plus current), with the label, the default version and the number of codes at each level. Rev. 3 is the current, default one.
GET
https://oneapi.ro/api/business/v1/caen/versiuni
Query parameters
This route accepts no query parameters.
How it behaves
- The four CAEN nomenclature editions available as reference (the 1998 initial edition + Rev.1/2/3), each with its label, year in force, whether it is the default and the number of codes per level (sections, divisions, groups, classes). Rev.3 is the current one.
What it is for
- Choosing the CAEN revision you use in an interface or an import.
- Checking which edition was in force on the date of an older document.
- Populating a version selector before requesting the tree.
Response structure
All fields below live inside data[].
FieldTypeDescription
versiune
string
The nomenclature revision.
eticheta
string
The display label.
an_vigoare
integer
The year the revision came into force.
implicita
boolean
The revision used by default when no other is requested.
total
integer
The total.
niveluri.sectiuni
integer
How many sections the revision has.
niveluri.diviziuni
integer
How many divisions the revision has.
niveluri.grupe
integer
How many groups the revision has.
niveluri.clase
integer
How many classes the revision has.
Response examples
GEThttps://oneapi.ro/api/business/v1/caen/versiuni
{
"data": [
{
"versiune": "0",
"eticheta": "CAEN (ediția inițială)",
"an_vigoare": 1998,
"implicita": false,
"total": 849,
"niveluri": {
"sectiuni": 0,
"diviziuni": 60,
"grupe": 226,
"clase": 563
}
}
]
}
Error codes
| Code | Slug | When it occurs |
|---|---|---|
| 401 | neautentificat | Token missing, invalid, expired or revoked. |
| 403 | feature_indisponibil | The current plan does not include the feature the route depends on. |
| 422 | validare | The route takes no parameters apart from lang: any other parameter returns 422 instead of being ignored. |
| 429 | cota_depasita | The plan's monthly quota has been exceeded (see Retry-After). |
All errors share the same shape. eroare.cod is stable and is the value you should branch on in code — not the text in mesaj, which may change.
{
"eroare": {
"cod": "validare",
"mesaj": "The route takes no parameters apart from lang: any other parameter returns 422 instead of being ignored."
}
}