For the complete documentation index, see llms.txt. This page is also available as Markdown.

Update an existing Claim

Updates an existing claim

Update an existing Claim

PATCH https://api.xclaim.xcover-staging.com/partners/{partnerCode}/claims/{claimUuid}

Update an existing claim belongs to the partner.

Path Parameters

Name
Type
Description

partnerCode*

String

eg. XYZ999

Headers

Name
Type
Description

Authorization*

String

Bearer {{JWT token}}

{
	"sectionFields": [
		{
            "name": "claim_details",
            "fields": [
                {
                    "name": "vehicle_registration",
                    "value": "ZZYYAA99"
                }
            ]
        }
	]
}
{
    "data": {
        "id": "fd98bfd5-7702-4ede-afdc-78686b3bdfb9",
        "claimReference": "4TWMV-G8VLC-CLA",
        "bookingReference": "9PAL3-VWCMR-INS",
        "status": {
            "category": "Submitted"
        }
    }
}

{
    "type": "exception",
    "message": "Unauthorized action"
}

{
    "type": "exception",
    "message": "The section_fields.0.name field is required.",
    "errors": {
        "sectionFields.0.name": [
            "The section_fields.0.name field is required."
        ]
    }
}

Last updated

Was this helpful?