Document Destination - FTP

This example shows how to add a new now schedule with ftp destination specifying a directory destination.

Example

POST <webiURL>/documents/8002/schedules

Request body in an XML file:

<schedule>
    <name>nowschedTest_ftp</name>
    <format type="xls"/>
    <destination>
        <ftp>
            <host>vs0202.dhcp.pgdev.sap.corp</host>
            <port>21</port>
            <username>admin</username>
            <password>admin</password>
            <directory>\vs0202.dhcp.pgdev.sap.corp\FTP</directory>
        </ftp>
    </destination>
    <serverGroup id="10696" required="true"/>
</schedule>