Creates a new 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

Required

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

Optionally required : company_id,company_code or node company must be provided

company_code

Embedded entity "company" using ERP PK when adding/updating db_report

string

Optionally required : company_id, company_code or company must be provided

company

Embedded entity "company" when adding/updating db_report

company

Optionally required : company_id, company_code or company must be provided

db_table_name

TableName which db report linked to. Possible value are jobs or meeting

string

Optionally required : db_table_id or db_table_name must be provided

db_table_id

Table ID which db report linked to.

globally unique identifier

Optionally required : db_table_id or db_table_name must be provided

id_in_table

Item id of the table which db report linked to

globally unique identifier
date_last_update

Date last updated

date
reference_back_office

string

Max length: 255

modified_dateutc

Readonly system field managed by database, filled with GetUtcDate when adding,updating

date

Request Formats :

application/json, text/json

Sample:
{
  "id": "b2adab10-a5a4-4e21-a6f6-d20be651fa4e",
  "db_report_type_id": "90af1562-a59e-4199-9778-6ae757a6b06d",
  "user_id": "bfd12810-4236-4c6d-a3cb-928d21251e24",
  "company_id": "6b5a04ce-d71e-4aef-975b-fe16f5b12797",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "a56cd1b8-6f7e-4506-b7c2-a9401a17269f",
  "id_in_table": "0737da0a-639e-4eb5-bbc6-dabf58a44d10",
  "date_last_update": "2026-06-25T21:36:30.0029794+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2026-06-25T21:36:30.0029794+00:00"
}

Response Information

Resource Description :

IHttpActionResult

db_report
NameDescriptionTypeAdditional information
id

Primary Key

globally unique identifier
db_report_type_id

db report type id

globally unique identifier

Required

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

Optionally required : company_id,company_code or node company must be provided

company_code

Embedded entity "company" using ERP PK when adding/updating db_report

string

Optionally required : company_id, company_code or company must be provided

company

Embedded entity "company" when adding/updating db_report

company

Optionally required : company_id, company_code or company must be provided

db_table_name

TableName which db report linked to. Possible value are jobs or meeting

string

Optionally required : db_table_id or db_table_name must be provided

db_table_id

Table ID which db report linked to.

globally unique identifier

Optionally required : db_table_id or db_table_name must be provided

id_in_table

Item id of the table which db report linked to

globally unique identifier
date_last_update

Date last updated

date
reference_back_office

string

Max length: 255

modified_dateutc

Readonly system field managed by database, filled with GetUtcDate when adding,updating

date

Response Formats

application/json, text/json

Sample:
{
  "id": "96b40b27-63c9-4357-9404-6551d93e9397",
  "db_report_type_id": "611b6689-2465-4dbf-ab62-3fb270eebecb",
  "user_id": "8baa93f1-aae9-4fd3-a7a7-d935cbd6cb52",
  "company_id": "46156ced-6a5a-482e-b335-dd2306a7d8c7",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "d724ae33-ca33-4062-a2dd-ffb119374cc4",
  "id_in_table": "16130d52-f92a-47c1-bcf2-2e81fa3d7c1d",
  "date_last_update": "2026-06-25T21:36:30.0029794+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2026-06-25T21:36:30.0029794+00:00"
}