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": "df6be662-b511-4295-9c23-273ee40e2ea6",
  "db_report_type_id": "6cc41a1b-354c-4c9a-b1c3-fb9af46e5565",
  "user_id": "7595cb22-feac-450b-86ce-4b6a0633f7df",
  "company_id": "19a847ee-b6c2-4bbe-8f43-b627d4c295e3",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "f02de096-4d80-4cb3-b58a-52b5439b6b73",
  "id_in_table": "b07880aa-bdef-4eec-ab66-a71c0f8f4e55",
  "date_last_update": "2025-10-07T23:56:38.7577107+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2025-10-07T23:56:38.7577107+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": "4e4a4c06-96a4-47c0-8234-572a91dc2fb5",
  "db_report_type_id": "8634666f-3fd1-4ede-8387-e449c69281f8",
  "user_id": "984329c7-ccd9-4674-9a04-9793d660e67b",
  "company_id": "9bd9072c-f496-451a-bf42-8cc48b5a09ef",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "83e6a89f-b211-48b4-96f5-16e184492d16",
  "id_in_table": "e5df0ab8-96f3-45d3-9bb1-03e04130098a",
  "date_last_update": "2025-10-07T23:56:38.7577107+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2025-10-07T23:56:38.7577107+00:00"
}