TalentBlockInitializedEvent
v1

Phoenix parcours B2C course
You are currently viewing an old version of this event (1).Read latest version →

Details

Example event payload

1{
2	"id": 6096309,
3	"createdAt": "2023-07-09T13:59:56.998Z",
4	"updatedAt": "2023-07-09T13:59:57.047Z",
5	"eventName": "TalentBlockInitializedEvent",
6	"keyId": "2dfd0fa7-1c5e-486a-a42a-e03e83e30d7d",
7	"eventData": {
8		"name": "TalentBlockInitializedEvent",
9		"type": "event",
10		"keyId": "2dfd0fa7-1c5e-486a-a42a-e03e83e30d7d",
11		"version": 1,
12		"talentBlock": {
13			"id": "1702c4f7-6b5d-4ff4-b5e6-94fb08890761",
14			"block": {
15				"id": "e6ea0500-7f6b-40ed-85b9-a7e5ea9fbfdd",
16				"tags": [],
17				"type": "AC",
18				"order": 12,
19				"title": "Ma feuille de route",
20				"tagIds": [],
21				"createdAt": "2023-01-13T19:48:05.255Z",
22				"criterias": [],
23				"deletedAt": null,
24				"updatedAt": "2023-01-13T20:08:53.139Z",
25				"criteriaIds": [],
26				"description": "Entre action à court terme et vision à long terme, il est temps de rapprocher vos horizons. Préparez votre prochain pas, puis le suivant, et ainsi de suite... jusqu'à vous mettre en mouvement et transformer votre objectif en réalité.",
27				"coachSubject": "",
28				"internalTitle": "Ma feuille de route (USS Alabama Bloc)",
29				"talentSubject": "",
30				"blockToActivities": [{
31					"id": "4b9519d9-b233-4532-ab06-29b59c5144c0",
32					"order": 0,
33					"blockId": "e6ea0500-7f6b-40ed-85b9-a7e5ea9fbfdd",
34					"createdAt": "2023-01-13T19:48:59.810Z",
35					"deletedAt": null,
36					"updatedAt": "2023-01-13T19:48:59.810Z",
37					"activityId": "6e362d2c-2290-467b-b544-331623843f33"
38				}]
39			},
40			"order": 12,
41			"status": "NOT_STARTED",
42			"talent": {
43				"id": "03516924-e854-48bb-b559-6467f4e55d45"
44			},
45			"blockId": "e6ea0500-7f6b-40ed-85b9-a7e5ea9fbfdd",
46			"program": {
47				"id": "dceea9b7-5740-4f33-b080-a54c27223107"
48			},
49			"talentId": "03516924-e854-48bb-b559-6467f4e55d45",
50			"createdAt": "2023-07-09T17:59:56.976Z",
51			"deletedAt": null,
52			"programId": "dceea9b7-5740-4f33-b080-a54c27223107",
53			"updatedAt": "2023-07-09T17:59:56.976Z",
54			"talentPhase": {
55				"id": "b0a8f108-a31b-442d-a694-30a63162d981"
56			},
57			"talentPhaseId": "b0a8f108-a31b-442d-a694-30a63162d981",
58			"talentActivities": [],
59			"talentActivityIds": []
60		}
61	},
62	"status": "ACKNOWLEDGED",
63	"publisherNodeId": "phoenix-production-788774c7f-ptzwj",
64	"processorNodeId": "phoenix-production-788774c7f-8xmfs",
65	"version": 1,
66	"userId": null,
67	"talentId": "03516924-e854-48bb-b559-6467f4e55d45"
68}

TalentBlockInitializedEvent payload

TalentBlockInitializedEvent Schema (json)
{
  "$id": "TalentBlockInitializedEventPayloadTSchema",
  "type": "object",
  "properties": {
    "talentBlock": {
      "$id": "TalentBlockEntity",
      "type": "object",
      "properties": {
        "createdAt": { "format": "datetime", "type": "string" },
        "updatedAt": {
          "anyOf": [
            { "format": "datetime", "type": "string" },
            { "type": "null" }
          ]
        },
        "deletedAt": {
          "anyOf": [
            { "format": "datetime", "type": "string" },
            { "type": "null" }
          ]
        },
        "id": { "type": "string" },
        "talent": { "anyOf": [{}, { "type": "null" }] },
        "talentId": { "type": "string" },
        "block": {},
        "blockId": { "type": "string" },
        "program": {},
        "programId": { "type": "string" },
        "talentActivities": { "type": "array", "items": {} },
        "talentActivityIds": { "type": "array", "items": { "type": "string" } },
        "order": { "type": "number" },
        "status": {
          "default": "IN_PROGRESS",
          "anyOf": [
            { "const": "IN_PROGRESS", "type": "string" },
            { "const": "FINISHED", "type": "string" },
            { "const": "NOT_STARTED", "type": "string" },
            { "const": "LOCKED", "type": "string" }
          ]
        },
        "talentPhase": {},
        "talentPhaseId": { "type": "string" }
      },
      "required": [
        "createdAt",
        "id",
        "talent",
        "talentId",
        "block",
        "blockId",
        "program",
        "programId",
        "talentActivities",
        "talentActivityIds",
        "order",
        "status",
        "talentPhase",
        "talentPhaseId"
      ]
    }
  },
  "required": ["talentBlock"]
}


Edit this pageLast updated on 2024/8/5