Section II – Functional Modules > Msgbased Interaction Interface > Object Model Bottom of Page
| Genesys 8.0 SCXML Technical Reference
< Message Interaction Processing Functions >

## Object Model

#### _genesys.FMname Object

There are no properties at this time.

#### msgbased Object

The following is the ECMAScript object which contains the interaction extensions for msgbased-related interactions. This object is accessible through the _genesys.FMname.interactions[].msgbased property. These properties can be dynamically accessed using the following format: _genesys.FMname.interactions[x].[ _genesys.FMname.interactions[x].category].xxx. They are also accessible via actions or events.

The following are the msgbased extension properties of the interaction object.

Name | Access | Type | Default Value | Valid Values | Description
--- | --- | --- | --- | --- | ---
type | read only | string | none | unknown, acknowledgement, auto_response, callbackrequest, collaboration_invitation_in, collaboration_invitation_out, collaboration_reply_out, emailin, inbound_collaboration_reply, outbound_collaboration_invite, outbound_notification, alert, auxwork, busevent, trainingitem, workitem | This is the origin type of the interaction.
state | read only | string | none | new, queued, abandoned, processing, complete, unknown | This is the state of the interaction.
media | read only | string | none | The following properties from _genesys.ixn.mediaType object: TMediaAny, TMediaEMail, TMediaFax, TMediaSMail, TMediaNativeSMS, TMediaSMS, TMediaWebForm, TMediaOpenMedia | This is the originating media type of the interaction.
from | read only | URI | none | Any valid string or resource object | This is the address that the message came from.
to | read only | array of URIs | none | Any valid string or resource object | This is the list of addresses that this message was sent to
cc | read only | array of URIs | none | Any valid string or resource object | This is the list of addresses that were copied on this message.
queue | read only | string | none | Any valid string | This is the current queue associated with this interaction.
subject | read only | string | none | Any valid string | This is the subject line of the associated message.
content | read only | content object | none | none | This is the content of the message itself.
externalID | read only | string | none | none | This is the ID of the interaction that has been assigned by the originating media server.

#### msgbasedp Object

The following are the msgbased-specific values for following the party object.

Name | Access | Type | Default Value | Valid Values | Description
--- | --- | --- | --- | --- | ---
state | read only | string | none | processing, held, sending, accepted, declined, completed, unknown | This is the state of the party in relationship to the interaction.

#### content Object

The following are the msgbased-specific values for following the message content object.

Name | Access | Type | Default Value | Valid Values | Description
--- | --- | --- | --- | --- | ---
btype | read only | string | none | application/msword, application/octet-stream, application/postscript, application/rtf, application/vnd.ms-powerpoint, application/vnd.ms-project, application/vnd.visio, application/voicexml+xml, application/xml, application/xml-dtd, application/zip, audio/basic, audio/mpeg, audio/mpeg4- generic, image/g3-fax, image/gif, image/jpeg, image/tiff, message/delivery-status, message/http, message/news, message/partial, message/rfc822, message/sip, message/sipfrag, message/tracking-status, multipart/alternative, multipart/form-data, multipart/mixed, multipart/parallel, multipart/voice-message, text/html, text/plain, text/richtext, text/xml, video/DV, video/JPEG, video/MPEG, video/mpeg4-generic, video/quicktime, video/raw | This is a string that specifies the MIME type of the binary content.
binary | ready only | binary | none | none | This is the complete content of the message (for example, raw text plus MIME content, if any, plus attached files if any).
structuredtext | ready only | string | none | none | This is only the structured content of the message.
text | read only | string | none |  | This is only the raw text content (unformatted and unstructured) of the message.

#### Object Ownership

The ownership policies are the same as for the Interaction interface. For details, see the Object Ownership section for the Interaction interface.

Section II – Functional Modules > Msgbased Interaction Interface > Object Model Top of Page
| Genesys 8.0 SCXML Technical Reference
< Message Interaction Processing Functions >