- TIBCO BusinessEvents®
- Standard
- SOAP

# SOAP.getAttachmentContentByContentID()

## Signature

`Object getAttachmentContentByContentID(SimpleEvent soapEvent,String contentID)`

## Domain

ACTION, CONDITION, BUI

## Description

Gets the content of the attachment in byte[] form. Returns a null if no attachment is found with the given content ID.

## Parameters

Name | Type | Description
--- | --- | ---
`soapEvent` | `SimpleEvent` | SOAP event
`contentID` | `String` | The contentID to search for

## Returns

Type | Description
--- | ---
`Object` | attachment content in byte[] form