Creating an Application

This RESTful web service request can be used to create an application.

HTTP Method: POST

REST URL Format:

http://host:port/ibi_apps/rs/ibfs/EDA/NodeName/AppName

where:

host

Is the name of the system where WebFOCUS is installed.

port

Is the port number used by WebFOCUS.

NodeName

Is the name of the WebFOCUS Reporting Server node. For more information, see Listing WebFOCUS Reporting Server Nodes.

AppName

Is the name of the application to be created. If the application being created is a nested application of an existing application, then the existing application name is also included in the REST URL. This shows the path to the application being created (for example, ExistingApplication/ApplicationName).

Body Format:

IBIRS_action=put&IBIRS_object=Object

where:

Object

Is the XML object defining the attributes for the application using the following format:

<object _jt="IBFSFolder" container="true" type="IBFSFolder"></object>

Example:

In the following example, an application called Financial_Reports is created.

POST Request URL:

http://localhost:8080/ibi_apps/rs/ibfs/EDA/EDASERVE/Financial_Reports

Body:

IBIRS_action=put&IBIRS_object=<object _jt="IBFSFolder" container="true" type="IBFSFolder"></object>

Response:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<ibfsrpc _jt="IBFSResponseObject" language="EN" name="put" returncode="10000" returndesc="SUCCESS" subreturncode="0" subsystem="SSYS" type="simple">
	<ibfsparams size="5">
		<entry key="IBIRS_replace" value="true"/>
		<entry key="IBIRS_path" value="/EDA/EDASERVE/Financial_Reports"/>
		<entry key="IBIRS_private" value="__null"/>
		<entry key="IBIRS_object" value="****"/>
		<entry key="IBIRS_args" value="__null"/>
	</ibfsparams>
	<rootObject _jt="IBFSFolder" container="true" description="Financial_Reports" dummy="false" fullPath="IBFS:/EDA/EDASERVE/Financial_Reports" name="Financial_Reports" policy="////D////fx/////+//////////4AAAA" rsPath="/ibi_apps/rs/ibfs/EDA/EDASERVE/Financial_Reports" type="IBFSFolder"/>
</ibfsrpc>

WebFOCUS