Integration Server 10.7 | Built-In Services Reference Guide | MIME Folder | Summary of Elements in this Folder | pub.mime:releaseBodyPartReferenceInTSpace
 
pub.mime:releaseBodyPartReferenceInTSpace
WmPublic. This service enables you to free up space in the Tspace by releasing body parts stored in it by the pub.mime:addBodyPart service. You need to provide a reference to the body part to be released.
Input Parameters
mimeData
Document. MIME object whose reference you want to release from the Tspace. (This IData object is produced by pub.mime:createMimeData.)
index
String. Optional. Index number of the body part whose content you want to release (if you want to release the content from a specific body part). The first body part is index number zero.
Note:
If contentID is specified, index is ignored.
contentID
String. Optional. Value of the Content-ID header field of the body part that you want to release (if you want to release the payload from a specific body part).
Output Parameters
releasedReferenceInTSpace
Boolean. Returns true if the reference was released and false if not.
Usage Notes
Before invoking this service, ensure that the body part has a reference in the Tspace.