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": "f795fe5e-7f1b-4950-ad61-0039df6a373a",
  "db_report_type_id": "30d2a8af-b98e-480b-9b58-86698ad07d56",
  "user_id": "73f68c27-5f3a-43ad-b9e2-c2da7853bc14",
  "company_id": "1b80ee47-62b1-4888-bbe9-47d49a447266",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "7d504874-b6c9-4cda-927d-3930329c4036",
  "id_in_table": "481684f8-013d-4784-86ff-541ba525bc9a",
  "date_last_update": "2025-08-12T05:21:35.4659658+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2025-08-12T05:21:35.4659658+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": "5f4c4bd6-fe73-4113-960a-8782e410b249",
  "db_report_type_id": "f5c32054-bf20-4993-947d-04a71befa5fb",
  "user_id": "d02e8730-2d51-4fb3-a442-b5bb84c2f7eb",
  "company_id": "ee0b8073-a1bc-4432-84fd-4cb7a605fb60",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "3757bb21-a09f-4587-ac96-6dd7e5484a95",
  "id_in_table": "c415b5ef-dedb-40ba-b74f-f660c949d5a8",
  "date_last_update": "2025-08-12T05:21:35.4659658+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2025-08-12T05:21:35.4659658+00:00"
}