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": "6f61f2ef-3646-4f2e-b93a-b3fa9969d051", "db_report_type_id": "8614824e-bb78-4005-a370-559c6453a295", "user_id": "cc05b4dd-d4f5-4dda-be51-68355d05ffdc", "company_id": "04c11eac-a085-4562-9ce7-cd741033aff2", "company_code": "sample string 5", "db_table_name": "sample string 6", "db_table_id": "4aa6290b-f87d-411c-866f-1abf1f69a96b", "id_in_table": "1615f686-399e-4df5-99ca-dfb0ffff7df3", "date_last_update": "2025-01-22T01:17:11.6584613+00:00", "reference_back_office": "sample string 10", "modified_dateutc": "2025-01-22T01:17:11.6584613+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": "5257313b-f31a-4a7c-acb2-0867b9c0311a", "db_report_type_id": "45c20372-7490-4142-9e00-a610d095f44a", "user_id": "f3dfb0d6-d3d3-4f56-b059-c4e034f1f152", "company_id": "f3ffb590-bed4-4484-86ad-ee76163ab524", "company_code": "sample string 5", "db_table_name": "sample string 6", "db_table_id": "1072e89d-7e54-4e73-964b-292146a4775e", "id_in_table": "c130910f-f6ee-4c82-87af-7b62b18bdf7a", "date_last_update": "2025-01-22T01:17:11.6740882+00:00", "reference_back_office": "sample string 10", "modified_dateutc": "2025-01-22T01:17:11.6740882+00:00" }