Explanation of the event
The startSession event occurs whenever a new session is started.
startSession A new session was started
Request
POST https://www.example.com/webhooks/startSession
X-Mplus-Subscription-Id: example_subscription
X-Mplus-Signature: uZucqk+xPZii7TmP1IHOKPoS4/K+8ejNwl7EyxnEzs4=
Content-Type: application/json
Accept: application/json
{
"event": {
"eventBlocking": true,
"eventCounter": 1,
"eventTimestamp": "2017-08-09T16:07:33.964+02:00"
},
"sender": {
"branchNumber": 1,
"workplaceNumber": 1
},
"session": {
"sessionId": "5eea25d4-4188-43b8-9a66-8086561d590c"
}
}
| Property | Type | Explanation |
|---|---|---|
| event.eventBlocking | boolean | Is the event blocking? |
| event.eventCounter | int | The event counter is used to make sure you don’t process the same event twice. Be aware that the counter may occasionally reset. |
| event.eventTimestamp | datetime | The time the event originally occurred, based on the system’s clock. |
| sender.branchNumber | int | The branch the event was sent from. |
| sender.workplaceNumber | int | The workplace within the branch the event was sent from. |
| session.sessionId | uuid | The new session’s UUID. |