Finance > Timesheets

Export pending timesheets

GET export pending timesheets

Endpoint

GET /api/v1/finance/timesheets/export_pending

Parameters

Name Description
passcode required Admin passcode

Request

Route

GET /api/v1/finance/timesheets/export_pending?passcode=1234

Headers

Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiI1ODUiLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3NjA5NTA0NDQsImV4cCI6MTc2MzU0MjQ0NCwianRpIjoiNDA4NThmZjItODBiMS00MDVhLTliZmQtZWUxNDJjMjU4YzljIn0.6l7u7blNY7PZjPhvXYwjTZMUFJ-kT9_4ifRH2wI8Mec
Host: example.org
Cookie: 

Query Parameters

passcode=1234

Body

{
}

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-10-20.csv"; filename*=UTF-8''drivers-report-2025-10-20.csv
content-transfer-encoding: binary
vary: Accept, Origin
etag: W/"8bc1b480c33a4a3618e157a646ce58fe"
cache-control: max-age=0, private, must-revalidate
x-request-id: 8a427f3e-a5c0-42af-bf3b-e1c08f50299a
x-runtime: 0.073889
content-length: 601

Body

Name,Id,Company,Job,Date,Hours,Rate,Total
39,Lester Bernhard,554,Monahan-Blanda,Chief Coordinator,2025-10-20,4.0,81.0,324.0
40,Delbert Ryan,556,Bradtke Inc,Senior Administrator,2025-10-20,4.0,32.4,129.6
41,Elaina Harvey,558,"Muller, Adams and Upton",Legal Coordinator,2025-10-20,4.0,45.0,180.0
42,Ollie Tromp,560,Kunze Inc,District Legal Designer,2025-10-20,4.0,30.6,122.4
43,Mathilde McKenzie,562,Shanahan and Sons,Internal Orchestrator,2025-10-20,4.0,46.8,187.2
598,Ollie Conn,563,"","",2025-10-13,"",10.0
603,Augustus Fadel,565,"","",2025-10-13,"",10.0
608,Jayson Haag,567,"","",2025-10-13,"",10.0