> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flexxible.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Recuperar un grup d'informe

> Recupera informació detallada sobre un grup de report específic, inclosa la seva configuració i els ajustos de l'agent. Retorna dades del grup de report que coincideixen amb l'estructura del endpoint de llistat.



## OpenAPI

````yaml /ca/api-reference/openapi.ca-v1.json get /v1/organizations/{organization_id}/reporting-groups/{reporting_group_id}
openapi: 3.0.3
info:
  title: API Publica Portal
  version: 1.0.0
  description: API pública REST per al portal
servers:
  - url: https://api.flexxible.net
    description: Portal API (production)
security:
  - bearerAuth: []
tags: []
paths:
  /v1/organizations/{organization_id}/reporting-groups/{reporting_group_id}:
    get:
      tags:
        - Grups de report
      summary: Recuperar un grup d'informe
      description: >-
        Recupera informació detallada sobre un grup de report específic, inclosa
        la seva configuració i els ajustos de l'agent. Retorna dades del grup de
        report que coincideixen amb l'estructura del endpoint de llistat.
      operationId: getReportingGroupById
      parameters:
        - name: organization_id
          in: path
          required: true
          schema:
            type: string
            maxLength: 24
            pattern: ^[0-9a-f]{24}$
          description: El identificador únic de l'organització
          example: 507f1f77bcf86cd799439011
        - name: reporting_group_id
          in: path
          required: true
          schema:
            type: string
            maxLength: 24
            pattern: ^[0-9a-f]{24}$
          description: L'identificador únic del grup de report
          example: 507f1f77bcf86cd799439020
      responses:
        '200':
          description: >-
            Detalls del grup de report recuperats correctament. La resposta
            inclou la configuració del grup de report i els ajustos de l'agent.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReportingGroupByIdV1'
        '400':
          $ref: '#/components/responses/BadRequest'
          description: Sol·licitud incorrecta - format d'ID de grup de report no vàlid
        '401':
          $ref: '#/components/responses/Unauthorized'
          description: No autoritzat - autenticació requerida
        '404':
          $ref: '#/components/responses/NotFound'
          description: Grup de report no trobat o no pertany a l'organització
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '500':
          $ref: '#/components/responses/InternalServerError'
components:
  schemas:
    ReportingGroupByIdV1:
      type: object
      properties:
        id:
          type: string
          description: ID del grup de report
        name:
          type: string
          description: Nom del grup de report
        organization_id:
          type: string
          nullable: true
          description: Identificador de l'organització
        product_config_id:
          type: string
          nullable: true
          description: Identificador de la configuració del producte
        fishing_pattern:
          type: string
          nullable: true
          description: Nom del fishing pattern
        fishing_pattern_field:
          type: string
          enum:
            - full_name
            - description
            - ou
            - current_subnet
          nullable: true
          description: >-
            Camp sobre el qual s'aplica fishing_pattern. Valors possibles:
            full_name, description, ou, current_subnet.
        patch_policy_target_id:
          type: string
          nullable: true
          description: Identificador del destí de política de pegats
        policy_reporting_group:
          type: string
          nullable: true
          description: Identificador del grup de reporte de política
        overridden_agent_settings:
          $ref: '#/components/schemas/ReportingGroupAgentSettingsV1'
          nullable: true
          description: Ajustaments de l'agent sobrescrits a nivell de grup de reporte
        effective_agent_settings:
          $ref: '#/components/schemas/ReportingGroupEffectiveAgentSettingsV1'
          nullable: true
          description: >-
            Ajustaments efectius de l'agent (combinats des de la configuració
            del producte i sobrescritures)
        execute_flexx_analyzer_agent:
          type: boolean
          description: Si l'execució de l'agent Flexx Analyzer està habilitada
        intermediate_device_1_id:
          type: string
          nullable: true
          description: ID de Workspace del primer dispositiu intermedi (buscat per sysId)
        intermediate_device_2_id:
          type: string
          nullable: true
          description: ID de Workspace del segon dispositiu intermedi (buscat per sysId)
        intermediate_device_3_id:
          type: string
          nullable: true
          description: ID de Workspace del tercer dispositiu intermedi (buscat per sysId)
      required:
        - id
        - name
        - execute_flexx_analyzer_agent
    ReportingGroupAgentSettingsV1:
      type: object
      properties:
        remote_support:
          type: string
          nullable: true
          description: Configuració de suport remot
        collect_device_location:
          type: boolean
          nullable: true
          description: Si la recopilació d'ubicació del dispositiu està habilitada
        auto_update_agents:
          type: boolean
          nullable: true
          description: Si l'actualització automàtica d'agents està habilitada
        collect_event_logs:
          type: boolean
          nullable: true
          description: Si la recopilació de registres d'esdeveniments està habilitada
        event_log_ids:
          type: string
          nullable: true
          description: IDs de registres d'esdeveniments
        event_logs_recurrence:
          type: number
          nullable: true
          description: Recurrència de registres d'esdeveniments
        collect_disks:
          type: boolean
          nullable: true
          description: Si la recopilació de discos està habilitada
        collect_services:
          type: boolean
          nullable: true
          description: Si la recopilació de serveis està habilitada
        collect_pnp_events:
          type: boolean
          nullable: true
          description: Si la recopilació d'esdeveniments PnP està habilitada
        collect_public_ip:
          type: boolean
          nullable: true
          description: Si la recopilació d'IP pública està habilitada
        fra_system_actions_role:
          type: string
          nullable: true
          description: Rol d'accions del sistema FRA
        unified_reporting:
          type: string
          nullable: true
          description: Configuració de reporte unificat
        unified_operations:
          type: string
          nullable: true
          description: Configuració d'operacions unificades
        uninstall_protection:
          type: string
          nullable: true
          enum:
            - 'off'
            - 'on'
          description: >-
            Valors possibles: off, on. Si no hi ha cap estat aplicable, retorna
            null.
        web_apps:
          type: boolean
          nullable: true
          description: Si les aplicacions web estan habilitades
    ReportingGroupEffectiveAgentSettingsV1:
      type: object
      description: >-
        Ajustaments efectius de l'agent (inclou camps de configuració del
        producte més sobrescritures)
      properties:
        remote_support:
          type: string
          nullable: true
        collect_device_location:
          type: boolean
          nullable: true
        auto_update_agents:
          type: boolean
          nullable: true
        collect_event_logs:
          type: boolean
          nullable: true
        event_log_ids:
          type: string
          nullable: true
        event_logs_recurrence:
          type: number
          nullable: true
        collect_disks:
          type: boolean
          nullable: true
        collect_services:
          type: boolean
          nullable: true
        collect_pnp_events:
          type: boolean
          nullable: true
        collect_public_ip:
          type: boolean
          nullable: true
        fra_system_actions_role:
          type: string
          nullable: true
        unified_reporting:
          type: string
          nullable: true
        uninstall_protection:
          type: string
          nullable: true
          enum:
            - 'off'
            - 'on'
          description: >-
            Valors possibles: off, on. Si no hi ha cap estat aplicable, retorna
            null.
        resources_report_recurrence:
          type: number
          nullable: true
        profile_storage_report_recurrence:
          type: number
          nullable: true
        sync_broker_recurrence:
          type: number
          nullable: true
        detect_new_citrix_subscriptions:
          type: boolean
          nullable: true
        proxy_type:
          type: string
          nullable: true
        can_enable_flexx_agent_per_group:
          type: boolean
          nullable: true
        web_apps:
          type: boolean
          nullable: true
        fra_simplified_security:
          type: string
          nullable: true
    ErrorResponse:
      type: object
      properties:
        error:
          type: object
          properties:
            message:
              type: string
            code:
              type: string
            details:
              type: string
          required:
            - message
            - code
      required:
        - error
  responses:
    BadRequest:
      description: Sol·licitud incorrecta
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Unauthorized:
      description: No autoritzat
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    NotFound:
      description: No trobat
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    TooManyRequests:
      description: Masses sol·licituds
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    InternalServerError:
      description: Error intern del servidor
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````