Deleting an Address Book

This RESTful web service request can be used to delete an existing ReportCaster Address Book.

HTTP Method: DELETE

REST URL Format:

http://host:port/ibi_apps/rs/ibfs/WFC/Repository/FolderName/AddressBookName?IBIRS_action=delete

where:

host

Is the name of the system where WebFOCUS is installed.

port

Is the port number used by WebFOCUS.

FolderName

Is the name of the folder used for the stored ReportCaster Address Book. If the folder used for the stored ReportCaster Address Book exists as a subfolder, then the path to the subfolder name must be included in the REST URL. For example, TopFolderName/SubFolderName.

AddressBookName

Is the name of the ReportCaster Address Book to delete, which also must have a .adr extension.

Example:

In the following example, the ReportCaster Address Book named REST_Distribution_List.adr is deleted from the Car_Reports folder, which is within the RESTful_Web_Services folder.

Request:

http://localhost:8080/ibi_apps/rs/ibfs/WFC/Repository/RESTful_Web_Services/
Car_Reports/REST_Distribution_List.adr?IBIRS_action=delete

Response:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<ibfsrpc _jt="IBFSResponseObject" language="EN" name="delete" returncode="10000" returndesc="SUCCESS" subreturncode="0" subsystem="SSYS" type="simple">
  <ibfsparams size="2">
    <entry key="IBIRS_args" value="__null"/>
    <entry key="IBIRS_" value="/WFC/Repository/RESTful_Web_Services/
Car_Reports/REST_Distribution_List.adr"/>
  </ibfsparams>
  <rootObject _jt="IBFSCasterObject" binary="false" createdOn="1350862349237" defaultLng="en_US" description="REST Distribution List"
   dummy="false" extension="adr" externalId="1a7ddf0eIff6aI4886Ibde9I77c691d280a0"
      fullPath="IBFS:/WFC/Repository/RESTful_Web_Services/
Car_Reports/REST_Distribution_List.adr" handle="1a7ddf0eIff6aI4886Ibde9I77c691d280a0"
         lastModified="1350862989380" lastaccessBy="admin" lastaccessOn="1356623807376" length="0" name="REST_Distribution_List.adr" ownerId="10001"
         ownerName="admin" ownerType="U" policy="//3/D///9+P/////v/////////+AAAA=" returnedLng="en_US"
         rsPath="/ibi_apps/rs/ibfs/WFC/Repository/RESTful_Web_Services/
Car_Reports/REST_Distribution_List.adr" type="CasterDistributionList">
    <nlsValues _jt="HashMap" loadFactor="0.75" threshold="12">
      <entry>
        <key _jt="string" value="en_US"/>
        <value _jt="ArrayList" size="2">
          <item _jt="string" index="0" value="REST Distribution List"/>
        </value>
      </entry>
    </nlsValues>
    <properties size="3">
      <entry key="id" value="1a7ddf0eIff6aI4886Ibde9I77c691d280a0"/>
      <entry key="tool" value="addressbook"/>
      <entry key="method" value="EMAIL"/>
    </properties>
  </rootObject>
</ibfsrpc>

If the value for the returncode attribute in the XML response is 10000, then the ReportCaster Address Book was deleted successfully.


WebFOCUS