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": "9fcc6ce9-8827-4303-97bb-0bebb100af41",
  "db_report_type_id": "ae29b518-350f-46f5-83a4-202536b70ad2",
  "user_id": "135b55a6-c6d9-4d45-a407-10fcb5c08eb8",
  "company_id": "d3349fa6-ee4c-4fe1-a867-37b31b1cf4ee",
  "db_table_id": "a3c284ea-177f-48a6-a96e-83ce2cd9c48f",
  "id_in_table": "f03eee3c-4dfa-4fc4-9119-657e8c402e91",
  "date_start": "2026-11-12T14:27:48.681211+00:00",
  "modified_dateutc": "2026-11-12T14:27:48.681211+00:00",
  "is_completed": true
}

application/xml, text/xml

Sample:
<db_report xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <company_id>d3349fa6-ee4c-4fe1-a867-37b31b1cf4ee</company_id>
  <date_start>2026-11-12T14:27:48.681Z</date_start>
  <db_report_type_id>ae29b518-350f-46f5-83a4-202536b70ad2</db_report_type_id>
  <db_table_id>a3c284ea-177f-48a6-a96e-83ce2cd9c48f</db_table_id>
  <id>9fcc6ce9-8827-4303-97bb-0bebb100af41</id>
  <id_in_table>f03eee3c-4dfa-4fc4-9119-657e8c402e91</id_in_table>
  <is_completed>true</is_completed>
  <modified_dateutc>2026-11-12T14:27:48.681Z</modified_dateutc>
  <user_id>135b55a6-c6d9-4d45-a407-10fcb5c08eb8</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": "689d2ac6-3f64-43f5-b0c1-ff1d8f1c0c16",
  "db_report_type_id": "e3af1a08-f127-4047-8fc6-8293e807247f",
  "user_id": "2870579f-91c2-4bcb-bb92-4be0f4f8d6d1",
  "company_id": "253f6d8e-2895-4dbf-a191-d153b5d7788f",
  "db_table_id": "371903e2-d218-4d8d-acb4-21ac5b999312",
  "id_in_table": "e577bd69-40f7-457e-8618-0e730114039a",
  "date_start": "2026-11-12T14:27:48.681211+00:00",
  "modified_dateutc": "2026-11-12T14:27:48.681211+00:00",
  "is_completed": true
}

application/xml, text/xml

Sample:
<db_report xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <company_id>253f6d8e-2895-4dbf-a191-d153b5d7788f</company_id>
  <date_start>2026-11-12T14:27:48.681Z</date_start>
  <db_report_type_id>e3af1a08-f127-4047-8fc6-8293e807247f</db_report_type_id>
  <db_table_id>371903e2-d218-4d8d-acb4-21ac5b999312</db_table_id>
  <id>689d2ac6-3f64-43f5-b0c1-ff1d8f1c0c16</id>
  <id_in_table>e577bd69-40f7-457e-8618-0e730114039a</id_in_table>
  <is_completed>true</is_completed>
  <modified_dateutc>2026-11-12T14:27:48.681Z</modified_dateutc>
  <user_id>2870579f-91c2-4bcb-bb92-4be0f4f8d6d1</user_id>
</db_report>