Upload an XLSX file containing time entries to be created. Existing time entries cannot be updated via this feature.

The response will contain import stats: number of created entries, rows failed to be imported with errors etc. Row number is used as a key to identify the imported time entry in response stats.

Examples

{
  "ok": true,
  "new": 3,
  "updated": 0,
  "failed": [6, 7],
  "new_items": [4, 5, 8],
  "updated_items": [],
  "errors": {
    "4": [],
    "5": [],
    "6": ["Failed to find task with name 'Invoicing' for cost center ID 42"],
    "7": ["Failed to find user with name 'John Smith'"],
    "8": []
  }
}

Params

Param name Description
file
required

XLSX file with time entries to create.

Validations:

  • Must be a File