Creates a new db report
Request Information
URI Parameters :
None.
Body Parameters :
db_report| Name | 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": "e5267295-19ae-497a-9d29-23598d6f27d8",
"db_report_type_id": "7766d674-f7ec-409e-8ef9-17996dd0d54e",
"user_id": "6809d94b-51aa-4b17-9201-efd9abff6f30",
"company_id": "a9976e70-5ed2-4b6a-86d9-af0bddd9223c",
"company_code": "sample string 5",
"db_table_name": "sample string 6",
"db_table_id": "14c08809-8987-4375-91f3-f9b706600cec",
"id_in_table": "3a4cbcc4-f08b-47f7-85eb-7342973a7500",
"date_last_update": "2025-12-14T13:35:42.9030471+00:00",
"reference_back_office": "sample string 10",
"modified_dateutc": "2025-12-14T13:35:42.9030471+00:00"
}
Response Information
Resource Description :
IHttpActionResult
db_report| Name | 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": "c3b10309-d07f-4357-adb2-b61af5e36f48",
"db_report_type_id": "ad63d3aa-30b7-46d0-962e-ebf6ebb34ae5",
"user_id": "bf597a63-4d0b-4730-8a0c-0349646160cf",
"company_id": "c80ca25b-852b-42bc-98f8-5af1585231d1",
"company_code": "sample string 5",
"db_table_name": "sample string 6",
"db_table_id": "111ff219-8ba7-48bb-9e80-01894d94cbfd",
"id_in_table": "b728c6a0-9a3b-4ba1-b999-af960b3a3c70",
"date_last_update": "2025-12-14T13:35:42.9030471+00:00",
"reference_back_office": "sample string 10",
"modified_dateutc": "2025-12-14T13:35:42.9030471+00:00"
}