Service Providers Events Integration API

Introduction

This page describes the Scalepoint Service Providers Events Integration API. This API can be used to retrieve information about the new service being requested on the claim.

Overview

The whole flow of Service Providers Events Integration is shown on the diagram below:

Service Providers Integration flow

Unified events

When a service on a claim is requested, we send a message for a requested service provider to unified events queue.

To recieve these please refer to Events API.

Message structure

{
    "eventType": "repair_service_requested",
    "payloadVersion": "1.0.0",
    "correlationId": "cafdfac8-f472-4eef-a231-2a3fe9f42028", 
    "timestamp": "2020-10-21T08:45:53.3406753+02:00",
    "case": {
        "id": "2f29eca7-bec3-4061-8817-6b29cf13464d",
        "damageCause": "Brand",
        "damageCategory": "Brandskade",
        "policy": {
            "insuranceCompany": {
                "alias": "insurance1",
                "subcompanyAlias": "insurance1",
                "subcompanyName": "insurance one"
            }
        },
        "number": "20200826-01",
        "externalId": "f2065569-a90b-4ebc-92d0-48d2dec9442a"
    },
    "service": {
        "referenceNumber": "20200826-01-8",
        "id": "25875a6d-5c7b-48e3-8cb9-e620378d99bc",
        "startDate": "2020-12-10T08:12:14.2170965Z",
        "endDate": "2020-12-10T08:41:46.4739975Z"
    }
}