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": "69204291-bf5c-4c48-aa1c-b8168faab7f8",
  "db_report_type_id": "1f129997-1b38-49e4-8761-411cedb90d6a",
  "user_id": "65d2bfd8-c3bc-4e70-81d8-db7f56e9c66a",
  "company_id": "b3139208-df6a-42d9-aac5-fc28c0f01196",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "3fe329be-f23a-41d8-9213-6b02b329c1c1",
  "id_in_table": "72b3554d-7c0a-42a8-9548-0915664f129d",
  "date_last_update": "2026-03-13T19:03:51.4234715+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2026-03-13T19:03:51.4234715+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": "f72cc4b7-bb42-411d-9bee-f7f7f74d5781",
  "db_report_type_id": "86478edc-5aa6-4947-9c65-98b2a2a61060",
  "user_id": "a432390c-3560-4f9f-935f-de463eed61ea",
  "company_id": "ddc4df50-2a1a-46c7-b32b-93b5d5456a44",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "38745b30-6729-4293-bbe0-ac66be5b5a6a",
  "id_in_table": "a90e6f5d-15d2-41d5-afc5-ab070d9e9083",
  "date_last_update": "2026-03-13T19:03:51.4234715+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2026-03-13T19:03:51.4234715+00:00"
}