- TIBCO BusinessEvents®
- Standard
- SOAP

# SOAP.getAttachmentContent()

## Signature

`Object getAttachmentContent(SimpleEvent soapEvent,int index)`

## Domain

ACTION, CONDITION, BUI

## Description

Gets the content of the attachment in byte[] form. The attachment is specified using the index. will return null in case of no attachment

## Parameters

Name | Type | Description
--- | --- | ---
`soapEvent` | `SimpleEvent` | SOAP event
`index` | `int` | attachment index

## Returns

Type | Description
--- | ---
`Object` | attachment content as byte[]