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": "4ccacd8b-8fec-4652-8951-974b180633c5",
  "db_report_type_id": "aa8bedb8-03d3-4d5f-8796-5e6a7c30cb9c",
  "user_id": "1534f015-4ca4-4a21-ba4f-2ef7ea9fc9c2",
  "company_id": "999b6c59-9260-4e83-b0f4-18c479048699",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "38379d3b-b1a7-4c2b-a5ab-7b32f4661922",
  "id_in_table": "9228d5c5-7306-46af-85a7-3f6f6121d6e0",
  "date_last_update": "2024-11-20T05:11:56.0078377+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2024-11-20T05:11:56.0078377+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": "62b98905-93eb-4330-9aaf-086b97d59ebd",
  "db_report_type_id": "9a2502a4-d693-4306-b55c-3cbcfef915fb",
  "user_id": "ad6ef4e8-4d3c-4810-b26b-f818ede20328",
  "company_id": "532c9931-07bb-47b4-a2f5-928cf86051e0",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "303a4524-cf6a-45ff-ac89-6145ab250500",
  "id_in_table": "5a37a7ae-c5e8-4a2a-938e-5d92405cf479",
  "date_last_update": "2024-11-20T05:11:56.0078377+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2024-11-20T05:11:56.0078377+00:00"
}