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": "11a3421e-b271-436e-b0fe-111dc8b2a1dc",
"db_table_id": "fee557a7-95be-483c-88d2-3c406deee92d",
"id_in_table": "eab17036-0854-4d6f-88c1-769ea917d597",
"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": "0521bf92-85f1-4951-a34d-0077a8746337",
"description": "sample string 11",
"tags": "sample string 12",
"date_update": "2026-03-07T14:44:09.6507121+00:00",
"date_add": "2026-03-07T14:44:09.6507121+00:00",
"dateutc_add": "2026-03-07T14:44:09.6507121+00:00",
"name": "sample string 16",
"file_size": 17,
"modified_dateutc": "2026-03-07T14:44:09.6507121+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-07T14:44:09.650Z</date_add> <date_update>2026-03-07T14:44:09.650Z</date_update> <dateutc_add>2026-03-07T14:44:09.650Z</dateutc_add> <db_table_id>fee557a7-95be-483c-88d2-3c406deee92d</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>11a3421e-b271-436e-b0fe-111dc8b2a1dc</id> <id_in_table>eab17036-0854-4d6f-88c1-769ea917d597</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-07T14:44:09.650Z</modified_dateutc> <name>sample string 16</name> <sys_logical_delete>true</sys_logical_delete> <tags>sample string 12</tags> <user_id>0521bf92-85f1-4951-a34d-0077a8746337</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": "90a5845d-52c1-4eb6-93d3-69ebc2b02e78",
"db_table_id": "59ffd9e2-6177-4873-8279-e08679c11fd8",
"id_in_table": "4ba61379-81da-483d-810d-594e5093c5fd",
"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": "1eb322e7-9525-41e8-a938-57e595d0e127",
"description": "sample string 11",
"tags": "sample string 12",
"date_update": "2026-03-07T14:44:09.6987087+00:00",
"date_add": "2026-03-07T14:44:09.6987087+00:00",
"dateutc_add": "2026-03-07T14:44:09.6987087+00:00",
"name": "sample string 16",
"file_size": 17,
"modified_dateutc": "2026-03-07T14:44:09.6987087+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-07T14:44:09.698Z</date_add> <date_update>2026-03-07T14:44:09.698Z</date_update> <dateutc_add>2026-03-07T14:44:09.698Z</dateutc_add> <db_table_id>59ffd9e2-6177-4873-8279-e08679c11fd8</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>90a5845d-52c1-4eb6-93d3-69ebc2b02e78</id> <id_in_table>4ba61379-81da-483d-810d-594e5093c5fd</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-07T14:44:09.698Z</modified_dateutc> <name>sample string 16</name> <sys_logical_delete>true</sys_logical_delete> <tags>sample string 12</tags> <user_id>1eb322e7-9525-41e8-a938-57e595d0e127</user_id> </db_file>