B2B Integration : Trading Networks Built-In Services Reference : Mime Folder : Summary of Elements in this Folder : wm.tn.mime:getContentType
wm.tn.mime:getContentType
Retrieves the value of theContent-Type message header from the specified MIME object.
Input Parameters
mimeData
Object MIME object for which you want to retrieve the Content-Type message header.
Output Parameters
contentType
String A String containing the value of the MIME object's Content-Type header field. Note that this service returns only the media type and subtype portion of this header field's value. It does not return any parameters the value might include. For example, if the message's Content-Type header was:
content-type: text/plain;charset=UTF8
contentType would contain text/plain.
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