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

# Batch Adjust

> Adjust multiple dates to valid business days in a single request using the same adjustment convention and calendar. Efficient for processing multiple payment dates, a schedule of dates, or validating an entire series of dates. Returns results in the same order as input. [Tier: FREE, Credits: 0]



## OpenAPI

````yaml api-specs/scheduling.json post /quantlib/scheduling/adjustment/batch-adjust
openapi: 3.1.0
info:
  title: FinceptQuantLib API - Scheduling
  description: Scheduling module endpoints for FinceptQuantLib API
  version: 3.0.0
  contact:
    name: Fincept API Support
    url: https://fincept.in
servers:
  - url: https://api.fincept.in
    description: Fincept API Production Server
security:
  - APIKeyHeader: []
tags:
  - name: quantlib-scheduling
    description: API endpoints for scheduling operations
paths:
  /quantlib/scheduling/adjustment/batch-adjust:
    post:
      tags:
        - quantlib-scheduling
      summary: Batch Adjust
      description: >-
        Adjust multiple dates to valid business days in a single request using
        the same adjustment convention and calendar. Efficient for processing
        multiple payment dates, a schedule of dates, or validating an entire
        series of dates. Returns results in the same order as input. [Tier:
        FREE, Credits: 0]
      operationId: batch_adjust_quantlib_scheduling_adjustment_batch_adjust_post
      requestBody:
        content:
          application/json:
            schema:
              type: object
              required:
                - dates
              properties:
                dates:
                  type: array
                  items:
                    type: string
                    format: date
                  description: Array of dates to adjust in ISO format (YYYY-MM-DD)
                  example:
                    - '2024-06-15'
                    - '2024-12-25'
                    - '2025-01-01'
                    - '2025-07-04'
                adjustment:
                  type: string
                  description: Business day adjustment convention to apply to all dates
                  default: Modified Following
                  enum:
                    - Following
                    - Modified Following
                    - Preceding
                    - Modified Preceding
                    - Unadjusted
                  example: Modified Following
                calendar:
                  type: string
                  description: Calendar to use for determining business days
                  default: Weekend
                  enum:
                    - US
                    - UK
                    - TARGET
                    - Japan
                    - Weekend
                  example: US
            example:
              dates:
                - '2024-06-15'
                - '2024-12-25'
                - '2025-01-01'
                - '2025-07-04'
              adjustment: Modified Following
              calendar: US
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
                  data:
                    type: object
                    properties:
                      adjustment:
                        type: string
                        description: The adjustment convention used for all dates
                        example: Modified Following
                      calendar:
                        type: string
                        description: The calendar used for all dates
                        example: US
                      results:
                        type: array
                        items:
                          type: object
                          properties:
                            original_date:
                              type: string
                              format: date
                              description: The input date before adjustment
                            adjusted_date:
                              type: string
                              format: date
                              description: The adjusted business day
                            was_adjusted:
                              type: boolean
                              description: True if the date was changed
                        description: >-
                          Array of adjustment results in the same order as input
                          dates
                        example:
                          - original_date: '2024-06-15'
                            adjusted_date: '2024-06-17'
                            was_adjusted: true
                          - original_date: '2024-12-25'
                            adjusted_date: '2024-12-26'
                            was_adjusted: true
                          - original_date: '2025-01-01'
                            adjusted_date: '2025-01-02'
                            was_adjusted: true
                          - original_date: '2025-07-04'
                            adjusted_date: '2025-07-07'
                            was_adjusted: true
              example:
                success: true
                data:
                  adjustment: Modified Following
                  calendar: US
                  results:
                    - original_date: '2024-06-15'
                      adjusted_date: '2024-06-17'
                      was_adjusted: true
                    - original_date: '2024-12-25'
                      adjusted_date: '2024-12-26'
                      was_adjusted: true
                    - original_date: '2025-01-01'
                      adjusted_date: '2025-01-02'
                      was_adjusted: true
                    - original_date: '2025-07-04'
                      adjusted_date: '2025-07-07'
                      was_adjusted: true
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '402':
          $ref: '#/components/responses/InsufficientTierError'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: array
                    items:
                      type: object
              example:
                detail:
                  - loc:
                      - body
                      - dates
                    msg: field required
                    type: value_error.missing
      security:
        - APIKeyHeader: []
components:
  responses:
    UnauthorizedError:
      description: Authentication information is missing or invalid
      content:
        application/json:
          schema:
            type: object
            properties:
              detail:
                type: string
                example: Invalid API key
    InsufficientTierError:
      description: API tier insufficient for this endpoint
      content:
        application/json:
          schema:
            type: object
            properties:
              detail:
                type: string
                example: Endpoint requires Basic tier or higher
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key
      description: >-
        API key for authentication. Get your key at
        https://api.fincept.in/auth/register

````