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": "2ef52175-bdb4-4d9e-9584-a4ba53387997",
"OscarId": "sample string 1",
"ClaimReference": "sample string 2",
"ClaimFormValue": 1.0,
"ClaimTreatments": [
{
"OscarInvoiceLineId": "sample string 1",
"BenefitClaimedId": "2b760265-f639-4a3a-a229-bc32ec598148",
"ConditionClaimedId": "ebbc33c6-c2ce-4a1a-87ad-57f647bdf9d2",
"TreatmentClaimedId": "77749780-3017-4333-a88b-07ca5bbf5af1",
"VetId": "058af7a4-25fc-415c-b742-c2e918464524",
"TreatmentFrom": "2026-05-09T12:55:17.0609511+01:00",
"TreatmentTo": "2026-05-09T12:55:17.0609511+01:00",
"TreatmentCost": 1.0,
"OutOfHoursVet": true,
"IsAccident": true,
"Referral": true,
"Payee": "sample string 5",
"LinkedToPreviousClaimId": "ed0e0565-150b-4fa3-8753-221e542cb359",
"IsDeduction": true
},
{
"OscarInvoiceLineId": "sample string 1",
"BenefitClaimedId": "2b760265-f639-4a3a-a229-bc32ec598148",
"ConditionClaimedId": "ebbc33c6-c2ce-4a1a-87ad-57f647bdf9d2",
"TreatmentClaimedId": "77749780-3017-4333-a88b-07ca5bbf5af1",
"VetId": "058af7a4-25fc-415c-b742-c2e918464524",
"TreatmentFrom": "2026-05-09T12:55:17.0609511+01:00",
"TreatmentTo": "2026-05-09T12:55:17.0609511+01:00",
"TreatmentCost": 1.0,
"OutOfHoursVet": true,
"IsAccident": true,
"Referral": true,
"Payee": "sample string 5",
"LinkedToPreviousClaimId": "ed0e0565-150b-4fa3-8753-221e542cb359",
"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>2ef52175-bdb4-4d9e-9584-a4ba53387997</ClaimId>
<ClaimReference>sample string 2</ClaimReference>
<ClaimTreatments>
<ClaimTreatment>
<BenefitClaimedId>2b760265-f639-4a3a-a229-bc32ec598148</BenefitClaimedId>
<ConditionClaimedId>ebbc33c6-c2ce-4a1a-87ad-57f647bdf9d2</ConditionClaimedId>
<IsAccident>true</IsAccident>
<IsDeduction>true</IsDeduction>
<LinkedToPreviousClaimId>ed0e0565-150b-4fa3-8753-221e542cb359</LinkedToPreviousClaimId>
<OscarInvoiceLineId>sample string 1</OscarInvoiceLineId>
<OutOfHoursVet>true</OutOfHoursVet>
<Payee>sample string 5</Payee>
<Referral>true</Referral>
<TreatmentClaimedId>77749780-3017-4333-a88b-07ca5bbf5af1</TreatmentClaimedId>
<TreatmentCost>1</TreatmentCost>
<TreatmentFrom>2026-05-09T12:55:17.0609511+01:00</TreatmentFrom>
<TreatmentTo>2026-05-09T12:55:17.0609511+01:00</TreatmentTo>
<VetId>058af7a4-25fc-415c-b742-c2e918464524</VetId>
</ClaimTreatment>
<ClaimTreatment>
<BenefitClaimedId>2b760265-f639-4a3a-a229-bc32ec598148</BenefitClaimedId>
<ConditionClaimedId>ebbc33c6-c2ce-4a1a-87ad-57f647bdf9d2</ConditionClaimedId>
<IsAccident>true</IsAccident>
<IsDeduction>true</IsDeduction>
<LinkedToPreviousClaimId>ed0e0565-150b-4fa3-8753-221e542cb359</LinkedToPreviousClaimId>
<OscarInvoiceLineId>sample string 1</OscarInvoiceLineId>
<OutOfHoursVet>true</OutOfHoursVet>
<Payee>sample string 5</Payee>
<Referral>true</Referral>
<TreatmentClaimedId>77749780-3017-4333-a88b-07ca5bbf5af1</TreatmentClaimedId>
<TreatmentCost>1</TreatmentCost>
<TreatmentFrom>2026-05-09T12:55:17.0609511+01:00</TreatmentFrom>
<TreatmentTo>2026-05-09T12:55:17.0609511+01:00</TreatmentTo>
<VetId>058af7a4-25fc-415c-b742-c2e918464524</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.