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": "e41b0233-f444-42cf-912f-8b03c34fd357", "db_report_type_id": "cbf0c02e-789d-41f2-b1cd-92f08ddaad6a", "user_id": "9b3c3779-0fe4-4062-b01b-4727a5306e3d", "company_id": "ff9c7a1e-b33a-479e-9c1a-0c83253994e0", "company_code": "sample string 5", "db_table_name": "sample string 6", "db_table_id": "54fb48e0-b13f-4f8a-86ff-5eefbba2c371", "id_in_table": "3ef87891-11a2-4ca9-923d-1985ee97c159", "date_last_update": "2025-06-25T18:48:04.4966584+00:00", "reference_back_office": "sample string 10", "modified_dateutc": "2025-06-25T18:48:04.4966584+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": "b34acc7a-e42c-44c7-bee9-dde5fe16e113", "db_report_type_id": "b7f204cd-8b4b-4a9a-b5ea-04aed61035ec", "user_id": "1c40d23d-b2fe-4536-bf04-0cdb343c7cbc", "company_id": "176c28a3-ce45-4595-9fa5-9caaf7bbf387", "company_code": "sample string 5", "db_table_name": "sample string 6", "db_table_id": "65d72cd2-3cba-4784-bedd-0c04d0e079f4", "id_in_table": "d18a15f7-695d-404e-9ed6-875c02da9b57", "date_last_update": "2025-06-25T18:48:04.4966584+00:00", "reference_back_office": "sample string 10", "modified_dateutc": "2025-06-25T18:48:04.4966584+00:00" }