We are using cookies in our website in order to offer better service to you. You allow us to use cookies by continuing to use our internet website. You can reach the detailed information on cookies from our Privacy Policy and Cookies Policy.
X
Home > Api Products > Business Days

Business Days

Description

​Business Days API allows developers to query İşbank's business days, holidays and next available business day when doing financial operations.

How it Works

Parameters

date : Date
start_date : Start date
end_date : End date

Sample Request – 1  

GET {API_HOST}/api/v1/business-days/2018-11-08
Headers:
X-IBM-client-id: {YOUR_CLEINT_ID} 
X-IBM-client-secret: {YOUR_CLEINT_SECRET} 
Accept: application/json

Sample Request – 2 

GET {API_HOST}/api/v1/ business-days/?start_date={{start_date}}&end_date={{end_date}}
start_date : 2018-11-09
end_date : 2018-11-11
Headers:
X-IBM-client-id: {YOUR_CLEINT_ID} 
X-IBM-client-secret: {YOUR_CLEINT_SECRET} 
Accept: application/json




Sample Response
Sample Response - 1
{
    "data": {
        "date": "2018-11-08",
        "day_type": "BUSINESS_DAY",
        "holiday_type": "NAN",
        "previous_business_day": "2018-11-07",
        "next_business_day": "2018-11-09",
        "isWeekend": "false"
    }
}


Sample Response - 2
{
    "data": [ {
            "date": "2018-11-09",
            "day_type": "BUSINESS_DAY",
            "holiday_type": "NAN",
            "isWeekend": "false"
        },
        {
            "date": "2018-11-10",
            "day_type": "HOLIDAY",
            "holiday_type": "WEEKEND",
            "isWeekend": "true"
        },
        {
            "date": "2018-11-11",
            "day_type": "HOLIDAY",
            "holiday_type": "WEEKEND",
            "isWeekend": "true"
        }
    ]
}