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": "2d565196-baba-4d0f-8214-b8bd7c9b15bd", "db_report_type_id": "85758a5b-540b-4177-b80f-77f9e9c90968", "user_id": "edea68c9-192e-4ef3-b230-e5807d392c5a", "company_id": "27a2ee7a-4bcf-42ec-ae4f-1552f29676d2", "company_code": "sample string 5", "db_table_name": "sample string 6", "db_table_id": "177c73a2-9e5b-4b08-98f7-f12d445aed8c", "id_in_table": "3cff9841-5920-4bd5-878b-8b9379f61a0b", "date_last_update": "2025-01-18T05:02:44.2842564+00:00", "reference_back_office": "sample string 10", "modified_dateutc": "2025-01-18T05:02:44.2842564+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": "759a60aa-b032-4b04-91b0-ed012ea9e01f", "db_report_type_id": "8be24831-a186-4edc-9e2c-65427c3fbc6e", "user_id": "d8d3b044-1204-46a0-acd4-cd3db65c8d55", "company_id": "14a1b9fb-fb3e-47e0-946b-58800af2cca8", "company_code": "sample string 5", "db_table_name": "sample string 6", "db_table_id": "7b9370bc-7779-44bf-9419-c6981d52b2be", "id_in_table": "54077580-1170-42a9-8202-3f22f0e494c5", "date_last_update": "2025-01-18T05:02:44.3029657+00:00", "reference_back_office": "sample string 10", "modified_dateutc": "2025-01-18T05:02:44.3029657+00:00" }