SpyREST

Supported by Mashape

Home » app.liquidplanner.com Versions » Default Resources » Timesheet » GET /api/workspaces/{:workspace-id}/timesheets

GET /api/workspaces/{:workspace-id}/timesheets

Description

Query Parameters

Name Type Example Values Description
member_id Integer 552590

Response Fields

Name Type Description
Array
[].daily_totals Array
[].daily_totals[] Integer
[].ends String
[].member_id Integer
[].starts String
[].state String
[].type String
[].id Integer
Write
Preview

Examples

shows the list of timesheet...

shows the list of timesheets for a user

Recorded at

2015-05-14 18:21:08 UTC

Try with cURL

Request URL

Requires Authorization
GET /api/workspaces/143500/timesheets?member_id=552590      

Query Parameters

member_id: 552590
      

Request Headers

authorization: FILTERED
content-type: application/json
user-agent: curl/7.37.1
      

Response Headers

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
      

Response Body

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
  }
]