Add/update db_report

Request Information

URI Parameters :

None.

Body Parameters :

db_report
NameDescriptionTypeAdditional information
id

Primary Key

globally unique identifier
db_report_type_id

db report type id

globally unique identifier
user_id

Created user id

globally unique identifier
company_id

The Final company that own this report (If WO Report, the company that owns the installation/project)

globally unique identifier
db_table_id

Table ID which db report linked to.

globally unique identifier
id_in_table

Item id of the table which db report linked to

globally unique identifier
date_start

Date start

date
modified_dateutc

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

date
is_completed

is_completed flag

boolean

Request Formats :

application/json, text/json

Sample:
{
  "id": "432168da-4083-4a8a-b9c5-fee2cc7011d5",
  "db_report_type_id": "df44c016-fa6b-45e1-b563-d0251e552e21",
  "user_id": "c07f87cc-9914-4d0e-9a1a-03417657d134",
  "company_id": "18e27c11-b37e-4e11-8e80-12863b3c11b4",
  "db_table_id": "39d3331f-22ab-4906-b9eb-6c0c8a9d0bd7",
  "id_in_table": "56c87338-e53f-497b-8777-7b1f6d00e94d",
  "date_start": "2026-06-16T22:30:48.7714352+00:00",
  "modified_dateutc": "2026-06-16T22:30:48.7714352+00:00",
  "is_completed": true
}

application/xml, text/xml

Sample:
<db_report xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <company_id>18e27c11-b37e-4e11-8e80-12863b3c11b4</company_id>
  <date_start>2026-06-16T22:30:48.771Z</date_start>
  <db_report_type_id>df44c016-fa6b-45e1-b563-d0251e552e21</db_report_type_id>
  <db_table_id>39d3331f-22ab-4906-b9eb-6c0c8a9d0bd7</db_table_id>
  <id>432168da-4083-4a8a-b9c5-fee2cc7011d5</id>
  <id_in_table>56c87338-e53f-497b-8777-7b1f6d00e94d</id_in_table>
  <is_completed>true</is_completed>
  <modified_dateutc>2026-06-16T22:30:48.771Z</modified_dateutc>
  <user_id>c07f87cc-9914-4d0e-9a1a-03417657d134</user_id>
</db_report>

Response Information

Resource Description :

db_report
NameDescriptionTypeAdditional information
id

Primary Key

globally unique identifier
db_report_type_id

db report type id

globally unique identifier
user_id

Created user id

globally unique identifier
company_id

The Final company that own this report (If WO Report, the company that owns the installation/project)

globally unique identifier
db_table_id

Table ID which db report linked to.

globally unique identifier
id_in_table

Item id of the table which db report linked to

globally unique identifier
date_start

Date start

date
modified_dateutc

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

date
is_completed

is_completed flag

boolean

Response Formats

application/json, text/json

Sample:
{
  "id": "e676a57b-481c-4ac9-b0d5-e0c1bf734906",
  "db_report_type_id": "ee1f71a8-d774-417b-bafb-fd02786654fb",
  "user_id": "b87a6a7f-3936-4bba-9b3e-b09f12ed9f73",
  "company_id": "c90d31e4-7510-403d-9358-c9c764a1fd66",
  "db_table_id": "44dc1566-91c8-4df5-9d6c-0f11cecad2b1",
  "id_in_table": "9f7fe316-4446-4270-b856-074da849d377",
  "date_start": "2026-06-16T22:30:48.7714352+00:00",
  "modified_dateutc": "2026-06-16T22:30:48.7714352+00:00",
  "is_completed": true
}

application/xml, text/xml

Sample:
<db_report xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <company_id>c90d31e4-7510-403d-9358-c9c764a1fd66</company_id>
  <date_start>2026-06-16T22:30:48.771Z</date_start>
  <db_report_type_id>ee1f71a8-d774-417b-bafb-fd02786654fb</db_report_type_id>
  <db_table_id>44dc1566-91c8-4df5-9d6c-0f11cecad2b1</db_table_id>
  <id>e676a57b-481c-4ac9-b0d5-e0c1bf734906</id>
  <id_in_table>9f7fe316-4446-4270-b856-074da849d377</id_in_table>
  <is_completed>true</is_completed>
  <modified_dateutc>2026-06-16T22:30:48.771Z</modified_dateutc>
  <user_id>b87a6a7f-3936-4bba-9b3e-b09f12ed9f73</user_id>
</db_report>