Get manual time request
/v2/manual_time_requests/{manual_time_request_id}Returns the manual time request with the given ID.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
manual_time_request_idrequired | path | integer (int32) |
Responses
200—
- manual_time_requestobjectobject
ManualTimeRequest model
- idinteger required
Manual time request ID
- member_idinteger required
Member (user) ID who submitted the request
- project_idinteger required
Project ID
- task_idinteger
Task ID if associated with a task
- start_timestring required
Start time of the manual time entry
- stop_timestring required
Stop time of the manual time entry
- submitted_atstring required
When the request was submitted
- approved_atstring
When the request was approved
- denied_atstring
When the request was denied
- duration_secondsinteger required
Duration in seconds
- notesstring
Notes for the time entry
- statusstring required
Status: submitted, approved, or denied
- reviewer_idinteger
ID of user who approved or denied (approved_by when approved, denied_by when denied)
- denial_reasonstring
Reason for denial (only present when status is denied)
- organization_idinteger required
Organization ID
- datestring required
Calendar date (org tz) from start_time. The list date[] filter is overlap on starts/stops (in_range).
- billableboolean required
Whether the time is billable
- reason_to_submitstring required
Reason the manual time was submitted
- submitted_by_idinteger required
User ID who submitted the request
- approved_by_idinteger
User ID who approved the request
- denied_by_idinteger
User ID who denied the request
- attachment_original_filenamestring
Original filename of attachment if present
- created_atstring required
When the record was created
- updated_atstring required
When the record was last updated
{
"manual_time_request": {
"id": 0,
"member_id": 0,
"project_id": 0,
"task_id": 0,
"start_time": "2024-01-15T10:30:00Z",
"stop_time": "2024-01-15T10:30:00Z",
"submitted_at": "2024-01-15T10:30:00Z",
"approved_at": "2024-01-15T10:30:00Z",
"denied_at": "2024-01-15T10:30:00Z",
"duration_seconds": 0,
"notes": "string",
"status": "string",
"reviewer_id": 0,
"denial_reason": "string",
"organization_id": 0,
"date": "2024-01-15",
"billable": false,
"reason_to_submit": "string",
"submitted_by_id": 0,
"approved_by_id": 0,
"denied_by_id": 0,
"attachment_original_filename": "string",
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-15T10:30:00Z"
}
}400Invalid parameters
Hubstaff_Public_V2_Entities_Error model
- codestring required
Legacy string error code for backward compatibility
- error_codeinteger
Numeric error code for i18n/programmatic handling. Ranges: 10000-10999 (Auth), 11000-11999 (Validation), 12000-12999 (Resource), 13000-13999 (Rate Limit), 14000-14999 (Time Entry/Activity), 15000-15999 (System). See GET /v2/error_codes for full reference.
- errorstring required
Human-readable error message
- detailsarray
Per-attribute validation errors: [{attribute, error}]. Present on validation failures.
array<string>Per-attribute validation errors: [{attribute, error}]. Present on validation failures.
itemsstring
{
"code": "string",
"error_code": 0,
"error": "string",
"details": [
"string"
]
}401Unauthorized
Hubstaff_Public_V2_Entities_Error model
- codestring required
Legacy string error code for backward compatibility
- error_codeinteger
Numeric error code for i18n/programmatic handling. Ranges: 10000-10999 (Auth), 11000-11999 (Validation), 12000-12999 (Resource), 13000-13999 (Rate Limit), 14000-14999 (Time Entry/Activity), 15000-15999 (System). See GET /v2/error_codes for full reference.
- errorstring required
Human-readable error message
- detailsarray
Per-attribute validation errors: [{attribute, error}]. Present on validation failures.
array<string>Per-attribute validation errors: [{attribute, error}]. Present on validation failures.
itemsstring
{
"code": "string",
"error_code": 0,
"error": "string",
"details": [
"string"
]
}403API access is only for organizations on an active plan
Hubstaff_Public_V2_Entities_Error model
- codestring required
Legacy string error code for backward compatibility
- error_codeinteger
Numeric error code for i18n/programmatic handling. Ranges: 10000-10999 (Auth), 11000-11999 (Validation), 12000-12999 (Resource), 13000-13999 (Rate Limit), 14000-14999 (Time Entry/Activity), 15000-15999 (System). See GET /v2/error_codes for full reference.
- errorstring required
Human-readable error message
- detailsarray
Per-attribute validation errors: [{attribute, error}]. Present on validation failures.
array<string>Per-attribute validation errors: [{attribute, error}]. Present on validation failures.
itemsstring
{
"code": "string",
"error_code": 0,
"error": "string",
"details": [
"string"
]
}404Could not find record
Hubstaff_Public_V2_Entities_Error model
- codestring required
Legacy string error code for backward compatibility
- error_codeinteger
Numeric error code for i18n/programmatic handling. Ranges: 10000-10999 (Auth), 11000-11999 (Validation), 12000-12999 (Resource), 13000-13999 (Rate Limit), 14000-14999 (Time Entry/Activity), 15000-15999 (System). See GET /v2/error_codes for full reference.
- errorstring required
Human-readable error message
- detailsarray
Per-attribute validation errors: [{attribute, error}]. Present on validation failures.
array<string>Per-attribute validation errors: [{attribute, error}]. Present on validation failures.
itemsstring
{
"code": "string",
"error_code": 0,
"error": "string",
"details": [
"string"
]
}429Rate limit exceeded
Hubstaff_Public_V2_Entities_Error model
- codestring required
Legacy string error code for backward compatibility
- error_codeinteger
Numeric error code for i18n/programmatic handling. Ranges: 10000-10999 (Auth), 11000-11999 (Validation), 12000-12999 (Resource), 13000-13999 (Rate Limit), 14000-14999 (Time Entry/Activity), 15000-15999 (System). See GET /v2/error_codes for full reference.
- errorstring required
Human-readable error message
- detailsarray
Per-attribute validation errors: [{attribute, error}]. Present on validation failures.
array<string>Per-attribute validation errors: [{attribute, error}]. Present on validation failures.
itemsstring
{
"code": "string",
"error_code": 0,
"error": "string",
"details": [
"string"
]
}