Updates the db report with the specified key

Request Information

URI Parameters :

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

Body Parameters :

db_report
NameDescriptionTypeAdditional 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

Sample:
{
  "id": "a746a3c9-d86f-4cd4-874e-cc80d6f53fc2",
  "db_report_type_id": "d86fa8e9-3eae-4353-89e6-092715e2d563",
  "user_id": "4b4756d9-bf4e-4294-8e9c-da8263b9f8c1",
  "company_id": "f4ff4529-5567-4c7d-9e3a-5d384cb4bd5d",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "3c36b1a1-b666-4ae1-ad5d-c8c281d65371",
  "id_in_table": "81bf566d-12d6-4602-8e3f-f88a9e709cb4",
  "date_last_update": "2024-04-18T22:14:17.0476669+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2024-04-18T22:14:17.0476669+00:00"
}

Response Information

Resource Description :

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.