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": "ddc3c48d-33c6-40d4-8ce7-c5386858555b", "db_report_type_id": "746db3c5-b323-4027-be1c-5d85b6c7f50f", "user_id": "f471d327-7855-4c0c-b612-90f6b0b2de90", "company_id": "1e4a63d5-39bd-4079-a24c-88c9a6ed0959", "company_code": "sample string 5", "db_table_name": "sample string 6", "db_table_id": "53d3d8e3-6df8-4266-8157-5c162bdf208e", "id_in_table": "3b00a78d-9570-4de8-8e90-ee331abf44eb", "date_last_update": "2025-05-18T00:09:13.9557599+00:00", "reference_back_office": "sample string 10", "modified_dateutc": "2025-05-18T00:09:13.9557599+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": "bae55759-2193-45c4-b120-592619010764", "db_report_type_id": "a7302275-75b6-4e3b-9a86-2450bf3ece8a", "user_id": "6cd3847e-6449-47f2-b682-559b89b14363", "company_id": "c23f12cc-a553-4b90-80ca-83acf9aed204", "company_code": "sample string 5", "db_table_name": "sample string 6", "db_table_id": "891ecf3a-3e4a-43a2-b8c9-a3ec07955823", "id_in_table": "6fa84a0d-9539-4966-9431-102325691a69", "date_last_update": "2025-05-18T00:09:13.9557599+00:00", "reference_back_office": "sample string 10", "modified_dateutc": "2025-05-18T00:09:13.9557599+00:00" }