English
cURL
curl --request POST \ --url https://cloud.memsource.com/web/api2/v1/projects/{projectUid}/jobPreviewPackage \ --header 'Content-Type: multipart/form-data' \ --form file='@example-file'
{ "uid": "<string>", "fileUid": "<string>", "fileName": "<string>", "organizationRef": { "name": "<string>", "uid": "<string>" }, "projectUidRef": { "uid": "<string>" }, "taskId": "<string>", "jobUidRef": { "uid": "<string>" }, "createdByRef": { "firstName": "<string>", "lastName": "<string>", "userName": "<string>", "email": "<string>", "role": "SYS_ADMIN", "id": "<string>", "uid": "<string>" }, "dateCreated": "2023-11-07T05:31:56Z" }
Uploads a Job Preview Package to a project. ImportFile API then refers to the preview package. The package is a zip file containing the preview HTML and related asset (css, js..) files.
multipart/form-data
JobPreviewPackage file to upload
Created
Job preview package
Show child attributes
SYS_ADMIN
SYS_ADMIN_READ
ADMIN
PROJECT_MANAGER
LINGUIST
GUEST
SUBMITTER
PORTAL_MEMBER
Was this page helpful?