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": "5471fe45-af97-41e0-b21d-d54558ced2f7",
  "db_report_type_id": "23200a2a-84d3-47d3-970e-d585a173edce",
  "user_id": "a7e5cdaf-4610-4f42-aff4-ec277565e5ea",
  "company_id": "fae6857e-739c-434c-8d2a-544a24e90e0b",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "9449c9ac-d1fc-4c37-b38d-667173c59820",
  "id_in_table": "17073434-9ac0-43fe-a0fe-6347acb6af53",
  "date_last_update": "2025-06-21T11:02:20.0459149+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2025-06-21T11:02:20.0459149+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": "56742c36-0e26-42b3-ac63-3d521ab1fcd5",
  "db_report_type_id": "13474fea-a10d-494e-b79f-e6568d3d21aa",
  "user_id": "25f8bff5-2530-4501-a5d8-55a3441db2a3",
  "company_id": "0ed6bec5-a8f8-4a97-bc92-2271442dd6ee",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "afa0aeb8-37fe-4d9a-b6f1-dfbcd4a6fde6",
  "id_in_table": "d2379656-117b-47a9-8d6a-c50f25195fea",
  "date_last_update": "2025-06-21T11:02:20.0459149+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2025-06-21T11:02:20.0459149+00:00"
}