Server API - Create Watch Folder Destination

Last Updated: Dec 16, 2014 03:25PM PST
Adds a destination to the specified watch folder.

Base URI /api/watchfolders/{folderId}/destinations/
Protocol HTTP
HTTP Method POST
Response Formats XML, JSON
Help URL /api/watchfolders/help/operations/CreateWatchFoldersDestination

Common Parameters
Name Required Description

folderId Yes Unique ID for the watch folder

Request Data Fields
Name Data Type Required Description

DestinationInfo Element Yes Container for destination information. See DestinationInfo

Response Data Fields
Name Data Type Required Description

DestinationInfo Element Yes Container for destination information. See DestinationInfo

Example cURL call:
curl -H "Accept: application/xml" -H "x-Authorization: Basic YWRtaW46YWRtaW4=" -H "Content-Type:
application/xml" -d "
<DestinationInfo>
<DestinationName>myNewDestination</DestinationName>
<ExtensionNamingMethod>Default</ExtensionNamingMethod>
<FileNamingMethod>Default</FileNamingMethod>
<FileUri>file://C:/myNewDestination/</FileUri>
</DestinationInfo>" -X POST http://<host>/api/watchfolders/<WatchFolder_ID>/destinations/
squeezesupport@sorensonmedia.com
https://cdn.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete