POST TimeClockReport/ExportWeeklyToExcel
Request Information
URI Parameters
None.
Body Parameters
IConnect.Domain.Reports.EmployeeReport.TimeClockReport.ReportViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| TimeClockTypes | Collection of IConnect.Domain.Employees.ViewModels.TimeClockTypeViewModel |
None. |
|
| Employees | Collection of IConnect.Core.JsonSimpleViewModel |
None. |
|
| SelectedCompanies | Collection of integer |
None. |
|
| SelectedTimeClocks | Collection of integer |
None. |
|
| SelectedSortBy | integer |
None. |
|
| TimeClockTypeId | integer |
None. |
|
| SelectedEmployeeId | integer |
None. |
|
| GetDeleted | boolean |
None. |
|
| ActiveTab | IConnect.Domain.Reports.EmployeeReport.TimeClockReport.TimeClockTab |
None. |
|
| ClockInOutNotesEnabled | boolean |
None. |
|
| IsPayrollServiceEnabled | boolean |
None. |
|
| Start | date |
None. |
|
| End | date |
None. |
|
| StartDateObjectString | string |
None. |
|
| EndDateObjectString | string |
None. |
|
| SkipTimeZoneConvertion | boolean |
None. |
|
| ForceImmediateExport | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"TimeClockTypes": [
{
"TimeClockTypeId": 1,
"Name": "sample string 2",
"CanClockIn": true,
"PayRate": 1.0,
"OvertimePayRate": 1.0
},
{
"TimeClockTypeId": 1,
"Name": "sample string 2",
"CanClockIn": true,
"PayRate": 1.0,
"OvertimePayRate": 1.0
}
],
"Employees": [
{
"id": {},
"name": "sample string 2"
},
{
"id": {},
"name": "sample string 2"
}
],
"SelectedCompanies": [
1,
2
],
"SelectedTimeClocks": [
1,
2
],
"SelectedSortBy": 1,
"TimeClockTypeId": 1,
"SelectedEmployeeId": 2,
"GetDeleted": true,
"ActiveTab": 0,
"ClockInOutNotesEnabled": true,
"IsPayrollServiceEnabled": true,
"Start": "2025-12-15T16:13:54.9294538-05:00",
"End": "2025-12-15T16:13:54.9294538-05:00",
"StartDateObjectString": "{\"year\":2025,\"month\":12,\"date\":15,\"hours\":16,\"minutes\":13,\"seconds\":54,\"miliseconds\":929}",
"EndDateObjectString": "{\"year\":2025,\"month\":12,\"date\":15,\"hours\":16,\"minutes\":13,\"seconds\":54,\"miliseconds\":929}",
"SkipTimeZoneConvertion": true,
"ForceImmediateExport": true
}
application/xml, text/xml
Sample:
<ReportViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Reports.EmployeeReport.TimeClockReport">
<_x003C_End_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Reports">2025-12-15T16:13:54.9294538-05:00</_x003C_End_x003E_k__BackingField>
<_x003C_ForceImmediateExport_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Reports">true</_x003C_ForceImmediateExport_x003E_k__BackingField>
<_x003C_SkipTimeZoneConvertion_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Reports">true</_x003C_SkipTimeZoneConvertion_x003E_k__BackingField>
<_x003C_Start_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Reports">2025-12-15T16:13:54.9294538-05:00</_x003C_Start_x003E_k__BackingField>
<_x003C_ActiveTab_x003E_k__BackingField>ClockInHistory</_x003C_ActiveTab_x003E_k__BackingField>
<_x003C_ClockInOutNotesEnabled_x003E_k__BackingField>true</_x003C_ClockInOutNotesEnabled_x003E_k__BackingField>
<_x003C_Employees_x003E_k__BackingField xmlns:d2p1="http://schemas.datacontract.org/2004/07/IConnect.Core">
<d2p1:JsonSimpleViewModel>
<d2p1:Id />
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:JsonSimpleViewModel>
<d2p1:JsonSimpleViewModel>
<d2p1:Id />
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:JsonSimpleViewModel>
</_x003C_Employees_x003E_k__BackingField>
<_x003C_GetDeleted_x003E_k__BackingField>true</_x003C_GetDeleted_x003E_k__BackingField>
<_x003C_IsPayrollServiceEnabled_x003E_k__BackingField>true</_x003C_IsPayrollServiceEnabled_x003E_k__BackingField>
<_x003C_SelectedCompanies_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</_x003C_SelectedCompanies_x003E_k__BackingField>
<_x003C_SelectedEmployeeId_x003E_k__BackingField>2</_x003C_SelectedEmployeeId_x003E_k__BackingField>
<_x003C_SelectedSortBy_x003E_k__BackingField>1</_x003C_SelectedSortBy_x003E_k__BackingField>
<_x003C_SelectedTimeClocks_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</_x003C_SelectedTimeClocks_x003E_k__BackingField>
<_x003C_TimeClockTypeId_x003E_k__BackingField>1</_x003C_TimeClockTypeId_x003E_k__BackingField>
<_x003C_TimeClockTypes_x003E_k__BackingField xmlns:d2p1="http://schemas.datacontract.org/2004/07/IConnect.Domain.Employees.ViewModels">
<d2p1:TimeClockTypeViewModel>
<d2p1:CanClockIn>true</d2p1:CanClockIn>
<d2p1:Name>sample string 2</d2p1:Name>
<d2p1:OvertimePayRate>1</d2p1:OvertimePayRate>
<d2p1:PayRate>1</d2p1:PayRate>
<d2p1:TimeClockTypeId>1</d2p1:TimeClockTypeId>
</d2p1:TimeClockTypeViewModel>
<d2p1:TimeClockTypeViewModel>
<d2p1:CanClockIn>true</d2p1:CanClockIn>
<d2p1:Name>sample string 2</d2p1:Name>
<d2p1:OvertimePayRate>1</d2p1:OvertimePayRate>
<d2p1:PayRate>1</d2p1:PayRate>
<d2p1:TimeClockTypeId>1</d2p1:TimeClockTypeId>
</d2p1:TimeClockTypeViewModel>
</_x003C_TimeClockTypes_x003E_k__BackingField>
</ReportViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
System.Web.Http.IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.