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": "13327eb4-c659-441d-a7e3-46b968602d36",
  "db_report_type_id": "74fbe158-242b-40ad-ae57-34600cfb348f",
  "user_id": "ffc74f21-8b14-4e0b-b727-630fc737c29a",
  "company_id": "a55b265c-7556-45c3-9251-07dbffb124c3",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "561d7bce-31bd-4f81-b880-444e3740d2c2",
  "id_in_table": "1a461f63-6478-4900-a607-132bef285a4f",
  "date_last_update": "2025-07-11T23:56:56.4514019+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2025-07-11T23:56:56.4514019+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": "920fd44f-0dca-4322-9069-ada047f8ca94",
  "db_report_type_id": "fc41477c-e7b2-42de-b55f-68e3da56b26a",
  "user_id": "7d2b8f56-d1c2-444b-a73d-8232ca70fcb2",
  "company_id": "44e21ef3-8794-45ad-87e3-e1709bda7736",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "8b912602-d856-46a9-b11e-c3f59d6b5675",
  "id_in_table": "e2d18306-cd62-438d-b1d8-3eaee194f2cf",
  "date_last_update": "2025-07-11T23:56:56.4514019+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2025-07-11T23:56:56.4514019+00:00"
}