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": "b1ef098e-9473-4e52-b363-8d93f35d26dd", "db_report_type_id": "12b78ca5-9ef8-41df-9c59-df8b268da011", "user_id": "52ec402a-239e-46b2-bb72-730731ceb577", "company_id": "14bb8179-c717-4159-8815-0407a84e8727", "company_code": "sample string 5", "db_table_name": "sample string 6", "db_table_id": "39b40213-3c3f-426d-8a3f-811950fe82d2", "id_in_table": "0b984671-6c91-42e2-9964-b9265f04109e", "date_last_update": "2025-06-27T15:32:11.3679077+00:00", "reference_back_office": "sample string 10", "modified_dateutc": "2025-06-27T15:32:11.3679077+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": "4cf44871-f246-45f9-8ed9-f08045da10c6", "db_report_type_id": "5bab109b-18ab-40b7-b13f-0fcaf12b63d9", "user_id": "28e45d0a-593d-4169-9f30-958921fa5729", "company_id": "4764a9f2-8851-4a5c-a390-cb9fc81180da", "company_code": "sample string 5", "db_table_name": "sample string 6", "db_table_id": "5cc074ab-21a9-49f0-82ff-5259f720f5af", "id_in_table": "d9434938-1452-4ecc-9a83-8496b07fb922", "date_last_update": "2025-06-27T15:32:11.3848819+00:00", "reference_back_office": "sample string 10", "modified_dateutc": "2025-06-27T15:32:11.3848819+00:00" }