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": "650467bf-ea92-4f74-b3a2-f87f5da96a9a",
  "db_report_type_id": "fba6a33b-94fa-4f64-bcef-6fc77a05b8f4",
  "user_id": "786834b0-b6a9-40b0-8633-c348858464d5",
  "company_id": "35c15604-1b55-40cf-bdfd-bb10167b61ef",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "295560f4-5dc3-4972-a653-153973dcd2e8",
  "id_in_table": "2a435adf-0850-4ccf-b72b-645e8d9ef6b3",
  "date_last_update": "2026-02-24T16:10:40.5747546+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2026-02-24T16:10:40.5747546+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": "098047eb-5c09-45b4-a7eb-fed17036ea11",
  "db_report_type_id": "0c15c62c-5eca-42ac-9904-32e0cf47e296",
  "user_id": "a03cdce1-a388-437d-a627-7807e259bfd5",
  "company_id": "6ae21202-b829-4e13-a21e-b0a398a618fa",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "f8f9dff1-e5c8-4c48-8e93-75350df1060d",
  "id_in_table": "37da1332-e5aa-4b53-bb56-0ccc239b4e32",
  "date_last_update": "2026-02-24T16:10:40.5852834+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2026-02-24T16:10:40.5852834+00:00"
}