Creates a new db report
Request Information
URI Parameters :
None.
Body Parameters :
db_reportName | Description | Type | Additional 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
{ "id": "98f707e3-408a-4698-83e3-0a4750e5861a", "db_report_type_id": "c6cd2b05-c45b-4da0-808d-4fc9cf42a762", "user_id": "049dede0-18bf-474c-9546-f8484599a5ad", "company_id": "ed7a6d85-5936-45b6-982d-8aa12329445c", "company_code": "sample string 5", "db_table_name": "sample string 6", "db_table_id": "3a050e73-8f5c-43b8-9699-93389081cdb0", "id_in_table": "303382d7-8529-4ac0-be07-3e4033adedea", "date_last_update": "2025-09-13T05:13:42.4748939+00:00", "reference_back_office": "sample string 10", "modified_dateutc": "2025-09-13T05:13:42.4748939+00:00" }
Response Information
Resource Description :
IHttpActionResult
db_reportName | Description | Type | Additional 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
{ "id": "a95f5c68-a125-4abf-969d-d19be4cebe3f", "db_report_type_id": "9f2ed0f2-f888-4e14-971c-76072fbcf693", "user_id": "fcea1ab6-d732-4a2a-9a1f-9c18a6cdddf8", "company_id": "145a0697-2484-45bb-85ae-37c7ab1b92b8", "company_code": "sample string 5", "db_table_name": "sample string 6", "db_table_id": "9e797b9f-d5af-4545-970c-071bc2793607", "id_in_table": "2d5da0d1-cfe5-4965-8104-c2d5a4aa4fc9", "date_last_update": "2025-09-13T05:13:42.4748939+00:00", "reference_back_office": "sample string 10", "modified_dateutc": "2025-09-13T05:13:42.4748939+00:00" }