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": "aacca912-a24e-4ce6-b5ef-b4c5a7636577", "db_report_type_id": "97f02d8a-7563-4dc3-8b76-eca82b45095c", "user_id": "f8945d84-fa71-477d-8288-ac8823f5597d", "company_id": "df6bffd3-056f-48ce-a93b-5a68ef026eee", "company_code": "sample string 5", "db_table_name": "sample string 6", "db_table_id": "19c6e77a-fb8a-4eb8-b0c8-ed7b94af015e", "id_in_table": "fc1d8f49-ba60-4efc-baa6-b1f06cb630a4", "date_last_update": "2024-04-19T18:18:52.1870783+00:00", "reference_back_office": "sample string 10", "modified_dateutc": "2024-04-19T18:18:52.1870783+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": "4a788076-bdfa-42da-954c-77dad3205108", "db_report_type_id": "2c97cede-1ab9-4ff9-b9f9-457cefb6d2ac", "user_id": "157ebdb3-3508-4d33-aace-75d13797eb4c", "company_id": "34c2ecaf-3616-4658-b2a7-b3f9c853d772", "company_code": "sample string 5", "db_table_name": "sample string 6", "db_table_id": "6a1a4ced-e54e-496b-9a08-ad93ce88ddda", "id_in_table": "1defef9d-d1dd-40cc-a2ca-7506a944cb58", "date_last_update": "2024-04-19T18:18:52.1870783+00:00", "reference_back_office": "sample string 10", "modified_dateutc": "2024-04-19T18:18:52.1870783+00:00" }