POST api/ClaimAutomation/SubmitClaim

Request Information

URI Parameters

None.

Body Parameters

ClaimRequest
NameDescriptionTypeAdditional information
PolicyId

globally unique identifier

None.

ClaimFormAmount

decimal number

None.

ClaimFormPath

string

None.

ClaimXml

string

None.

InvoiceDocument

string

None.

OriginSystem

globally unique identifier

None.

Attachments

Collection of string

None.

IsPreAuth

boolean

None.

IdentifiedVet

globally unique identifier

None.

IsAutomation

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "PolicyId": "4decd170-5b64-41e4-b0d3-7f1185107f04",
  "ClaimFormAmount": 1.0,
  "ClaimFormPath": "sample string 1",
  "ClaimXml": "sample string 2",
  "InvoiceDocument": "sample string 3",
  "OriginSystem": "1a468b8e-01d7-4c52-bcfc-5d5716530a8e",
  "Attachments": [
    "sample string 1",
    "sample string 2"
  ],
  "IsPreAuth": true,
  "IdentifiedVet": "f9c98340-be1e-4344-99f2-7fe0c64bf2fe",
  "IsAutomation": true
}

application/xml, text/xml

Sample:
<ClaimRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tss.Eitr.Customer.Agria.WebApi.Models">
  <Attachments xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Attachments>
  <ClaimFormAmount>1</ClaimFormAmount>
  <ClaimFormPath>sample string 1</ClaimFormPath>
  <ClaimXml>sample string 2</ClaimXml>
  <IdentifiedVet>f9c98340-be1e-4344-99f2-7fe0c64bf2fe</IdentifiedVet>
  <InvoiceDocument>sample string 3</InvoiceDocument>
  <IsAutomation>true</IsAutomation>
  <IsPreAuth>true</IsPreAuth>
  <OriginSystem>1a468b8e-01d7-4c52-bcfc-5d5716530a8e</OriginSystem>
  <PolicyId>4decd170-5b64-41e4-b0d3-7f1185107f04</PolicyId>
</ClaimRequest>

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": "47c1f14c-226f-40b7-84d5-19094db3f64f",
  "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>47c1f14c-226f-40b7-84d5-19094db3f64f</ClaimId>
  <ClaimReference>sample string 1</ClaimReference>
</ClaimResponse>