This RESTful web service request can be used to delete a file stored within an application.
HTTP Method: DELETE
REST URL Format:
Is the name of the system where WebFOCUS is installed.
Is the port number used by WebFOCUS.
Is the name of the Reporting Server Node. For more information, see Listing WebFOCUS Reporting Server Nodes.
Is the name of the application containing the files to be listed. For more information, see Listing Applications.
Is the name of the file as defined in the name attribute when listing files within an application. For more information, see Listing Files Within an Application.
In the following example, the carinst_rest.fex report from the ibisamp application is deleted. Carinst_rest.fex is defined in the name attribute when listing the files within an application. For more information, see Listing Files Within an Application.
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <ibfsrpc _jt="IBFSResponseObject" language="EN" name="IBIRS_action" returncode="10000" returndesc="SUCCESS" subreturncode="0" subsystem="SSYS" type="simple"> <ibfsparams size="0"/> <rootObject _jt="IBFSFile" description="carinst_rest.fex" dummy="false" fullPath="IBFS:/EDA/EDASERVE/ibisamp/carinst_rest.fex" length="0" name="carinst_rest.fex" policy="///+f///////9/////////////+AAAAA" type="IBFSFile"/> </ibfsrpc>
If the value for the returncode attribute in the XML response is 10000, then the file was deleted successfully.