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": "f50bd8c3-6751-4f4c-941c-020b8df8a395", "db_report_type_id": "3f4e80dd-0a53-455b-bc72-2692d6944ce7", "user_id": "f6f84a3b-bffc-40f8-8af9-447bf517dd6b", "company_id": "5bebddfe-40ff-4119-828e-4c624e8f5782", "company_code": "sample string 5", "db_table_name": "sample string 6", "db_table_id": "77ec517c-7c5f-46ae-afdf-508761cc53a2", "id_in_table": "d7a5844f-1ec0-43ff-ae30-8c46d07a611c", "date_last_update": "2025-04-26T10:07:10.1927097+00:00", "reference_back_office": "sample string 10", "modified_dateutc": "2025-04-26T10:07:10.2234558+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": "8150a6e3-b9e6-4c51-9184-b596efd3dd2d", "db_report_type_id": "0b352b9c-b22c-4188-b877-3ca966688b6a", "user_id": "7af840fe-9343-494c-8201-9e335acecc2e", "company_id": "018d3bc4-7156-4e46-a174-e4764d06b16b", "company_code": "sample string 5", "db_table_name": "sample string 6", "db_table_id": "cf227bc1-e243-428e-aeee-968066f1ebc3", "id_in_table": "4d65952c-ab5f-48dd-a52e-f950c101bb38", "date_last_update": "2025-04-26T10:07:10.2703331+00:00", "reference_back_office": "sample string 10", "modified_dateutc": "2025-04-26T10:07:10.2703331+00:00" }