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": "1a20ffe6-6ff5-456e-a52e-b6e0702ce2c4",
"db_report_type_id": "5944b6bd-eb6f-49b9-a8ad-220f318f811c",
"user_id": "dcd64670-774f-4555-b9cf-97188ee0c320",
"company_id": "d746e033-33fa-4c15-bdf4-cfbfcc67de71",
"company_code": "sample string 5",
"db_table_name": "sample string 6",
"db_table_id": "76c5b6e9-a8c9-49c8-9609-f6171b7af97c",
"id_in_table": "add16956-0937-4493-8d35-6731b3b8d4af",
"date_last_update": "2025-12-12T14:30:16.7123345+00:00",
"reference_back_office": "sample string 10",
"modified_dateutc": "2025-12-12T14:30:16.7123345+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": "cea50d14-59be-4361-8708-e25e34c3be0b",
"db_report_type_id": "b77f5e3f-62f2-4c52-b1ca-17c61ae56327",
"user_id": "285b2418-4f4f-4a1f-937a-d15cba954bed",
"company_id": "72a50794-52c6-40df-94e5-d76f915861c3",
"company_code": "sample string 5",
"db_table_name": "sample string 6",
"db_table_id": "021a1fa6-114b-450a-b7ec-7d79f400fb90",
"id_in_table": "a6c8a594-a527-4acd-b897-3bc98b621e72",
"date_last_update": "2025-12-12T14:30:16.7242269+00:00",
"reference_back_office": "sample string 10",
"modified_dateutc": "2025-12-12T14:30:16.7242269+00:00"
}