Request Information
URI Parameters :
None.
Body Parameters :
db_file| Name | Description | Type | Additional 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": "4729846b-e6eb-4ac0-b8b7-fedbca4c6e29",
"db_table_id": "d6967dea-a071-46b5-8c75-8a23c7015f35",
"id_in_table": "739ea7c6-cfff-4f7d-aa0b-fded8389e4a5",
"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": "67f7efb8-2558-4855-818a-3e58c5e95410",
"description": "sample string 11",
"tags": "sample string 12",
"date_update": "2026-01-11T20:59:01.5799593+00:00",
"date_add": "2026-01-11T20:59:01.5799593+00:00",
"dateutc_add": "2026-01-11T20:59:01.5799593+00:00",
"name": "sample string 16",
"file_size": 17,
"modified_dateutc": "2026-01-11T20:59:01.5799593+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-01-11T20:59:01.579Z</date_add> <date_update>2026-01-11T20:59:01.579Z</date_update> <dateutc_add>2026-01-11T20:59:01.579Z</dateutc_add> <db_table_id>d6967dea-a071-46b5-8c75-8a23c7015f35</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>4729846b-e6eb-4ac0-b8b7-fedbca4c6e29</id> <id_in_table>739ea7c6-cfff-4f7d-aa0b-fded8389e4a5</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-01-11T20:59:01.579Z</modified_dateutc> <name>sample string 16</name> <sys_logical_delete>true</sys_logical_delete> <tags>sample string 12</tags> <user_id>67f7efb8-2558-4855-818a-3e58c5e95410</user_id> </db_file>
Response Information
Resource Description :
db_file| Name | Description | Type | Additional 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": "01e39a08-60d8-4061-a6a5-c4a407d34ab2",
"db_table_id": "e7f65e2d-ad72-4680-af7e-490add5fba7b",
"id_in_table": "974e7b50-679d-4822-8b9c-3bd549690374",
"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": "77b6c104-225f-4edd-90b6-dc2aa90d6f1e",
"description": "sample string 11",
"tags": "sample string 12",
"date_update": "2026-01-11T20:59:01.5799593+00:00",
"date_add": "2026-01-11T20:59:01.5799593+00:00",
"dateutc_add": "2026-01-11T20:59:01.5799593+00:00",
"name": "sample string 16",
"file_size": 17,
"modified_dateutc": "2026-01-11T20:59:01.5799593+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-01-11T20:59:01.579Z</date_add> <date_update>2026-01-11T20:59:01.579Z</date_update> <dateutc_add>2026-01-11T20:59:01.579Z</dateutc_add> <db_table_id>e7f65e2d-ad72-4680-af7e-490add5fba7b</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>01e39a08-60d8-4061-a6a5-c4a407d34ab2</id> <id_in_table>974e7b50-679d-4822-8b9c-3bd549690374</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-01-11T20:59:01.579Z</modified_dateutc> <name>sample string 16</name> <sys_logical_delete>true</sys_logical_delete> <tags>sample string 12</tags> <user_id>77b6c104-225f-4edd-90b6-dc2aa90d6f1e</user_id> </db_file>