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": "9406c5ba-084c-4632-af9c-d269acaa6b2e",
  "db_report_type_id": "f0c22bdc-6eea-40fa-b305-d403b1378774",
  "user_id": "4453787d-d9e1-4993-b4ee-2b5e232b9dfc",
  "company_id": "00dc4b02-978e-457e-93f3-b9595e4afb6a",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "bc3452e9-eba0-4eaa-9f58-f907d3b9a584",
  "id_in_table": "ecbe8121-faa6-4b75-8e64-57c0e6e8dd21",
  "date_last_update": "2025-10-05T08:41:02.8118801+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2025-10-05T08:41:02.8118801+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": "1b1c022f-1d60-4954-8f1a-a2c51bdd2224",
  "db_report_type_id": "8cce0b8f-a495-4a38-ae2b-148cae464693",
  "user_id": "1f9bd6a4-a744-49b2-a486-735ed01fb5ad",
  "company_id": "5c0e3588-7c5f-4db0-9f13-f853c3ceea75",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "78b26191-9aa6-456d-bb6c-df8d698ae67e",
  "id_in_table": "e44e0015-5322-4ad7-bda4-2c047a30d535",
  "date_last_update": "2025-10-05T08:41:02.9870167+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2025-10-05T08:41:02.9870167+00:00"
}