Integration Cloud 7.0.0 | Built-In Services | Built-In Services | getPrimaryContentType
 
getPrimaryContentType
Returns the top-level portion of a MIME object's Content-Type value.
Input Parameters
mimeData
Document MIME object whose Content-Type you want to discover. (This IData object is produced by createMimeData).
Output Parameters
primContentType
String Message's top-level Content-Type. For example, if the message's Content-Type header were:
Content-Type: multipart/mixed
primContentType would contain:
multipart
Usage Notes
This service operates on the MIME object (mimeData) produced by createMimeData.