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": "db44f843-3553-4e1d-bdc7-feb7a3adb519",
  "db_report_type_id": "db93bed4-c9e4-43f5-aad1-5b581acb122d",
  "user_id": "48e8a3d0-2bd7-4772-895c-2214773ea00e",
  "company_id": "41386391-ebb1-429d-bbfe-ceb1ed1f4a56",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "dab3ef71-5791-4a15-95a1-7ddaa38d9dd7",
  "id_in_table": "514011f7-a177-41c9-a3e9-cf391bf63012",
  "date_last_update": "2025-08-21T10:55:08.6869124+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2025-08-21T10:55:08.6869124+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": "0a37a77c-060c-42b8-84de-c74161fbdbb2",
  "db_report_type_id": "9f455db7-c706-4d7d-be15-954fedaf325d",
  "user_id": "e84dc7cc-96f1-4c75-b68e-036605ce5a06",
  "company_id": "f3e4b181-c513-44a3-a08e-a981506f48d2",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "c0d14bbb-d11d-44a0-89de-87c35b3a1048",
  "id_in_table": "c69a643f-d5df-4b0b-b87c-ee54181f9289",
  "date_last_update": "2025-08-21T10:55:08.7169143+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2025-08-21T10:55:08.7169143+00:00"
}