B2B Integration 10.4 | Administering and Monitoring B2B Transactions | Trading Networks Built-In Services Reference | Mime Folder | Summary of Elements in this Folder | wm.tn.mime:getPrimaryContentType
 
wm.tn.mime:getPrimaryContentType
Retrieves the top-level portion (primary type) of a MIME object's Content-Type header value.
Input Parameters
mimeData
Object The MIME object for which you want to retrieve the value of the top-level portion (primary type) of the Content-Type header.
Output Parameters
primContentType
String The message's top-level (primary) content type. For example, if the message's Content-Type header was:
content-type: multipart/mixed
primContentType would contain multipart.
Usage Notes
This service is not compatible with those in the pub.mime folder. The MIME objects that the pub.mime:createMimeData service creates will not work with this service.

Copyright © 2016- 2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release