import_leave_periods
Import leave periods from CSV or XLSX via inline content or server file path; the report lists every rejected line.
Instructions
Import leave periods from a CSV or an XLSX. The content can be written inline, or read from a path on the machine running this server. The report names every line Gryzzly refused.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | The format. Inferred from the file extension, or `csv` for inline content. | |
| content | No | The file's contents, for a CSV written inline. | |
| file_path | No | A path on the machine running this server, for a CSV or an XLSX. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | Whether the import went through. | |
| errors | No | Every line the importer rejected. |