Request Information

URI Parameters :

None.

Body Parameters :

db_file
NameDescriptionTypeAdditional information
id

Primary key

globally unique identifier

Required

db_table_id

Table.id of the linked entity

globally unique identifier
id_in_table

Id of the linked entity

globally unique identifier
file_type

string
is_default

boolean
file_name

File_name of the file

string
mime_type

string
file_content

Collection of byte
image_width

In case of picture, the original width

integer
image_heigth

In case of picture, the original heigth

integer
user_id

globally unique identifier
description

string
tags

string
date_update

date
date_add

date
dateutc_add

date
name

string
file_size

integer
modified_dateutc

Readonly system field managed by database, filled with GetUtcDate when adding,updating

date
is_showonweb

Is available on ServiceDesk?

boolean
sys_logical_delete

boolean

Request Formats :

application/json, text/json

Sample:
{
  "id": "ae83b67c-9d59-4e9d-a378-221f5f3d4f34",
  "db_table_id": "9b8c11a0-0c30-4b3a-82e5-998a5f28ba70",
  "id_in_table": "d4a482d5-fc4d-48e9-81fd-d321ce295ebe",
  "file_type": "sample string 4",
  "is_default": true,
  "file_name": "sample string 6",
  "mime_type": "sample string 7",
  "file_content": "QEA=",
  "image_width": 8,
  "image_heigth": 9,
  "user_id": "559a4427-b9d8-4433-b646-2019ef2a12f6",
  "description": "sample string 11",
  "tags": "sample string 12",
  "date_update": "2026-03-07T13:13:25.5997648+00:00",
  "date_add": "2026-03-07T13:13:25.5997648+00:00",
  "dateutc_add": "2026-03-07T13:13:25.5997648+00:00",
  "name": "sample string 16",
  "file_size": 17,
  "modified_dateutc": "2026-03-07T13:13:25.5997648+00:00",
  "is_showonweb": true,
  "sys_logical_delete": true
}

application/xml, text/xml

Sample:
<db_file xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <date_add>2026-03-07T13:13:25.599Z</date_add>
  <date_update>2026-03-07T13:13:25.599Z</date_update>
  <dateutc_add>2026-03-07T13:13:25.599Z</dateutc_add>
  <db_table_id>9b8c11a0-0c30-4b3a-82e5-998a5f28ba70</db_table_id>
  <description>sample string 11</description>
  <file_content>QEA=</file_content>
  <file_name>sample string 6</file_name>
  <file_size>17</file_size>
  <file_type>sample string 4</file_type>
  <id>ae83b67c-9d59-4e9d-a378-221f5f3d4f34</id>
  <id_in_table>d4a482d5-fc4d-48e9-81fd-d321ce295ebe</id_in_table>
  <image_heigth>9</image_heigth>
  <image_width>8</image_width>
  <is_default>true</is_default>
  <is_showonweb>true</is_showonweb>
  <mime_type>sample string 7</mime_type>
  <modified_dateutc>2026-03-07T13:13:25.599Z</modified_dateutc>
  <name>sample string 16</name>
  <sys_logical_delete>true</sys_logical_delete>
  <tags>sample string 12</tags>
  <user_id>559a4427-b9d8-4433-b646-2019ef2a12f6</user_id>
</db_file>

Response Information

Resource Description :

db_file
NameDescriptionTypeAdditional information
id

Primary key

globally unique identifier

Required

db_table_id

Table.id of the linked entity

globally unique identifier
id_in_table

Id of the linked entity

globally unique identifier
file_type

string
is_default

boolean
file_name

File_name of the file

string
mime_type

string
file_content

Collection of byte
image_width

In case of picture, the original width

integer
image_heigth

In case of picture, the original heigth

integer
user_id

globally unique identifier
description

string
tags

string
date_update

date
date_add

date
dateutc_add

date
name

string
file_size

integer
modified_dateutc

Readonly system field managed by database, filled with GetUtcDate when adding,updating

date
is_showonweb

Is available on ServiceDesk?

boolean
sys_logical_delete

boolean

Response Formats

application/json, text/json

Sample:
{
  "id": "d1605ad7-7a99-4cbd-a1db-5a3259035d4b",
  "db_table_id": "07dcde71-ef17-4a82-a261-aa9a208590a2",
  "id_in_table": "266ef524-4bdd-4186-9fd5-5c564988e62e",
  "file_type": "sample string 4",
  "is_default": true,
  "file_name": "sample string 6",
  "mime_type": "sample string 7",
  "file_content": "QEA=",
  "image_width": 8,
  "image_heigth": 9,
  "user_id": "64032a16-ad28-4fd3-9592-1b66435a173e",
  "description": "sample string 11",
  "tags": "sample string 12",
  "date_update": "2026-03-07T13:13:25.5997648+00:00",
  "date_add": "2026-03-07T13:13:25.5997648+00:00",
  "dateutc_add": "2026-03-07T13:13:25.5997648+00:00",
  "name": "sample string 16",
  "file_size": 17,
  "modified_dateutc": "2026-03-07T13:13:25.5997648+00:00",
  "is_showonweb": true,
  "sys_logical_delete": true
}

application/xml, text/xml

Sample:
<db_file xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <date_add>2026-03-07T13:13:25.599Z</date_add>
  <date_update>2026-03-07T13:13:25.599Z</date_update>
  <dateutc_add>2026-03-07T13:13:25.599Z</dateutc_add>
  <db_table_id>07dcde71-ef17-4a82-a261-aa9a208590a2</db_table_id>
  <description>sample string 11</description>
  <file_content>QEA=</file_content>
  <file_name>sample string 6</file_name>
  <file_size>17</file_size>
  <file_type>sample string 4</file_type>
  <id>d1605ad7-7a99-4cbd-a1db-5a3259035d4b</id>
  <id_in_table>266ef524-4bdd-4186-9fd5-5c564988e62e</id_in_table>
  <image_heigth>9</image_heigth>
  <image_width>8</image_width>
  <is_default>true</is_default>
  <is_showonweb>true</is_showonweb>
  <mime_type>sample string 7</mime_type>
  <modified_dateutc>2026-03-07T13:13:25.599Z</modified_dateutc>
  <name>sample string 16</name>
  <sys_logical_delete>true</sys_logical_delete>
  <tags>sample string 12</tags>
  <user_id>64032a16-ad28-4fd3-9592-1b66435a173e</user_id>
</db_file>