Forum Discussion
doug_fossler
8 years agoNew Contributor
An easy example (i.e. only three docs).
[
{
"groupBy": {
"resourceId": "999000641",
"EventDate": "07/24/2017"
},
"group": [
{
"resourceId": "999000641",
"punchInDate": "07/24/2017",
"EventDate": "07/24/2017",
"break": null,
"costCenter": "54770",
"timeType": "1",
"punchInTime": "06:53",
"resourceLastName": "brown",
"$rowCountPernull": 1,
"WorkedHours": "4",
"punchOutTime": "10:53",
"siteId": "500",
"punchOutDate": "07/24/2017",
"resourceFirstName": "Test",
"yalePayCode": "1",
"optPayTypeId": 1
},
{
"resourceId": "999000641",
"punchInDate": "07/24/2017",
"EventDate": "07/24/2017",
"break": null,
"costCenter": "54620",
"timeType": "1",
"punchInTime": "10:53",
"resourceLastName": "brown",
"$rowCountPernull": 2,
"WorkedHours": "3.5",
"punchOutTime": "14:23",
"siteId": "500",
"punchOutDate": "07/24/2017",
"resourceFirstName": "Test",
"yalePayCode": "1",
"optPayTypeId": 1
},
{
"resourceId": "999000641",
"punchInDate": "07/24/2017",
"EventDate": "07/24/2017",
"break": null,
"costCenter": "64990",
"timeType": "1",
"punchInTime": "14:23",
"resourceLastName": "brown",
"$rowCountPernull": 3,
"WorkedHours": "5.25",
"punchOutTime": "19:38",
"siteId": "500",
"punchOutDate": "07/24/2017",
"resourceFirstName": "Test",
"yalePayCode": "1",
"optPayTypeId": 1
}
]
}
]```
- Supratim8 years agoContributor III
@doug.fossler
Use the pipeline. Ignore json generator part and go ahead the changes. Let me know the result.DateConvertion_2018_06_29.slp (6.6 KB)