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": "d81f54a6-6ee3-4ce4-93c1-749b1d8d7bb6",
  "db_report_type_id": "9b33ee65-ad0a-40de-b0fd-abf01784f365",
  "user_id": "0cd34b56-0bd7-4a6c-adf8-852ac5aac7e3",
  "company_id": "b3dc7cc3-3087-44f2-9ac9-2df797c60cf9",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "29eef3de-ea6f-4fac-bff1-a5993f84e79d",
  "id_in_table": "7d54e422-a4ff-45ce-8bbb-920e6a3e7136",
  "date_last_update": "2024-11-21T09:39:25.4962574+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2024-11-21T09:39:25.4962574+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": "af9bd3e2-f003-41c8-b28f-3797fc86c117",
  "db_report_type_id": "f3970630-5de6-4ec4-9520-0eb56581dcff",
  "user_id": "30b10a17-45da-46d6-bfa2-f72b24b6878f",
  "company_id": "99987688-24b1-4b9a-a667-f3a89b988201",
  "company_code": "sample string 5",
  "db_table_name": "sample string 6",
  "db_table_id": "1441c8a8-a675-42d1-a67f-a42f1028195b",
  "id_in_table": "9ad820eb-537d-49b2-bf4d-c6c6d4fedd36",
  "date_last_update": "2024-11-21T09:39:25.4962574+00:00",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2024-11-21T09:39:25.4962574+00:00"
}