VCSessionCanceledEventv1
Phoenix parcours B2C course
Details
Example event payload
1{
2 "id": 6122153,
3 "createdAt": "2023-07-10T08:33:05.054Z",
4 "updatedAt": "2023-07-10T08:33:05.072Z",
5 "eventName": "VCSessionCanceledEvent",
6 "keyId": "964d4589-bf78-45e2-bd51-ab5935f611a3",
7 "eventData": {
8 "name": "VCSessionCanceledEvent",
9 "type": "event",
10 "keyId": "964d4589-bf78-45e2-bd51-ab5935f611a3",
11 "version": 1,
12 "appointment": {
13 "id": "7a82f523-57bd-47e9-bc16-3ec73c8fac2d",
14 "title": "Séance 1 Exploration",
15 "status": "CANCELED",
16 "coachId": "a814782a-69e4-4840-a31d-80e421a82869",
17 "endDate": "2023-07-12T08:00:00.341Z",
18 "talentId": "2ea3381f-bfa0-4c1f-acf4-392f1fde4ea1",
19 "createdAt": "2023-05-31T13:05:09.912Z",
20 "deletedAt": null,
21 "startDate": "2023-07-12T07:00:00.987Z",
22 "updatedAt": "2023-07-10T12:33:05.044Z",
23 "canceledBy": "COACH",
24 "subphaseId": "64406862-734f-4cdc-9b5c-bfaa4c0576cb",
25 "description": "Séance 1 Exploration",
26 "talentBlock": null,
27 "talentBlockId": null,
28 "appointmentType": "STANDALONE",
29 "updateDetailsIds": [],
30 "cancelationReason": "OTHER",
31 "cancelationExplanation": "Changement de coach"
32 }
33 },
34 "status": "ACKNOWLEDGED",
35 "publisherNodeId": "phoenix-production-788774c7f-9dccm",
36 "processorNodeId": "phoenix-production-788774c7f-9dccm",
37 "version": 1,
38 "userId": null,
39 "talentId": "2ea3381f-bfa0-4c1f-acf4-392f1fde4ea1"
40}VCSessionCanceledEvent payload
VCSessionCanceledEvent Schema (json)
{
"$id": "VCSessionCanceledEventPayloadTSchema",
"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"]
}
Domain Graph
Edit this pageLast updated on 2024/8/5