Webhooks in More Service – Documentation

Description

This document explains how Webhooks work in More Service and how to activate and configure them.


1. Setup

1.1 Activation

image2026-1-6_13-18-39-.png

To activate Webhooks:

  1. Go to Settings.
  2. Under Apps, select Configure.
  3. If Web Hooks is not yet activated, it will appear in the list under Apps.
  4. Click on Web Hooks to open the activation dialog.
  5. Select Activate to enable it.

Once activated, Web Hooks will appear under Active Apps.


2. Configuration

2.1 Prerequisite

Before configuration, Web Hooks must be activated and visible under Active Apps.

image2026-1-6_13-19-43-.png


image2026-1-6_13-20-6-.png

2.2 How to Configure Web Hooks

Select Web Hooks under Active Apps and complete the following fields:

Destination

  • The URL to which Webhook data will be posted.
  • This must be an HTTPS address to ensure secure data transfer.

Username

  • The username used for authentication.

Password

  • The password used for authentication.

Note:
Username and password are transmitted in the request header using Basic Authentication.

Team

  • Select the team whose events should trigger Webhook notifications.
  • Only events assigned to this team will be sent.

3. Data


Webhook data is transmitted from More Service as an HTTP POST request:

  • Authentication is done via Basic Authentication in the request header.
  • The payload is formatted as JSON and sent in the request body.

4. Data Structure

Data is delivered through the WebHook object, which may contain the following lists:

  • Update: Events that should be updated
  • Create: Events that should be created
  • WorkLogAdd: Comments to be added to existing events
  • AttachmentAdd: Attachments to be added to existing events
  • CreatedAt: The timestamp indicating when the dataset was generated

5. Examples

5.1 New Event

(Insert example JSON here if you want me to format it.)


{

    "CreatedAt": "2025-12-09T14:02:43.7651615+01:00",

    "Update": [],

    "Create": [

        {

            "Id": 320481,

            "ReceivedAt": "2025-12-09T14:02:26.513",

            "RegisteredAt": "2025-12-09T14:02:26.513",

            "SolvedAt": null,

            "StartedAt": "2025-12-12T14:02:26.497",

            "Status": {

                "Id": 1,

                "Name": "Ikke startet",

                "IsSolved": false,

                "IsWaiting": false

            },

            "Priority": {

                "Id": 3,

                "Name": "Normal",

                "Level": 3

            },

            "Affects": null,

            "AssignedTo": {

                "Id": 21917,

                "PrincipalId": "",

                "Name": "M3 Drift Embriq",

                "Email": "",

                "Phone": "",

                "IsTeam": true

            },

            "ReportedBy": {

                "Id": 21999,

                "PrincipalId": "gungar",

                "Name": "gunn Garvik test",

                "Email": "gg@technet.no",

                "Phone": "",

                "IsTeam": false

            },

            "AssignedTeam": {

                "Id": 383,

                "Name": "M3 Drift Embriq",

                "Email": ""

            },

            "Title": "Dette er en test hendelse fra Technet",

            "Description": "Hei dette er en test fra Technet\n",

            "WorkLogs": [],

            "Attachments": [

                {

                    "Id": null,

                    "IncidentId": 320481,

                    "ExternalRef": [],

                    "FileName": "bilde.png",

                    "ContentType": "image/png",

                    "Base64Content": "iVBORw0KGgoAAAANS....VORK5CYII=",

                    "ContentEncoding": "base64"

                }

            ],

            "ExternalRef": []

        }

    ],

    "WorkLogAdd": [],

    "AttachmentAdd": []

}


Oppdatere hendelse

{

    "CreatedAt": "2025-12-09T14:14:36.9275804+01:00",

    "Update": [

        {

            "Id": 320481,

            "ReceivedAt": "2025-12-09T14:02:26.513",

            "RegisteredAt": "2025-12-09T14:02:26.513",

            "SolvedAt": null,

            "StartedAt": "2025-12-12T14:02:26.497",

            "Status": {

                "Id": 4,

                "Name": "L\u00F8st",

                "IsSolved": true,

                "IsWaiting": false

            },

            "Priority": {

                "Id": 3,

                "Name": "Normal",

                "Level": 3

            },

            "Affects": null,

            "AssignedTo": {

                "Id": 21917,

                "PrincipalId": "",

                "Name": "M3 Drift Embriq",

                "Email": "",

                "Phone": "",

                "IsTeam": true

            },

            "ReportedBy": {

                "Id": 21999,

                "PrincipalId": "gungar",

                "Name": "gunn Garvik test",

                "Email": "gg@technet.no",

                "Phone": "",

                "IsTeam": false

            },

            "AssignedTeam": {

                "Id": 383,

                "Name": "M3 Drift Embriq",

                "Email": ""

            },

            "Title": "Dette er en test hendelse fra Technet",

            "Description": "Hei dette er en test fra Technet\n",

            "WorkLogs": [],

            "Attachments": [],

            "ExternalRef": [

                {

                    "Name": "embriq",

                    "Value": "INC0480416"

                }

            ]

        }

    ],

    "Create": [],

    "WorkLogAdd": [],

    "AttachmentAdd": []

}


attachment and worklog

{

    "CreatedAt": "2025-11-19T13:18:22.9724364+01:00",

    "Update": [],

    "Create": [],

    "WorkLogAdd": [

        {

            "Id": 16969593,

            "IncidentId": 319474,

            "ExternalRef": [],

            "Log": "Vedlegg med navn test.pdf lagt til",

            "Solution": false,

            "CreatedBy": {

                "Id": 17122,

                "PrincipalId": "prepet",

                "Name": "Peter Magnus Prestes\u00E6ter",

                "Email": "Peter.Magnus.Prestesater@tine.no",

                "Phone": "45299016",

                "IsTeam": false

            },

            "CreatedAt": "2025-11-19T13:18:22.893",

            "LastUpdatedAt": "2025-11-19T13:18:22.897"

        }

    ],

    "AttachmentAdd": [

        {

            "Id": "8d6f84a3-c92d-4f98-9dac-255f51ccccbe",

            "IncidentId": 319474,

            "ExternalRef": [],

            "FileName": "test.pdf",

            "ContentType": "application/pdf",

            "Base64Content": "JVBERi0x....JSVFT0Y=",

            "ContentEncoding": "base64"

        }

    ]

}


HTML innhold







  • No labels