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": "17910f1f-77a0-46d8-875a-ce2940a1861c",
  "db_report_type_id": "35aa85a2-c3f4-47fa-82ae-4fd4b5839112",
  "user_id": "ae984b4f-6957-4c52-a42b-803da438fa2c",
  "company_id": "bb9eca12-0230-4a85-9735-c0703bbb3eef",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "41b1a59d-b38d-4958-b897-ef6ba4fcc801",
  "id_in_table": "1637f393-8b7f-4860-84a5-da62472dd66b",
  "date_last_update": "2025-09-17T11:56:16.2997268+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2025-09-17T11:56:16.2997268+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": "65d7dde7-b065-4b47-9003-6ca0cff941a3",
  "db_report_type_id": "2f3a0263-5907-4454-a58d-9bd66c30c443",
  "user_id": "1c515c34-68a2-4bdc-8a66-a8da27ef1eb9",
  "company_id": "bb11c642-3e5a-4dcd-b58b-b8633281e307",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "f437ba14-8755-4b93-a42d-81b52a2b53fa",
  "id_in_table": "4ffa7ddb-5837-41f8-b3df-320ce576e28f",
  "date_last_update": "2025-09-17T11:56:16.2997268+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2025-09-17T11:56:16.2997268+00:00"
}