VCSessionDoneEvent
v1

Phoenix parcours B2C course

Details

Example event payload

1{
2	"id": 6101609,
3	"createdAt": "2023-07-09T17:15:26.696Z",
4	"updatedAt": "2023-07-09T17:15:26.718Z",
5	"eventName": "VCSessionDoneEvent",
6	"keyId": "ec11cbae-15e5-44a6-bfb4-a0604e7d90a8",
7	"eventData": {
8		"name": "VCSessionDoneEvent",
9		"type": "event",
10		"keyId": "ec11cbae-15e5-44a6-bfb4-a0604e7d90a8",
11		"version": 1,
12		"appointment": {
13			"id": "42467d30-b635-4bee-bf33-5d4986a2973f",
14			"title": "Séance de suivi 1",
15			"status": "DONE",
16			"coachId": "c23307dd-9c28-482f-957a-a978b7765b9c",
17			"endDate": "2023-07-07T15:30:00.097Z",
18			"talentId": "3dae4f47-7ed7-493c-b71c-2799afc51343",
19			"createdAt": "2023-07-05T09:30:43.689Z",
20			"deletedAt": null,
21			"startDate": "2023-07-07T15:00:00.403Z",
22			"updatedAt": "2023-07-09T21:15:26.340Z",
23			"canceledBy": null,
24			"subphaseId": "c6c9b798-9fab-4657-af2e-b19a5f165108",
25			"description": "Séance de suivi 1",
26			"talentBlock": {
27				"id": "6c0cccb8-66fc-464a-a6b7-248c014dbbf5",
28				"block": {
29					"id": "16b320a3-27ee-4100-8724-5dbc1e7fb72e",
30					"tags": [],
31					"type": "VC",
32					"title": "Séance de suivi 1",
33					"tagIds": [],
34					"createdAt": "2022-01-28T12:53:15.836Z",
35					"deletedAt": null,
36					"updatedAt": "2023-06-15T12:37:04.172Z",
37					"criteriaIds": [],
38					"description": "",
39					"coachSubject": "Votre talent a terminé la phase intensive de son parcours et progressivement concrétise son projet... en autonomie. Ce premier point à +1 mois après la fin du parcours est l’occasion de prendre de ses nouvelles, suivre son avancée et lever les éventuels blocages qui persistent. Assurez-vous également que votre talent ait toutes les ressources nécessaires pour réussir son projet et un plan d’action clair et à jour pour les deux prochains mois.",
40					"internalTitle": "Séance de suivi 1",
41					"talentSubject": "Partagez vos dernières avancées avec votre coach. Mettez à jour votre plan d’action et discutez — au besoin — de votre motivation, de vos blocages et de vos bonnes nouvelles…",
42					"blockToActivities": []
43				},
44				"order": 7,
45				"status": "LOCKED",
46				"blockId": "16b320a3-27ee-4100-8724-5dbc1e7fb72e",
47				"talentId": "3dae4f47-7ed7-493c-b71c-2799afc51343",
48				"createdAt": "2023-05-05T12:32:59.838Z",
49				"deletedAt": null,
50				"programId": "dceea9b7-5740-4f33-b080-a54c27223107",
51				"updatedAt": "2023-05-05T12:32:59.838Z",
52				"talentPhase": {
53					"id": "9d4d6043-448a-4586-8ed1-59599ca50afc",
54					"order": 0,
55					"status": "IN_PROGRESS",
56					"phaseId": "c6c9b798-9fab-4657-af2e-b19a5f165108",
57					"parentId": "351f10bb-9378-44bf-8825-32c0256adacc",
58					"talentId": "3dae4f47-7ed7-493c-b71c-2799afc51343",
59					"createdAt": "2023-05-05T12:32:59.412Z",
60					"deletedAt": null,
61					"programId": "dceea9b7-5740-4f33-b080-a54c27223107",
62					"updatedAt": "2023-05-05T12:32:59.412Z",
63					"childrenIds": [],
64					"talentBlockIds": ["e0f3fa95-8ba8-402e-bc8d-8597ffd95057", "6c0cccb8-66fc-464a-a6b7-248c014dbbf5"]
65				},
66				"talentPhaseId": "9d4d6043-448a-4586-8ed1-59599ca50afc",
67				"talentActivityIds": []
68			},
69			"talentBlockId": "6c0cccb8-66fc-464a-a6b7-248c014dbbf5",
70			"appointmentType": "STANDALONE",
71			"updateDetailsIds": ["c02c26e2-14b8-43f2-a454-7f47a17556b4"],
72			"cancelationReason": null,
73			"cancelationExplanation": null
74		}
75	},
76	"status": "ACKNOWLEDGED",
77	"publisherNodeId": "phoenix-production-788774c7f-v2hp2",
78	"processorNodeId": "phoenix-production-788774c7f-ptzwj",
79	"version": 1,
80	"userId": null,
81	"talentId": "3dae4f47-7ed7-493c-b71c-2799afc51343"
82}

VCSessionDoneEvent payload

VCSessionDoneEvent Schema (json)
{
  "$id": "VCSessionDoneEventPayloadTSchema",
  "type": "object",
  "properties": {
    "appointment": {
      "$id": "AppointmentEntity",
      "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" },
        "title": { "type": "string" },
        "description": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
        "startDate": {
          "anyOf": [
            { "format": "datetime", "type": "string" },
            { "type": "null" }
          ]
        },
        "endDate": {
          "anyOf": [
            { "format": "datetime", "type": "string" },
            { "type": "null" }
          ]
        },
        "coach": {},
        "coachId": { "type": "string" },
        "talent": {},
        "talentId": { "type": "string" },
        "status": {
          "default": "PLANNED",
          "anyOf": [
            { "const": "CANCELED", "type": "string" },
            { "const": "DONE", "type": "string" },
            { "const": "PLANNED", "type": "string" }
          ]
        },
        "cancelationReason": {
          "anyOf": [
            {
              "anyOf": [
                { "const": "TALENT_ACTIVITIES_NOT_FINISHED", "type": "string" },
                { "const": "TALENT_NEED_MORE_TIME", "type": "string" },
                {
                  "const": "TALENT_HAS_PROFESSIONAL_ENGAGMENT",
                  "type": "string"
                },
                { "const": "TALENT_HAS_PERSONAL_ENGAGEMENT", "type": "string" },
                { "const": "TALENT_SUBPHASE_NOT_FINISHED", "type": "string" },
                {
                  "const": "TALENT_NOT_AVAILABLE_MORE_THAN_24H",
                  "type": "string"
                },
                {
                  "const": "TALENT_NOT_AVAILABLE_LESS_THAN_24H",
                  "type": "string"
                },
                { "const": "TALENT_NO_SHOW", "type": "string" },
                {
                  "const": "TALENT_NOT_PRIORITIZING_HIS_PROGRAM",
                  "type": "string"
                },
                { "const": "COACH_NO_LONGER_AVAILABLE", "type": "string" },
                { "const": "COACH_SET_WRONG_DATE_OR_HOUR", "type": "string" },
                { "const": "TALENT_IS_DEPAIRED_OR_REPAIRED", "type": "string" },
                { "const": "OTHER", "type": "string" }
              ]
            },
            { "type": "null" }
          ]
        },
        "cancelationExplanation": {
          "anyOf": [{ "type": "string" }, { "type": "null" }]
        },
        "canceledBy": {
          "anyOf": [
            {
              "anyOf": [
                { "const": "COACH", "type": "string" },
                { "const": "TALENT", "type": "string" },
                { "const": "ADMIN", "type": "string" }
              ]
            },
            { "type": "null" }
          ]
        },
        "talentBlock": { "anyOf": [{}, { "type": "null" }] },
        "talentBlockId": {
          "anyOf": [{ "type": "string" }, { "type": "null" }]
        },
        "subphase": { "anyOf": [{}, { "type": "null" }] },
        "subphaseId": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
        "appointmentType": {
          "default": "STANDALONE",
          "anyOf": [
            { "const": "STANDALONE", "type": "string" },
            { "const": "PART_ONE", "type": "string" },
            { "const": "PART_TWO", "type": "string" }
          ]
        },
        "updateDetails": {
          "anyOf": [{ "type": "array", "items": {} }, { "type": "null" }]
        },
        "updateDetailsIds": { "type": "array", "items": { "type": "string" } }
      },
      "required": [
        "createdAt",
        "id",
        "title",
        "description",
        "coach",
        "coachId",
        "talent",
        "talentId",
        "status",
        "talentBlockId",
        "subphaseId",
        "appointmentType",
        "updateDetailsIds"
      ]
    }
  },
  "required": ["appointment"]
}


Edit this pageLast updated on 2024/8/5