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": "ea24fdca-7258-48aa-bcd6-d43e53e152e9",
"db_report_type_id": "4c9677d6-c50c-4c71-85e7-3a2c59859f9b",
"user_id": "150c185d-1f23-4891-be8d-7f15297662ea",
"company_id": "e093c305-d415-40ea-8f55-f9d94cd50e13",
"company_code": "sample string 5",
"db_table_name": "sample string 6",
"db_table_id": "b8f1ad79-cfcb-498f-be92-d6b02ce93659",
"id_in_table": "2051409a-0b17-4f90-8cd2-2934654edf1d",
"date_last_update": "2025-11-16T11:54:58.5509399+00:00",
"reference_back_office": "sample string 10",
"modified_dateutc": "2025-11-16T11:54:58.5509399+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": "19b045fb-24fb-4d9e-b1e5-a1f36b7e5f01",
"db_report_type_id": "49963bb2-2e6d-4c25-9c86-f565e2da082c",
"user_id": "743b4eb6-0d0b-4fb5-a0e6-18a7ca25554a",
"company_id": "e615cfa3-5d2a-4ae5-a6db-db5fb036f827",
"company_code": "sample string 5",
"db_table_name": "sample string 6",
"db_table_id": "dd985ade-4128-4814-93c7-636f5d83cb33",
"id_in_table": "b080f339-f88e-48db-807a-c7d33024deb8",
"date_last_update": "2025-11-16T11:54:58.5509399+00:00",
"reference_back_office": "sample string 10",
"modified_dateutc": "2025-11-16T11:54:58.5509399+00:00"
}