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": "f202c10d-fb02-43ef-97f4-d3e68daad103",
  "db_report_type_id": "68af41dd-cc75-4138-b0c7-5c870c757866",
  "user_id": "c19476eb-1153-416e-b864-3d652d146366",
  "company_id": "c7bd46bc-facd-46bb-aa21-1f3b6186bf39",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "48526dc4-1944-4b81-8249-319731cb6b33",
  "id_in_table": "96f374b7-527e-49cf-8b8f-f3ee59d2bb33",
  "date_last_update": "2025-11-16T02:10:12.7900432+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2025-11-16T02:10:12.7900432+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": "245cc6c0-c0d8-419a-a4ce-e1b80f15f2a0",
  "db_report_type_id": "51d7fd6c-2ae0-4042-8ed6-3e64f534944c",
  "user_id": "982de989-9dc9-4be1-bbb9-29733ad362a4",
  "company_id": "98caeced-71cd-4ee4-b6cb-30bf6bc4c876",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "e5e54691-f11c-4337-a077-b58327f5fdb5",
  "id_in_table": "953d8322-90bf-429b-a7a5-3bfd83db3a06",
  "date_last_update": "2025-11-16T02:10:12.7900432+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2025-11-16T02:10:12.7900432+00:00"
}