Updates the db report with the specified key.

Request Information

URI Parameters :

NameDescriptionTypeAdditional information
id

The db report id.

globally unique identifier

Required

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": "2b2e02ea-265a-4e1c-826e-a5072ceaad71",
  "db_report_type_id": "333ef671-2be1-4895-b30e-6a6e89c8fe9e",
  "user_id": "adb7b635-8ad2-40c0-9fff-b9895dfaf777",
  "company_id": "54940cfd-555a-4a2a-bbd0-c385691f72fa",
  "db_table_id": "fc631e27-fd03-441e-829f-a7214743336a",
  "id_in_table": "d159301e-a297-4055-9d4b-c143f6010e8e",
  "date_start": "2026-09-16T10:15:48.2072145+00:00",
  "modified_dateutc": "2026-09-16T10:15:48.2072145+00:00",
  "is_completed": true
}

application/xml, text/xml

Sample:
<db_report xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <company_id>54940cfd-555a-4a2a-bbd0-c385691f72fa</company_id>
  <date_start>2026-09-16T10:15:48.207Z</date_start>
  <db_report_type_id>333ef671-2be1-4895-b30e-6a6e89c8fe9e</db_report_type_id>
  <db_table_id>fc631e27-fd03-441e-829f-a7214743336a</db_table_id>
  <id>2b2e02ea-265a-4e1c-826e-a5072ceaad71</id>
  <id_in_table>d159301e-a297-4055-9d4b-c143f6010e8e</id_in_table>
  <is_completed>true</is_completed>
  <modified_dateutc>2026-09-16T10:15:48.207Z</modified_dateutc>
  <user_id>adb7b635-8ad2-40c0-9fff-b9895dfaf777</user_id>
</db_report>

Response Information

Resource Description :

IHttpActionResult containing the updated db report.

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.