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": "436120f1-8ad5-4a2d-a553-833cceca434b",
  "db_report_type_id": "e82f21ef-fe2d-40e5-8029-6eba82e864fd",
  "user_id": "4625ccb8-b71e-46d1-8005-9f8a83e97f9c",
  "company_id": "aa5db6d2-a89a-4cb8-8f98-4224d26a49e9",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "c7e4d8d4-981b-4f4a-8c65-3daa92fccd03",
  "id_in_table": "8a07a3b2-0f5f-4cc4-8c3a-67f9de4ba51a",
  "date_last_update": "2025-06-07T05:14:19.1574328+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2025-06-07T05:14:19.1574328+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": "edbd880b-8b03-440d-82c4-05636c4a38b1",
  "db_report_type_id": "17ffe404-da2f-441e-80d0-1dc59acf10cf",
  "user_id": "6dc9424e-6910-4ea2-8336-a4068a3194db",
  "company_id": "5956aa54-4f47-4afe-9021-6e9456d61dd1",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "44bb6df0-d034-4196-b109-05b510e01349",
  "id_in_table": "fbccd9ea-6c4e-428a-a95d-c0bb178ac996",
  "date_last_update": "2025-06-07T05:14:19.1746257+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2025-06-07T05:14:19.1746257+00:00"
}