POST api/ClaimAutomation/UpdateClaim

Request Information

URI Parameters

None.

Body Parameters

OscarClaim
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.

MicrochipNumber

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ClaimId": "3a78c2d5-a105-40dc-b73d-0e4239acbcdf",
  "OscarId": "sample string 1",
  "ClaimReference": "sample string 2",
  "ClaimFormValue": 1.0,
  "ClaimTreatments": [
    {
      "OscarInvoiceLineId": "sample string 1",
      "BenefitClaimedId": "8eebf5e7-4032-443d-bbe0-dc981442e93e",
      "ConditionClaimedId": "29f71da5-30da-40db-af10-52f3ea2f6d71",
      "TreatmentClaimedId": "f2b24d22-cc9b-4ea8-899e-25051b62c105",
      "VetId": "ce227b6c-c7b0-45b3-8dce-3c5d914a18a4",
      "TreatmentFrom": "2025-07-07T15:54:37.107137+01:00",
      "TreatmentTo": "2025-07-07T15:54:37.107137+01:00",
      "TreatmentCost": 1.0,
      "OutOfHoursVet": true,
      "IsAccident": true,
      "Referral": true,
      "Payee": "sample string 5",
      "LinkedToPreviousClaimId": "1887ab7d-9f11-4cc2-b2b1-ee7a8a965f82",
      "IsDeduction": true
    },
    {
      "OscarInvoiceLineId": "sample string 1",
      "BenefitClaimedId": "8eebf5e7-4032-443d-bbe0-dc981442e93e",
      "ConditionClaimedId": "29f71da5-30da-40db-af10-52f3ea2f6d71",
      "TreatmentClaimedId": "f2b24d22-cc9b-4ea8-899e-25051b62c105",
      "VetId": "ce227b6c-c7b0-45b3-8dce-3c5d914a18a4",
      "TreatmentFrom": "2025-07-07T15:54:37.107137+01:00",
      "TreatmentTo": "2025-07-07T15:54:37.107137+01:00",
      "TreatmentCost": 1.0,
      "OutOfHoursVet": true,
      "IsAccident": true,
      "Referral": true,
      "Payee": "sample string 5",
      "LinkedToPreviousClaimId": "1887ab7d-9f11-4cc2-b2b1-ee7a8a965f82",
      "IsDeduction": true
    }
  ],
  "ConfidenceScore": 1.0,
  "MicrochipNumber": "sample string 3"
}

application/xml, text/xml

Sample:
<OscarClaim 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>3a78c2d5-a105-40dc-b73d-0e4239acbcdf</ClaimId>
  <ClaimReference>sample string 2</ClaimReference>
  <ClaimTreatments>
    <ClaimTreatment>
      <BenefitClaimedId>8eebf5e7-4032-443d-bbe0-dc981442e93e</BenefitClaimedId>
      <ConditionClaimedId>29f71da5-30da-40db-af10-52f3ea2f6d71</ConditionClaimedId>
      <IsAccident>true</IsAccident>
      <IsDeduction>true</IsDeduction>
      <LinkedToPreviousClaimId>1887ab7d-9f11-4cc2-b2b1-ee7a8a965f82</LinkedToPreviousClaimId>
      <OscarInvoiceLineId>sample string 1</OscarInvoiceLineId>
      <OutOfHoursVet>true</OutOfHoursVet>
      <Payee>sample string 5</Payee>
      <Referral>true</Referral>
      <TreatmentClaimedId>f2b24d22-cc9b-4ea8-899e-25051b62c105</TreatmentClaimedId>
      <TreatmentCost>1</TreatmentCost>
      <TreatmentFrom>2025-07-07T15:54:37.107137+01:00</TreatmentFrom>
      <TreatmentTo>2025-07-07T15:54:37.107137+01:00</TreatmentTo>
      <VetId>ce227b6c-c7b0-45b3-8dce-3c5d914a18a4</VetId>
    </ClaimTreatment>
    <ClaimTreatment>
      <BenefitClaimedId>8eebf5e7-4032-443d-bbe0-dc981442e93e</BenefitClaimedId>
      <ConditionClaimedId>29f71da5-30da-40db-af10-52f3ea2f6d71</ConditionClaimedId>
      <IsAccident>true</IsAccident>
      <IsDeduction>true</IsDeduction>
      <LinkedToPreviousClaimId>1887ab7d-9f11-4cc2-b2b1-ee7a8a965f82</LinkedToPreviousClaimId>
      <OscarInvoiceLineId>sample string 1</OscarInvoiceLineId>
      <OutOfHoursVet>true</OutOfHoursVet>
      <Payee>sample string 5</Payee>
      <Referral>true</Referral>
      <TreatmentClaimedId>f2b24d22-cc9b-4ea8-899e-25051b62c105</TreatmentClaimedId>
      <TreatmentCost>1</TreatmentCost>
      <TreatmentFrom>2025-07-07T15:54:37.107137+01:00</TreatmentFrom>
      <TreatmentTo>2025-07-07T15:54:37.107137+01:00</TreatmentTo>
      <VetId>ce227b6c-c7b0-45b3-8dce-3c5d914a18a4</VetId>
    </ClaimTreatment>
  </ClaimTreatments>
  <ConfidenceScore>1</ConfidenceScore>
  <MicrochipNumber>sample string 3</MicrochipNumber>
  <OscarId>sample string 1</OscarId>
</OscarClaim>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ClaimResponse
NameDescriptionTypeAdditional information
ClaimId

globally unique identifier

None.

ClaimReference

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ClaimId": "e5f37bc1-2fbe-49bf-bf5b-337ad938ce2d",
  "ClaimReference": "sample string 1"
}

application/xml, text/xml

Sample:
<ClaimResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tss.Eitr.Customer.Agria.WebApi.Models">
  <ClaimId>e5f37bc1-2fbe-49bf-bf5b-337ad938ce2d</ClaimId>
  <ClaimReference>sample string 1</ClaimReference>
</ClaimResponse>