GET api/Claim/GetAttachments?expenseClaimApplicationItemId={expenseClaimApplicationItemId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| expenseClaimApplicationItemId | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of Attachment| Name | Description | Type | Additional information |
|---|---|---|---|
| AttachmentId | globally unique identifier |
None. |
|
| OwnerTable | string |
None. |
|
| ExpenseClaimApplicationItemId | globally unique identifier |
None. |
|
| AttachmentMethod | AttachmentMethod |
None. |
|
| AttachmentType | AttachmentType |
None. |
|
| FileName | string |
None. |
|
| FilePath | string |
None. |
|
| ContentType | string |
None. |
|
| ContentLength | integer |
None. |
|
| FileContent | Collection of byte |
None. |
|
| UploadTempFilePath | string |
None. |
|
| AttachmentUrl | string |
None. |
|
| AllowEdit | boolean |
None. |
|
| ShowAttachmentImage | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"AttachmentId": "61f63352-2063-4885-b962-51760ccabab2",
"OwnerTable": "sample string 2",
"ExpenseClaimApplicationItemId": "0eba90f5-edd6-4991-9a3e-5ea912db71e0",
"AttachmentMethod": 1,
"AttachmentType": 1,
"FileName": "sample string 4",
"FilePath": "sample string 5",
"ContentType": "sample string 6",
"ContentLength": 7,
"FileContent": "QEA=",
"UploadTempFilePath": "sample string 8",
"AttachmentUrl": "sample string 9",
"AllowEdit": true,
"ShowAttachmentImage": false
},
{
"AttachmentId": "61f63352-2063-4885-b962-51760ccabab2",
"OwnerTable": "sample string 2",
"ExpenseClaimApplicationItemId": "0eba90f5-edd6-4991-9a3e-5ea912db71e0",
"AttachmentMethod": 1,
"AttachmentType": 1,
"FileName": "sample string 4",
"FilePath": "sample string 5",
"ContentType": "sample string 6",
"ContentLength": 7,
"FileContent": "QEA=",
"UploadTempFilePath": "sample string 8",
"AttachmentUrl": "sample string 9",
"AllowEdit": true,
"ShowAttachmentImage": false
}
]
application/xml, text/xml
Sample:
<ArrayOfAttachment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MAT.App.eClaim.API.Models">
<Attachment>
<AllowEdit>true</AllowEdit>
<AttachmentId>61f63352-2063-4885-b962-51760ccabab2</AttachmentId>
<AttachmentMethod>Database</AttachmentMethod>
<AttachmentType>Normal</AttachmentType>
<AttachmentUrl>sample string 9</AttachmentUrl>
<ContentLength>7</ContentLength>
<ContentType>sample string 6</ContentType>
<ExpenseClaimApplicationItemId>0eba90f5-edd6-4991-9a3e-5ea912db71e0</ExpenseClaimApplicationItemId>
<FileContent>QEA=</FileContent>
<FileName>sample string 4</FileName>
<FilePath>sample string 5</FilePath>
<OwnerTable>sample string 2</OwnerTable>
<UploadTempFilePath>sample string 8</UploadTempFilePath>
</Attachment>
<Attachment>
<AllowEdit>true</AllowEdit>
<AttachmentId>61f63352-2063-4885-b962-51760ccabab2</AttachmentId>
<AttachmentMethod>Database</AttachmentMethod>
<AttachmentType>Normal</AttachmentType>
<AttachmentUrl>sample string 9</AttachmentUrl>
<ContentLength>7</ContentLength>
<ContentType>sample string 6</ContentType>
<ExpenseClaimApplicationItemId>0eba90f5-edd6-4991-9a3e-5ea912db71e0</ExpenseClaimApplicationItemId>
<FileContent>QEA=</FileContent>
<FileName>sample string 4</FileName>
<FilePath>sample string 5</FilePath>
<OwnerTable>sample string 2</OwnerTable>
<UploadTempFilePath>sample string 8</UploadTempFilePath>
</Attachment>
</ArrayOfAttachment>