Creates a new job measurement.
Request Information
URI Parameters :
None.
Body Parameters :
job_measurement| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Primary Key |
globally unique identifier |
Required |
| db_report_id |
FK to db_report |
globally unique identifier | |
| db_info_field_id |
FK to db_info_field |
globally unique identifier | |
| user_id |
Foreign key of the user who collected this measurement. |
globally unique identifier | |
| dateutc_done |
Date+Time in UTC when it has been collected |
date | |
| date_done |
Local Date+Time when it has been collected |
date | |
| rawdata |
The rawdata that comes from the device |
string | |
| collected_with_device |
To know if it was collected via a device (like Testo) |
boolean | |
| device_name |
Name/model of the measuring device used to collect this measurement (when is true). |
string |
Max length: 50 |
| device_serial_number |
Serial number of the measuring device used to collect this measurement. |
string |
Max length: 50 |
| device_firmware_version |
Firmware version of the measuring device used to collect this measurement. |
string |
Max length: 50 |
| device_firmware_date |
Release date of the device firmware identified by . |
date | |
| sys_logical_delete |
Soft-delete flag: when true, this measurement is considered deleted, optimizing synchronization (can be physically deleted offline). |
boolean | |
| modified_dateutc |
Readonly system field managed by database, filled with GetUtcDate when adding,updating |
date |
Request Formats :
application/json, text/json
{
"id": "51b60cdc-465c-4fd7-8eeb-778efdf54ccc",
"db_report_id": "bc0113c1-b4e5-45b5-9dda-bf91dc82ab99",
"db_info_field_id": "92f04b05-aa96-4367-9a7d-887ba2d4f994",
"user_id": "291015ae-6e53-4cac-9ecb-440b57ca3bc0",
"dateutc_done": "2026-09-16T10:13:11.2373513+00:00",
"date_done": "2026-09-16T10:13:11.2373513+00:00",
"rawdata": "sample string 7",
"collected_with_device": true,
"device_name": "sample string 9",
"device_serial_number": "sample string 10",
"device_firmware_version": "sample string 11",
"device_firmware_date": "2026-09-16T10:13:11.2373513+00:00",
"sys_logical_delete": true,
"modified_dateutc": "2026-09-16T10:13:11.2373513+00:00"
}
application/xml, text/xml
<job_measurement xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <collected_with_device>true</collected_with_device> <date_done>2026-09-16T10:13:11.237Z</date_done> <dateutc_done>2026-09-16T10:13:11.237Z</dateutc_done> <db_info_field_id>92f04b05-aa96-4367-9a7d-887ba2d4f994</db_info_field_id> <db_report_id>bc0113c1-b4e5-45b5-9dda-bf91dc82ab99</db_report_id> <device_firmware_date>2026-09-16T10:13:11.237Z</device_firmware_date> <device_firmware_version>sample string 11</device_firmware_version> <device_name>sample string 9</device_name> <device_serial_number>sample string 10</device_serial_number> <id>51b60cdc-465c-4fd7-8eeb-778efdf54ccc</id> <modified_dateutc>2026-09-16T10:13:11.237Z</modified_dateutc> <rawdata>sample string 7</rawdata> <sys_logical_delete>true</sys_logical_delete> <user_id>291015ae-6e53-4cac-9ecb-440b57ca3bc0</user_id> </job_measurement>
Response Information
Resource Description :
IHttpActionResult containing the created job measurement.
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample not available.