POST api/ClaimAutomation/SubmitClaim
Request Information
URI Parameters
None.
Body Parameters
ClaimRequest| Name | Description | Type | Additional 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": "a2f43f82-4895-4085-b05b-87dd93b4ef33",
"ClaimFormAmount": 1.0,
"ClaimFormPath": "sample string 1",
"ClaimXml": "sample string 2",
"InvoiceDocument": "sample string 3",
"OriginSystem": "43898617-b520-465c-8561-c8eb87aac6e4",
"Attachments": [
"sample string 1",
"sample string 2"
],
"IsPreAuth": true,
"IdentifiedVet": "68f69b48-5ffd-48b3-83d4-432f1b662f51",
"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>68f69b48-5ffd-48b3-83d4-432f1b662f51</IdentifiedVet>
<InvoiceDocument>sample string 3</InvoiceDocument>
<IsAutomation>true</IsAutomation>
<IsPreAuth>true</IsPreAuth>
<OriginSystem>43898617-b520-465c-8561-c8eb87aac6e4</OriginSystem>
<PolicyId>a2f43f82-4895-4085-b05b-87dd93b4ef33</PolicyId>
</ClaimRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ClaimResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| ClaimId | globally unique identifier |
None. |
|
| ClaimReference | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"ClaimId": "8e274790-75a6-4d14-b670-6d2f2b6df05d",
"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>8e274790-75a6-4d14-b670-6d2f2b6df05d</ClaimId> <ClaimReference>sample string 1</ClaimReference> </ClaimResponse>