Skip to main content
POST
/
quantlib
/
scheduling
/
adjustment
/
batch-adjust
Batch Adjust
curl --request POST \
  --url https://finceptbackend.share.zrok.io/quantlib/scheduling/adjustment/batch-adjust \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "dates": [
    "2024-06-15",
    "2024-12-25",
    "2025-01-01",
    "2025-07-04"
  ],
  "adjustment": "Modified Following",
  "calendar": "US"
}
'
{
  "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
      }
    ]
  }
}

Authorizations

X-API-Key
string
header
required

API key for authentication. Get your key at https://finceptbackend.share.zrok.io/auth/register

Body

application/json
dates
string<date>[]
required

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
enum<string>
default:Modified Following

Business day adjustment convention to apply to all dates

Available options:
Following,
Modified Following,
Preceding,
Modified Preceding,
Unadjusted
Example:

"Modified Following"

calendar
enum<string>
default:Weekend

Calendar to use for determining business days

Available options:
US,
UK,
TARGET,
Japan,
Weekend
Example:

"US"

Response

Successful Response

success
boolean
Example:

true

data
object