Creates or updates a 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": "5eb0d436-73ac-4528-bbc6-42c4d9702cc7",
  "db_report_type_id": "2d55b9a5-ea3c-402c-a987-42da79f14692",
  "user_id": "e4b838a8-fcd1-4a20-8bea-5b3df0278567",
  "company_id": "60f1fb81-fb75-4101-b0db-e0f37ba01851",
  "db_table_id": "c59fb8eb-d1ec-4576-aaf0-d1c4f9e40176",
  "id_in_table": "c5b84008-be57-4b2a-88ea-f3c22350f154",
  "date_start": "2026-09-16T09:23:05.9712921+00:00",
  "modified_dateutc": "2026-09-16T09:23:05.9712921+00:00",
  "is_completed": true
}

application/xml, text/xml

Sample:
<db_report xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <company_id>60f1fb81-fb75-4101-b0db-e0f37ba01851</company_id>
  <date_start>2026-09-16T09:23:05.971Z</date_start>
  <db_report_type_id>2d55b9a5-ea3c-402c-a987-42da79f14692</db_report_type_id>
  <db_table_id>c59fb8eb-d1ec-4576-aaf0-d1c4f9e40176</db_table_id>
  <id>5eb0d436-73ac-4528-bbc6-42c4d9702cc7</id>
  <id_in_table>c5b84008-be57-4b2a-88ea-f3c22350f154</id_in_table>
  <is_completed>true</is_completed>
  <modified_dateutc>2026-09-16T09:23:05.971Z</modified_dateutc>
  <user_id>e4b838a8-fcd1-4a20-8bea-5b3df0278567</user_id>
</db_report>

Response Information

Resource Description :

IHttpActionResult containing the saved db report.

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": "b1ebe224-ec9a-43ed-bbac-050f9ff61283",
  "db_report_type_id": "5c1d40a6-8240-47a5-b92c-61e7bf779dfb",
  "user_id": "6201f7fe-751f-4bb6-b63a-0dde726ef6a3",
  "company_id": "93a1aedb-6adf-4326-b925-d3a975b26dff",
  "db_table_id": "a689980c-700f-4595-99a0-f64b9706c475",
  "id_in_table": "bd6b2a61-2984-4a16-84df-9bc793796e2a",
  "date_start": "2026-09-16T09:23:05.9712921+00:00",
  "modified_dateutc": "2026-09-16T09:23:05.9712921+00:00",
  "is_completed": true
}

application/xml, text/xml

Sample:
<db_report xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <company_id>93a1aedb-6adf-4326-b925-d3a975b26dff</company_id>
  <date_start>2026-09-16T09:23:05.971Z</date_start>
  <db_report_type_id>5c1d40a6-8240-47a5-b92c-61e7bf779dfb</db_report_type_id>
  <db_table_id>a689980c-700f-4595-99a0-f64b9706c475</db_table_id>
  <id>b1ebe224-ec9a-43ed-bbac-050f9ff61283</id>
  <id_in_table>bd6b2a61-2984-4a16-84df-9bc793796e2a</id_in_table>
  <is_completed>true</is_completed>
  <modified_dateutc>2026-09-16T09:23:05.971Z</modified_dateutc>
  <user_id>6201f7fe-751f-4bb6-b63a-0dde726ef6a3</user_id>
</db_report>