Update 'README.md'
This commit is contained in:
parent
4c45d00989
commit
99c5e5cd13
36
README.md
36
README.md
|
@ -55,25 +55,29 @@ That endpoint accepts a list of required and optional parameters
|
||||||
|
|
||||||
By default, responses are returned as a json array
|
By default, responses are returned as a json array
|
||||||
```
|
```
|
||||||
[{
|
{
|
||||||
id: string;
|
holidays: [{
|
||||||
date: string(ISO 8601);
|
id: string;
|
||||||
name: string;
|
date: string(ISO 8601);
|
||||||
description: string;
|
name: string;
|
||||||
isStateHoliday: boolean;
|
description: string;
|
||||||
isReligiousHoliday: boolean;
|
isStateHoliday: boolean;
|
||||||
},...]
|
isReligiousHoliday: boolean;
|
||||||
|
},...]
|
||||||
|
}
|
||||||
```
|
```
|
||||||
eg.
|
eg.
|
||||||
```
|
```
|
||||||
[{
|
{
|
||||||
"id": "74a2a769-abf2-45d4-bdc4-442bbcc89138",
|
"holidays": [{
|
||||||
"date": "2023-12-25",
|
"id": "74a2a769-abf2-45d4-bdc4-442bbcc89138",
|
||||||
"name": "Christmas",
|
"date": "2023-12-25",
|
||||||
"description": "TBD",
|
"name": "Christmas",
|
||||||
"isStateHoliday": true,
|
"description": "TBD",
|
||||||
"isReligiousHoliday": true
|
"isStateHoliday": true,
|
||||||
}]
|
"isReligiousHoliday": true
|
||||||
|
}]
|
||||||
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
But can be returned as XML or CSV by setting appropriate `Accept` header (application/xml, text/xml or text/csv)
|
But can be returned as XML or CSV by setting appropriate `Accept` header (application/xml, text/xml or text/csv)
|
||||||
|
|
Loading…
Reference in New Issue