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": "41d183c6-d327-4585-8f8b-4364d61a5375",
  "db_report_type_id": "34d1d6a6-f6c4-4e08-81f7-0296e1f23ecf",
  "user_id": "c0edbe64-50d7-4a74-90cd-91fe3984f0a5",
  "company_id": "33ae735e-36b9-4acc-9f2e-67e1a739873f",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "a461caae-5dac-40ab-addd-fa3cc0e0aa52",
  "id_in_table": "2f805111-b0e1-4498-9eec-93aaea37d368",
  "date_last_update": "2025-09-03T16:21:02.4015157+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2025-09-03T16:21:02.4015157+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": "a60e0d83-440c-4ec6-9747-9abc3b8cd13a",
  "db_report_type_id": "daaba59e-9a25-40c8-b6d4-a8d4001b83c0",
  "user_id": "da45878a-9c91-48bf-bc5f-d6c662fdd56c",
  "company_id": "8ddc6e04-f898-4e34-a2ae-65a826ec1e93",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "a0bdf495-74c0-4dff-887a-6a0be60127e3",
  "id_in_table": "82dbfc51-f414-4d23-a627-34b02eea5545",
  "date_last_update": "2025-09-03T16:21:02.4015157+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2025-09-03T16:21:02.4015157+00:00"
}