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

Contents

Overview

Resource AnnouncementCreator is used to create a new Announcement.

Members

Name Type Description

activatesOn

dateTime

The activation date of the new Announcement. This may be null. Before the activation date, by default, only Forum managers will be able to view this Announcement.

body

string

The content of the first DiscussionsMessage in the new Announcement.

expiresOn

dateTime

The expiration date of the new Announcement. This may be null. After the expiration date, this Announcement may be hidden or archived.

parentForumHandle

beeId<forum>

A handle to the Forum that contains the new Announcement.

subject

string

The name and subject of the new Announcement.

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:announcementCreator xsi:type="obh:announcementCreator" xmlns:obh="http://www.oracle.com/beehive" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <obh:activatesOn>your_dateTime_0</obh:activatesOn>
        <obh:body>your_string_0</obh:body>
        <obh:expiresOn>your_dateTime_0</obh:expiresOn>
        <obh:parentForumHandle>your_beeId_0</obh:parentForumHandle>
        <obh:subject>your_string_0</obh:subject>
</obh:announcementCreator>

JSON Example

(show inherited members)

{
    "beeType":"announcementCreator",
        "activatesOn":"your_{http://www.oracle.com/beehive}activatesOn_as_dateTime0",
        "body":"your_{http://www.oracle.com/beehive}body_as_string0",
        "expiresOn":"your_{http://www.oracle.com/beehive}expiresOn_as_dateTime0",
        "parentForumHandle":{ your_{http://www.oracle.com/beehive}parentForumHandle_as_beeId0 },
        "subject":"your_{http://www.oracle.com/beehive}subject_as_string0"
}

XML Schema


<xs:complexType name="announcementCreator">
    <xs:complexContent>
        <xs:extension base="tns:entityCreator">
            <xs:sequence>
                <xs:element minOccurs="0" name="activatesOn" type="xs:dateTime"/>
                <xs:element minOccurs="0" name="body" type="xs:string"/>
                <xs:element minOccurs="0" name="expiresOn" type="xs:dateTime"/>
                <xs:element minOccurs="0" name="parentForumHandle" type="tns:beeId"/>
                <xs:element minOccurs="0" name="subject" type="xs:string"/>
            </xs:sequence>
        </xs:extension>
    </xs:complexContent>
</xs:complexType>

        

References

The following data represents the references to announcementCreator

Referenced By Resources

Usage Resource Method
Request Announcement Create

Referenced By Representaions

Not Referenced Directly by Representations