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": "808724e0-1c86-4bf1-9456-1b6e53d23f66",
  "db_report_type_id": "720f5372-50bf-4c90-9d06-f05b01786a96",
  "user_id": "915130db-1a23-4570-b15d-3eb68f90e754",
  "company_id": "80c47c5b-b816-42fb-abea-bcf2cfe9c3f2",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "0403176f-68be-4ce7-828d-166aa9332328",
  "id_in_table": "a5e0aaf5-834a-49ed-ab3d-6634af713b2f",
  "date_last_update": "2025-10-13T16:58:11.6871509+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2025-10-13T16:58:11.6995061+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": "f32fef00-199f-4366-8209-2fbcd9a35ce6",
  "db_report_type_id": "1f46267a-db40-446d-96e8-9deb5484d08e",
  "user_id": "54bdb787-6e0c-41e4-b972-c1e43457455f",
  "company_id": "777a143f-a925-44cc-aee3-263189f0d79a",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "3b0ce293-3982-4740-885f-6291d2b9b67c",
  "id_in_table": "c30fa7be-7a23-41c9-a227-c66ca4e08dfc",
  "date_last_update": "2025-10-13T16:58:11.6995061+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2025-10-13T16:58:11.6995061+00:00"
}