TalentBlockStartedEvent
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": 6096298,
3	"createdAt": "2023-07-09T13:59:42.368Z",
4	"updatedAt": "2023-07-09T13:59:42.398Z",
5	"eventName": "TalentBlockStartedEvent",
6	"keyId": "ac0e303e-68b1-4ecd-a96a-7bc7323c821f",
7	"eventData": {
8		"name": "TalentBlockStartedEvent",
9		"type": "event",
10		"keyId": "ac0e303e-68b1-4ecd-a96a-7bc7323c821f",
11		"version": 1,
12		"talentBlock": {
13			"id": "12c5f1c2-b696-4fea-bb36-c1959216d748",
14			"order": 1,
15			"status": "IN_PROGRESS",
16			"blockId": "c7250851-3e05-4441-8495-2920c9dc3f38",
17			"talentId": "f550d02e-5615-4a5b-bad0-5f17147c7afd",
18			"createdAt": "2023-07-09T17:59:29.250Z",
19			"deletedAt": null,
20			"programId": "dceea9b7-5740-4f33-b080-a54c27223107",
21			"updatedAt": "2023-07-09T17:59:42.358Z",
22			"talentPhaseId": "a84ddde0-e090-4451-a669-52259cd4028a",
23			"talentActivityIds": ["70a0be74-89dd-4dee-b8ec-408e8a439a6b", "cb2db8dc-aa23-4ab9-a03b-e2a8fcde31d0"]
24		}
25	},
26	"status": "ACKNOWLEDGED",
27	"publisherNodeId": "phoenix-production-788774c7f-jz25k",
28	"processorNodeId": "phoenix-production-788774c7f-v2hp2",
29	"version": 1,
30	"userId": null,
31	"talentId": "f550d02e-5615-4a5b-bad0-5f17147c7afd"
32}

TalentBlockStartedEvent payload

TalentBlockStartedEvent Schema (json)
{
  "$id": "TalentBlockStartedEventPayloadTSchema",
  "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