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": "d38dff70-b4ea-4296-a313-84fccd4285e0",
  "db_report_type_id": "546a8cdd-bc4c-4de0-adf7-c05e550a12d4",
  "user_id": "91a2764e-676a-4a6c-9c09-b57e4db5ac7d",
  "company_id": "1b85eeb1-240c-4c89-bcf6-3d6a232f51a7",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "a977a1e1-c970-42a6-bd1a-ee493368f5d6",
  "id_in_table": "b428a901-487f-491d-8192-6b98e67aa626",
  "date_last_update": "2025-07-31T13:40:39.1589517+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2025-07-31T13:40:39.1589517+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": "28fea980-2498-439f-8d14-3e5077800994",
  "db_report_type_id": "656486a8-c4f7-4193-a57f-8403cc5e521e",
  "user_id": "34a5ae20-557b-4a31-8307-40f7876eef91",
  "company_id": "90614d6e-9d91-47ff-8fa8-d8bf955bad88",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "d2a62aae-b807-4f61-80c2-564b3abc26fa",
  "id_in_table": "74a95564-0289-418f-a67f-cf94d5d222ae",
  "date_last_update": "2025-07-31T13:40:39.1889587+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2025-07-31T13:40:39.1889587+00:00"
}