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": "ca708bff-840b-429f-b8d3-70a11cbd8511",
  "db_report_type_id": "f3d1a830-9f36-4e39-8bd0-d54175da398d",
  "user_id": "cb67ff77-385f-4f7b-a6a8-5c06c2a6fa46",
  "company_id": "3e2e5553-bd67-4b19-89ae-3017a91f9fd1",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "c74a7f7f-015d-4569-8427-7c574c52ae49",
  "id_in_table": "48dcced4-3f47-4454-bb06-749b35a38ab5",
  "date_last_update": "2025-08-23T09:46:39.4331865+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2025-08-23T09:46:39.4331865+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": "8c54ed1a-53ac-4875-823c-f4b07e7c2a17",
  "db_report_type_id": "3f026cdb-7d93-4762-b2ea-ce49dcb714bd",
  "user_id": "28d00a8d-8904-4e57-a51a-70f113d40d91",
  "company_id": "f73b1d28-c028-4884-a808-b28d38ff2b6b",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "b13fa8c9-3a87-4af4-9b3f-3a7b9b485826",
  "id_in_table": "c824f2ab-a20d-4213-973b-b86e43bb71d9",
  "date_last_update": "2025-08-23T09:46:39.4331865+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2025-08-23T09:46:39.4331865+00:00"
}