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": "0bb8d47d-9595-4952-b7e9-8274298dfd64",
  "db_report_type_id": "87cdc405-82e9-4b87-b5a7-71cae6d78750",
  "user_id": "c3fc0bde-ba94-4688-b7dd-ebd97a95d99a",
  "company_id": "033ade01-3059-4527-9774-91ee4446c0af",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "8773859f-e1d6-4471-a099-d9b9a082aff5",
  "id_in_table": "237fde12-c186-401e-90dd-0fcd9599156b",
  "date_last_update": "2025-07-08T06:01:15.7510343+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2025-07-08T06:01:15.7510343+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": "57676105-3be7-4474-95fc-fd58d43c55ca",
  "db_report_type_id": "59cd7d35-0a49-4437-a12b-77c9de9fd588",
  "user_id": "6bb28373-82f5-44b5-bbfa-1efcf8f3892b",
  "company_id": "f48bb0af-d5a6-44d1-b4a6-d35685bb8dba",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "50500294-538c-4a6c-9692-f59a25040663",
  "id_in_table": "f4e536a3-6d40-4a4e-b28a-49e8f727c5f6",
  "date_last_update": "2025-07-08T06:01:15.7510343+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2025-07-08T06:01:15.7510343+00:00"
}