Creates a new db report

Request Information

URI Parameters :

None.

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": "a1df6fd6-bba5-4f6c-abd7-f7ae41725d08",
  "db_report_type_id": "fd51ab95-e4d4-4c1c-9a99-adf1e97e4e8b",
  "user_id": "10c4bad0-5f1b-4094-9d62-0038875b4820",
  "company_id": "725bfba3-2fc4-413c-ad24-62e76bb35f0b",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "e84e3017-e660-4be0-b2c8-0f2dd5f8cf5e",
  "id_in_table": "c35f7b8a-8144-4d69-b1f7-fdc0aa68a7af",
  "date_last_update": "2022-12-02T21:18:19.8875271+01:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2022-12-02T21:18:19.8875271+01:00"
}

Response Information

Resource Description :

IHttpActionResult

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

Response Formats

application/json, text/json

Sample:
{
  "id": "568369a5-349a-4f9b-950f-b34daab35b41",
  "db_report_type_id": "620970bd-b674-43e1-ab56-7d9562da383c",
  "user_id": "9ba61ade-3923-4974-822a-02b7d1d41f20",
  "company_id": "e5760524-b554-48ab-b221-cbfcc5662c38",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "538108d5-2866-4df0-91f1-aa07ee232b36",
  "id_in_table": "5050e04c-7ddb-4d0c-8c47-9149f5a2115d",
  "date_last_update": "2022-12-02T21:18:19.8875271+01:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2022-12-02T21:18:19.8875271+01:00"
}