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": "9d61ff4f-a03b-4a2f-86e0-f1781fce066c",
  "db_report_type_id": "82fde1c8-e4eb-4902-bd71-313ebe8841f1",
  "user_id": "f76b371c-c632-405e-9bab-0082114ad386",
  "company_id": "f1e7c182-4f7b-472b-82da-77365bf0ad5d",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "6c5b3083-e03e-4ad5-b8a6-adae0fca891e",
  "id_in_table": "8d8f6f80-ef6d-481b-be0a-de84240631c2",
  "date_last_update": "2025-04-25T13:23:48.299862+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2025-04-25T13:23:48.299862+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": "469e9d9b-cea6-40fc-9810-a96eeed536bb",
  "db_report_type_id": "4bb0e285-cb2a-4970-b6a9-20527c74370d",
  "user_id": "cd16456b-bd36-471d-b5c6-68bba710c947",
  "company_id": "51d3f449-2177-4fc8-a0fa-dada6371928b",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "3a34a7cf-e7f1-49ce-b79e-8a47e4a18d81",
  "id_in_table": "cdc308cd-715a-4d66-8a55-82ed0814d951",
  "date_last_update": "2025-04-25T13:23:48.3154822+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2025-04-25T13:23:48.3154822+00:00"
}