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

# Get paginated subscription details with filters

> Operacion: Get paginated subscription details with filters.



## OpenAPI

````yaml /generated/specs/operations.json get /api/v1/subscription_details/all/paginated
openapi: 3.0.0
info:
  title: Raul API - Operaciones
  description: Suscripciones, GPS, actividades, visitas y operacion tecnica.
  version: 2.0.0
  contact: {}
servers:
  - url: https://api.raul.ugps.io
    description: Production
security: []
tags: []
paths:
  /api/v1/subscription_details/all/paginated:
    get:
      tags:
        - Subscription Details
      summary: Get paginated subscription details with filters
      description: 'Operacion: Get paginated subscription details with filters.'
      operationId: SubscriptionDetailsController_getAllPaginated
      parameters:
        - name: page
          required: false
          in: query
          schema:
            minimum: 1
            default: 1
            type: number
        - name: limit
          required: false
          in: query
          schema:
            minimum: 1
            maximum: 100
            default: 50
            type: number
        - name: sort
          required: false
          in: query
          schema:
            default: update_date
            type: string
        - name: order
          required: false
          in: query
          schema:
            default: desc
            type: string
            enum:
              - asc
              - desc
        - name: client_id
          required: false
          in: query
          description: Filter by client ID
          schema:
            type: string
        - name: subscription_status_id
          required: false
          in: query
          description: Filter by subscription status ID
          schema:
            type: number
        - name: subscription_plan_id
          required: false
          in: query
          description: Filter by subscription plan ID
          schema:
            type: number
        - name: date_from
          required: false
          in: query
          description: Filter from date (ISO 8601)
          schema:
            type: string
        - name: date_to
          required: false
          in: query
          description: Filter to date (ISO 8601)
          schema:
            type: string
        - name: is_expired
          required: false
          in: query
          description: Filter by expiration status
          schema:
            type: boolean
        - name: search
          required: false
          in: query
          description: Search in client name, GPS details
          schema:
            type: string
        - name: child_client_id
          required: false
          in: query
          description: Filter by child client ID (multi-tenant)
          schema:
            type: string
      responses:
        '200':
          description: Paginated list of subscriptions
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedSubscriptionsResponseDto'
      security:
        - bearerAuth: []
components:
  schemas:
    PaginatedSubscriptionsResponseDto:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/SubscriptionDetailsResponseDto'
        pagination:
          $ref: '#/components/schemas/PaginationDto'
      required:
        - data
        - pagination
    SubscriptionDetailsResponseDto:
      type: object
      properties:
        subscription_detail_id:
          type: string
        subscription_plan_id:
          type: object
        gps_detail_id:
          type: object
        client_id:
          type: object
        vehicle_id:
          type: object
        fecha_inicio:
          type: object
        fecha_termino:
          type: object
        subscription_status_id:
          type: object
        subscription_frequency_id:
          type: object
        creation_date:
          type: object
        update_date:
          type: object
        subscriptionPlan:
          $ref: '#/components/schemas/SubscriptionPlanResponseDto'
        subscriptionStatus:
          $ref: '#/components/schemas/SubscriptionStatusResponseDto'
        subscriptionFrequency:
          $ref: '#/components/schemas/SubscriptionFrequencyResponseDto'
        vehicle:
          $ref: '#/components/schemas/VehicleResponseDto'
        child_client_id:
          type: object
          description: Child client ID if assigned to a subsidiary
        childClient:
          description: Child client info if assigned
          allOf:
            - $ref: '#/components/schemas/ClientBasicInfoDto'
      required:
        - subscription_detail_id
    PaginationDto:
      type: object
      properties:
        page:
          type: number
        limit:
          type: number
        total:
          type: number
        totalPages:
          type: number
        hasNextPage:
          type: boolean
        hasPreviousPage:
          type: boolean
      required:
        - page
        - limit
        - total
        - totalPages
        - hasNextPage
        - hasPreviousPage
    SubscriptionPlanResponseDto:
      type: object
      properties:
        id:
          type: number
        name:
          type: object
        subscription_currency_id:
          type: number
        currency_name:
          type: object
        currency_value:
          type: object
        description:
          type: object
      required:
        - id
        - subscription_currency_id
    SubscriptionStatusResponseDto:
      type: object
      properties:
        subscription_status_id:
          type: number
        name:
          type: string
      required:
        - subscription_status_id
        - name
    SubscriptionFrequencyResponseDto:
      type: object
      properties:
        id:
          type: number
        name:
          type: string
      required:
        - id
        - name
    VehicleResponseDto:
      type: object
      properties:
        id:
          type: string
        license_plate:
          type: object
        name:
          type: object
        model:
          type: object
        brand:
          type: object
      required:
        - id
    ClientBasicInfoDto:
      type: object
      properties:
        client_id:
          type: string
        client_name:
          type: string
      required:
        - client_id
        - client_name
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Bearer token authentication

````