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": "0771ab94-8865-440c-bdbc-490e4b30863a",
  "db_report_type_id": "8cba6ea5-d1c7-449d-a986-254404b3b43c",
  "user_id": "895ac7cc-d3bd-4ba1-b11d-11e335e4cf50",
  "company_id": "08d66f75-226f-447f-b3b7-df78b0ff6ad3",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "064b537f-4b9b-43dc-b6df-43cf2c3699ff",
  "id_in_table": "e44ab8c3-a634-4fc5-9d82-6194e25d6bf9",
  "date_last_update": "2025-10-08T19:24:30.7385007+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2025-10-08T19:24:30.7385007+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": "0c4ffc96-5f41-4583-a9ef-cff823d12e68",
  "db_report_type_id": "921b2615-db59-4dd5-984f-ca5f9565ebd9",
  "user_id": "866075d4-518a-4e85-9981-640b5a8a8d4e",
  "company_id": "5e1ca19e-6d4f-47ef-b693-76ee0d517b8a",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "facc1ec2-15f3-46b2-8aa4-8a34b7478724",
  "id_in_table": "9b8b1e36-c3ce-4880-9a6d-1032796a0e9d",
  "date_last_update": "2025-10-08T19:24:30.7385007+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2025-10-08T19:24:30.7385007+00:00"
}