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": "cbf8ad81-7261-4af8-b85d-c4ae04b6b52c",
  "db_report_type_id": "bb7de60a-4c1e-4f92-92ed-92bba98f57de",
  "user_id": "e7a7cee7-f50a-437d-872b-2f71211af723",
  "company_id": "c844b683-e058-4c87-a412-33188d65d2bd",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "947e48dc-a5e1-4b90-b000-59c5924a16a5",
  "id_in_table": "1652b339-7477-40ea-aae3-ffdf63410087",
  "date_last_update": "2023-03-29T03:23:23.5121386+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2023-03-29T03:23:23.5121386+00: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": "bc72b6f3-d4a3-41fd-91bf-45fdfb6daeec",
  "db_report_type_id": "75cd26ba-687b-4d50-9692-5c6fe289fd1e",
  "user_id": "353a8aed-dd07-4e76-a3a2-cf665db86fed",
  "company_id": "e1434187-ad9a-4811-8d15-c54282b164c2",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "2a76f90b-eced-40a6-9a18-653070fa1037",
  "id_in_table": "5974f248-911f-408b-ac05-805e7ffbc0d7",
  "date_last_update": "2023-03-29T03:23:23.5121386+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2023-03-29T03:23:23.5121386+00:00"
}