# Get WIP time entry by ID Retrieve a specific work-in-progress (WIP) time entry by its unique identifier This endpoint provides detailed WIP time entry information including: - Complete time entry details and descriptions - Time entry status and approval information - Client, project, and task relationships - Billable and non-billable time tracking - Rate calculations and billing preparation - Time entry history and modifications WIP Time Management Features: - Time entry lifecycle tracking - Billable vs non-billable time classification - Rate calculation and billing preparation - Project and task relationship management - Approval workflow integration WIP Time Details Include: - Time entry description and details - Time entry status and type - Client, project, and task information - Time duration and rates - Billable calculations - Approval status Business Applications: - Time entry review and approval - Billable time calculation - Project time tracking - Client billing preparation - Productivity analysis Real Example: bash curl --location 'https://{{host}}/v1/wip/89012' \ --header 'Authorization: bearer {{token}}' \ --header 'Content-Type: application/json' Response Example: json { "id": 89012, "description": "Financial statement review and analysis", "status": "PENDING_APPROVAL", "type": "BILLABLE", "staffId": 123, "staffName": "John Smith", "clientId": 789, "clientName": "Acme Corporation", "projectId": 67890, "projectName": "Q4 Financial Audit", "taskId": 456, "taskName": "Financial Statement Review", "date": "2024-11-20T00:00:00Z", "startTime": "2024-11-20T09:00:00Z", "endTime": "2024-11-20T17:00:00Z", "duration": 8.0, "billableHours": 8.0, "nonBillableHours": 0.0, "hourlyRate": 250.00, "billableAmount": 2000.00, "currency": "USD", "notes": "Completed comprehensive review of Q4 financial statements including variance analysis", "approvalHistory": [ { "id": 1, "approverId": 124, "approverName": "Jane Doe", "approvalDate": "2024-11-21T10:30:00Z", "status": "PENDING", "comments": "Under review" } ], "createdAt": "2024-11-20T17:30:00Z", "updatedAt": "2024-11-21T10:30:00Z" } Endpoint: GET /gql/v1/wip/{id} Version: 1.0.0 Security: BearerAuth ## Path parameters: - `id` (integer, required) Unique identifier of the WIP time entry Example: 89012 ## Response 200 fields (application/json): - `id` (integer) Unique WIP time entry identifier Example: 89012 - `description` (string) Time entry description Example: "Financial statement review and analysis" - `status` (string) Time entry status Enum: "DRAFT", "SUBMITTED", "PENDING_APPROVAL", "APPROVED", "REJECTED", "BILLED" - `type` (string) Time entry type Enum: "BILLABLE", "NON_BILLABLE", "PTO", "TRAINING", "ADMINISTRATIVE" - `staffId` (integer) Staff member identifier Example: 123 - `staffName` (string) Staff member name Example: "John Smith" - `clientId` (integer) Associated client identifier Example: 789 - `clientName` (string) Client name Example: "Acme Corporation" - `projectId` (integer) Associated project identifier Example: 67890 - `projectName` (string) Project name Example: "Q4 Financial Audit" - `taskId` (integer) Associated task identifier Example: 456 - `taskName` (string) Task name Example: "Financial Statement Review" - `date` (string) Date of time entry Example: "2024-11-20T00:00:00Z" - `startTime` (string) Start time of work Example: "2024-11-20T09:00:00Z" - `endTime` (string) End time of work Example: "2024-11-20T17:00:00Z" - `duration` (number) Total duration in hours Example: 8 - `billableHours` (number) Billable hours Example: 8 - `nonBillableHours` (number) Non-billable hours - `hourlyRate` (number) Hourly rate for this time entry Example: 250 - `billableAmount` (number) Total billable amount Example: 2000 - `currency` (string) Currency code Example: "USD" - `notes` (string) Additional notes about the time entry Example: "Completed comprehensive review of Q4 financial statements including variance analysis" - `approvalHistory` (array) Approval history for this time entry - `approvalHistory.id` (integer) Approval record identifier Example: 1 - `approvalHistory.approverId` (integer) Approver identifier Example: 124 - `approvalHistory.approverName` (string) Approver name Example: "Jane Doe" - `approvalHistory.approvalDate` (string) Approval date Example: "2024-11-21T10:30:00Z" - `approvalHistory.status` (string) Approval status Enum: "PENDING", "APPROVED", "REJECTED", "COMMENTS" - `approvalHistory.comments` (string) Approval comments Example: "Under review" - `createdAt` (string) Time entry creation timestamp Example: "2024-11-20T17:30:00Z" - `updatedAt` (string) Last update timestamp Example: "2024-11-21T10:30:00Z" ## Response 404 fields (application/json): - `error` (string) Example: "WIP time entry not found" - `message` (string) Example: "WIP time entry with ID 89012 does not exist" ## Response 401 fields ## Response 403 fields ## Response 500 fields