Server API - Create Watch Folder Preset

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

Base URI /api/watchfolders/{folderId}/presets/
Protocol HTTP HTTP MethodPOST
Response Formats XML, JSON
Help URL /api/watchfolders/help/operations/CreateWatchFolderPreset

Common Parameters
Name Required Description

folderId Yes Unique ID for the watch folder

Request Data Fields
Name Data Type Required Description

JobPreset Element No Contains data for an individual job preset (XML)
JobId Guid Private Not used with watch folders
JobPresetId Guid Private Unique Id of this Job Preset record
PresetIdGuidNoID of a preset from the preset library. A Job Preset record must have only one of PresetId, UriLocation, or PresetXmlBase64Data PresetXmlBase64Data
String No Base-64 encoded preset data
UriLocation String No URI to a preset. Presets may referenced by http:// or file://
WatchFolderId Guid No Unique ID of a watch folder this preset is associated with

Response Data Fields
Name Data Type Required Description

JobPreset Element No Contains data for an individual job preset (XML)
JobId Guid Private Not used with watch folders
JobPresetId Guid Private Unique Id of this Job Preset record
PresetId Guid No ID of a preset from the preset library. A Job Preset record must have only one of  PresetId, UriLocation, or PresetXmlBase64Data
PresetXmlBase64Data String No Base-64 encoded preset data
UriLocation String No URI to a preset. Presets may referenced by http:// or file://
WatchFolderId Guid No Unique ID of a watch folder this preset is associated with
 
Example cURL call:
curl -H "Accept: application/xml" -H "x-Authorization: Basic YWRtaW46YWRtaW4=" -H "Content-Type: application/xml" –d "
<JobPreset>
<PresetId>PrsetGUID</PresetId>
<WatchFolderId>WatchFolderID</WatchFolderId>
</JobPreset>" -X POST http://<host>/api/watchfolders/<watchfolderId>/presets/
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