Retrieves all current (uncleared) messages for the specified unit and parameters.
| name | description | type | default | type |
|---|---|---|---|---|
| unitId | ID of the unit for which messages are to be retrieved | query | String | |
| messageType | whether to display (I)nbound, (O)utbound messages or (B)oth inbound and outbound (default) | query | B | String |
| unreadOnly | whether to include read messages | query | false | Boolean |
| daysToShow | number of days back to show messages | query | int |
a list of RowMcMessage objects
Child Elements:
RowUsers This element represent the user associated with the message, by the mc_message.mc_user_id field.
The element contains a __name attribute with the value mcUser.