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

Contents

Overview

Resource DiscussionsDraftCreator is used to specify the DiscussionsDraft's fields upon creation.

Members

Name Type Description

destinationForum

beeId<forum>

The future parent Forum of this DiscussionsDraft. When the DiscussionsDraft is posted as a new Topic or Announcement, this will be its parent.

draftFolder

beeId<heterogeneousFolder>

The parent Folder that contains this DiscussionsDraft

subject

string

The subject and name of the new DiscussionsDraft

updater

topicDraftUpdater

The updater used to update fields that apply to a new Topic, that don't apply to the DiscussionsDraft itself.

Hierarchy

Inherits From

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:discussionsDraftCreator xsi:type="obh:discussionsDraftCreator" xmlns:obh="http://www.oracle.com/beehive" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <obh:destinationForum>your_beeId_0</obh:destinationForum>
        <obh:draftFolder>your_beeId_0</obh:draftFolder>
        <obh:subject>your_string_0</obh:subject>
        <obh:updater>your_topicDraftUpdater_0</obh:updater>
</obh:discussionsDraftCreator>

JSON Example

(show inherited members)

{
    "beeType":"discussionsDraftCreator",
        "destinationForum":{ your_{http://www.oracle.com/beehive}destinationForum_as_beeId0 },
        "draftFolder":{ your_{http://www.oracle.com/beehive}draftFolder_as_beeId0 },
        "subject":"your_{http://www.oracle.com/beehive}subject_as_string0",
        "updater":{ your_{http://www.oracle.com/beehive}updater_as_topicDraftUpdater0 }
}

XML Schema


<xs:complexType name="discussionsDraftCreator">
    <xs:complexContent>
        <xs:extension base="tns:entityCreator">
            <xs:sequence>
                <xs:element minOccurs="0" name="destinationForum" type="tns:beeId"/>
                <xs:element minOccurs="0" name="draftFolder" type="tns:beeId"/>
                <xs:element minOccurs="0" name="subject" type="xs:string"/>
                <xs:element minOccurs="0" name="updater" type="tns:topicDraftUpdater"/>
            </xs:sequence>
        </xs:extension>
    </xs:complexContent>
</xs:complexType>

        

References

The following data represents the references to discussionsDraftCreator

Referenced By Resources

Usage Resource Method
Request DiscussionsDraft Create

Referenced By Representaions

Not Referenced Directly by Representations