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": "992d7c4f-e7f8-44a4-8f1a-d39d454851c9",
  "db_report_type_id": "b650b13c-f939-40e9-8d57-e13110bdc85f",
  "user_id": "fb70aaf4-baeb-4a94-b3a7-5a0611a9ac20",
  "company_id": "e32c230e-c8bd-4907-b0ca-05e894af10a8",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "b31a9fec-1e9f-4e2b-b997-51a680e884aa",
  "id_in_table": "a2880f63-75ac-404a-9924-89d85d9e5159",
  "date_last_update": "2025-07-17T10:19:13.3054734+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2025-07-17T10:19:13.3054734+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": "b486e07e-2e6f-46ca-9cb9-43ed6cbc4787",
  "db_report_type_id": "276930a6-e4c3-4d01-85d7-690b8353b24b",
  "user_id": "a4ce3f3c-c617-45f5-821f-5234e7a61485",
  "company_id": "8bfd5e8d-05c5-47b6-8ed8-622d66cb3cf4",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "32f4312e-282b-482d-8ea5-2c98e763be28",
  "id_in_table": "aa5a721e-b7c4-454c-b122-aea6adfce673",
  "date_last_update": "2025-07-17T10:19:13.5242386+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2025-07-17T10:19:13.5242386+00:00"
}