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": "4d84224c-013e-422f-ae84-996152ba42ce",
  "db_report_type_id": "d1c33c0b-c277-44e3-a105-505cc682629c",
  "user_id": "63991864-455d-478b-971e-1acec6e982b2",
  "company_id": "0595d246-72e9-4c23-9b52-1ebcc1c609b0",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "f3e485d8-b036-4b29-b48b-4f7f0ac5e078",
  "id_in_table": "e49de670-07a9-4131-93af-470bfff152ef",
  "date_last_update": "2025-12-22T09:16:18.280259+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2025-12-22T09:16:18.280259+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": "e7854f99-3634-4e3d-ad9f-ec2b3576d31b",
  "db_report_type_id": "6592228f-962b-4b56-b09d-cf8b43e668c8",
  "user_id": "ede15124-b57a-4991-afbe-bc220f1325df",
  "company_id": "f51c7ebc-d4e7-4d6a-b719-c25cf940f05d",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "48f8e8b2-df6d-457d-8d43-7cf7feae8eeb",
  "id_in_table": "4dcf9219-83b2-480d-bbe7-6c188d3bf7a0",
  "date_last_update": "2025-12-22T09:16:18.2990714+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2025-12-22T09:16:18.2990714+00:00"
}