# Event Payload Samples
# Training Events
{
"records": [
{
"lag": 76.6271724,
"value": {
"headers": {
"actorId": 33417,
"corpName": "testCorpName",
"cultureId": 0,
"messageId": "8761503e-1195-4d56-9730-ec17ee33e5d2",
"cloudCorpId": "myazbkxowvjshpt",
"cultureName": "",
"correlationId": "00000000-0000-0000-0000-000000000000"
},
"lmsEventsCase": "TrainingCompleted",
"trainingCompleted": {
"data": {
"eventId": "8761503e-1195-4d56-9730-ec17ee33e5d2",
"providerId": "70767ee4-fcad-45f3-8630-fa621280e508",
"trainingId": "8d86b95c-f7a3-434c-9809-b437ecbed6cb",
"trainingRef": "8D86B95C-F7A3-434C-9809-B437ECBED6CB",
"targetUserId": 33417,
"targetUserRef": "UserRefTest",
"trainingTitle": "TestTrainingTitle",
"transcriptUrl": "https://corpName.csod.com/phnx/driver.aspx?routename=Social/UniversalProfile/Transcript&TargetUser=33417",
"targetUserGuid": "6ebc7096-1378-471d-a433-0c4f794be9da",
"targetUsername": "UserNameTest",
"createdByUserId": 33417,
"createdByUserRef": "UserRefTest",
"dueDateTimestamp": "2024-05-12T03:59:00Z",
"targetUserLastName": "LastName",
"targetUserFirstName": "FirstName",
"targetUserDivisionRef": "DivRef",
"targetUserLocationRef": "LocRef",
"isStandaloneOnTranscript": true,
"trainingRegistrationNumber": 1,
"trainingActionDateTimestamp": "2025-06-05T18:54:38.973Z"
}
}
},
"offset": 168,
"timestamp": "2025-06-05T18:54:47.481Z",
"correlationId": "00000000-0000-0000-0000-000000000000"
}
],
"sessionId": "37ae5176-feed-4ce6-889f-de31a804a6a5",
"attemptNumber": 1,
"subscriptionId": "2f977027-b16f-4784-a8c8-1ff81146bc42"
}
# Employee Created
{
"records": [
{
"lag": 295.5549825,
"value": {
"headers": {
"actorId": 0,
"corpName": "testCorpName",
"cultureId": 2,
"messageId": "6692454b-9cd5-4032-ab7d-c406fa3520b2",
"correlationId": "3ad507b6-e317-4c6f-9baf-637c54a51e48",
"applicationSource": "CHR"
},
"employeeCreated": {
"employeeId": 33787,
"createEmployeeOus": {
"changes": [
{
"typeId": 2,
"employeeId": 33787,
"organizationalUnitId": 68
},
{
"typeId": 4,
"employeeId": 33787,
"organizationalUnitId": 191
},
{
"typeId": 8,
"employeeId": 33787,
"organizationalUnitId": 1685
},
{
"typeId": 1048607,
"employeeId": 33787,
"organizationalUnitId": 2247
}
],
"employeeId": 33787
},
"createEmployeeCoreData": {
"ref": "UserId0000",
"guid": "bec8afac-cd9b-4426-a386-3d3388f082b8",
"line1": "AddressLine1",
"line2": "AddressLine2",
"absent": false,
"prefix": "Mr",
"region": "County",
"source": "CHR",
"status": 1,
"suffix": "Jr.",
"country": "VNM",
"lastName": "LastName",
"phoneFax": "3101002001",
"timezone": 5,
"userName": "UserName0000",
"emailWork": "testEmailAddress@testEmailAddress10000.org",
"firstName": "FirstName",
"geocodeId": 2139,
"mgrUserId": 2618,
"phoneWork": "3101002000",
"employeeId": 33787,
"middleName": "Mid",
"postalCode": "10101",
"userTypeId": 1,
"createdDate": "2025-06-05T18:43:49.687Z",
"phoneMobile": "3101002002",
"accuracyCode": "APPROXIMATE",
"isAnonymized": false,
"lastHireDate": "2025-06-08T00:00:00Z",
"municipality": "City",
"userCategory": -1,
"emailPersonal": "personalTestEmailAddress@testEmailAddress10000.org",
"localSystemId": "LocalID0000",
"approverUserId": -1,
"displayLanguage": 1,
"userSubcategory": 2,
"originalHireDate": "2025-06-01T00:00:00Z",
"requiredApprovals": 0,
"allowReconciliation": false,
"userEmploymentStatus": -2
},
"createEmployeeCustomFields": {
"changes": [
{
"value": "False",
"employeeId": 33787,
"customFieldId": 1819
},
{
"value": "675",
"employeeId": 33787,
"customFieldId": 1873
},
{
"value": "",
"employeeId": 33787,
"customFieldId": 1875
},
{
"value": "False",
"employeeId": 33787,
"customFieldId": 1922
}
],
"employeeId": 33787
},
"createEmployeeUserRelations": {
"changes": [
{
"employeeId": 33787,
"relatedUserId": 2614,
"relationTypeId": 131072
}
],
"employeeId": 33787
}
},
"employeeEventsCase": "EmployeeCreated"
},
"offset": 160,
"timestamp": "2025-06-05T18:43:59.426Z",
"correlationId": "3ad507b6-e317-4c6f-9baf-637c54a51e48"
}
],
"sessionId": "6d5fb486-7669-4ac4-b7ae-4a0534097ce1",
"attemptNumber": 1,
"subscriptionId": "af8c35f3-a665-4618-9da2-efa7ac42d6da"
}
# Employee Updated
{
"records": [
{
"lag": 0.0382561,
"value": {
"headers": {
"actorId": 0,
"corpName": "testCorpName",
"cultureId": 2,
"messageId": "0cdaeded-7c09-4e16-bfc0-ffe8463345ab",
"correlationId": "70d7a27d-1dc7-45fd-b8c6-8bf68c3a22ed",
"applicationSource": "CHR"
},
"employeeEventsCase": "EmployeeUpdatedDeleted",
"employeeUpdatedDeleted": {
"employeeId": 33787,
"updateEmployeeOus": {
"employeeId": 33787,
"multiOuChanges": [],
"singleOuChanges": [
{
"typeId": 16,
"employeeId": 33787,
"organizationalUnitId": {
"NewValue": 70,
"OldValue": 1774
}
},
{
"typeId": 32,
"employeeId": 33787,
"organizationalUnitId": {
"NewValue": null,
"OldValue": 2143
}
}
]
},
"updateEmployeeCoreData": {
"ref": {
"NewValue": "UserId0000E",
"OldValue": "UserId0000"
},
"line1": {
"NewValue": "AddressLine1E",
"OldValue": "AddressLine1"
},
"line2": {
"NewValue": "AddressLine2E",
"OldValue": "AddressLine2"
},
"prefix": {
"NewValue": "M",
"OldValue": "Mr"
},
"region": {
"NewValue": "CountyE",
"OldValue": "County"
},
"suffix": {
"NewValue": "Sr",
"OldValue": "Jr."
},
"lastName": {
"NewValue": "LastNameE",
"OldValue": "LastName"
},
"phoneFax": {
"NewValue": "3101002002",
"OldValue": "3101002001"
},
"timezone": {
"NewValue": 10,
"OldValue": 5
},
"userName": {
"NewValue": "UserName0000E",
"OldValue": "UserName0000"
},
"emailWork": {
"NewValue": "testEmailAddressE@testEmailAddress10000.org",
"OldValue": "testEmailAddress@testEmailAddress10000.org"
},
"firstName": {
"NewValue": "FirstNameE",
"OldValue": "FirstName"
},
"phoneWork": {
"NewValue": "3101002001",
"OldValue": "3101002000"
},
"employeeId": 0,
"middleName": {
"NewValue": "MidE",
"OldValue": "Mid"
},
"postalCode": {
"NewValue": "10102",
"OldValue": "10101"
},
"phoneMobile": {
"NewValue": "3101002003",
"OldValue": "3101002002"
},
"lastHireDate": {
"NewValue": "2025-06-13T00:00:00Z",
"OldValue": "2025-06-08T00:00:00Z"
},
"municipality": {
"NewValue": "CityE",
"OldValue": "City"
},
"userCategory": {
"NewValue": -4,
"OldValue": -1
},
"emailPersonal": {
"NewValue": "personalTestEmailAddressE@testEmailAddress10000.org",
"OldValue": "personalTestEmailAddress@testEmailAddress10000.org"
},
"localSystemId": {
"NewValue": "LocalID0000E",
"OldValue": "LocalID0000"
},
"approverUserId": {
"NewValue": 33220,
"OldValue": -1
},
"displayLanguage": {
"NewValue": 18,
"OldValue": 1
},
"userSubcategory": {
"NewValue": 14,
"OldValue": 2
},
"originalHireDate": {
"NewValue": "2025-06-11T00:00:00Z",
"OldValue": "2025-06-01T00:00:00Z"
}
},
"updateEmployeeCustomFields": {
"changes": [
{
"value": {
"NewValue": "DE12 3456 7890",
"OldValue": null
},
"employeeId": 33787,
"customFieldId": 1975
},
{
"value": {
"NewValue": "1770",
"OldValue": null
},
"employeeId": 33787,
"customFieldId": 2030
},
{
"value": {
"NewValue": "1",
"OldValue": null
},
"employeeId": 33787,
"customFieldId": 2049
}
],
"employeeId": 33787
}
}
},
"offset": 161,
"timestamp": "2025-06-05T19:00:53.805Z",
"correlationId": "70d7a27d-1dc7-45fd-b8c6-8bf68c3a22ed"
}
],
"sessionId": "0ee93d22-bf7d-4adf-b2c0-3ec54f2338d2",
"attemptNumber": 1,
"subscriptionId": "af8c35f3-a665-4618-9da2-efa7ac42d6da"
}