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": "8d6d8c65-61ed-42b8-a08f-228fb9f896b1",
  "db_report_type_id": "3695bed8-0e24-4881-b7ee-e4f4eb7a1dce",
  "user_id": "262ebcf0-6937-4d22-9825-8600d0b1e0ba",
  "company_id": "467b3153-1ee8-4634-b7bf-f4d9da3fd7e8",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "483022bf-382e-49e7-9ab2-464f6b7f8a1f",
  "id_in_table": "33b0dda6-8861-460d-93cb-f6eebdd24a26",
  "date_last_update": "2025-02-22T17:31:39.6836344+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2025-02-22T17:31:39.6836344+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": "5efcea58-cbd6-49b3-a0ca-25d6eb12b109",
  "db_report_type_id": "d0bb325e-3864-4758-805f-8fbb762c286b",
  "user_id": "9421a75a-e34f-426a-8824-2518193bd40c",
  "company_id": "43e4a2f0-dfa6-401e-9d37-a1849dd3561c",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "fdc50284-9aca-4be7-9713-0813926636c8",
  "id_in_table": "8db0dd30-101f-4e1d-bb1f-14934da0da4b",
  "date_last_update": "2025-02-22T17:31:39.6836344+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2025-02-22T17:31:39.6836344+00:00"
}