Example - Inbox Destination for a Monthly Schedule to Specific Users

This example shows how to run a monthly schedule of a Web Intelligence document in the default format to an inbox that specifies four user IDs. The scheduled document is sent as a shortcut by specifying the tag sendAs with the value shortcut.

Example

POST <webiURL>/documents/8002/schedules

Request body:

<schedule>
    <name>nameOfSchedule</name>
    <format type="webi"/>
    <destination>
        <inbox>
            <to>11,12,1,2</to>
            <sendAs type="shortcut"/>
        </inbox>
    </destination>
    <monthly retriesAllowed="2" retryIntervalInSeconds="60">
        <startdate>2012-08-26T15:58:51.000+02:00</startdate>
        <enddate>2013-09-14T15:58:51.000+02:00</enddate>
        <month>1</month>
    </monthly>
</schedule>