POST api/ClaimDocumentAttachments/{id}
Endpoint for posting a new document attachment to a specific claim.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
String value of the unique Adjustrite Reference # for the claim. |
string |
Required |
Body Parameters
TransferFile| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| FileName | string |
None. |
|
| FileData | Collection of byte |
None. |
|
| MIMEType | string |
None. |
|
| FileLength | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"FileName": "sample string 2",
"FileData": "QEA=",
"MIMEType": "sample string 3",
"FileLength": 2
}
application/xml, text/xml
Sample:
<TransferFile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Adjustrite.WebAPI.Models"> <FileData>QEA=</FileData> <FileName>sample string 2</FileName> <Id>1</Id> <MIMEType>sample string 3</MIMEType> </TransferFile>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
TransferFile| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| FileName | string |
None. |
|
| FileData | Collection of byte |
None. |
|
| MIMEType | string |
None. |
|
| FileLength | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"FileName": "sample string 2",
"FileData": "QEA=",
"MIMEType": "sample string 3",
"FileLength": 2
}
application/xml, text/xml
Sample:
<TransferFile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Adjustrite.WebAPI.Models"> <FileData>QEA=</FileData> <FileName>sample string 2</FileName> <Id>1</Id> <MIMEType>sample string 3</MIMEType> </TransferFile>