export_times_and_leaves
Download a Gryzzly export of declared time and leave periods for a date range in CSV or XLSX, optionally saving to a server path. Read-only.
Instructions
Download Gryzzly's combined export of declared time and leave periods over a date range, as CSV or XLSX, optionally saved to a path on the server's machine. Prefer list_time_entries or timesheet for reading time: this endpoint authenticates a browser session upstream, so with an API key it currently fails with an explanation rather than a file. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Last day of the period. | |
| from | No | First day of the period. | |
| format | No | The file format. Defaults to `csv`. | |
| save_to | No | A path on the machine running this server to write the file to. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Set when the file was too large to inline. | |
| text | No | The file itself, when it is text and small enough to read here. | |
| bytes | Yes | How many bytes came back. | |
| saved_to | No | Where the file was written, when `save_to` was given. | |
| content_type | Yes | The file's media type, as Gryzzly labelled it. |