Get Business Day

This API brings the information of working days and holidays of our bank. Days are filtered by date range.

API Information

URL

/getBusinessDay

Method

POST

Version

1.0

Scope

Information Services

Authorization Flow

Client Credentials


Input Information

Name Format Description Required/Optional

StartDate

yyyy-MM-ddTHH24:mm:ss Start date to filter Required

EndDate

yyyy-MM-ddTHH24:mm:ss End date to filter Required


Output Information

Name Format Description

Date

yyyy-MM-ddTHH24:mm:ss Date

DayType

Number Day type
1: Workday
2: Holiday
4: Half day

HolidayDescription

Decimal Holiday description

isWeekend

Boolean Weekend status

Example

Request:

{
       "StartDate": "2020-04-28T00:00:00+03:00",
       "EndDate": "2020-05-20T00:00:00+03:00"
}

Response:

{
    "Status": {
        "Code": "APIGW000000",
        "Description": "Success",
        "ObjectID": "ba65fed9-390e-4b13-8643-eb8e1b2127ff"
    },
    "Data": {
        "Day": [
            {
                "HolidayDescription": "",
                "DayType": "1",
                "Date": "2020-04-28T00:00:00+03:00",
                "IsWeekend": ""
            },
            {
                "HolidayDescription": "",
                "DayType": "1",
                "Date": "2020-04-29T00:00:00+03:00",
                "IsWeekend": ""
            },
            {
                "HolidayDescription": "",
                "DayType": "1",
                "Date": "2020-04-30T00:00:00+03:00",
                "IsWeekend": ""
            },
            {
                "HolidayDescription": "EMEK VE DAYANIŞMA GÜNÜ",
                "DayType": "2",
                "Date": "2020-05-01T00:00:00+03:00",
                "IsWeekend": ""
            },
            ...			
            {
                "HolidayDescription": "",
                "DayType": "2",
                "Date": "2020-05-16T00:00:00+03:00",
                "IsWeekend": true
            },
            {
                "HolidayDescription": "",
                "DayType": "2",
                "Date": "2020-05-17T00:00:00+03:00",
                "IsWeekend": true
            },
            {
                "HolidayDescription": "",
                "DayType": "1",
                "Date": "2020-05-18T00:00:00+03:00",
                "IsWeekend": ""
            },
            {
                "HolidayDescription": "ATATÜRK'Ü ANMA GENÇLİK VE SPOR BAYRAMI",
                "DayType": "2",
                "Date": "2020-05-19T00:00:00+03:00",
                "IsWeekend": ""
            },
            {
                "HolidayDescription": "",
                "DayType": "1",
                "Date": "2020-05-20T00:00:00+03:00",
                "IsWeekend": ""
            }
        ] 
    }
}