Example - File System Destination for a Now Schedule

This example shows how to schedule "now" a Web Intelligence document in PDF format with file system destination. The document is saved in the C:\tmp directory. The default folder is not used.

Example

POST <webiURL>/documents/8002/schedules

Request body:

<schedule>
    <name>nameOfSchedule</name>
    <format type="pdf"/>
    <destination>
        <filesystem>
            <username>{name of user}</username>
            <password>{user's password}</password>
            <directory>C:/tmp/</directory>
        </filesystem>
    </destination>
</schedule>