POST api/ClaimAutomation/RejectClaim
Request Information
URI Parameters
None.
Body Parameters
ClaimRejectRequestName | 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": "0952cd4b-b559-4ff7-9f0b-a29240d88d49", "OscarId": "sample string 1", "ClaimReference": "sample string 2", "ClaimFormValue": 1.0, "ClaimTreatments": [ { "OscarInvoiceLineId": "sample string 1", "BenefitClaimedId": "0ff60b11-1878-4acf-b54e-48d2607a7be4", "ConditionClaimedId": "be5cd74e-2f62-4b34-9ae3-0790cccd91f5", "TreatmentClaimedId": "84b60df1-e557-4525-84cd-e791b021db96", "VetId": "b2bb466d-72f9-482b-9d0a-03f45ef71c8a", "TreatmentFrom": "2025-08-27T03:28:46.1366528+01:00", "TreatmentTo": "2025-08-27T03:28:46.1366528+01:00", "TreatmentCost": 1.0, "OutOfHoursVet": true, "IsAccident": true, "Referral": true, "Payee": "sample string 5", "LinkedToPreviousClaimId": "afbc8842-8fae-4144-9186-e1f90c6e5fb2", "IsDeduction": true }, { "OscarInvoiceLineId": "sample string 1", "BenefitClaimedId": "0ff60b11-1878-4acf-b54e-48d2607a7be4", "ConditionClaimedId": "be5cd74e-2f62-4b34-9ae3-0790cccd91f5", "TreatmentClaimedId": "84b60df1-e557-4525-84cd-e791b021db96", "VetId": "b2bb466d-72f9-482b-9d0a-03f45ef71c8a", "TreatmentFrom": "2025-08-27T03:28:46.1366528+01:00", "TreatmentTo": "2025-08-27T03:28:46.1366528+01:00", "TreatmentCost": 1.0, "OutOfHoursVet": true, "IsAccident": true, "Referral": true, "Payee": "sample string 5", "LinkedToPreviousClaimId": "afbc8842-8fae-4144-9186-e1f90c6e5fb2", "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>0952cd4b-b559-4ff7-9f0b-a29240d88d49</ClaimId> <ClaimReference>sample string 2</ClaimReference> <ClaimTreatments> <ClaimTreatment> <BenefitClaimedId>0ff60b11-1878-4acf-b54e-48d2607a7be4</BenefitClaimedId> <ConditionClaimedId>be5cd74e-2f62-4b34-9ae3-0790cccd91f5</ConditionClaimedId> <IsAccident>true</IsAccident> <IsDeduction>true</IsDeduction> <LinkedToPreviousClaimId>afbc8842-8fae-4144-9186-e1f90c6e5fb2</LinkedToPreviousClaimId> <OscarInvoiceLineId>sample string 1</OscarInvoiceLineId> <OutOfHoursVet>true</OutOfHoursVet> <Payee>sample string 5</Payee> <Referral>true</Referral> <TreatmentClaimedId>84b60df1-e557-4525-84cd-e791b021db96</TreatmentClaimedId> <TreatmentCost>1</TreatmentCost> <TreatmentFrom>2025-08-27T03:28:46.1366528+01:00</TreatmentFrom> <TreatmentTo>2025-08-27T03:28:46.1366528+01:00</TreatmentTo> <VetId>b2bb466d-72f9-482b-9d0a-03f45ef71c8a</VetId> </ClaimTreatment> <ClaimTreatment> <BenefitClaimedId>0ff60b11-1878-4acf-b54e-48d2607a7be4</BenefitClaimedId> <ConditionClaimedId>be5cd74e-2f62-4b34-9ae3-0790cccd91f5</ConditionClaimedId> <IsAccident>true</IsAccident> <IsDeduction>true</IsDeduction> <LinkedToPreviousClaimId>afbc8842-8fae-4144-9186-e1f90c6e5fb2</LinkedToPreviousClaimId> <OscarInvoiceLineId>sample string 1</OscarInvoiceLineId> <OutOfHoursVet>true</OutOfHoursVet> <Payee>sample string 5</Payee> <Referral>true</Referral> <TreatmentClaimedId>84b60df1-e557-4525-84cd-e791b021db96</TreatmentClaimedId> <TreatmentCost>1</TreatmentCost> <TreatmentFrom>2025-08-27T03:28:46.1366528+01:00</TreatmentFrom> <TreatmentTo>2025-08-27T03:28:46.1366528+01:00</TreatmentTo> <VetId>b2bb466d-72f9-482b-9d0a-03f45ef71c8a</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.