POST api/ClaimAutomation/UpdateClaim
Request Information
URI Parameters
None.
Body Parameters
OscarClaimName | Description | Type | Additional information |
---|---|---|---|
ClaimId | globally unique identifier |
None. |
|
OscarId | string |
None. |
|
ClaimReference | string |
None. |
|
ClaimFormValue | decimal number |
None. |
|
ClaimTreatments | Collection of ClaimTreatment |
None. |
|
ConfidenceScore | decimal number |
None. |
|
MicrochipNumber | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "ClaimId": "bd6ffb0b-9a9f-4816-b785-6ad6b4ee0372", "OscarId": "sample string 1", "ClaimReference": "sample string 2", "ClaimFormValue": 1.0, "ClaimTreatments": [ { "OscarInvoiceLineId": "sample string 1", "BenefitClaimedId": "f7b0fa84-81f5-434d-b2c2-3e9ecdfe2a68", "ConditionClaimedId": "495a8bf7-cf37-45cd-a08c-791feb7e40e0", "TreatmentClaimedId": "d2dc6afa-e346-4795-8a88-c5009e363e5b", "VetId": "f3ee8748-5b5e-444a-93ea-1452d7072290", "TreatmentFrom": "2025-08-27T03:36:33.936845+01:00", "TreatmentTo": "2025-08-27T03:36:33.936845+01:00", "TreatmentCost": 1.0, "OutOfHoursVet": true, "IsAccident": true, "Referral": true, "Payee": "sample string 5", "LinkedToPreviousClaimId": "36996f94-50e2-471d-9d54-85645d298d2b", "IsDeduction": true }, { "OscarInvoiceLineId": "sample string 1", "BenefitClaimedId": "f7b0fa84-81f5-434d-b2c2-3e9ecdfe2a68", "ConditionClaimedId": "495a8bf7-cf37-45cd-a08c-791feb7e40e0", "TreatmentClaimedId": "d2dc6afa-e346-4795-8a88-c5009e363e5b", "VetId": "f3ee8748-5b5e-444a-93ea-1452d7072290", "TreatmentFrom": "2025-08-27T03:36:33.936845+01:00", "TreatmentTo": "2025-08-27T03:36:33.936845+01:00", "TreatmentCost": 1.0, "OutOfHoursVet": true, "IsAccident": true, "Referral": true, "Payee": "sample string 5", "LinkedToPreviousClaimId": "36996f94-50e2-471d-9d54-85645d298d2b", "IsDeduction": true } ], "ConfidenceScore": 1.0, "MicrochipNumber": "sample string 3" }
application/xml, text/xml
Sample:
<OscarClaim xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tss.Eitr.Customer.Agria.WebApi.Models"> <ClaimFormValue>1</ClaimFormValue> <ClaimId>bd6ffb0b-9a9f-4816-b785-6ad6b4ee0372</ClaimId> <ClaimReference>sample string 2</ClaimReference> <ClaimTreatments> <ClaimTreatment> <BenefitClaimedId>f7b0fa84-81f5-434d-b2c2-3e9ecdfe2a68</BenefitClaimedId> <ConditionClaimedId>495a8bf7-cf37-45cd-a08c-791feb7e40e0</ConditionClaimedId> <IsAccident>true</IsAccident> <IsDeduction>true</IsDeduction> <LinkedToPreviousClaimId>36996f94-50e2-471d-9d54-85645d298d2b</LinkedToPreviousClaimId> <OscarInvoiceLineId>sample string 1</OscarInvoiceLineId> <OutOfHoursVet>true</OutOfHoursVet> <Payee>sample string 5</Payee> <Referral>true</Referral> <TreatmentClaimedId>d2dc6afa-e346-4795-8a88-c5009e363e5b</TreatmentClaimedId> <TreatmentCost>1</TreatmentCost> <TreatmentFrom>2025-08-27T03:36:33.936845+01:00</TreatmentFrom> <TreatmentTo>2025-08-27T03:36:33.936845+01:00</TreatmentTo> <VetId>f3ee8748-5b5e-444a-93ea-1452d7072290</VetId> </ClaimTreatment> <ClaimTreatment> <BenefitClaimedId>f7b0fa84-81f5-434d-b2c2-3e9ecdfe2a68</BenefitClaimedId> <ConditionClaimedId>495a8bf7-cf37-45cd-a08c-791feb7e40e0</ConditionClaimedId> <IsAccident>true</IsAccident> <IsDeduction>true</IsDeduction> <LinkedToPreviousClaimId>36996f94-50e2-471d-9d54-85645d298d2b</LinkedToPreviousClaimId> <OscarInvoiceLineId>sample string 1</OscarInvoiceLineId> <OutOfHoursVet>true</OutOfHoursVet> <Payee>sample string 5</Payee> <Referral>true</Referral> <TreatmentClaimedId>d2dc6afa-e346-4795-8a88-c5009e363e5b</TreatmentClaimedId> <TreatmentCost>1</TreatmentCost> <TreatmentFrom>2025-08-27T03:36:33.936845+01:00</TreatmentFrom> <TreatmentTo>2025-08-27T03:36:33.936845+01:00</TreatmentTo> <VetId>f3ee8748-5b5e-444a-93ea-1452d7072290</VetId> </ClaimTreatment> </ClaimTreatments> <ConfidenceScore>1</ConfidenceScore> <MicrochipNumber>sample string 3</MicrochipNumber> <OscarId>sample string 1</OscarId> </OscarClaim>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ClaimResponseName | Description | Type | Additional information |
---|---|---|---|
ClaimId | globally unique identifier |
None. |
|
ClaimReference | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "ClaimId": "6a8d8dd7-4079-41bd-a042-721ea6d5caca", "ClaimReference": "sample string 1" }
application/xml, text/xml
Sample:
<ClaimResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tss.Eitr.Customer.Agria.WebApi.Models"> <ClaimId>6a8d8dd7-4079-41bd-a042-721ea6d5caca</ClaimId> <ClaimReference>sample string 1</ClaimReference> </ClaimResponse>