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": "0b5a7b53-2a00-4ba6-a6f0-20a203f9a1ed",
  "db_report_type_id": "a20abc2c-feb0-4cc2-8d8e-13de6151d2d4",
  "user_id": "86515039-a47d-4bb9-bf19-936d095001fe",
  "company_id": "20c543f0-e034-411c-b66c-134a160a305b",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "9f320e65-9d9d-4fed-8fa3-54851f7f1ed5",
  "id_in_table": "a5825e67-1535-4ba6-b830-5fdeffaf25eb",
  "date_last_update": "2025-07-11T16:37:17.2915385+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2025-07-11T16:37:17.2915385+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": "6799d21d-bbc2-4067-882c-b3d51956988e",
  "db_report_type_id": "c16cbb3d-8ae6-41fe-8c40-37ad6712f540",
  "user_id": "cf8b9013-bb90-4698-9c66-324dc7869816",
  "company_id": "6a6b7fdd-46c2-4274-98e9-ad5c9415ffe1",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "fbd67427-5aee-48fb-a294-86e752f1478a",
  "id_in_table": "474fa80d-2254-4bdd-94a9-84d1e85796ba",
  "date_last_update": "2025-07-11T16:37:17.2915385+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2025-07-11T16:37:17.2915385+00:00"
}