v1

latestOpenAPI 3.0.1Apache 2.02026-07-2473111182.6 KB
CSV Export Job

Retrieve a CSV export job

Get a CSV export job for the specified business id, branch id and job id

get/api/business/{businessId}/branch/{branchId}/csvexportjob/{jobId}

Path parameters

businessIdstring required
branchIdstring required
jobIdstring required

Response

Specified CSV export job retrieved

jobIdstring
jobType'TRANSACTIONS_CSV' | 'SUNDRIES_CSV' | 'DATEV_CSV' | 'CLIENT_COURSES_CSV' | 'CLIENT_COURSE_TRANSACTIONS_CSV' | 'CLIENT_CSV'
jobStatus'SCHEDULED' | 'RUNNING' | 'FAILED' | 'DONE'
startedstring date-time

Job start time

finishedstring date-time

Job end time

startFilterstring date
finishFilterstring date
filterExpressionstring
totalRowsinteger
succeededRowsinteger
tempCsvExternalUrlstring

Url to csv file generated

failureReasonstring

Example response

{
  "jobId": "abc-12345678",
  "filterExpression": "updated=<2018-01-31T23:59:59.999Z&updated=>2018-01-01T00:0:00.000Z",
  "totalRows": 530,
  "succeededRows": 492,
  "tempCsvExternalUrl": "https://eu1-mem.s3-eu-west-1.amazonaws.com/mem-prd/business/eTC3QY5W3p_HmGHezKfxJw/csvexport",
  "failureReason": "No records found"
}