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": "f3e2c18f-f8d5-4abb-85f0-f968a4fe6437",
  "db_report_type_id": "6fb91f42-3a85-4515-8461-25b64c57f61a",
  "user_id": "c75fcb8d-66f3-47e5-a9c9-d9c1e61b3513",
  "company_id": "55f0d692-83e2-4aba-8206-c179addd5b51",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "9d5be1d9-5547-4dbe-81bd-dcac5640011a",
  "id_in_table": "7d83b477-ed8a-4c59-88bb-9dfa51e720a1",
  "date_last_update": "2025-03-18T17:47:42.3868644+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2025-03-18T17:47:42.3868644+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": "290236f9-f434-4e55-9bc4-bff8e41571de",
  "db_report_type_id": "e53d9d42-bc76-4034-b98e-824394dbbeee",
  "user_id": "962657a1-9002-4bf5-9cfe-09d06f54c06d",
  "company_id": "a4ecd601-c299-4bd1-bf7f-1179ba8834b8",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "e0052e30-d836-495b-ada3-fa3449ba52d2",
  "id_in_table": "c6a15775-2d47-41e2-a400-4c296103e226",
  "date_last_update": "2025-03-18T17:47:42.3868644+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2025-03-18T17:47:42.3868644+00:00"
}