Skip to navigation

Upload Attachment

View as Markdown

Uploads an attachment for a kitting work order action step. The returned GUID can be used when creating the work order action attachment.

Request must be sent as multipart/form-data with the following fields:

FieldTypeRequiredDescription
file_namestringYesThe file name including extension (e.g. packaging-pic.jpg). Supported types: jpg, jpeg, png, pdf, csv, xlsx, xls, txt, gif, mp4.
filefileYesThe binary file content to upload.

Authentication

AuthorizationBearer

Authentication using Personal Access Token (PAT) token

OR
AuthorizationBearer
OAuth2 authentication using JWT tokens

Response

Success
attachment_namestring or nullOptional
The name of the uploaded attachment.
idstring or nullOptional
The unique identifier of the uploaded attachment.

Errors

500
Internal Server Error