This document describes the process when Scalepoint Itemization is going to be used as part of an Insurance Company’s FNOL process.
A claimant goes to his insurance company webpage to report a loss. This may or may not involve that the claimant identifies himself by logging in. After the claimant has answered the initial questions as part of the FNOL process, the insurance company can chose to send the claimant to Scalepoint Itemization page to enter the lost items.
In order to start the Itemization page an itemization case needs to be created first. This must be done by using the Scalepoint Case Integration API. Case linking
In order to link the itemization case to a ClaimShop case, there are two options:
Either one of the identifiers should be sent to Scalepoint in the ClaimShop case creation request.
For more detailed steps on how to inject scalepoints widget into IC's portal.
Let us try to describe the above picture in details so we are on the same page. At this point we are assuming that all the required documentation and sample codes are provided and we are also assuming that you are able to send an authorization request using necessary scopes and able to get the authorization token. To put it more black and white if you are not able to get the authorization token you should not continue further with this widget integration. It’s important that below steps are followed in order.
Today Scalepoint supports two ways of creating a claim in ClaimShop, one using legacy XML integration which we are not going to extend in the future. Second one is using Unified Integration case create REST API. The only difference between FNOL case creation (which we did on part of the step 1) and ClaimShop case creation is only the contentType. Apart from the contentType the URL and authentication are same.
contentItemization
contentClaim
Please note that Scalepoint widget solution is not only protected by OAuth 2.0 but we also use CORS protection. In order to access our solution you need to provide your DNS name to us, so we will add to our database.
This is the example of a simple create itemization case
request:
{
"tenant": "abcinsurance",
"company": "budgetinsurance",
"country": "dk",
"caseType": "contentItemization",
"externalReference": "DPMWI29us9IcUvGb",
"customer": {
"firstName": "John",
"lastName": "Doe",
"email": "john.doe@gmail.com",
"mobile": "12345678",
"address": {
"street1": "Ingemandsvej 27",
"postalCode": "2000",
"city": "Frederiksberg"
}
},
"extraModifiers": [{
"type": "postItemizationCompletedUrl",
"value": "http://www.abcinsurance.com/thankyou.aspx?userid=DPMWI29us9IcUvGb"
}]
}
The caseType
is what identifies this case as an itemization case. The externalReference
is an optional identifier for the case.
If the request is successful, the Scalepoint Case Integration API will respond with something like:
{
"success": true,
"token": "ci.d9a3c67d-ce7d-4e43-aa74-884f8f8b5bf6",
"url": "https://sanbox.scalepoint.com/api/integration/dk/abcinsurance/v1/case/ci.d9a3c67d-scaqce7d-4e43-aa74-884f8f8b5bf6"
}
In this example, we now have two identifiers for the itemization case:
Either one of these can be used later, when the contentClaim is created. The “url” returned is what the insurance company FNOL page(s) should redirect to, when they are ready to send the customer to Scalepoint Itemization. ClaimShop (content) case creation example
This is the example of a simple create content case
request:
{
"tenant": "abcinsurance",
"company": "budgetinsurance",
"country": "dk",
"caseType": "contentClaim",
"caseNumber": "927354-992226,001",
"itemizationCaseReference": "ci.d9a3c67d-ce7d-4e43-aa74-884f8f8b5bf6",
"policy": {
"number": "6226934"
},
"customer": {
"firstName": "John",
"lastName": "Doe",
"email": "john.doe@gmail.com",
"mobile": "12345678",
"address": {
"street1": "Ingemandsvej 27",
"postalCode": "2000",
"city": "Frederiksberg"
}
}
}
In this example we use the identifier assigned by Scalepoint to the itemization case
, created in the previous example.
Another example would be to use the insurance companys own itemization reference:
{
"tenant": "abcinsurance",
"company": "budgetinsurance",
"country": "dk",
"caseType": "contentClaim",
"caseNumber": "927354-992226,001",
"itemizationCaseReference": "DPMWI29us9IcUvGb",
"policy": {
"number": "6226934"
},
"customer": {
"firstName": "John",
"lastName": "Doe",
"email": "john.doe@gmail.com",
"mobile": "12345678",
"address": {
"street1": "Ingemandsvej 27",
"postalCode": "2000",
"city": "Frederiksberg"
}
}
}
Both of the examples would accomplish the same thing: the itemization case would be linked together with the ClaimShop case as it is created.
Below please find the Customer Java Script which you could use to Inject on to Insurance Company`s Online Portal (see more details)
var script = document.createElement("script");
script.setAttribute('defer','');
script.src = "https://sanbox.scalepoint.com/api/integration/dk/abcinsurance/v1/case/ci.74316e01-53c0-413d-8abe-e089aad3df5e?sso_token=2b207459114a8f7a8d45a87c39b1649c&widget=true&target=scalepoint_widget_id";
document.getElementsByTagName("head")[0].appendChild(script);
see more about widget implementation: