VCSessionScheduledEvent
v1

Phoenix parcours B2C course

Details

Example event payload

1{
2	"id": 6105029,
3	"createdAt": "2023-07-10T03:02:47.972Z",
4	"updatedAt": "2023-07-10T03:02:47.990Z",
5	"eventName": "VCSessionScheduledEvent",
6	"keyId": "3252faa0-e1ed-4f35-a7ff-73c19a15ec70",
7	"eventData": {
8		"name": "VCSessionScheduledEvent",
9		"type": "event",
10		"keyId": "3252faa0-e1ed-4f35-a7ff-73c19a15ec70",
11		"version": 1,
12		"appointment": {
13			"id": "cc62fba4-ac9a-4b71-b5b8-5ac030a5c145",
14			"title": "Séance Découverte",
15			"status": "PLANNED",
16			"coachId": "50ad7fff-687a-4498-8a3a-662fda294ba1",
17			"endDate": "2023-07-10T07:30:00.188Z",
18			"talentId": "06e6f647-6ed0-43c9-b323-85d8f3384f31",
19			"createdAt": "2023-07-10T07:02:47.900Z",
20			"deletedAt": null,
21			"startDate": "2023-07-10T07:00:00.643Z",
22			"updatedAt": "2023-07-10T07:02:47.900Z",
23			"canceledBy": null,
24			"subphaseId": "1b9bf5c9-829f-4958-8739-d52dd6fec14a",
25			"description": "Séance Découverte",
26			"talentBlockId": null,
27			"appointmentType": "STANDALONE",
28			"cancelationReason": null,
29			"cancelationExplanation": null
30		}
31	},
32	"status": "ACKNOWLEDGED",
33	"publisherNodeId": "phoenix-production-788774c7f-v2hp2",
34	"processorNodeId": "phoenix-production-788774c7f-ptzwj",
35	"version": 1,
36	"userId": null,
37	"talentId": "06e6f647-6ed0-43c9-b323-85d8f3384f31"
38}

VCSessionScheduledEvent payload

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