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": "2b07ec9f-58c5-45ca-908b-417b328afa15",
  "db_report_type_id": "9b716a48-44a2-4a5e-b9f8-01f367458544",
  "user_id": "16039cc8-98ae-4f50-b405-4f8fe74d515a",
  "company_id": "7af74bd9-dd87-4412-aee7-18232d094e3b",
  "db_table_id": "0db29554-6efe-4af3-8d8a-2be26c8dc40c",
  "id_in_table": "9e6a896e-2d75-4d3f-9d84-25555e47f78a",
  "date_start": "2026-03-07T13:15:07.6899022+00:00",
  "modified_dateutc": "2026-03-07T13:15:07.6899022+00:00",
  "is_completed": true
}

application/xml, text/xml

Sample:
<db_report xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <company_id>7af74bd9-dd87-4412-aee7-18232d094e3b</company_id>
  <date_start>2026-03-07T13:15:07.689Z</date_start>
  <db_report_type_id>9b716a48-44a2-4a5e-b9f8-01f367458544</db_report_type_id>
  <db_table_id>0db29554-6efe-4af3-8d8a-2be26c8dc40c</db_table_id>
  <id>2b07ec9f-58c5-45ca-908b-417b328afa15</id>
  <id_in_table>9e6a896e-2d75-4d3f-9d84-25555e47f78a</id_in_table>
  <is_completed>true</is_completed>
  <modified_dateutc>2026-03-07T13:15:07.689Z</modified_dateutc>
  <user_id>16039cc8-98ae-4f50-b405-4f8fe74d515a</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": "9f3cf3b0-74e1-4650-819d-db7b0ec4d0f7",
  "db_report_type_id": "d063a114-ee99-4112-a45f-bcaed21d5f9c",
  "user_id": "3157b922-11af-42d6-a09a-8187ce54b532",
  "company_id": "0ddc3898-b69a-4a18-b5b5-04d12890f845",
  "db_table_id": "d02c9f35-6dd3-492b-a67c-56c11de3f099",
  "id_in_table": "cf4df25c-3c20-4b74-9352-55500b0b55b4",
  "date_start": "2026-03-07T13:15:07.7089118+00:00",
  "modified_dateutc": "2026-03-07T13:15:07.7089118+00:00",
  "is_completed": true
}

application/xml, text/xml

Sample:
<db_report xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <company_id>0ddc3898-b69a-4a18-b5b5-04d12890f845</company_id>
  <date_start>2026-03-07T13:15:07.708Z</date_start>
  <db_report_type_id>d063a114-ee99-4112-a45f-bcaed21d5f9c</db_report_type_id>
  <db_table_id>d02c9f35-6dd3-492b-a67c-56c11de3f099</db_table_id>
  <id>9f3cf3b0-74e1-4650-819d-db7b0ec4d0f7</id>
  <id_in_table>cf4df25c-3c20-4b74-9352-55500b0b55b4</id_in_table>
  <is_completed>true</is_completed>
  <modified_dateutc>2026-03-07T13:15:07.708Z</modified_dateutc>
  <user_id>3157b922-11af-42d6-a09a-8187ce54b532</user_id>
</db_report>