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": "237582ca-08bc-4872-a5a6-4c23bb27aa8b",
  "db_report_type_id": "0555fafe-b354-43e1-8c07-190fe91db1a6",
  "user_id": "183bb40d-45f0-4eed-9fca-01fdea7e65c3",
  "company_id": "ee87f109-b4d8-4de6-81a4-b8cb84a9fc5d",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "ea6dfd8e-4a81-42f5-9244-9beae76a1979",
  "id_in_table": "5900d435-3950-4414-93f1-e0a8b3ab38d8",
  "date_last_update": "2025-11-04T13:29:10.4789173+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2025-11-04T13:29:10.4789173+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": "322f540e-c6bb-469f-a083-6cfb22d36a9e",
  "db_report_type_id": "f655f27a-06a9-4be7-a9f8-f4226b0ea79a",
  "user_id": "5a0450cd-a285-4821-a816-16253637a597",
  "company_id": "ef6a1885-bcc6-48fe-ad9a-db34310d3c27",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "d9e089ef-af0f-4e31-9fbf-8ad5c9d8bd63",
  "id_in_table": "39bc6b1c-43c7-455d-ac01-42a0e6dfbe2f",
  "date_last_update": "2025-11-04T13:29:10.4941723+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2025-11-04T13:29:10.4941723+00:00"
}