Business v1 / Nomenclatoare
Company statuses
The code list of company statuses (active, dissolution, striking off and so on), grouped by category.
GET
https://oneapi.ro/api/business/v1/stari
Query parameters
This route accepts no query parameters.
How it behaves
- The possible statuses of a company (active, struck off, insolvency, dissolution, etc.), with the category of each — a reference for interpreting the
starefield from the profile.
What it is for
- Translating the
starefield from the profile into a readable label. - Populating a status filter in a search interface.
- Grouping statuses into categories in a risk score.
Response structure
All fields below live inside data[].
FieldTypeDescription
cod
string
The code.
denumire
string | null
The name.
categorie
string | null
The category.
Response examples
GEThttps://oneapi.ro/api/business/v1/stari
{
"data": [
{
"cod": "1048",
"denumire": "funcțiune",
"categorie": "activa"
}
]
}
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."
}
}