Skip to main content
POST
Calculate a date after adding or subtracting business days.

Authorizations

Authorization
string
header
required

OAuth2 access-token requested from AWS Cognito and provided as a Auth Bearer header

Body

The calculation payload containing a calendar, the starting date as an ISO 8601 date/time value, and a non-zero signed count of business days.

Selects a calendar, starting date, and business-day offset for calendar arithmetic.

$type
enum<string>
required
Available options:
Derivitec.Web.Core.MarketData.ApiAddBusinessDaysRequest, Derivitec.Web.Core
calendar
object

Named business-day calendar with holiday dates and weekend treatment.

date
string<date-time>

Starting calendar date.

days
integer<int32>

Nonzero business-day offset; positive values add business days and negative values subtract them.

Response

Returns the resulting date as a UTC date/time value.

Returns the calendar date reached after applying the requested business-day offset.

$type
enum<string>
required
Available options:
Derivitec.Web.Core.MarketData.ApiAddBusinessDaysResponse, Derivitec.Web.Core
is_success
boolean

Whether the operation completed successfully. The default is true; error outcomes set it to false.

Example:

true

error_messages
string[] | null

Messages explaining operation-level failures. The collection is empty by default.

date
string<date-time>

UTC date and time reached after applying the business-day offset.