Payloads

Relação de eventos de webhooks e seus payloads

ASO Laudado

{
    "event": "ASO_LAUDED",
    "id": 9001,
    "employeeId": "62520215-35b0-4c26-9c19-41549144b098",
    "medicalDoctorId": "08d3f721-635e-4690-9515-2933b2afe289",
    "type": "ADMISSION",
    "date": "2023-10-18",
    "time": "13:40:00",
    "email": "[email protected]",
    "phone": "",
    "status": "DONE",
    "asoPdfUrl": "https://onboarding-vixting...",
    "asoPictureUrl": "https://onboarding-vixting...",
    "pcdReportPictureUrl": "",
    "medicalEvaluationPictureUrl": null,
    "routingGuidePdfUrl": "https://onboarding-vixting..",
    "prontuaryPdfUrl": "https://onboarding-vixting..",
    "medicalEvaluationPdfUrl": null,
    "clinicalSheetUrl": "https://onboarding-vixting..",
    "employeeSignatureUrl": "https://onboarding-vixting..",
    "asoSentDate": "2023-10-18",
    "asoBillingDate": "2023-10-18",
    "isApt": true,
    "otherEmails": "",
    "ownerId": "1163d3ff-04e8-44e4-811d-a56190a22c7d",
    "asoSubmissionOwnerId": "1163d3ff-04e8-44e4-811d-a56190a22c7d",
    "isTelemedicine": false,
    "asoDoctorId": 2,
    "esocialLotId": null,
    "lastLotId": null,
    "complementaryStatus": null,
    "deletedAt": null,
    "isIntegrated": null,
    "description": null,
    "cpf": "86560454231",
    "createdAt": "2023-10-18T15:36:00.000Z",
    "updatedAt": "2023-10-18T15:37:48.000Z",
    "deleted_at": null
}

Colaborador Ativo

{
    "event": "EMPLOYEE_ACTIVED",
    "integrationMetadata": null,
    "id": "d2a2455d-525f-447e-8b9b-d50c4ca58838",
    "userId": "4035f9db-cd84-42db-95ce-c009bd9816b3",
    "ownerId": "ec388d6c-f5a0-4f33-b6fc-30ed852ff9d4",
    "managerId": null,
    "companyId": "f7077293-a98e-4a93-ae7e-9596dc6634ae",
    "workUnitId": "f7077293-a98e-4a93-ae7e-9596dc6634ae",
    "enrollment": "2",
    "fullName": "ISABELLA MARIA PATRÍCIA PIRES",
    "email": "[email protected]",
    "emailCorp": null,
    "phone": "",
    "admissionDate": "2023-03-14",
    "limitDate": "2023-03-16T00:00:00.000Z",
    "admissionTypeId": 3,
    "jobRoleLevelId": 3398,
    "departmentId": 619,
    "wage": 0,
    "typeWage": "PER_MONTH",
    "origin": "MANUAL",
    "costCenterId": null,
    "unitBusinessId": null,
    "officeId": null,
    "syndicateId": null,
    "workingDayId": null,
    "status": "ACTIVE",
    "sent": false,
    "sentDate": null,
    "progress": 14,
    "lastExamDate": null,
    "typeLastExamDate": null,
    "hasAdmissionExam": true,
    "emailsToNotifications": "undefined",
    "step": "DOC",
    "hasSentEsocialExam": false,
    "isEsocialRisksUpdated": false,
    "isPayrollIntegrated": false,
    "createdAt": "2023-03-14T21:16:46.000Z",
    "lastImportedAt": null,
    "updatedAt": "2023-10-18T14:43:13.000Z",
    "disconnectedAt": null,
    "activedAt": "2023-10-18T14:43:13.000Z",
    "markPoint": true,
    "lastLotId": null,
    "transferredAt": null,
    "cancellationDate": null,
    "deletedAt": null,
    "limitDateScheduleResignationExam": null,
    "groupPermissionsId": null,
    "deleted_at": null,
    "cpf": {
        "number": "86560454231"
    }
}

Colaborador Desligado

{
    "event": "EMPLOYEE_DISCONNECTED",
    "integrationMetadata": null,
    "id": "d2a2455d-525f-447e-8b9b-d50c4ca58838",
    "userId": "4035f9db-cd84-42db-95ce-c009bd9816b3",
    "ownerId": "ec388d6c-f5a0-4f33-b6fc-30ed852ff9d4",
    "managerId": null,
    "companyId": "f7077293-a98e-4a93-ae7e-9596dc6634ae",
    "workUnitId": "f7077293-a98e-4a93-ae7e-9596dc6634ae",
    "enrollment": "2",
    "fullName": "ISABELLA MARIA PATRÍCIA PIRES",
    "email": "[email protected]",
    "emailCorp": null,
    "phone": "",
    "admissionDate": "2023-03-14",
    "limitDate": "2023-03-16T00:00:00.000Z",
    "admissionTypeId": 3,
    "jobRoleLevelId": 3398,
    "departmentId": 619,
    "wage": 0,
    "typeWage": "PER_MONTH",
    "origin": "MANUAL",
    "costCenterId": null,
    "unitBusinessId": null,
    "officeId": null,
    "syndicateId": null,
    "workingDayId": null,
    "status": "ACTIVE",
    "sent": false,
    "sentDate": null,
    "progress": 14,
    "lastExamDate": null,
    "typeLastExamDate": null,
    "hasAdmissionExam": true,
    "emailsToNotifications": "undefined",
    "step": "DOC",
    "hasSentEsocialExam": false,
    "isEsocialRisksUpdated": false,
    "isPayrollIntegrated": false,
    "createdAt": "2023-03-14T21:16:46.000Z",
    "lastImportedAt": null,
    "updatedAt": "2023-10-18T14:43:13.000Z",
    "disconnectedAt": null,
    "activedAt": "2023-10-18T14:43:13.000Z",
    "markPoint": true,
    "lastLotId": null,
    "transferredAt": null,
    "cancellationDate": null,
    "deletedAt": null,
    "limitDateScheduleResignationExam": null,
    "groupPermissionsId": null,
    "deleted_at": null,
    "cpf": {
        "number": "86560454231"
    }
}

Endereço Residencial Criado

{
    "event": "RESIDENTIAL_ADDRESS_CREATED",
    "id": 13719,
    "zipCode": "00000000",
    "address": "RUA TESTE",
    "complement": "CASA 2",
    "number": "34",
    "neighborhood": "BAIRRO TESTE",
    "cityId": 5270,
    "stateId": 26,
    "publicPlace": "RUA",
    "status": "APPROVED",
    "employeeId": "ee2bd7c7-1274-4cec-ba08-65379f08bb4d",
    "updatedAt": "2025-01-30T00:52:12.229Z",
    "createdAt": "2025-01-30T00:52:12.229Z",
    "_changed": [
        "zipCode",
        "address",
        "complement",
        "number",
        "neighborhood",
        "cityId",
        "stateId",
        "publicPlace",
        "status",
        "employeeId",
        "id"
    ],
    "_previousDataValues": {
        "id": null
    }
}

Endereço Residencial Alterado

{
    "event": "RESIDENTIAL_ADDRESS_UPDATED",
    "id": 13718,
    "employeeId": "e87a6d85-70c9-44b1-a07c-027a9769bda7",
    "zipCode": "00000000",
    "address": "RUA TESTE",
    "number": "344",
    "complement": "",
    "neighborhood": "BAIRRO TESTE",
    "stateId": 26,
    "cityId": 5270,
    "status": "APPROVED",
    "publicPlace": "RUA",
    "disapprovalReason": null,
    "liveAbroad": null,
    "stateText": null,
    "cityText": null,
    "publicPlaceText": null,
    "addressObservations": null,
    "createdAt": "2025-01-29T22:58:19.000Z",
    "updatedAt": "2025-01-29T23:25:53.998Z",
    "employee_id": "e87a6d85-70c9-44b1-a07c-027a9769bda7",
    "state_id": 26,
    "city_id": 5270,
    "_changed": [
        "number",
        "updatedAt"
    ],
    "_previousDataValues": {
        "number": 17,
        "updatedAt": "2025-01-29T23:18:08.000Z"
    }
}