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": "d742e901-0ffd-4d2e-b146-251a15e69798",
  "db_report_type_id": "434c9623-da5f-4a7d-b32f-0796501b5d8d",
  "user_id": "cebbb942-f255-4f5f-9eef-0616e8cc8119",
  "company_id": "6613bd9e-c38e-422e-8876-0e499b158895",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "12102e3c-eb29-477b-8415-e97081e119e3",
  "id_in_table": "72fb0264-468a-42ac-933d-44506b2d432a",
  "date_last_update": "2025-11-12T17:49:50.5039482+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2025-11-12T17:49:50.5039482+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": "5c166d4c-6cdd-47a2-88e8-c9923ddb48ed",
  "db_report_type_id": "88b674fb-1e06-43da-82fe-260c87598ea0",
  "user_id": "bae1b74f-b25c-4ca4-8e6d-6c4404f78b05",
  "company_id": "ac541d4f-3c68-446e-a53f-f580fb324717",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "b92201e9-5167-464d-a4b4-e063b19eb049",
  "id_in_table": "2eb9a118-fd87-4dc4-9950-76e241945d06",
  "date_last_update": "2025-11-12T17:49:50.5039482+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2025-11-12T17:49:50.5039482+00:00"
}