Oracle Beehive
  Oracle® Beehive RESTful Web Services API Reference
  Release 2 (2.0.1.7)
  E16658-04

Contents

Overview

Interface to represent the body of an Also see oracle.csi.controls.InstantMessageFactory that is used to create an InstantMessageBody object.

Members

Name Type Required Description

characterEncoding

string

Character set of this content

contentBytes

base64Binary

Byte sequence of this content. Use this member with caution, as large objects may incur sizable memory consumption.

contentDisposition

contentDispositionType

Content disposition of this content. The disposition of a content can be INLINE or ATTACHMENT.

contentEncoding

contentEncodingType

Transport encoding of this part

contentId

string

ID of this content. A content component in a multipart/related content group has a unique ID property that can be used to reference the part in an HTML part within the group.

contentLanguage

string

Content language of this part

mediaType

string

The IANA media type for this content. This is also known as MIME type.

mimeHeaders

mimeHeadersWrapper

The collection of MIME headers associated with this content. Every content object may potentially come from MIME source regardless of its type. Therefore along with content data and attributes there can be arbitrary MIME headers associated with it.

name

rawString

The name of this content.

partIdentifier

string

The part identifier associated with this part in an email message.

size

long

The size of the content in bytes.

stringContent

string

Returns the string equivalent of the InstantMessageBody encoded in "UTF-8"

type

contentType

Type of the content. A content can be of type MULTIPART, INLINE, MESSAGE or REFERENCE.

uri

string

Gets the URI pertaining to out of band file transfer

Hierarchy

Inherits From

Applied Markers

Examples

Below are examples in JSON and XML formats. All examples are shown with all inherited members. Quoting when required is part of the examples, but you must obviously populate with your own data.

XML Example

(show inherited members)

<obh:instantMessageBody xsi:type="obh:instantMessageBody" xmlns:obh="http://www.oracle.com/beehive" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <obh:characterEncoding>your_string_0</obh:characterEncoding>
        <obh:contentBytes>your_base64Binary_0</obh:contentBytes>
        <obh:contentDisposition>your_contentDispositionType_0</obh:contentDisposition>
        <obh:contentEncoding>your_contentEncodingType_0</obh:contentEncoding>
        <obh:contentId>your_string_0</obh:contentId>
        <obh:contentLanguage>your_string_0</obh:contentLanguage>
        <obh:mediaType>your_string_0</obh:mediaType>
        <obh:mimeHeaders>your_mimeHeadersWrapper_0</obh:mimeHeaders>
        <obh:name>your_rawString_0</obh:name>
        <obh:partIdentifier>your_string_0</obh:partIdentifier>
        <obh:size>your_long_0</obh:size>
        <obh:stringContent>your_string_0</obh:stringContent>
        <obh:type>your_contentType_0</obh:type>
        <obh:uri>your_string_0</obh:uri>
</obh:instantMessageBody>

JSON Example

(show inherited members)

{
    "beeType":"instantMessageBody",
        "characterEncoding":"your_{http://www.oracle.com/beehive}characterEncoding_as_string0",
        "contentBytes":"your_{http://www.oracle.com/beehive}contentBytes_as_base64Binary0",
        "contentDisposition":{ your_{http://www.oracle.com/beehive}contentDisposition_as_contentDispositionType0 },
        "contentEncoding":{ your_{http://www.oracle.com/beehive}contentEncoding_as_contentEncodingType0 },
        "contentId":"your_{http://www.oracle.com/beehive}contentId_as_string0",
        "contentLanguage":"your_{http://www.oracle.com/beehive}contentLanguage_as_string0",
        "mediaType":"your_{http://www.oracle.com/beehive}mediaType_as_string0",
        "mimeHeaders":{ your_{http://www.oracle.com/beehive}mimeHeaders_as_mimeHeadersWrapper0 },
        "name":{ your_{http://www.oracle.com/beehive}name_as_rawString0 },
        "partIdentifier":"your_{http://www.oracle.com/beehive}partIdentifier_as_string0",
        "size":your_{http://www.oracle.com/beehive}size_as_long0,
        "stringContent":"your_{http://www.oracle.com/beehive}stringContent_as_string0",
        "type":{ your_{http://www.oracle.com/beehive}type_as_contentType0 },
        "uri":"your_{http://www.oracle.com/beehive}uri_as_string0"
}

XML Schema


<xs:complexType name="instantMessageBody">
    <xs:complexContent>
        <xs:extension base="tns:simpleContent">
            <xs:sequence>
                <xs:element minOccurs="0" name="stringContent" type="xs:string"/>
                <xs:element minOccurs="0" name="uri" type="xs:string"/>
            </xs:sequence>
        </xs:extension>
    </xs:complexContent>
</xs:complexType>

        

References

The following data represents the references to instantMessageBody

Referenced By Resources

Not Referenced Directly by Resources

Referenced By Representaions