# tibemsMsg_GetBodyType

Function

## Purpose

Get the body type of a message.

Note: Message body type is distinct from message type—even though they have similar names. Contrast `tibemsMsg_GetType`.

## C Declaration

    tibems_status tibemsMsg_GetBodyType(
        tibemsMsg message,
        tibemsMsgType* type );

## COBOL Call

    CALL "tibemsMsg_GetBodyType"
         USING BY VALUE message,
               BY REFERENCE type,
               RETURNING tibems-status
    END-CALL.

Note: `message` has usage pointer.

## Parameters

Parameter | Description
--- | ---
`message` | Get the body type of this message.
`type` | Store the body type.

## See Also

`Body Types`

`tibemsMsgType`

Copyright © Cloud Software Group, Inc. All rights reserved.