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": "92e13d02-1c1c-4785-9685-91995f431ba5", "db_report_type_id": "98cc997a-c625-4acf-868e-46d1219be1f4", "user_id": "d86245f0-0f0c-4a46-8c7a-80b0f629c9be", "company_id": "d3a68aee-b327-45a7-9fe3-3b4d63abf244", "company_code": "sample string 5", "db_table_name": "sample string 6", "db_table_id": "47b25b23-aa3e-46f5-b2cc-eaaff33a465f", "id_in_table": "bc8a6d8a-3bbf-4132-a292-de0095d796c5", "date_last_update": "2025-03-31T13:21:39.3007783+00:00", "reference_back_office": "sample string 10", "modified_dateutc": "2025-03-31T13:21:39.3007783+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": "8cad62f0-82e6-4e52-95eb-def59b4b3c28", "db_report_type_id": "9bcc5d7c-b4f6-4c55-9ccf-40fa72aa4efa", "user_id": "de11aa5d-946a-4a2d-829a-54f84468fcb6", "company_id": "ccb73418-8690-4b6b-91ef-138bf4e89d1f", "company_code": "sample string 5", "db_table_name": "sample string 6", "db_table_id": "8f442ed3-b301-4bc0-b9b7-c418067edd21", "id_in_table": "983356b5-d661-4bf3-9dcd-7adac1969e4d", "date_last_update": "2025-03-31T13:21:39.3007783+00:00", "reference_back_office": "sample string 10", "modified_dateutc": "2025-03-31T13:21:39.3007783+00:00" }