Comparaison des versions

Légende

  • Ces lignes ont été ajoutées. Ce mot a été ajouté.
  • Ces lignes ont été supprimées. Ce mot a été supprimé.
  • La mise en forme a été modifiée.

...

Bloc de code
 <Base-URL>/rest/kepler/1.0/file-attach/download/Base64(${customfield_Value})/${customfield_id}?forceUTF8=${forceUTF8}

Required Parameters 


Parameters
Explanation
customfield_Valuethe value of the custom field
base64(customfield_Value)The encoded value of the custom field
customfield_idThe String id of the custom field example: customfield_10000
forceUTF8Boolean parameter not required with default value is false. If enable, you will ignore encoding mention in config page and use UTF-8 as default

An example of usage :


Bloc de code
http://192.168.1.42:8410/rest/kepler/1.0/file-attach/download/aW1hZ2UwMDItMTU3OTUwNDI3NjA4OGN1c3RvbWZpZWxkXzExMDAxLnBuZw==/customfield_11001


Bloc de code
http://192.168.1.42:8410/rest/kepler/1.0/file-attach/download/aW1hZ2UwMDItMTU3OTUwNDI3NjA4OGN1c3RvbWZpZWxkXzExMDAxLnBuZw==/customfield_11001?forceUTF8=true

Delete file:

Info

The deletion can be also tuned on the field configuration as you can choose to delete or archive the file Configuration of Kepler - Attachment fields | simple & multiple

...