Check Working Day

This API returns our banking working day or out of service day. Days are filtered by date range.

API Information

URL

/getBusinessDay

Method

POST

Version

1.0

Scope

public

Authorization Flow

Client Credentials


Input Information

Name Format Description Required/Optional

StartDate

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

EndDate

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


Output Information

Name Format Description

Day

List< Day > Day information


Day

Name Format Description

Date

yyyy-MM-ddTHH24:mm:ss Date

DayType

Number Day type
1: Workday, 2: Out of service, 4: Half day working

HolidayDescription

Decimal Out of service description

isWeekend

Boolean Weekend status


Message Codes

Message Code Description

ACBH000025

Beginning date format is incorrect.

ACBH000026

Ending date format is incorrect.

ACBH000100

Start date cannot be grater than end date.

Example

Request:

{
       "StartDate": "2020-05-22T00:00:00+03:00",
       "EndDate": "2020-05-26T00:00:00+03:00"
}

Response:

{
    "Header": {
        "StatusCode": "APIGW000000",
        "StatusDescription": "Completed",
        "ObjectID": "aaf2a95f-e17f-4d51-a253-64c6ea0f07a5"
    },
    "Data": {
        "Day": [
            {
                "HolidayDescription": "",
                "DayType": "1",
                "Date": "2020-05-22T00:00:00+03:00",
                "IsWeekend": ""
            },
            {
                "HolidayDescription": "RAMAZAN BAYRAMI AREFESi",
                "DayType": "2",
                "Date": "2020-05-23T00:00:00+03:00",
                "IsWeekend": true
            },
            {
                "HolidayDescription": "RAMAZAN BAYRAMI",
                "DayType": "2",
                "Date": "2020-05-24T00:00:00+03:00",
                "IsWeekend": true
            },
            {
                "HolidayDescription": "RAMAZAN BAYRAMI",
                "DayType": "2",
                "Date": "2020-05-25T00:00:00+03:00",
                "IsWeekend": ""
            },
            {
                "HolidayDescription": "RAMAZAN BAYRAMI",
                "DayType": "2",
                "Date": "2020-05-26T00:00:00+03:00",
                "IsWeekend": ""
            }
        ]
    }
}