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": "16bd20be-de6a-4963-8bbd-1e491365737a",
"OscarId": "sample string 1",
"ClaimReference": "sample string 2",
"ClaimFormValue": 1.0,
"ClaimTreatments": [
{
"OscarInvoiceLineId": "sample string 1",
"BenefitClaimedId": "5b865b24-727a-4b9d-96f1-e7c2395aaa78",
"ConditionClaimedId": "99af894b-19b2-497e-a669-5c3f8ff37fc4",
"TreatmentClaimedId": "0929afde-0542-4928-a4b8-12763f56d882",
"VetId": "cfaed6f6-5b5f-40f5-a356-461e855da839",
"TreatmentFrom": "2026-03-23T02:53:57.7257194+00:00",
"TreatmentTo": "2026-03-23T02:53:57.7257194+00:00",
"TreatmentCost": 1.0,
"OutOfHoursVet": true,
"IsAccident": true,
"Referral": true,
"Payee": "sample string 5",
"LinkedToPreviousClaimId": "0fc98f50-ebb1-4e2b-9fa2-2ac41170dd35",
"IsDeduction": true
},
{
"OscarInvoiceLineId": "sample string 1",
"BenefitClaimedId": "5b865b24-727a-4b9d-96f1-e7c2395aaa78",
"ConditionClaimedId": "99af894b-19b2-497e-a669-5c3f8ff37fc4",
"TreatmentClaimedId": "0929afde-0542-4928-a4b8-12763f56d882",
"VetId": "cfaed6f6-5b5f-40f5-a356-461e855da839",
"TreatmentFrom": "2026-03-23T02:53:57.7257194+00:00",
"TreatmentTo": "2026-03-23T02:53:57.7257194+00:00",
"TreatmentCost": 1.0,
"OutOfHoursVet": true,
"IsAccident": true,
"Referral": true,
"Payee": "sample string 5",
"LinkedToPreviousClaimId": "0fc98f50-ebb1-4e2b-9fa2-2ac41170dd35",
"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>16bd20be-de6a-4963-8bbd-1e491365737a</ClaimId>
<ClaimReference>sample string 2</ClaimReference>
<ClaimTreatments>
<ClaimTreatment>
<BenefitClaimedId>5b865b24-727a-4b9d-96f1-e7c2395aaa78</BenefitClaimedId>
<ConditionClaimedId>99af894b-19b2-497e-a669-5c3f8ff37fc4</ConditionClaimedId>
<IsAccident>true</IsAccident>
<IsDeduction>true</IsDeduction>
<LinkedToPreviousClaimId>0fc98f50-ebb1-4e2b-9fa2-2ac41170dd35</LinkedToPreviousClaimId>
<OscarInvoiceLineId>sample string 1</OscarInvoiceLineId>
<OutOfHoursVet>true</OutOfHoursVet>
<Payee>sample string 5</Payee>
<Referral>true</Referral>
<TreatmentClaimedId>0929afde-0542-4928-a4b8-12763f56d882</TreatmentClaimedId>
<TreatmentCost>1</TreatmentCost>
<TreatmentFrom>2026-03-23T02:53:57.7257194+00:00</TreatmentFrom>
<TreatmentTo>2026-03-23T02:53:57.7257194+00:00</TreatmentTo>
<VetId>cfaed6f6-5b5f-40f5-a356-461e855da839</VetId>
</ClaimTreatment>
<ClaimTreatment>
<BenefitClaimedId>5b865b24-727a-4b9d-96f1-e7c2395aaa78</BenefitClaimedId>
<ConditionClaimedId>99af894b-19b2-497e-a669-5c3f8ff37fc4</ConditionClaimedId>
<IsAccident>true</IsAccident>
<IsDeduction>true</IsDeduction>
<LinkedToPreviousClaimId>0fc98f50-ebb1-4e2b-9fa2-2ac41170dd35</LinkedToPreviousClaimId>
<OscarInvoiceLineId>sample string 1</OscarInvoiceLineId>
<OutOfHoursVet>true</OutOfHoursVet>
<Payee>sample string 5</Payee>
<Referral>true</Referral>
<TreatmentClaimedId>0929afde-0542-4928-a4b8-12763f56d882</TreatmentClaimedId>
<TreatmentCost>1</TreatmentCost>
<TreatmentFrom>2026-03-23T02:53:57.7257194+00:00</TreatmentFrom>
<TreatmentTo>2026-03-23T02:53:57.7257194+00:00</TreatmentTo>
<VetId>cfaed6f6-5b5f-40f5-a356-461e855da839</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.