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": "0dfe64f0-bd04-474e-8116-d29ac2edd2fb",
  "db_report_type_id": "93a65bf2-6523-436e-9d4d-5ee0456763c6",
  "user_id": "c5025fd5-1b02-40c8-9b6a-7fd8d1fb94f3",
  "company_id": "2b8e0a2d-5048-4499-b8e1-2ce959721ed5",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "86f588db-4f60-40a5-87c6-1f0f08598a92",
  "id_in_table": "e42ba1ec-ba23-414b-82f5-92712293260e",
  "date_last_update": "2023-03-30T20:30:15.7601762+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2023-03-30T20:30:15.7601762+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": "3aab08ee-060a-4039-ab29-eee44ca75398",
  "db_report_type_id": "7c09acfe-870d-4d3c-a090-c82e6a0eab12",
  "user_id": "24c7c131-1dfa-4ae0-a9d1-ddf405263f84",
  "company_id": "a9816101-c1e2-46d7-9a12-85308af16e5f",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "a6dcc319-3829-4e93-816a-1916c8382bf7",
  "id_in_table": "2dce6c90-6958-4256-a006-325358c42c10",
  "date_last_update": "2023-03-30T20:30:15.7601762+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2023-03-30T20:30:15.7601762+00:00"
}