Creates a new db report.
Request Information
URI Parameters :
None.
Body Parameters :
db_report| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Primary Key |
globally unique identifier | |
| db_report_type_id |
db report type id |
globally unique identifier | |
| 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 | |
| db_table_id |
Table ID which db report linked to. |
globally unique identifier | |
| id_in_table |
Item id of the table which db report linked to |
globally unique identifier | |
| date_start |
Date start |
date | |
| modified_dateutc |
Readonly system field managed by database, filled with GetUtcDate when adding,updating |
date | |
| is_completed |
is_completed flag |
boolean |
Request Formats :
application/json, text/json
{
"id": "e0cda46f-c931-42f7-8923-12b1dfdb64e3",
"db_report_type_id": "261d8728-f1ea-40be-9fbb-f29de0034d15",
"user_id": "b0c13aaa-8632-4fe5-bcd6-68d67dcac649",
"company_id": "18797f1b-335b-403f-ba29-79605276dfa2",
"db_table_id": "579908e7-d47c-47b0-b213-769f353855ea",
"id_in_table": "1ab85c4e-1347-4825-9f96-3cfb21cdaf4b",
"date_start": "2026-09-16T08:34:33.8084738+00:00",
"modified_dateutc": "2026-09-16T08:34:33.8084738+00:00",
"is_completed": true
}
application/xml, text/xml
<db_report xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <company_id>18797f1b-335b-403f-ba29-79605276dfa2</company_id> <date_start>2026-09-16T08:34:33.808Z</date_start> <db_report_type_id>261d8728-f1ea-40be-9fbb-f29de0034d15</db_report_type_id> <db_table_id>579908e7-d47c-47b0-b213-769f353855ea</db_table_id> <id>e0cda46f-c931-42f7-8923-12b1dfdb64e3</id> <id_in_table>1ab85c4e-1347-4825-9f96-3cfb21cdaf4b</id_in_table> <is_completed>true</is_completed> <modified_dateutc>2026-09-16T08:34:33.808Z</modified_dateutc> <user_id>b0c13aaa-8632-4fe5-bcd6-68d67dcac649</user_id> </db_report>
Response Information
Resource Description :
IHttpActionResult containing the created db report.
db_report| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Primary Key |
globally unique identifier | |
| db_report_type_id |
db report type id |
globally unique identifier | |
| 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 | |
| db_table_id |
Table ID which db report linked to. |
globally unique identifier | |
| id_in_table |
Item id of the table which db report linked to |
globally unique identifier | |
| date_start |
Date start |
date | |
| modified_dateutc |
Readonly system field managed by database, filled with GetUtcDate when adding,updating |
date | |
| is_completed |
is_completed flag |
boolean |
Response Formats
application/json, text/json
{
"id": "f083de82-6a67-41b2-a376-0289de0bc1e7",
"db_report_type_id": "6e708e5d-1e22-4feb-8cf8-b38619e97ac8",
"user_id": "a04f4ae8-c01c-4b50-919c-55595b6bdbc6",
"company_id": "6af532af-913b-4f69-8d69-0f71aa2cd857",
"db_table_id": "dd0354f6-7cb7-4427-93d4-fd50c4a9cd72",
"id_in_table": "af464a17-1a82-45b0-b861-ef2d121e4fa6",
"date_start": "2026-09-16T08:34:33.8084738+00:00",
"modified_dateutc": "2026-09-16T08:34:33.8084738+00:00",
"is_completed": true
}
application/xml, text/xml
<db_report xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <company_id>6af532af-913b-4f69-8d69-0f71aa2cd857</company_id> <date_start>2026-09-16T08:34:33.808Z</date_start> <db_report_type_id>6e708e5d-1e22-4feb-8cf8-b38619e97ac8</db_report_type_id> <db_table_id>dd0354f6-7cb7-4427-93d4-fd50c4a9cd72</db_table_id> <id>f083de82-6a67-41b2-a376-0289de0bc1e7</id> <id_in_table>af464a17-1a82-45b0-b861-ef2d121e4fa6</id_in_table> <is_completed>true</is_completed> <modified_dateutc>2026-09-16T08:34:33.808Z</modified_dateutc> <user_id>a04f4ae8-c01c-4b50-919c-55595b6bdbc6</user_id> </db_report>