Skip to main content
PATCH
Update Sales Order File

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

x-runas
string

The User-Id (int or uuid) on whose behalf the request is executed. Requires scope 'Application.RunAs'.

x-tenant-id
string<uuid>
required

The tenant ID for the target ERP instance.

Path Parameters

salesOrderId
integer<int32>
required
salesOrderFileId
integer<int32>
required

Body

application/json

The file to create.

Model Class: UpdateFile

FileData
string<byte>
FileDataType
string
Example:

"png"

FileName
string
Example:

"Attachment FileName"

Response

The updated sales order file.

Model Class: SalesOrderFile

Id
integer<int32>
required
SalesOrderId
integer<int32>
required
FileId
integer<int32>
required
FileDataType
string
required

Type of file.

Example:

"png"

Size
number<decimal>
required

Image size.

Example:

"TODO"

CreatedAt
string<date-time>
required

Date when the file was created in the system.

Example:

"TODO"

FileName
string
required

name of the file.

Example:

"Anhangdateiname"