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": "763c98e1-d281-45f8-a8fa-42baeaaa91a3", "db_report_type_id": "6e0d8943-dc18-41ac-b763-0d202eaf9560", "user_id": "f3894390-b56c-4721-8b7a-0fb9dc0e93c2", "company_id": "75f51577-1a3d-4627-9efb-d6a07e9e9b99", "company_code": "sample string 5", "db_table_name": "sample string 6", "db_table_id": "8f68f98b-3d16-494c-b968-95b01fc881c1", "id_in_table": "c9ae6897-a417-4ea2-b8f2-db993fa343f2", "date_last_update": "2025-09-14T12:11:44.1905064+00:00", "reference_back_office": "sample string 10", "modified_dateutc": "2025-09-14T12:11:44.1905064+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": "4b0f0085-716e-4df2-8543-ee82d97d4b44", "db_report_type_id": "b3065ece-6269-44d9-8156-f70455060b59", "user_id": "96836a02-5b1d-4e98-9923-683da2ab6894", "company_id": "c7c1c668-717f-4e42-a950-245e516022a0", "company_code": "sample string 5", "db_table_name": "sample string 6", "db_table_id": "89acf595-4d96-4215-87dc-f98e95d0a80f", "id_in_table": "c48505e8-f79d-490e-9f7e-81828aabc1d7", "date_last_update": "2025-09-14T12:11:44.219538+00:00", "reference_back_office": "sample string 10", "modified_dateutc": "2025-09-14T12:11:44.219538+00:00" }