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": "d0ec2d24-ef85-4705-a477-3e356d72afdf",
  "db_report_type_id": "a0532f08-fda7-4b8a-a6f9-92b7d1c9e6a5",
  "user_id": "7491a158-06f0-452a-b3b0-dee87d549d04",
  "company_id": "464a4fe3-9f62-4c5d-b2e0-02affd16e937",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "25424090-5781-4136-a75e-117ea5d96f5c",
  "id_in_table": "da9a36d3-8677-4246-8140-74a2d160040c",
  "date_last_update": "2022-08-17T04:18:13.7794005+02:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2022-08-17T04:18:13.7794005+02: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": "0bfae01b-00ec-4d54-b61d-d9a0c6a16787",
  "db_report_type_id": "a8d1a2c5-dacd-466d-99da-77c222e05d6e",
  "user_id": "781173fd-a160-4faf-9579-d442bed74d65",
  "company_id": "46eb22d8-2066-44f1-83e8-be789d847b16",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "f849ec31-6d43-4169-975b-35bd2929a51b",
  "id_in_table": "4bf3efb5-f1aa-4b83-8c95-67d44ac26f43",
  "date_last_update": "2022-08-17T04:18:13.7794005+02:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2022-08-17T04:18:13.7794005+02:00"
}