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": "43cee39b-007e-4832-82b3-6d776037ee5a",
  "db_report_type_id": "d7fc5c3c-0747-4aba-b89b-6655cdb46736",
  "user_id": "831b75de-0a44-41b3-baa8-b926390b283c",
  "company_id": "32df3cb0-c3e3-46c2-a5a0-a7973a90d3bf",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "5d08f538-ede2-48f0-b593-a507de217238",
  "id_in_table": "31ba6024-228d-4675-a620-00d543de5844",
  "date_last_update": "2025-07-18T23:57:09.259015+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2025-07-18T23:57:09.259015+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": "12a209c4-77b2-4c0a-b36e-b00bc133c73f",
  "db_report_type_id": "640d833f-9b09-4fca-9997-aacd57eccebe",
  "user_id": "6a80aaaf-c988-4bd0-9b11-1fcdeecf7755",
  "company_id": "631bb8fa-a6cb-41c1-a7b2-8d8ac98405d5",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "83488ece-310d-43c5-81f9-3fef1d390bfa",
  "id_in_table": "a4f3b407-1a82-49be-8181-5df68d2b243d",
  "date_last_update": "2025-07-18T23:57:09.259015+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2025-07-18T23:57:09.259015+00:00"
}