Integration Cloud 7.0.0 | Built-In Services | Built-In Services | getContentType
 
getContentType
WmPublic. Returns the value of the Content-Type message header from the specified MIME object.
Input Parameters
mimeData
Document MIME object whose Content-Type you want to discover. (This IData object is produced by createMimeData..
Output Parameters
contentType
String 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 may include. For example, if the message's Content-Type header were:
Content-Type: text/plain;charset=UTF8
contentType would contain:
text/plain
Usage Notes
This service operates on the MIME object (mimeData) produced by createMimeData.