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": "0a2b64dc-9b24-4dc1-9ccd-44fe877c6d06", "db_report_type_id": "a10855c0-411e-467f-bfbb-63f107ffbd8e", "user_id": "fb96ac49-c264-408b-b693-481b04d5dabe", "company_id": "27273833-ee9c-4037-8872-fd4ded42844b", "company_code": "sample string 5", "db_table_name": "sample string 6", "db_table_id": "02d29db0-069c-45b1-818f-b08db8b7ca3f", "id_in_table": "59a8e8a4-1881-4b3c-85fd-953c17aac0c1", "date_last_update": "2025-08-05T20:08:14.315832+00:00", "reference_back_office": "sample string 10", "modified_dateutc": "2025-08-05T20:08:14.315832+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": "b0b14a9a-9fb5-4737-9f9e-31988a6328fa", "db_report_type_id": "b534a261-77b6-4fe2-b8f5-236e02b5051c", "user_id": "2fce920b-c104-4f90-8c50-e5ec5b8a75fa", "company_id": "13a4789a-349f-4d4b-a67d-6c8e126abda6", "company_code": "sample string 5", "db_table_name": "sample string 6", "db_table_id": "8ff00f12-74fc-4b6b-8b1e-dc1226bbe9cb", "id_in_table": "d18964c2-10af-48d0-9563-d50bef7ec1cf", "date_last_update": "2025-08-05T20:08:14.315832+00:00", "reference_back_office": "sample string 10", "modified_dateutc": "2025-08-05T20:08:14.315832+00:00" }