Data[].TimesheetEvents[].Type0 Absence 1 Activity 2 Allowance 3 Break 4 Movement 5 Work 6 Error 7 Unpaid 8 TravelTime 9 External
Post Calculation allows you to export your time registration enriched with post calculation information.
Generally there are 2 methods for exporting post calculation. Activity based will export every action of the user during the day, allowing you to have reliable from/to times per cost center. CostCenter based will group the visits by cost center, so if a user visits the same cost center twice in a day, there is only one visit hence the from/to times can no longer be used.
| Mode | Description | |
|---|---|---|
Activity |
0 | Every post calculation event is used for output |
CostCenter |
1 | Post calculation events are grouped by cost center before being used for output |
When viewing the post calculation by cost center, the records are grouped by user/day/cost center. We also support second level grouping on 'activity code'. This option is only available when the mode is set to CostCenter. If the option is true we continue grouping on user/day/cost center. If the option is false the records are exported by user/day/cost center/activity code.
| GroupCostcenterByActivity | Description |
|---|---|
True |
Every post calculation event is used for output |
False |
Post calculation events are grouped by cost center before being used for output |
Exports the time registration enriched with post calculation information if available. Results are grouped per day, per user.
In order to export time registration for all users, set AllUsers to true.
In order to export time registration for the listed users, set AllUsers to false.
| Name | Type | Required | Example |
|---|---|---|---|
page | number | required | 1 |
search | string | required | ABC |
object
| Field | Type | Required |
|---|---|---|
UserIds(default = null) | array | optional |
AllUsers(default = false) | boolean | optional |
Mode(default = 0)
Calculate the postcalculation by activity or by costcenter.
| number | optional |
GroupCostcenterByActivity(default = false)
Group postcalculation by activity? | boolean | optional |
DateUtc | string | required |
Filter(default = null)
Filter on cost center. | string | optional |
IncludeTimesheet(default = false) | boolean | optional |
IncludeTimesheetEvents(default = false)
Include an overview of every event this day. This is similar to the bar graphs you can find on the 'Overview per user per day' screen in GeoDynamics. | boolean | optional |
IncludeTimeValidation(default = false) | boolean | optional |
IncludePostCalculationLog(default = false) | boolean | optional |
IncludeLossCostcenter(default = false) | boolean | optional |
{
"UserIds": [
"00000000-0000-0000-0000-000000000000",
"00000000-0000-0000-0000-000000000000"
],
"AllUsers": false,
"Mode": 0,
"GroupCostcenterByActivity": false,
"DateUtc": "2019-01-18T00:00:00",
"Filter": null,
"IncludeTimesheet": false,
"IncludeTimesheetEvents": false,
"IncludeTimeValidation": false,
"IncludePostCalculationLog": false,
"IncludeLossCostcenter": false
}| Field | Type |
|---|---|
Data | PostCalculationExport[] |
PagingFilter | PagingFilter |
Data[].TimesheetEvents[].Type0 Absence 1 Activity 2 Allowance 3 Break 4 Movement 5 Work 6 Error 7 Unpaid 8 TravelTime 9 External
Data[].TimesheetEvents[].EventType0 Absence paid1 Absence unpaid2 Activity3 Break4 Movement driver5 Movement passenger6 Movement single driver7 Work8 Load/Unload9 Travel time10 External11 Unpaid12 Allowance13 ErrorData[].TimesheetEvents[].StartResource.Type0 User 1 Vehicle 2 Timeclock 3 Asset 4 Ivr phone number 5 Cost center 6 Work place 7 Mobile clocking
Data[].TimesheetEvents[].StopResource.Type0 User 1 Vehicle 2 Timeclock 3 Asset 4 Ivr phone number 5 Cost center 6 Work place 7 Mobile clocking
Data[].TimesheetEvents[].StartLocation.CountryCode0 Belgium1 France2 Netherlands3 Luxembourg4 Italy5 Norway6 Denmark7 Sweden8 San Marino9 Andorra10 Germany11 United Kingdom12 Spain13 Portugal14 Switzerland15 Austria20 Hungary21 Czechia22 Greece23 Poland24 Slovakia25 Turkey26 Albania27 Bulgaria28 Bosnia Herzegovina29 Belarus30 Moldova31 Macedonia32 Montenegro33 Romania34 Serbia35 Ukraine36 Finland37 Ireland38 Malta39 Estonia40 Croatia41 Lithuania42 Latvia43 Slovenia44 Armenia45 Azerbaijan46 Cyprus47 Faroe Islands48 Georgia49 Gibraltar50 Iceland51 Monaco52 Russia53 Vatican54 Kosovo55 United Arab Emirates56 Afghanistan57 Argentina58 Australia59 Bangladesh60 Bahrain61 Brunei62 Bolivia63 Brazil64 Bhutan65 Botswana66 Belize67 Canada68 Congo69 Cote d'Ivoire70 Chile71 Cameroon72 China73 Colombia74 Costa Rica75 Cuba76 Dominican Republic77 Algeria78 Ecuador79 Egypt80 Eritrea81 Ethiopia82 Greenland83 Guatemala84 Honduras85 Haiti86 Indonesia87 Israel88 India89 Iraq90 Iran91 Jamaica92 Jordan93 Japan94 Kenya95 Kyrgyzstan96 Cambodia97 Korea98 Kuwait99 Kazakhstan100 Laos101 Lebanon102 Liechtenstein103 Sri Lanka104 Libya105 Morocco106 Mali107 Myanmar108 Mongolia109 Macao SAR110 Maldives111 Mexico112 Malaysia113 Nigeria114 Nicaragua115 Nepal116 New Zealand117 Oman118 Panama119 Peru120 Philippines121 Pakistan122 Puerto Rico123 Paraguay124 Qatar125 Reunion126 Rwanda127 Saudi Arabia128 Singapore129 Senegal130 Somalia131 El Salvador132 Syria133 Thailand134 Tajikistan135 Turkmenistan136 Tunisia137 Trinidad and Tobago138 Taiwan139 United States140 Uruguay141 Uzbekistan142 Venezuela143 Vietnam144 Yemen145 South Africa146 Zimbabwe147 Guinea-Bissau148 Angola149 Cabo Verde150 Sao Tome and Principe151 Mozambique152 Guinea153 Mauritania9999 UnknownData[].TimesheetEvents[].StopLocation.CountryCode0 Belgium1 France2 Netherlands3 Luxembourg4 Italy5 Norway6 Denmark7 Sweden8 San Marino9 Andorra10 Germany11 United Kingdom12 Spain13 Portugal14 Switzerland15 Austria20 Hungary21 Czechia22 Greece23 Poland24 Slovakia25 Turkey26 Albania27 Bulgaria28 Bosnia Herzegovina29 Belarus30 Moldova31 Macedonia32 Montenegro33 Romania34 Serbia35 Ukraine36 Finland37 Ireland38 Malta39 Estonia40 Croatia41 Lithuania42 Latvia43 Slovenia44 Armenia45 Azerbaijan46 Cyprus47 Faroe Islands48 Georgia49 Gibraltar50 Iceland51 Monaco52 Russia53 Vatican54 Kosovo55 United Arab Emirates56 Afghanistan57 Argentina58 Australia59 Bangladesh60 Bahrain61 Brunei62 Bolivia63 Brazil64 Bhutan65 Botswana66 Belize67 Canada68 Congo69 Cote d'Ivoire70 Chile71 Cameroon72 China73 Colombia74 Costa Rica75 Cuba76 Dominican Republic77 Algeria78 Ecuador79 Egypt80 Eritrea81 Ethiopia82 Greenland83 Guatemala84 Honduras85 Haiti86 Indonesia87 Israel88 India89 Iraq90 Iran91 Jamaica92 Jordan93 Japan94 Kenya95 Kyrgyzstan96 Cambodia97 Korea98 Kuwait99 Kazakhstan100 Laos101 Lebanon102 Liechtenstein103 Sri Lanka104 Libya105 Morocco106 Mali107 Myanmar108 Mongolia109 Macao SAR110 Maldives111 Mexico112 Malaysia113 Nigeria114 Nicaragua115 Nepal116 New Zealand117 Oman118 Panama119 Peru120 Philippines121 Pakistan122 Puerto Rico123 Paraguay124 Qatar125 Reunion126 Rwanda127 Saudi Arabia128 Singapore129 Senegal130 Somalia131 El Salvador132 Syria133 Thailand134 Tajikistan135 Turkmenistan136 Tunisia137 Trinidad and Tobago138 Taiwan139 United States140 Uruguay141 Uzbekistan142 Venezuela143 Vietnam144 Yemen145 South Africa146 Zimbabwe147 Guinea-Bissau148 Angola149 Cabo Verde150 Sao Tome and Principe151 Mozambique152 Guinea153 Mauritania9999 UnknownData[].PostCalculationEvents[].Resource.Type0 User 1 Vehicle 2 Timeclock 3 Asset 4 Ivr phone number 5 Cost center 6 Work place 7 Mobile clocking
{
"Data": [
{
"User": {
"Id": "00000000-0000-0000-0000-000000000000",
"Name": "John Doe",
"Code": "012345",
"EmployerCode": "ReplaceWithEncodedAuthentication",
"FreeField1": null,
"FreeField2": null,
"FreeField3": null,
"FreeField4": null,
"FreeField5": null,
"FreeField6": null
},
"DateUtc": "2019-01-18T00:00:00",
"DateLocal": "2019-01-18T00:00:00",
"TimeSheet": {
"NormalHours": 7.6,
"WorkedHours": 7.6,
"NormalWorkedHours": 7.6,
"Pause": 0.3,
"LoadUnload": 7.6,
"OvertimePositive": 7.6,
"OvertimeNegative": 7.6,
"OvertimeFirstHour": 7.6,
"OvertimeExtraHours": 7.6,
"OvertimeFirstHourCode": "`123'",
"OvertimeExtraHoursCode": "`123'",
"PoiCodeStart": "`012345'",
"PoiNameStart": "`Poi 1'",
"VehicleNameStart": "`Vehicle 1'",
"PoiCodeStop": "`012345'",
"PoiNameStop": "`Poi 1'",
"VehicleNameStop": "`Vehicle 1'",
"Mobility": {
"KmDriver": 100.2,
"KmPassenger": 100.2,
"KmSingleDriver": 12.4,
"KmHomeWork": 100.2,
"KmHomeSite": 100.2,
"KmHomeOther": 100.2,
"EurDriver": 9.53,
"EurPassenger": 9.53,
"EurSingleDriver": 6.53,
"EurHomeWork": 9.53,
"EurHomeSite": 9.53,
"EurHomeOther": 9.53,
"EurMobility": 9.53
},
"Absence": {
"Duration": 7.6,
"Code": "SICKNESS"
},
"StartMovementUtc": "07:03:55",
"StartMovementLocal": "07:03:55",
"StartWorkUtc": "07:03:55",
"StartWorkLocal": "07:03:55",
"StopWorkUtc": "07:03:55",
"StopWorkLocal": "07:03:55",
"StopMovementUtc": "07:03:55",
"StopMovementLocal": "07:03:55"
},
"TimesheetEvents": [
{
"Type": 0,
"EventType": 0,
"StartDateTimeLocal": "2019-03-12T11:01:51",
"StartDateTimeUtc": "2019-03-12T11:00:51",
"StopDateTimeLocal": "2019-03-12T11:01:51",
"StopDateTimeUtc": "2019-03-12T11:00:51",
"StartResource": {
"Id": "00000000-0000-0000-0000-000000000000",
"Code": "012345",
"Name": "John Doe",
"Type": 0
},
"StopResource": {
"Id": "00000000-0000-0000-0000-000000000000",
"Code": "012345",
"Name": "John Doe",
"Type": 0
},
"StartLocation": {
"CountryName": "Belgium",
"AddressLine": "Dumolinlaan 9, 8500 Kortrijk, BE",
"PoiList": [
"00000000-0000-0000-0000-000000000000",
"00000000-0000-0000-0000-000000000000"
],
"City": "Kortrijk",
"CityLine": "8500 Kortrijk, BE",
"CountryCode": 0,
"HouseNumber": "9",
"Latitude": 50.812939,
"Longitude": 3.245304,
"PostalCode": "8500",
"ShortAddressLine": "Dumolinlaan 9, Kortrijk, BE",
"Street": "Dumolinlaan",
"StreetLine": "Dumolinlaan 9",
"Submunicipality": "Kortrijk"
},
"StopLocation": {
"CountryName": "Belgium",
"AddressLine": "Dumolinlaan 9, 8500 Kortrijk, BE",
"PoiList": [
"00000000-0000-0000-0000-000000000000",
"00000000-0000-0000-0000-000000000000"
],
"City": "Kortrijk",
"CityLine": "8500 Kortrijk, BE",
"CountryCode": 0,
"HouseNumber": "9",
"Latitude": 50.812939,
"Longitude": 3.245304,
"PostalCode": "8500",
"ShortAddressLine": "Dumolinlaan 9, Kortrijk, BE",
"Street": "Dumolinlaan",
"StreetLine": "Dumolinlaan 9",
"Submunicipality": "Kortrijk"
},
"Duration": "00:37:54",
"Mileage": 1245.4,
"MileageBirdflight": 1100.5,
"JobNumber": "12345"
}
],
"PostCalculationEvents": [
{
"CostCenter": "Workplace 1",
"CostCenterFullCode": "Workplace 1",
"ActivityCode": "001",
"ActivityContext1": "Context 1",
"ActivityContext2": "Context2",
"ActivityContext3": "Context3",
"Duration": 7.6,
"TimeFromLocal": "2019-01-18T05:54:15",
"TimeFromUtc": "2019-01-18T06:54:15",
"TimeToLocal": "2019-01-18T05:58:16",
"TimeToUtc": "2019-01-18T06:58:16",
"Mobility": {
"KmDriver": 100.2,
"KmPassenger": 100.2,
"KmSingleDriver": 12.4,
"KmHomeWork": 100.2,
"KmHomeSite": 100.2,
"KmHomeOther": 100.2,
"EurDriver": 9.53,
"EurPassenger": 9.53,
"EurSingleDriver": 6.53,
"EurHomeWork": 9.53,
"EurHomeSite": 9.53,
"EurHomeOther": 9.53,
"EurMobility": 9.53
},
"Resource": {
"Id": "00000000-0000-0000-0000-000000000000",
"Code": "012345",
"Name": "John Doe",
"Type": 0
},
"Details": {
"DirectAssignedWorkTime": 7.6,
"IndirectAssignedWorkTime": 7.6,
"IndirectAssignedMobilityBeforeTime": 7.6,
"IndirectAssignedMobilityAfterTime": 7.6,
"IndirectAssignedMobilityTotalTime": 7.6,
"IndirectAssignedLoadUnloadTime": 7.6,
"IndirectAssignedTravelTime": 7.6,
"IndirectAssignedAbsencePaidTime": 7.6,
"IndirectAssignedAbsenceUnpaidTime": 7.6,
"DirectAssignedWorkDistance": 7.6,
"IndirectAssignedWorkDistance": 7.6,
"IndirectAssignedMobilityBeforeDistance": 7.6,
"IndirectAssignedMobilityAfterDistance": 7.6,
"IndirectAssignedMobilityTotalDistance": 7.6,
"IndirectAssignedLoadUnloadDistance": 7.6,
"IndirectAssignedTravelDistance": 7.6,
"TotalAssignedTime": 7.6,
"TotalAssignedDistance": 7.6,
"NormalWorkedHours": 7.6,
"FirstOvertimeHour": 7.6,
"ExtraOvertimeHours": 7.6,
"IndirectEvents": [
{
"Type": 0,
"Duration": 9.53,
"Resource": {
"Id": "00000000-0000-0000-0000-000000000000",
"Code": "012345",
"Name": "John Doe",
"Type": 0
},
"JobNumber": "12345"
}
]
},
"TimeValidation": {
"Approvals": [
{
"Approver": {
"Id": "00000000-0000-0000-0000-000000000000",
"Code": "012345",
"Name": "John Doe",
"Type": 0
}
}
],
"Disapprovals": [
{
"Disapprover": {
"Id": "00000000-0000-0000-0000-000000000000",
"Code": "012345",
"Name": "John Doe",
"Type": 0
},
"Reason": {
"En": "Bad",
"Nl": "Slecht",
"Fr": "Pas bien"
}
}
]
}
}
],
"PostCalculationLog": [
{
"Data": "",
"Entries": [
{}
]
}
],
"Verified": null,
"VerifiedDateUtc": "2019-01-18T00:00:00",
"VerifiedDateLocal": "2019-01-18T00:00:00"
}
],
"PagingFilter": {
"Page": 1,
"Search": "ABC",
"PageCount": 4,
"TotalCount": 100,
"Links": {
"Base": "https://api.geodynamics.dev",
"First": "/intellitracer/v2/postcalculation/export?page=1",
"Prev": "/intellitracer/v2/postcalculation/export?page=1",
"Next": "/intellitracer/v2/postcalculation/export?page=2",
"Last": "/intellitracer/v2/postcalculation/export?page=4"
}
}
}object
| Field | Type | Required |
|---|---|---|
PoiIdsIf no PoiIds are provided, the results will be for all Points of Interest. | array | optional |
ResourceIds | array | required |
FromDate | string | required |
ToDate | string | required |
MinimumDuration(default = 0.0)
Minimum duration in minutes. | number | optional |
{
"PoiIds": [
"00000000-0000-0000-0000-000000000000",
"00000000-0000-0000-0000-000000000000"
],
"ResourceIds": [
"00000000-0000-0000-0000-000000000000",
"00000000-0000-0000-0000-000000000000"
],
"FromDate": "2019-01-18T00:00:00",
"ToDate": "2019-01-20T00:00:00",
"MinimumDuration": 5
}| Field | Type |
|---|---|
Poi | PoiInfo |
Date | string |
Vehicle | Resource |
TimeFrom | string |
TimeTo | string |
TimeDuration | string |
DrivingToMileage | string |
DrivingToDuration | string |
DrivingAtMileage | string |
DrivingAtDuration | string |
DurationContactOn | string |
Vehicle.Type0 User 1 Vehicle 2 Timeclock 3 Asset 4 Ivr phone number 5 Cost center 6 Work place 7 Mobile clocking
[
{
"Poi": {
"Id": "00000000-0000-0000-0000-000000000000",
"Name": "Home",
"Code": "012345"
},
"Date": "2019-01-18",
"Vehicle": {
"Id": "00000000-0000-0000-0000-000000000000",
"Code": "012345",
"Name": "John Doe",
"Type": 0
},
"TimeFrom": "00:00:00",
"TimeTo": "00:00:00",
"TimeDuration": "00:00:00",
"DrivingToMileage": "100",
"DrivingToDuration": "00:00:00",
"DrivingAtMileage": "100",
"DrivingAtDuration": "00:00:00",
"DurationContactOn": "00:00:00"
}
]