POST api/Report/TimesheetReport
Generates Timesheet report for agents
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| request |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{
"start_date": "2025-12-03T08:46:02.4001943-05:00",
"end_date": "2025-12-03T08:46:02.4001943-05:00",
"filter_on": 0,
"company_id": 3,
"agent_id": 4,
"page_size": 5,
"page_number": 6
}
application/xml, text/xml
Sample:
<timesheet_request xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api.Reporting"> <agent_id>4</agent_id> <company_id>3</company_id> <end_date>2025-12-03T08:46:02.4001943-05:00</end_date> <filter_on>CreatedDate</filter_on> <page_number>6</page_number> <page_size>5</page_size> <start_date>2025-12-03T08:46:02.4001943-05:00</start_date> </timesheet_request>
Response Information
Response body formats
application/json, text/json
Sample:
{
"UserId": 1,
"work_logs_hours": null,
"work_logs": [
{
"brandid": 1,
"ticket_id": 2,
"ticket_sub_id": 3,
"company": "sample string 4",
"contact_full_name": "sample string 5",
"amount_due": 6.1,
"ticket_subject": "sample string 7",
"date_performed": "2025-12-03T08:46:02.4001943-05:00",
"duration": "sample string 9",
"task": "sample string 10",
"agent": "sample string 11",
"billable": true,
"notes": "sample string 13",
"work_log_id": 14
},
{
"brandid": 1,
"ticket_id": 2,
"ticket_sub_id": 3,
"company": "sample string 4",
"contact_full_name": "sample string 5",
"amount_due": 6.1,
"ticket_subject": "sample string 7",
"date_performed": "2025-12-03T08:46:02.4001943-05:00",
"duration": "sample string 9",
"task": "sample string 10",
"agent": "sample string 11",
"billable": true,
"notes": "sample string 13",
"work_log_id": 14
},
{
"brandid": 1,
"ticket_id": 2,
"ticket_sub_id": 3,
"company": "sample string 4",
"contact_full_name": "sample string 5",
"amount_due": 6.1,
"ticket_subject": "sample string 7",
"date_performed": "2025-12-03T08:46:02.4001943-05:00",
"duration": "sample string 9",
"task": "sample string 10",
"agent": "sample string 11",
"billable": true,
"notes": "sample string 13",
"work_log_id": 14
}
]
}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
