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": "058405f5-b4bc-4154-8722-a5ac3e0ad910",
  "db_report_type_id": "eb85e853-fd92-458f-97f9-5cd165b77c82",
  "user_id": "84cad8cb-cff3-4d09-b559-a72f954a0f4d",
  "company_id": "68dda1cd-e472-42f2-afa2-9c0d5a258bce",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "24cc0a00-2b69-44fa-b023-7e89fe42bc14",
  "id_in_table": "178c9e15-7409-4098-9d6d-07f8b5ef4a76",
  "date_last_update": "2025-12-14T05:50:09.5071671+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2025-12-14T05:50:09.5071671+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": "d6a48cb1-e505-4342-9845-4e64a25bea67",
  "db_report_type_id": "9f2dde6a-9358-46cd-a8d9-1a8e3ca1ac20",
  "user_id": "fac22960-16c5-42dc-8a85-66b28b6d6661",
  "company_id": "b8a5f2b1-02c4-4791-b2b6-036e59f47ee3",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "5f766320-03a2-401b-85c6-d056e6a804c7",
  "id_in_table": "6edde8a5-f7af-4051-8f05-0d9fa614babe",
  "date_last_update": "2025-12-14T05:50:09.5227954+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2025-12-14T05:50:09.5227954+00:00"
}