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": "c6be5b2a-e309-4e03-acee-553b3c1efe00", "db_report_type_id": "c51b2d9a-d55c-4b0c-b874-5d7d0870926a", "user_id": "aa48ba2c-e751-4713-a57e-37ef56fa591d", "company_id": "f88d47b4-033a-4e8f-a678-11c3a58c98aa", "company_code": "sample string 5", "db_table_name": "sample string 6", "db_table_id": "7d7f8ec3-fcbb-43f8-913a-da8d0f666892", "id_in_table": "23457d10-57f2-4838-a217-0d4d924a74c7", "date_last_update": "2024-03-26T17:46:24.7717352+00:00", "reference_back_office": "sample string 10", "modified_dateutc": "2024-03-26T17:46:24.7717352+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": "6be63c0b-778a-4e3a-9226-d6c6cc1c1bbb", "db_report_type_id": "51ffacf1-36c7-44e5-a5bc-cc068997af09", "user_id": "0c5ead44-e1ee-49c4-b93f-9f3e70f60efc", "company_id": "cf07fa13-ba61-44e2-b787-51bc13c513a6", "company_code": "sample string 5", "db_table_name": "sample string 6", "db_table_id": "b9ef5db1-fffd-43b6-be9d-64bbf2ac0d18", "id_in_table": "76242c5d-cbb5-4223-ba31-31af6a3f536b", "date_last_update": "2024-03-26T17:46:24.7873611+00:00", "reference_back_office": "sample string 10", "modified_dateutc": "2024-03-26T17:46:24.7873611+00:00" }