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": "3e6aca58-7726-42c8-ac32-dc66d8987bc6",
  "db_report_type_id": "1f2c4b96-c25c-4ed5-bda4-fb2c0cc03780",
  "user_id": "07cb63fd-34e9-4730-8f49-b1228a54ff1d",
  "company_id": "4445fa38-30ff-4f47-9289-c157aa036fe1",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "284f6c76-34b5-4360-aaa5-85633db610d3",
  "id_in_table": "ffbe1250-3b81-4eb3-b7f0-311da6c1c3e7",
  "date_last_update": "2025-12-12T18:02:00.9015904+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2025-12-12T18:02:00.9015904+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": "d9074f7c-9931-4aff-9c2e-1578b0fab02e",
  "db_report_type_id": "8ccd87b0-fa54-4d4f-b176-61efd7aa5a19",
  "user_id": "859e841f-ac5b-41b4-818f-a93d9e86c870",
  "company_id": "9f494047-1b5e-44d9-87fd-e41ef7a91c33",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "ff31a074-f883-4ebf-ad1e-fd071aaa9acb",
  "id_in_table": "58d5abf4-aa0a-41b5-b05c-422290565813",
  "date_last_update": "2025-12-12T18:02:00.9456071+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2025-12-12T18:02:00.9456071+00:00"
}