Deleting a Schedule

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

HTTP Method: DELETE

REST URL Format:

http://host:port/ibi_apps/rs/ibfs/WFC/Repository/FolderName/ScheduleName?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 Schedule. If the folder used for the stored ReportCaster Schedule exists as a subfolder, then the path to the subfolder name must be included in the REST URL. For example, TopFolderName/SubFolderName.

ScheduleName

Is the name of the ReportCaster Schedule to delete, which also must have a .sch extension.

Example:

In the following example, the ReportCaster Schedule named REST_schedule.sch 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_schedule.sch?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_schedule.sch"/>
  </ibfsparams>
  <rootObject _jt="IBFSCasterObject" binary="false" createdOn="1355156594727" defaultLng="en_US" description="Schedule Created through REST"
    dummy="false" extension="sch" externalId="Sdc748ba8s5ff1s4390sb3c1s3777d7686d9f"
       fullPath="IBFS:/WFC/Repository/RESTful_Web_Services/
Car_Reports/REST_Schedule.sch" handle="4b4c8010Ib22cI4609I9c41Ie7102db522b1"
       lastModified="1356617719033" lastaccessBy="admin" lastaccessOn="1356623237446" length="0" name="REST_Schedule.sch" ownerId="10001"
       ownerName="admin" ownerType="U" policy="//3/D///9+P9////v/////////+AAAA=" returnedLng="en_US"
rsPath="/ibi_apps/rs/ibfs/WFC/Repository/RESTful_Web_Services/Car_Reports/REST_Schedule.sch" type="CasterSchedule">
    <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="Schedule Created through REST"/>
        </value>
      </entry>
    </nlsValues>
    <properties size="2">
      <entry key="id" value="Sdc748ba8s5ff1s4390sb3c1s3777d7686d9f"/>
      <entry key="tool" value="schedule"/>
    </properties>
  </rootObject>
</ibfsrpc>

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


Information Builders