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": "782a00cc-34ca-4fda-bf17-feaf94f0c8c9",
  "db_report_type_id": "5b376884-8c97-4630-b4a1-d38e42002551",
  "user_id": "965d0e9c-51f6-4cfa-81a3-442a4c93ab15",
  "company_id": "f7faef8e-5071-4efe-9bf1-fbc5dd52e2d7",
  "db_table_id": "fcab2ef8-3fdf-43b7-8dff-1e5522e1bc39",
  "id_in_table": "d308eae2-ee18-465a-8ac5-c570e1a2b85a",
  "date_start": "2026-11-12T14:28:30.5412267+00:00",
  "modified_dateutc": "2026-11-12T14:28:30.5412267+00:00",
  "is_completed": true
}

application/xml, text/xml

Sample:
<db_report xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <company_id>f7faef8e-5071-4efe-9bf1-fbc5dd52e2d7</company_id>
  <date_start>2026-11-12T14:28:30.541Z</date_start>
  <db_report_type_id>5b376884-8c97-4630-b4a1-d38e42002551</db_report_type_id>
  <db_table_id>fcab2ef8-3fdf-43b7-8dff-1e5522e1bc39</db_table_id>
  <id>782a00cc-34ca-4fda-bf17-feaf94f0c8c9</id>
  <id_in_table>d308eae2-ee18-465a-8ac5-c570e1a2b85a</id_in_table>
  <is_completed>true</is_completed>
  <modified_dateutc>2026-11-12T14:28:30.541Z</modified_dateutc>
  <user_id>965d0e9c-51f6-4cfa-81a3-442a4c93ab15</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.