Server API - Update Watch Folder Preset

Last Updated: Dec 16, 2014 03:25PM PST
Allows the user to change the preset information for a watch folder. No fields are required, update is sparse. Include only the elements that are to be changed.

Base URI /api/watchfolders/{folderId}/presets/
Protocol HTTP
HTTP Method PUT
Response Formats XML, JSON
Help URL /api/watchfolders/{folderId}/presets/{presetId}/

Common Parameters
Name Required Description

folderId Yes Unique ID for the watch folder
presetId Yes Unique ID for the preset
 
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
PresetId Guid No ID of a preset from the preset library. A Job  Preset record must have only one  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>PrestGUID</PresetId>
<PresetXmlBase64Data>Data </PresetXmlBase64Data>
<WatchFolderId>d6a3c54e-e0cf-482f-91f9-c6b0cf077c28</WatchFolderId>
</JobPreset>" -X PUT http://<host>/api/watchfolders/<watchfolderId>/presets/<JobPresetId>/
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