Skip to content
Docs
API 1.0.0 · 22 Nov 2026

Search the docs

    Română

    Reference data

    The list of occupations the checks accept.

    List occupations

    GET /reges/v1/occupations

    Returns the occupations the checks accept, with their codes, in pages. q keeps the occupations whose name contains the text.

    Parameters

    NameInTypeRequiredMeaning
    q query string Nooptional Only occupations whose name contains this text.
    limit query integer Nooptional Records per page, from 1 to 500. Default 100 Range 1 – 500
    cursor query string Nooptional The nextCursor of the previous page.

    Responses

    StatusMeaningBody
    200 A page of occupations. OccupationPage
    401 The token is missing, has expired or is not ours. Error
    403 The token does not give access to this employer or operation. Error
    429 There were too many requests. Nothing was processed. The header Retry-After gives the seconds to wait. Error
    503 The gateway cannot answer now. Error

    Request

    curl

    curl "$RDC_BASE_URL/reges/v1/occupations?limit=20" \
      -H "Authorization: Bearer $RDC_TOKEN"

    JavaScript

    const response = await fetch(`${process.env.RDC_BASE_URL}/reges/v1/occupations?limit=20`, {
      method: 'GET',
      headers: {
        Authorization: `Bearer ${process.env.RDC_TOKEN}`,
      },
    });
    const result = await response.json();

    Python

    import os
    import requests
    
    response = requests.request(
        'GET',
        f'{os.environ["RDC_BASE_URL"]}/reges/v1/occupations?limit=20',
        headers={
            'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
        },
    )
    result = response.json()

    PHP

    <?php
    
    $curl = curl_init(getenv('RDC_BASE_URL') . '/reges/v1/occupations?limit=20');
    curl_setopt_array($curl, [
        CURLOPT_CUSTOMREQUEST => 'GET',
        CURLOPT_RETURNTRANSFER => true,
        CURLOPT_HTTPHEADER => [
            'Authorization: Bearer ' . getenv('RDC_TOKEN'),
        ],
    ]);
    $result = json_decode(curl_exec($curl), true);
    curl_close($curl);

    C#

    using System.Net.Http.Headers;
    
    var client = new HttpClient();
    var request = new HttpRequestMessage(HttpMethod.Get, $"{Environment.GetEnvironmentVariable("RDC_BASE_URL")}/reges/v1/occupations?limit=20");
    request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("RDC_TOKEN"));
    var response = await client.SendAsync(request);
    var result = await response.Content.ReadAsStringAsync();

    Response 200

    JSON

    {
      "items": [
        {
          "code": "331302",
          "name": "Contabil"
        },
        {
          "code": "333304",
          "name": "Inspector/referent resurse umane"
        },
        {
          "code": "432101",
          "name": "Gestionar depozit"
        },
        {
          "code": "432102",
          "name": "Magaziner"
        },
        {
          "code": "522101",
          "name": "Vânzător"
        },
        {
          "code": "523003",
          "name": "Casier"
        },
        {
          "code": "833201",
          "name": "Șofer autocamion/mașină de mare tonaj"
        },
        {
          "code": "332401",
          "name": "Agent comercial"
        },
        {
          "code": "933301",
          "name": "Încărcător-descărcător"
        },
        {
          "code": "121120",
          "name": "Contabil-șef"
        },
        {
          "code": "333101",
          "name": "Agent contractări și achiziții (broker mărfuri)"
        },
        {
          "code": "251202",
          "name": "Programator"
        }
      ],
      "nextCursor": null
    }