Attachment - Upload
POST {{server_url}}/HOPEXGraphQL/api/attachment/{{documentId}}/file
Upload a file in HOPEX in a given Business Document absolute identifier.
The option in the header allows to define : * new version of the existing document * override of the existing document
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
x-hopex-environment-id | string | Possible value : new or replace | |
x-hopex-repository-id | string | This is a temporary name for the file you are uploading. The final name of the file will be computed based on the business document name. The extension is important as it will be used for the filetype | |
x-hopex-profile-id | string | ||
x-hopex-documentversion | string | ||
x-hopex-filename | string |
RESPONSES
status: OK
{"documentId":"Dbm4QHHbM5vH","success":true}