Oracle Fusion Middleware REST API Reference for Oracle WebLogic Portal
10g Release 3 (10.3.4)
E14258-03

Create Book

Creates a new Book in the library, with the specified webapp, title, description, layout and isPublic modifier. The definition label of the new Book must be provided as the last part of the URI path.

Namespace

/bea/wlp/api

HTTP Method

POST

URI

/bea/wlp/api/book/new/{book definition label}

Parameters

Parameter
Type
Description
Allowed Values
Default Value
webapp (required)
String
The webapp to create the Book in.
format
String
The format of the results.
xml
json
xml
title (required)
String
The title of the new Book.
description
String
A text description for the new Book.
locale
String
The locale to use for the title and description of the new Book. Must be of the format: lang-country-variant ie. [nn], [nn-nn], or [nn-nn-nnnn].
Preferred locale from request.
menu
String
The markup name of the Menu to use for the new Book. If no Menu is specified, the Book will have not have a Menu.
theme
String
An optional markup name of the Theme for the new Book.
is_public
Boolean
Specifies whether or not the new Book should be marked public.
true
hidden
Boolean
Specifies whether or not the new Book should be hidden.
false

Input Example

/bea/wlp/api/book/new/book_1?webapp=myWebApp&title=My%20New%20Title&desktop=d1&portal=myPortal&menu=myMenu_1&theme=alert&is_public=true&hidden=false

Return Example

<rsp>
    <definition_label>book_1</definition_label>
</rsp>
Oracle Fusion Middleware REST API Reference for Oracle WebLogic Portal
10g Release 3 (10.3.4)
E14258-03

Copyright 2011, Oracle. All rights reserved.