POST api/ClaimAutomation/RejectClaim

Request Information

URI Parameters

None.

Body Parameters

ClaimRejectRequest
NameDescriptionTypeAdditional 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": "b9cb4b28-d871-4dc5-8a02-0f5ad1d0a0c3",
  "OscarId": "sample string 1",
  "ClaimReference": "sample string 2",
  "ClaimFormValue": 1.0,
  "ClaimTreatments": [
    {
      "OscarInvoiceLineId": "sample string 1",
      "BenefitClaimedId": "200ef11e-3b14-48c1-ae5c-004008341bd4",
      "ConditionClaimedId": "5fa5a83b-6063-4184-9be7-51533b7f82b0",
      "TreatmentClaimedId": "6c03291d-5d53-477d-8b75-8c03cd3b8d29",
      "VetId": "b60166d5-fdc2-4948-a9e8-d34b99deb0c0",
      "TreatmentFrom": "2025-07-07T15:28:12.0381351+01:00",
      "TreatmentTo": "2025-07-07T15:28:12.0381351+01:00",
      "TreatmentCost": 1.0,
      "OutOfHoursVet": true,
      "IsAccident": true,
      "Referral": true,
      "Payee": "sample string 5",
      "LinkedToPreviousClaimId": "2c6804e5-6273-4ebc-a05c-7df117b2bf75",
      "IsDeduction": true
    },
    {
      "OscarInvoiceLineId": "sample string 1",
      "BenefitClaimedId": "200ef11e-3b14-48c1-ae5c-004008341bd4",
      "ConditionClaimedId": "5fa5a83b-6063-4184-9be7-51533b7f82b0",
      "TreatmentClaimedId": "6c03291d-5d53-477d-8b75-8c03cd3b8d29",
      "VetId": "b60166d5-fdc2-4948-a9e8-d34b99deb0c0",
      "TreatmentFrom": "2025-07-07T15:28:12.0381351+01:00",
      "TreatmentTo": "2025-07-07T15:28:12.0381351+01:00",
      "TreatmentCost": 1.0,
      "OutOfHoursVet": true,
      "IsAccident": true,
      "Referral": true,
      "Payee": "sample string 5",
      "LinkedToPreviousClaimId": "2c6804e5-6273-4ebc-a05c-7df117b2bf75",
      "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>b9cb4b28-d871-4dc5-8a02-0f5ad1d0a0c3</ClaimId>
  <ClaimReference>sample string 2</ClaimReference>
  <ClaimTreatments>
    <ClaimTreatment>
      <BenefitClaimedId>200ef11e-3b14-48c1-ae5c-004008341bd4</BenefitClaimedId>
      <ConditionClaimedId>5fa5a83b-6063-4184-9be7-51533b7f82b0</ConditionClaimedId>
      <IsAccident>true</IsAccident>
      <IsDeduction>true</IsDeduction>
      <LinkedToPreviousClaimId>2c6804e5-6273-4ebc-a05c-7df117b2bf75</LinkedToPreviousClaimId>
      <OscarInvoiceLineId>sample string 1</OscarInvoiceLineId>
      <OutOfHoursVet>true</OutOfHoursVet>
      <Payee>sample string 5</Payee>
      <Referral>true</Referral>
      <TreatmentClaimedId>6c03291d-5d53-477d-8b75-8c03cd3b8d29</TreatmentClaimedId>
      <TreatmentCost>1</TreatmentCost>
      <TreatmentFrom>2025-07-07T15:28:12.0381351+01:00</TreatmentFrom>
      <TreatmentTo>2025-07-07T15:28:12.0381351+01:00</TreatmentTo>
      <VetId>b60166d5-fdc2-4948-a9e8-d34b99deb0c0</VetId>
    </ClaimTreatment>
    <ClaimTreatment>
      <BenefitClaimedId>200ef11e-3b14-48c1-ae5c-004008341bd4</BenefitClaimedId>
      <ConditionClaimedId>5fa5a83b-6063-4184-9be7-51533b7f82b0</ConditionClaimedId>
      <IsAccident>true</IsAccident>
      <IsDeduction>true</IsDeduction>
      <LinkedToPreviousClaimId>2c6804e5-6273-4ebc-a05c-7df117b2bf75</LinkedToPreviousClaimId>
      <OscarInvoiceLineId>sample string 1</OscarInvoiceLineId>
      <OutOfHoursVet>true</OutOfHoursVet>
      <Payee>sample string 5</Payee>
      <Referral>true</Referral>
      <TreatmentClaimedId>6c03291d-5d53-477d-8b75-8c03cd3b8d29</TreatmentClaimedId>
      <TreatmentCost>1</TreatmentCost>
      <TreatmentFrom>2025-07-07T15:28:12.0381351+01:00</TreatmentFrom>
      <TreatmentTo>2025-07-07T15:28:12.0381351+01:00</TreatmentTo>
      <VetId>b60166d5-fdc2-4948-a9e8-d34b99deb0c0</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

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.