action apacta_get_employee_hours { label: "Used to retrieve details about the logged in user's hours" provider: apacta method: GET path: "/employee_hours" encoding: json input: { type: "object" properties: { date_from: { type: "string" } date_to: { type: "string" } } required: ["date_from", "date_to"] additionalProperties: false } output: { type: "object" properties: { data: { type: "array" description: "One element per form in the period" items: { type: "object" properties: { form_date: { type: "string" format: "date" description: "Y-m-d formatted" } form_id: { type: "string" format: "uuid" } project_name: { type: "string" } total_hours: { type: "integer" format: "int32" description: "The amount of hours in seconds" } working_description: { type: "string" description: "Trimmed at 50 characters" } working_description_full: { type: "string" description: "Full work description (if available)" } } } } success: { type: "boolean" } } } }