API Documentation
Timesheet Reports ¶
GET /api/v2/timesheet_reports
Requests
GET /api/v2/timesheet_reports?filter[person_id]=4741
Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+json
Responses
Headers
Content-Type: application/vnd.api+json; charset=utf-8
Body
{
"data": [
{
"id": "timesheet-report-2021/W03-4741-b61bc7fe59ad7360984f0087de616631",
"type": "timesheet_reports",
"attributes": {
"week": "2021/W03",
"monday_time": 0,
"monday_capacity": null,
"monday_available": null,
"tuesday_time": 0,
"tuesday_capacity": null,
"tuesday_available": null,
"wednesday_time": 0,
"wednesday_capacity": null,
"wednesday_available": null,
"thursday_time": 0,
"thursday_capacity": null,
"thursday_available": null,
"friday_time": 0,
"friday_capacity": null,
"friday_available": null,
"saturday_time": 0,
"saturday_capacity": null,
"saturday_available": null,
"sunday_time": 480,
"sunday_capacity": null,
"sunday_available": null
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": "1294"
}
},
"person": {
"data": {
"type": "people",
"id": "4741"
}
}
}
}
],
"included": [
{
"id": "4741",
"type": "people",
"attributes": {
"first_name": "test first name",
"last_name": "test last name",
"email": "user4683@email.com",
"title": null,
"joined_at": null,
"last_seen_at": null,
"deactivated_at": null,
"archived_at": null,
"role_id": 3,
"invited_at": "2021-01-24T00:09:31.000+01:00",
"is_user": true,
"tag_list": [],
"avatar_url": null,
"virtual": false,
"custom_fields": null,
"autotracking": false,
"created_at": "2021-01-24T00:09:31.885+01:00",
"placeholder": false,
"color_id": null,
"private_custom_reports_used": 0,
"contact": {}
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": 1294
}
},
"company": {
"data": {
"type": "companies",
"id": "7102"
}
},
"subsidiary": {
"data": null
}
}
},
{
"id": "7102",
"type": "companies",
"attributes": {
"name": "Client5818",
"billing_name": null,
"vat": null,
"default_currency": null,
"created_at": "2021-01-24T00:09:31.881+01:00",
"archived_at": null,
"avatar_url": null,
"invoice_email_recipients": {},
"custom_fields": null,
"description": null,
"due_days": null,
"tag_list": [],
"contact": {}
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": 1294
}
},
"bill_to": {
"data": null
}
}
}
],
"links": {
"first": "http://www.example.com/api/v2/timesheet_reports?filter%5Bperson_id%5D=4741&page%5Bnumber%5D=1&page%5Bsize%5D=30",
"last": "http://www.example.com/api/v2/timesheet_reports?filter%5Bperson_id%5D=4741&page%5Bnumber%5D=1&page%5Bsize%5D=30"
},
"meta": {
"current_page": 1,
"total_pages": 1,
"total_count": 1,
"page_size": 30,
"max_page_size": 200,
"organization_features": {
"custom_fields": {
"type": "metered",
"limit": 15,
"used": 0
},
"custom_fields_per_project": {
"type": "metered",
"limit": 10,
"used": 0
},
"public_custom_reports": {
"type": "metered",
"limit": 100,
"used": 0
},
"private_custom_reports": {
"type": "metered",
"limit": 30,
"used": 0
},
"scheduling_placeholders": {
"type": "metered",
"limit": 5,
"used": 0
},
"multigrouping": {
"type": "switch",
"available": true
},
"client_access_to_budgets": {
"type": "switch",
"available": true
},
"subsidiaries": {
"type": "switch",
"available": true
},
"time_approvals": {
"type": "switch",
"available": true
},
"expenses_approvals": {
"type": "switch",
"available": true
},
"timeoff_approvals": {
"type": "switch",
"available": true
},
"autotracking": {
"type": "switch",
"available": true
},
"forecasting": {
"type": "switch",
"available": true
},
"webhooks": {
"type": "switch",
"available": true
},
"table_pivoting": {
"type": "switch",
"available": true
},
"formula_fields": {
"type": "switch",
"available": true
},
"single_sign_on": {
"type": "switch",
"available": true
},
"duplicate_tasks": {
"type": "switch",
"available": true
},
"billable_time_rounding": {
"type": "switch",
"available": true
},
"payment_sync": {
"type": "switch",
"available": true
},
"booking_methods": {
"type": "switch",
"available": true
},
"import_tasks_csv": {
"type": "switch",
"available": true
},
"reactions": {
"type": "switch",
"available": true
},
"time_week_view": {
"type": "switch",
"available": true
},
"subtasks": {
"type": "switch",
"available": true
},
"time_calendar_layout": {
"type": "switch",
"available": true
},
"theming": {
"type": "switch",
"available": true
},
"remove_branding": {
"type": "switch",
"available": true
},
"custom_invoicing_email": {
"type": "switch",
"available": true
},
"google_calendar_layout": {
"type": "switch",
"available": true
}
},
"settings": {}
}
}
Get timesheet reportsGET/api/v2/timesheet_reports
Generated by aglio on 23 Jan 2021