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": "8efd5c2f-b035-4bdd-85fa-2a8fec4ef91e", "db_report_type_id": "b810c3fc-68be-48a7-9395-af7c5e6e4574", "user_id": "656f8826-96f6-426a-81f7-5cd85dd7e942", "company_id": "7d479e41-cc12-4898-98dc-7ebd202b7c1b", "company_code": "sample string 5", "db_table_name": "sample string 6", "db_table_id": "82270107-5f38-47b5-ba79-00d4c8b01f74", "id_in_table": "423790be-3f8b-4a83-a09a-0f0a581ce3e6", "date_last_update": "2025-01-18T11:02:34.2810045+00:00", "reference_back_office": "sample string 10", "modified_dateutc": "2025-01-18T11:02:34.2810045+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": "2faed80e-b331-4728-ab4a-322f4813d2ef", "db_report_type_id": "a8b22965-bdc0-44b2-ae0c-43270fb39ab4", "user_id": "f4d7fab7-89ec-4aaa-8f1a-718230124f95", "company_id": "d92cd2a0-c442-4975-bc5b-08ad8bcc40d6", "company_code": "sample string 5", "db_table_name": "sample string 6", "db_table_id": "bc2f236d-514c-4e6c-a9d3-8cebd64b36f7", "id_in_table": "f693bd98-0060-4fb2-92da-604c676c04de", "date_last_update": "2025-01-18T11:02:34.2810045+00:00", "reference_back_office": "sample string 10", "modified_dateutc": "2025-01-18T11:02:34.2810045+00:00" }