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": "c7c06e64-6acb-4490-a3e3-009abd813791",
  "db_report_type_id": "9ec8ade5-d392-4a4b-8087-96ae072b120c",
  "user_id": "e0d12e91-ac66-494f-a054-fa231cf7e555",
  "company_id": "6cae0f8a-ba5c-489a-ac14-f3d923b302ca",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "ee3efa3f-1d9a-429b-8569-b0d9a8166b0e",
  "id_in_table": "cde195b3-e7d9-4dd0-a3e5-175c7a13e0f0",
  "date_last_update": "2026-03-19T11:47:10.1250483+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2026-03-19T11:47:10.1250483+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": "0a5cef50-2f39-42e6-a714-569354bc335b",
  "db_report_type_id": "aae99a49-1e38-4c92-b522-002ac79d60cd",
  "user_id": "f3e04bde-b0d1-4e2e-90f8-9e78531e1328",
  "company_id": "ba87ed22-638e-4658-92eb-07680ee9501a",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "aa36066a-3651-4f91-8f4f-55644979d4ba",
  "id_in_table": "918f6bb0-fc43-47fb-a1b3-6668515430fd",
  "date_last_update": "2026-03-19T11:47:10.1250483+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2026-03-19T11:47:10.1250483+00:00"
}