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": "2e469bd4-f4bf-46f1-b8cf-b6dcc47422d2",
  "db_report_type_id": "30ee9d77-1559-47cc-bf8d-3acf3b69b05b",
  "user_id": "75da772d-0326-4a40-9963-4a30100ef611",
  "company_id": "0ee36a97-353f-4de9-a1aa-411443616bfa",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "02f97b03-ec9b-4adf-99e4-6ff1c25e85fa",
  "id_in_table": "36ea5974-5534-401f-8a64-92c5aa5a3a15",
  "date_last_update": "2025-11-17T00:54:38.8732355+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2025-11-17T00:54:38.8732355+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": "6b84a477-78eb-4826-a8d1-c90518ecca4f",
  "db_report_type_id": "5c05b8b8-d682-4c51-83b9-4874c9a2ab27",
  "user_id": "4a152d18-d4fb-49c0-995d-f3acad5af8ca",
  "company_id": "8a5884ab-ccef-4deb-8dd0-77fa2b0b181f",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "cadc1543-86f7-45ae-ab45-454d036b404e",
  "id_in_table": "84908f43-1c8c-4197-81d7-69bcab88a519",
  "date_last_update": "2025-11-17T00:54:38.8888587+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2025-11-17T00:54:38.8888587+00:00"
}