POST api/ClaimAutomation/RejectClaim
Request Information
URI Parameters
None.
Body Parameters
ClaimRejectRequest| Name | 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. |
|
| RejectionReasonCode | string |
None. |
|
| RejectionReason | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ClaimId": "0b625cc9-c49f-4314-aa57-523da141b635",
"OscarId": "sample string 1",
"ClaimReference": "sample string 2",
"ClaimFormValue": 1.0,
"ClaimTreatments": [
{
"OscarInvoiceLineId": "sample string 1",
"BenefitClaimedId": "afd86ac0-c676-4e70-95e4-d509f4284a11",
"ConditionClaimedId": "9fa9aeaa-777e-4030-bb45-0e0c3440a4b6",
"TreatmentClaimedId": "8505f029-7a21-42f7-b613-9bc22c6f8a96",
"VetId": "1aa8c2ba-b0a2-4aac-b1a0-7671db67a0c5",
"TreatmentFrom": "2026-06-24T16:49:11.7673466+01:00",
"TreatmentTo": "2026-06-24T16:49:11.7673466+01:00",
"TreatmentCost": 1.0,
"OutOfHoursVet": true,
"IsAccident": true,
"Referral": true,
"Payee": "sample string 5",
"LinkedToPreviousClaimId": "44b0de70-7a16-4633-bade-2a13464876c6",
"IsDeduction": true
},
{
"OscarInvoiceLineId": "sample string 1",
"BenefitClaimedId": "afd86ac0-c676-4e70-95e4-d509f4284a11",
"ConditionClaimedId": "9fa9aeaa-777e-4030-bb45-0e0c3440a4b6",
"TreatmentClaimedId": "8505f029-7a21-42f7-b613-9bc22c6f8a96",
"VetId": "1aa8c2ba-b0a2-4aac-b1a0-7671db67a0c5",
"TreatmentFrom": "2026-06-24T16:49:11.7673466+01:00",
"TreatmentTo": "2026-06-24T16:49:11.7673466+01:00",
"TreatmentCost": 1.0,
"OutOfHoursVet": true,
"IsAccident": true,
"Referral": true,
"Payee": "sample string 5",
"LinkedToPreviousClaimId": "44b0de70-7a16-4633-bade-2a13464876c6",
"IsDeduction": true
}
],
"ConfidenceScore": 1.0,
"RejectionReasonCode": "sample string 3",
"RejectionReason": "sample string 4"
}
application/xml, text/xml
Sample:
<ClaimRejectRequest 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>0b625cc9-c49f-4314-aa57-523da141b635</ClaimId>
<ClaimReference>sample string 2</ClaimReference>
<ClaimTreatments>
<ClaimTreatment>
<BenefitClaimedId>afd86ac0-c676-4e70-95e4-d509f4284a11</BenefitClaimedId>
<ConditionClaimedId>9fa9aeaa-777e-4030-bb45-0e0c3440a4b6</ConditionClaimedId>
<IsAccident>true</IsAccident>
<IsDeduction>true</IsDeduction>
<LinkedToPreviousClaimId>44b0de70-7a16-4633-bade-2a13464876c6</LinkedToPreviousClaimId>
<OscarInvoiceLineId>sample string 1</OscarInvoiceLineId>
<OutOfHoursVet>true</OutOfHoursVet>
<Payee>sample string 5</Payee>
<Referral>true</Referral>
<TreatmentClaimedId>8505f029-7a21-42f7-b613-9bc22c6f8a96</TreatmentClaimedId>
<TreatmentCost>1</TreatmentCost>
<TreatmentFrom>2026-06-24T16:49:11.7673466+01:00</TreatmentFrom>
<TreatmentTo>2026-06-24T16:49:11.7673466+01:00</TreatmentTo>
<VetId>1aa8c2ba-b0a2-4aac-b1a0-7671db67a0c5</VetId>
</ClaimTreatment>
<ClaimTreatment>
<BenefitClaimedId>afd86ac0-c676-4e70-95e4-d509f4284a11</BenefitClaimedId>
<ConditionClaimedId>9fa9aeaa-777e-4030-bb45-0e0c3440a4b6</ConditionClaimedId>
<IsAccident>true</IsAccident>
<IsDeduction>true</IsDeduction>
<LinkedToPreviousClaimId>44b0de70-7a16-4633-bade-2a13464876c6</LinkedToPreviousClaimId>
<OscarInvoiceLineId>sample string 1</OscarInvoiceLineId>
<OutOfHoursVet>true</OutOfHoursVet>
<Payee>sample string 5</Payee>
<Referral>true</Referral>
<TreatmentClaimedId>8505f029-7a21-42f7-b613-9bc22c6f8a96</TreatmentClaimedId>
<TreatmentCost>1</TreatmentCost>
<TreatmentFrom>2026-06-24T16:49:11.7673466+01:00</TreatmentFrom>
<TreatmentTo>2026-06-24T16:49:11.7673466+01:00</TreatmentTo>
<VetId>1aa8c2ba-b0a2-4aac-b1a0-7671db67a0c5</VetId>
</ClaimTreatment>
</ClaimTreatments>
<ConfidenceScore>1</ConfidenceScore>
<OscarId>sample string 1</OscarId>
<RejectionReason>sample string 4</RejectionReason>
<RejectionReasonCode>sample string 3</RejectionReasonCode>
</ClaimRejectRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.