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": "f037962d-fe65-4298-9194-3bc709eec517", "db_report_type_id": "30c2a0b0-9f70-414f-bf8d-ca4c7b7ca136", "user_id": "a6b823b5-3aba-4fb6-bbaa-2323c832e23f", "company_id": "d58cd5d3-e7d0-4c6d-be68-dfdf00492266", "company_code": "sample string 5", "db_table_name": "sample string 6", "db_table_id": "15124458-a033-4896-8214-9ca41d01c4ef", "id_in_table": "98ee7dfb-36f0-4b67-86f2-c017ac3725c0", "date_last_update": "2025-09-03T12:12:07.51368+00:00", "reference_back_office": "sample string 10", "modified_dateutc": "2025-09-03T12:12:07.51368+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": "94c80625-b57d-47b2-b228-9191d7131bf5", "db_report_type_id": "19b24578-ef52-4159-bb20-0032f20ed415", "user_id": "be8ed7cd-3efd-4824-a2dd-3d1093899497", "company_id": "999bc5ef-8c10-4986-9df0-0648fb4a6566", "company_code": "sample string 5", "db_table_name": "sample string 6", "db_table_id": "247ce7da-d429-4f9c-9560-fb3e1c7ccd5f", "id_in_table": "4b658551-a42c-48d6-98dd-c22db9b091dd", "date_last_update": "2025-09-03T12:12:07.51368+00:00", "reference_back_office": "sample string 10", "modified_dateutc": "2025-09-03T12:12:07.51368+00:00" }