cancelSession

Explanation of the event

The cancelSession event occurs whenever the session is cancelled. This is an end state, a cancelled session will never be resumed.

cancelSession Session was cancelled

Request

POST https://www.example.com/webhooks/cancelSession

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": {
        "lines": [
            {
                "articleNumber": 1,
                "lineId": "c686f63d-46a7-498e-b421-c72e5cb7136b",
                "priceIncl": 2.50,
                "quantity": 1,
                "text": "Coffee"
            }
        ],
        "sessionId": "5eea25d4-4188-43b8-9a66-8086561d590c"
    }
}