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": "af22d043-e866-497c-9532-0c811bc506ed", "db_report_type_id": "6f9452b6-760b-4c05-a5d7-16051aa8c02f", "user_id": "5af2cc00-bacb-479f-a05c-dbc357fa2dc7", "company_id": "3775fe3d-f357-436a-99d5-8013f68458c5", "company_code": "sample string 5", "db_table_name": "sample string 6", "db_table_id": "d1f7cfcf-ac81-4e17-9734-1f8285afafab", "id_in_table": "ade6afdb-bb29-4727-afef-6ffd84b529b5", "date_last_update": "2024-07-26T23:08:13.1628693+00:00", "reference_back_office": "sample string 10", "modified_dateutc": "2024-07-26T23:08:13.1784929+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": "472093e2-a374-498b-96c8-b4c4236c176c", "db_report_type_id": "3849541e-3a32-4308-90e7-6d14f48c4d07", "user_id": "a98e3a08-b1b1-40dd-9b9e-fec3cd6f7dfa", "company_id": "03dd6887-daf2-4e78-ab51-66954d9bb56a", "company_code": "sample string 5", "db_table_name": "sample string 6", "db_table_id": "13153a4d-ab5e-4ec4-bc19-05b0f8d2e834", "id_in_table": "91643bc5-77fa-4d70-95cb-f92988dbe726", "date_last_update": "2024-07-26T23:08:13.1784929+00:00", "reference_back_office": "sample string 10", "modified_dateutc": "2024-07-26T23:08:13.1784929+00:00" }