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": "998cf23b-5670-4e9f-9e3c-383ac986de4e", "db_report_type_id": "c2a59105-2196-49e7-8177-eeefb094f15b", "user_id": "ccbc9bfa-acca-4126-876b-b79d66177b6a", "company_id": "bef380fe-487e-45d3-a9cb-abc3c0a7a69f", "company_code": "sample string 5", "db_table_name": "sample string 6", "db_table_id": "1461a578-de11-450d-9916-a0d9734cecac", "id_in_table": "fad689ec-1d61-46f9-954d-0a6f07a814b2", "date_last_update": "2025-05-09T01:33:40.0508333+00:00", "reference_back_office": "sample string 10", "modified_dateutc": "2025-05-09T01:33:40.0508333+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": "5656623f-37e6-4cd8-8f03-87629c1b89e6", "db_report_type_id": "765ebb20-578b-4879-b6cb-f643acb18d6a", "user_id": "c8ac8eb5-be3e-4d6e-9c56-03922464e137", "company_id": "8e97f266-5ac5-4b49-91bf-b51ff6b4ca56", "company_code": "sample string 5", "db_table_name": "sample string 6", "db_table_id": "8f253f9e-c010-4038-802a-bbb159ae78c6", "id_in_table": "ff592e7a-3ed3-4901-aa04-b32290381050", "date_last_update": "2025-05-09T01:33:40.0508333+00:00", "reference_back_office": "sample string 10", "modified_dateutc": "2025-05-09T01:33:40.0508333+00:00" }