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

# Consultar lista de locations de recurrencia

> Lista locations de recurrencia por fecha de inicio, fecha de fin e idRecPresente. API Pix GET /locrec.



## OpenAPI

````yaml es/openapi/v3-current/spi-brcode.yaml get /api/v1/brcode/locrec
openapi: 3.1.0
info:
  contact:
    email: contact@lerian.studio
    name: Lerian Studio
    url: https://lerian.studio
  description: >-
    Servicio de BR Code para la generación y decodificación de códigos QR (EMV
    QRCPS-MPM).
  license:
    name: Lerian Studio General License
  title: Lerian SPI — BR Code API
  version: 1.0.0
servers:
  - url: https://spi.sandbox.lerian.net
security: []
tags:
  - description: >-
      Generación, decodificación, validación, información y consulta de payloads
      de BR Code EMV.
    name: BRCode
  - description: >-
      Cobranzas Pix (Cob/CobV/LoteCobV): crear, consultar por TxID, listar,
      cancelar, conciliar y resolver payloads públicos.
    name: Charges
  - description: >-
      Flujo (orden obligatorio): crear cob/cobv → generar QR/payload. Un payload
      dinámico de BR Code hace referencia a una cobranza, por lo que la cobranza
      cob/cobv DEBE crearse primero; el payload se vincula a ella mediante
      txid/locator.
    name: charge
paths:
  /api/v1/brcode/locrec:
    get:
      tags:
        - Location
      summary: Consultar lista de locations de recurrencia
      description: >-
        Lista locations de recurrencia por fecha de inicio, fecha de fin e
        idRecPresente. API Pix GET /locrec.
      operationId: listLocationRec
      parameters:
        - description: Início do filtro de criação (RFC 3339).
          explode: false
          in: query
          name: inicio
          required: true
          schema:
            description: Início do filtro de criação (RFC 3339).
            type: string
        - description: Fim do filtro de criação (RFC 3339).
          explode: false
          in: query
          name: fim
          required: true
          schema:
            description: Fim do filtro de criação (RFC 3339).
            type: string
        - description: Filtra por locations com (ou sem) idRec vinculado (true/false).
          explode: false
          in: query
          name: idRecPresente
          schema:
            description: Filtra por locations com (ou sem) idRec vinculado (true/false).
            type: string
        - description: Página a ser retornada (0-based).
          explode: false
          in: query
          name: paginacao.paginaAtual
          schema:
            description: Página a ser retornada (0-based).
            format: int64
            minimum: 0
            type: integer
        - description: Itens por página (1..1000).
          explode: false
          in: query
          name: paginacao.itensPorPagina
          schema:
            description: Itens por página (1..1000).
            format: int64
            maximum: 1000
            minimum: 1
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PayloadLocationRecConsultadas'
          description: OK
        default:
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Detail'
          description: Error
      security:
        - BearerAuth: []
components:
  schemas:
    PayloadLocationRecConsultadas:
      additionalProperties: false
      properties:
        loc:
          items:
            $ref: '#/components/schemas/PayloadLocationRecCompleta'
          type:
            - array
            - 'null'
        parametros:
          $ref: '#/components/schemas/Parametros'
      required:
        - parametros
        - loc
      type: object
    Detail:
      additionalProperties: false
      properties:
        code:
          description: >-
            Stable, machine-readable domain error code scoped to the emitting
            service (format: <SERVICE>-NNNN).
          examples:
            - ERR-0001
          type: string
        detail:
          description: >-
            A human-readable explanation specific to this occurrence of the
            problem.
          examples:
            - Property foo is required but is missing.
          type: string
        errors:
          description: Optional list of individual error details
          items:
            $ref: '#/components/schemas/ErrorDetail'
          type:
            - array
            - 'null'
        instance:
          description: >-
            A URI reference that identifies the specific occurrence of the
            problem.
          examples:
            - https://example.com/error-log/abc123
          format: uri
          type: string
        status:
          description: HTTP status code
          examples:
            - 400
          format: int64
          type: integer
        title:
          description: >-
            A short, human-readable summary of the problem type. This value
            should not change between occurrences of the error.
          examples:
            - Bad Request
          type: string
        type:
          default: about:blank
          description: A URI reference to human-readable documentation for the error.
          examples:
            - https://example.com/errors/example
          format: uri
          type: string
      type: object
    PayloadLocationRecCompleta:
      additionalProperties: false
      properties:
        criacao:
          description: Data de criação da location (RFC 3339).
          type: string
        id:
          description: Id da location de recorrência (gerado pelo servidor).
          format: int64
          type: integer
        idRec:
          description: Recorrência vinculada (ausente quando desvinculada).
          pattern: ^[a-zA-Z0-9]{29}$
          type: string
        location:
          description: Localização do payload de recorrência (URI).
          maxLength: 77
          type: string
        tipo:
          description: 'Tipo fixo: rec.'
          enum:
            - rec
          examples:
            - rec
          type: string
      required:
        - id
        - location
        - tipo
        - criacao
      type: object
    Parametros:
      additionalProperties: false
      properties:
        fim:
          description: Fim do filtro (RFC 3339).
          type: string
        inicio:
          description: Início do filtro (RFC 3339).
          type: string
        paginacao:
          $ref: '#/components/schemas/Paginacao'
      required:
        - inicio
        - fim
        - paginacao
      type: object
    ErrorDetail:
      additionalProperties: false
      properties:
        location:
          description: >-
            Where the error occurred, e.g. 'body.items[3].tags' or
            'path.thing-id'
          type: string
        message:
          description: Error message text
          type: string
        value:
          description: The value at the given location
      type: object
    Paginacao:
      additionalProperties: false
      properties:
        itensPorPagina:
          description: Quantidade de registros na página.
          format: int64
          type: integer
        paginaAtual:
          description: Página recuperada (0-based).
          format: int64
          type: integer
        quantidadeDePaginas:
          description: Quantidade de páginas disponíveis.
          format: int64
          type: integer
        quantidadeTotalDeItens:
          description: Quantidade total de itens disponíveis.
          format: int64
          type: integer
      required:
        - paginaAtual
        - itensPorPagina
        - quantidadeDePaginas
        - quantidadeTotalDeItens
      type: object
  securitySchemes:
    BearerAuth:
      bearerFormat: JWT
      description: JWT bearer token issued by the identity provider.
      scheme: bearer
      type: http

````