Name | Type | Example Values | Description |
---|---|---|---|
member_id |
Integer | 552590 |
Name | Type | Description |
---|---|---|
Array | ||
[].daily_totals | Array | |
[].daily_totals[] | Integer | |
[].ends | String | |
[].member_id | Integer | |
[].starts | String | |
[].state | String | |
[].type | String | |
[].id | Integer |
shows the list of timesheets for a user
2015-05-14 18:21:08 UTC
GET /api/workspaces/143500/timesheets?member_id=552590
member_id: 552590
authorization: FILTERED content-type: application/json user-agent: curl/7.37.1
transfer-encoding: chunked connection: close content-length: 288 x-xss-protection: 1; mode=block x-request-id: 9f6a835f-255b-4b51-a4a0-552748f642cf x-lp-user: 552590 x-lp-space: 143500 x-lp-controller: Api::Timesheets x-lp-action: index x-frame-options: SAMEORIGIN, SAMEORIGIN x-forwarded-proto: https x-content-type-options: nosniff x-cache: HIT x-api-version: 3.0.0 vary: X-API-Version strict-transport-security: max-age=15768000 status: 304 Not Modified server: ECD (pae/37CA) last-modified: Thu, 14 May 2015 18:14:58 GMT etag: W/"3b539afac0ce1732a2b5be54a9b5e776" date: Thu, 14 May 2015 18:21:08 GMT content-type: application/json; charset=utf-8 cache-control: max-age=0, private, must-revalidate accept-ranges: bytes
Shortened for readability
[ { "daily_totals": [ 0, 4 ], "ends": "2015-05-09", "member_id": 552590, "starts": "2015-05-03", "state": "open", "type": "Timesheet", "id": 1291267 }, { "daily_totals": [ 0, 30 ], "ends": "2015-05-16", "member_id": 552590, "starts": "2015-05-10", "state": "open", "type": "Timesheet", "id": 1291270 } ]