ScalepointDeveloper Portal

Recommended Tasks Updated

Integration point URL

  • URL: <SPCIntegrationAPIUrl>/Claim/RecommendedTasks
  • HTTP METHOD: PUT
  • URL Example: https://servicepartnercompany.com/ecbintegration/Claim/RecommendedTasks

Request structure

  • Schema: RecommendedTasksUpdatedRequest.schema.json
  • Example: RecommendedTasksUpdatedRequest.example.json

Root object

PropertyDescription
securityToken*Pre-shared secret string key that is used to authenticate SPC and ECB to each other
timestamp*Message generation UTC date/time. Should be in ISO 8601 format without time zone.
Note: Can be used to restore messages original order (per claim) – due to network/server errors it’s not guaranteed that messages will arrive in the order they were generated
payload*Payload object with integration endpoint specific data

Payload object

PropertyDescription
claim*Claim object
tasks*Collection of Task objects

Claim object

PropertyDescription
id*Claim unique identifier in ECB
number*Claim number
url*URL to Claim Details in ECB
damageServiceDetails.referenceNumberClaim reference number in SPC internal system
deductibleCurrent deductible value
claimEmailAddressEmail address dedicated to a claim.

Task object

PropertyDescription
name*Recommended task name in ECB (in insurance company locale)
deadlineRecommended task deadline in ECB. Should be in ISO 8601 format without time zone (always treated as date/time in tenant local time zone)
serviceServiceData object

ServiceData object

PropertyDescription
statusService status
startDateRepair start date. For inspection service: date of service request.
endDateEstimated repair end date. For inspection service: date of service completion.
visitDateDate of scheduled visit
inspectionDateDate of scheduled inspection

Response structure

  • Schema: RecommendedTasksUpdatedResponse.schema.json
  • Example: RecommendedTasksUpdatedResponse.example.json

Root object

PropertyDescription
success*Boolean flag representing if request is processed successfully
errorDescriptionDescription of errors, if any

Implementation notes

ECB might send “Recommended tasks updated” request to SPC internal system without preceding “New responsibilities assigned” request. Request handler on SPC internal system side should be able to correctly handle such requests.

It is possible to use ECB test application to test integration

NewResponsibilities:

<server>/ecx/AutomaticPaymentsTestApp/IntegrationApi/Index#/NewResponsibilitiesAssigned/restClient

NewTasks:

<server>/ecx/AutomaticPaymentsTestApp/IntegrationApi/Index#/RecommendedTasksUpdated/restClient

DamageServiceReport:

<server>/ecx/AutomaticPaymentsTestApp/IntegrationApi/Index#/SubmitDamageServiceReportDraft/restClient

Last updated on

On this page