Finance > Timesheets

Export individual pending timesheets and rewards

GET export pending timesheets individual

Endpoint

GET /api/v1/finance/timesheets/export_pending_individual

Parameters

Name Description
timesheet_ids Array of timesheet ids
reward_ids Array of reward ids
passcode required Admin passcode

Request

Route

GET /api/v1/finance/timesheets/export_pending_individual?timesheet_ids[]=45&timesheet_ids[]=46&timesheet_ids[]=47&timesheet_ids[]=48&timesheet_ids[]=49&reward_ids[]=655&reward_ids[]=660&reward_ids[]=665&reward_ids[]=670&reward_ids[]=675&passcode=1234

Headers

Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiI2MzEiLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3Mzc1NTE1NjQsImV4cCI6MTc0MDE0MzU2NCwianRpIjoiYTg0YzM5YmMtMGRhMi00M2M2LWIyZTEtODhlY2RjMTUxNGNhIn0.8C0BL0lwGzDtpdYcUFOhjtUDRYiQ4d1Qs6RYBjrLJzM
Host: example.org
Cookie: 

Query Parameters

timesheet_ids=["45", "46", "47", "48", "49"]
reward_ids=["655", "660", "665", "670", "675"]
passcode=1234

Response

Simulated Response

Status

200

Headers

x-frame-options: SAMEORIGIN
x-xss-protection: 0
x-content-type-options: nosniff
x-permitted-cross-domain-policies: none
referrer-policy: strict-origin-when-cross-origin
content-type: text/csv
content-disposition: attachment; filename="drivers-report-2025-01-22.csv"; filename*=UTF-8''drivers-report-2025-01-22.csv
content-transfer-encoding: binary
vary: Accept, Origin
etag: W/"04ab362310631325091e50c840061a03"
cache-control: max-age=0, private, must-revalidate
x-request-id: 2d3f331a-4803-487c-b426-1a6c4b3ebbc1
x-runtime: 0.071991
content-length: 707

Body

Name,Id,Company,Job,Date,Hours,Rate,Total
Carylon Schulist,584,Larson-Murphy,Regional Accounting Director,2025-01-22,4.0,26.316,105.26
Emmitt Leannon,586,Huel and Sons,Chief Accounting Assistant,2025-01-22,4.0,22.896,91.58
Randy Will,588,Heathcote-White,Regional Advertising Supervisor,2025-01-22,4.0,65.682,262.73
Lucienne Funk,590,Hilll-Block,Lead Healthcare Architect,2025-01-22,4.0,65.844,263.38
Viviana Legros,592,Little LLC,Customer Mining Supervisor,2025-01-22,4.0,13.005,52.02
Athena Greenfelder,615,"","",2025-01-13,"",10.0
Foster Hettinger,617,"","",2025-01-13,"",10.0
Jerald Wolf,619,"","",2025-01-13,"",10.0
Carl Schaden,621,"","",2025-01-13,"",10.0
Brittny Ritchie,623,"","",2025-01-13,"",10.0