Add file to a service ticket
  • 09 May 2025
  • 1 Minute to read
  • Dark
    Light

Add file to a service ticket

  • Dark
    Light

Article summary

Post
/api/v1/maintenance/servicetickets/files

[PREVIEW] Uploads a file and links it to the service ticket.

Description

Adds a file to a service ticket. 

Use Case

The Bloxs user wants to add a file to a service ticket. For example, a picture.

Request fields

The request contains the following fields:

FieldDescription
referenceThe unique identifier for this service ticket within Bloxs. This is unique (per client specific environment) for all service tickets. This identifier is generated by the Bloxs system.
externalIdentifierThe unique identifier within the system of the requesting party. This identifier is not generated by the Bloxs system.
Security
HTTP
Type Bearer

Please enter a valid token

Query parameters
reference
string

The internal identifier of the model (i.e. Reference, Code, Name, depends on model).

externalIdentifier
string

The external API identifier of the model.

Body parameters
object
File
string (binary)
object
File
string (binary)
Responses
200

The file was created

integer (int64)
400

No file was uploaded

404

There was a problem attaching the file to the service ticket

Expand All
object
type
string | null
title
string | null
traceId
string | null
status
integer (int32)
errors
object | null
property*
Array of string | null additionalProperties
string