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": "42cccb60-b6e4-4d57-aedf-af307ab5a051",
  "db_report_type_id": "c81f8bd9-f273-41b4-b5d4-2733615edaa8",
  "user_id": "ddaf496c-dec0-4280-a483-edc7f198226c",
  "company_id": "607a25f1-aff5-4fdf-81ca-bd561d1fa0ae",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "a806b822-8f6f-4570-ac45-1f05d79ae9c7",
  "id_in_table": "49362175-9190-4ce2-92b3-6f01896eedb0",
  "date_last_update": "2025-02-05T06:43:12.4169425+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2025-02-05T06:43:12.4169425+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": "eb476571-3551-4d97-a318-584ca71a71c3",
  "db_report_type_id": "67be6589-a8b8-470a-85cb-ae3097ba553f",
  "user_id": "207a072c-b3b9-490c-adb6-b1664491e48d",
  "company_id": "37cacb2f-cbae-4902-900b-dedc0ae8dace",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "bd714663-de13-461d-b7c7-04cc7f1a4c7f",
  "id_in_table": "ca4a666f-81b8-446e-b8d1-7214a3a6c037",
  "date_last_update": "2025-02-05T06:43:12.4169425+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2025-02-05T06:43:12.4169425+00:00"
}