Calendar

Adds business days or counts them between two dates, accounting for Turkish public and religious holidays including half-day eves.

Ramadan and Sacrifice feasts follow the Hijri calendar and cannot be derived reliably by formula, so announced dates are read from a table; years without an official announcement are returned with confirmed:false rather than guessed silently. For delivery promises, SLA clocks, payment terms and shipping estimates.

Credits per call: 1 · Operation id: tr_business_days

post/v1/tr/business-days

Request

  • Base URL: https://api.temsor.com
  • URL: https://api.temsor.com/v1/tr/business-days
  • Auth: one of:
    • HTTP bearer
    • API key in header x-api-key

Request body

startstring required

Start date (YYYY-MM-DD).

addDaysinteger

Add/subtract this many business days (not calendar days).

endstring

If set, count business days between start and this date.

countHalfDaysAsWorkboolean

Count Arife half-days as working days?

Response

Success

okunknown required

Changes

No recorded changes to this operation across all 1 revision of this API.