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": "6b9e6cda-560b-4d7c-a9c1-56481cd4858f",
  "db_report_type_id": "78aa84fd-9d75-48ca-8ed1-f3390b2c402e",
  "user_id": "7905e478-2c9e-4777-9bfc-6448e4b3aa3d",
  "company_id": "02f669d2-e22a-4808-95eb-9a43488ff0ce",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "7626394f-e971-4fa3-9dd2-ada1e5d9348f",
  "id_in_table": "914cd9fa-f565-4539-b138-ea03b66021c8",
  "date_last_update": "2024-09-29T01:36:45.9654208+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2024-09-29T01:36:45.9654208+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": "c3fce7f6-d022-4913-9ef3-2d2eacd62b96",
  "db_report_type_id": "85c021d6-8b2c-4276-976f-64ccb0fa0eaf",
  "user_id": "0670a64d-e15b-48f0-8a11-24a994169277",
  "company_id": "2cc06a46-5a92-4696-8003-c1a172e225f8",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "f56c0cba-11c2-4f8f-968f-5c069c84d47f",
  "id_in_table": "9cf3daa9-4d94-4947-b5cf-8cab4311f593",
  "date_last_update": "2024-09-29T01:36:45.9654208+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2024-09-29T01:36:45.9654208+00:00"
}