B2B Integration : 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- 2017 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback