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": "c004f3d6-b34b-47bb-937a-222490392ac9",
  "db_report_type_id": "39180cad-8dec-4b58-9872-d7635e63a831",
  "user_id": "05c16e07-b301-43a8-ae2b-16b5c23fff84",
  "company_id": "c9b51eee-5aff-4298-aa45-7fec8cde1b19",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "35a07887-97a0-46d2-ae02-ae6381f4b257",
  "id_in_table": "bfcdd747-c8d9-4ebe-a3fa-06d64ad20f54",
  "date_last_update": "2025-09-13T14:21:14.1920336+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2025-09-13T14:21:14.1920336+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": "c31fe9cc-3f38-4d43-bffe-d3b79b978abe",
  "db_report_type_id": "29bd078b-ab7b-4b54-96af-9c366289e647",
  "user_id": "d0912ea3-c3ba-4bbd-904e-5c3d02ca8b8b",
  "company_id": "8a29a1de-4cf2-4a45-bc2f-ae3f2940fd10",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "eeabfcb4-66d5-4a9d-8805-79aad7c7efac",
  "id_in_table": "0f1b18a8-12f8-44cc-b291-6962c131c181",
  "date_last_update": "2025-09-13T14:21:14.2109328+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2025-09-13T14:21:14.2109328+00:00"
}