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": "8714fb41-d3da-4b62-bfd0-27e2e22e91bc", "db_report_type_id": "1196f76e-ab98-4a57-88f2-67036793bd9b", "user_id": "7b849f50-8769-47c4-a827-8bbc96f70d3c", "company_id": "99f67493-7608-4649-9928-c4e6b3cb8292", "company_code": "sample string 5", "db_table_name": "sample string 6", "db_table_id": "9b9ea9a9-8261-4621-903a-3942dad8cd9d", "id_in_table": "82690a1e-e07f-4cdc-aace-8befc088f6ae", "date_last_update": "2025-05-17T17:07:22.6627228+00:00", "reference_back_office": "sample string 10", "modified_dateutc": "2025-05-17T17:07:22.6627228+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": "cd582ee3-f9fc-400d-be4d-f24b197e6448", "db_report_type_id": "576be790-6f50-413b-b21f-5b0e1ef25f03", "user_id": "38e6532a-c481-44db-bd31-e184201a0a59", "company_id": "ac4946e7-18bb-4221-addd-c32afcb9b129", "company_code": "sample string 5", "db_table_name": "sample string 6", "db_table_id": "71d4d65e-b8b3-478d-9c50-4fffc1300abd", "id_in_table": "5e98e5bd-19c0-4033-834b-de64424cdc60", "date_last_update": "2025-05-17T17:07:22.6788585+00:00", "reference_back_office": "sample string 10", "modified_dateutc": "2025-05-17T17:07:22.6788585+00:00" }