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": "0f0a6721-f560-4aa0-b0a1-bddb0080e5ae",
  "db_report_type_id": "4bc26372-43ab-4453-872c-7d70a1ce9d41",
  "user_id": "5ed55f8e-ed00-4244-864b-dc94946ce577",
  "company_id": "777d3921-40f0-4209-badc-c0133ab88291",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "7d3345d6-7736-4954-bbf2-01126b7ee9d7",
  "id_in_table": "0e970fb7-0799-4ad6-89a8-8954a7281bf6",
  "date_last_update": "2024-12-21T17:06:26.5717071+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2024-12-21T17:06:26.5717071+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": "85f3e131-2aa0-475c-a3fe-7956a00500ed",
  "db_report_type_id": "5e0ede07-f3a4-4f84-a791-ec04b253f115",
  "user_id": "5110a48d-d0cb-4c9e-b43a-3e26b92bd874",
  "company_id": "6075b0fd-8964-41a6-8d8a-1cb731544a5a",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "ea91c6d9-e725-4d2e-bece-9c5d3c5d1b52",
  "id_in_table": "69a61f5c-cd1a-446e-8373-131db753d63e",
  "date_last_update": "2024-12-21T17:06:26.5717071+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2024-12-21T17:06:26.5717071+00:00"
}