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": "1fd990f5-6e7f-4fb2-9c47-0ed730fbed4e",
  "db_report_type_id": "ba14e6aa-5150-40ad-aa7f-968e8204174e",
  "user_id": "deca39fc-6b33-4004-adb9-fd57aaab4d6c",
  "company_id": "2f704592-235a-443b-bfdd-96c0c6b2653f",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "e4856e65-ab31-49ff-8763-f8592d4cc1eb",
  "id_in_table": "852416a2-c172-4f8a-a9a4-19f83e834703",
  "date_last_update": "2026-03-05T06:31:39.5745584+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2026-03-05T06:31:39.5745584+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": "a7dc0659-90e7-4682-b309-a5fae95482a3",
  "db_report_type_id": "4581f91b-f524-46d6-8e7c-f96d4c3c88b6",
  "user_id": "941bf1d4-cbab-48a9-a17f-44bb00c3f1bd",
  "company_id": "a4e885a3-fa26-4949-844c-37e555517145",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "5543a7b5-0217-41b5-8015-eb684e469e0e",
  "id_in_table": "2413155b-4bb8-4cf9-b713-136042cebb74",
  "date_last_update": "2026-03-05T06:31:39.5745584+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2026-03-05T06:31:39.5745584+00:00"
}