Get Exchange Holidays
GET/v1.2/master-data/exchange/holidays
This endpoint provides information about exchange holidays.
For customer tokens, the exchange list is required. When using server tokens, the exchange list is optional. If you do not provide an exchange list with a server token, it will return all holiday details for the institution's assigned exchanges.
Request
Query Parameters
exchangeList string
This is optional for server token and required for customer token. There should not be any space in the string.
Example: NSDQ,DFM,ADSM
year integer
pageNo integer
Default value: 1
pageWidth integer
Default value: 100
Header Parameters
Throttle-Key string
Responses
- 200
- 401
OK
- application/json
- Schema
- Example (from schema)
- SUCCESS
Schema
- Array [
- ]
status stringrequired
Possible values: [SUCCESS
, FAILED
]
reason string
rejectCode number
Find error codes here
pageNo number
pageWidth number
isNextPageAvailable boolean
totalNoOfRecords number
holidays object[]
exchange string
date string
Possible values: Value must match regular expression yyyy/MM/dd
holidayDescription string
settleEnabled number
Possible values: [1-Enabled
, 0-Disabled
]
tradeEnabled number
Possible values: [1-Enabled
, 0-Disabled
]
{
"status": "SUCCESS",
"reason": "string",
"rejectCode": 0,
"pageNo": 0,
"pageWidth": 0,
"isNextPageAvailable": true,
"totalNoOfRecords": 0,
"holidays": [
{
"exchange": "string",
"date": "string",
"holidayDescription": "string",
"settleEnabled": "1-Enabled",
"tradeEnabled": "1-Enabled"
}
]
}
{
"status": "SUCCESS",
"rejectCode": 0,
"holidays": [
{
"exchange": "DFM",
"date": "2023/01/01",
"holidayDescription": "NEW YEAR HOLIDAY",
"settleEnabled": 0,
"tradeEnabled": 0
},
{
"exchange": "AMEX",
"date": "2023/02/04",
"holidayDescription": "NATIONAL DAY",
"settleEnabled": 0,
"tradeEnabled": 0
}
],
"totalNoOfRecords": 2,
"pageNo": 1,
"pageWidth": 100,
"isNextPageAvailable": false
}
Unauthorized
- application/json
- Schema
- Example (from schema)
- Invalid Token
- Expired Token
Schema
timestamp string
status string
error string
message string
path string
rejectCode string
{
"timestamp": "string",
"status": "string",
"error": "string",
"message": "string",
"path": "string",
"rejectCode": "string"
}
{
"timestamp": "2023-12-28T09:51:50.682Z",
"status": "401",
"error": "Unauthorized",
"message": "Invalid Token",
"path": "/api/v1.2/customer/register/validate-username",
"rejectCode": "1008"
}
{
"timestamp": "2023-12-28T09:51:50.682Z",
"status": "401",
"error": "Unauthorized",
"message": "Expired Token",
"path": "/api/v1.2/customer/register/validate-username",
"rejectCode": "1007"
}
Loading...
Is this page helpful for you?