Download a file related to the flex document.
URL
(GET) /api/apps/wbflex/documents/{id}/files/file?name={name}&locale={locale}
PARAMETERS
URL parameters are:
id | Specify either a document ID (such as 1000) or a job ID (such as c300). | Mandatory, string |
name | The name of the related file. | Mandatory, string |
locale | Optional. Uses source locale by default. Permits to fetch attached files in a specific language. | Optional, string |
RESULTS
The method returns the file.
The HTTP response header includes:
- The Content-Type (such as "text/xml")
- The Content-Disposition set to "attachment" and including the file name
EXAMPLES
-