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": "02c111d8-9de7-4141-ae5b-b3b41a693841", "db_report_type_id": "2454128e-2de6-42df-8629-6a8f91d64c3b", "user_id": "0dee2a27-e44c-4c0a-b890-240cf615669b", "company_id": "5020e06b-3d04-4c8c-9c18-61aedc4684d2", "company_code": "sample string 5", "db_table_name": "sample string 6", "db_table_id": "e5509c1b-7cb3-40d7-8f5f-ab47b038a589", "id_in_table": "0fd97b35-b193-480d-b1d0-280931a50dd4", "date_last_update": "2025-09-15T20:07:18.0587384+00:00", "reference_back_office": "sample string 10", "modified_dateutc": "2025-09-15T20:07:18.0587384+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": "28aa96a0-3497-4041-803c-4468bb814aa0", "db_report_type_id": "79808538-0b75-4ef9-afd5-5da2cc25533c", "user_id": "087e924c-8ef6-4a24-aa19-fd555a9d522e", "company_id": "0ded572f-12c3-4bc9-b69f-1d0cb0b6c344", "company_code": "sample string 5", "db_table_name": "sample string 6", "db_table_id": "473511a4-3d06-4119-ae03-fdc643588fdb", "id_in_table": "ce6581ae-29ea-43c0-a85c-c2ca71909dba", "date_last_update": "2025-09-15T20:07:18.0587384+00:00", "reference_back_office": "sample string 10", "modified_dateutc": "2025-09-15T20:07:18.0587384+00:00" }