Creates or updates a 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": "98d8d5ef-da4d-4bfe-bdfd-b84eaa0f2ad7",
"db_report_id": "74c54991-ff12-422b-a1ba-e692a4deab2e",
"db_info_field_id": "202fad00-7750-450c-82c1-92105762d7d0",
"user_id": "09cf28f8-1721-4388-b1a2-5c6ba34c6272",
"dateutc_done": "2026-11-12T14:28:01.1345231+00:00",
"date_done": "2026-11-12T14:28:01.1345231+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-11-12T14:28:01.1345231+00:00",
"sys_logical_delete": true,
"modified_dateutc": "2026-11-12T14:28:01.1345231+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-11-12T14:28:01.134Z</date_done> <dateutc_done>2026-11-12T14:28:01.134Z</dateutc_done> <db_info_field_id>202fad00-7750-450c-82c1-92105762d7d0</db_info_field_id> <db_report_id>74c54991-ff12-422b-a1ba-e692a4deab2e</db_report_id> <device_firmware_date>2026-11-12T14:28:01.134Z</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>98d8d5ef-da4d-4bfe-bdfd-b84eaa0f2ad7</id> <modified_dateutc>2026-11-12T14:28:01.134Z</modified_dateutc> <rawdata>sample string 7</rawdata> <sys_logical_delete>true</sys_logical_delete> <user_id>09cf28f8-1721-4388-b1a2-5c6ba34c6272</user_id> </job_measurement>
Response Information
Resource Description :
IHttpActionResult containing the saved job measurement.
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample not available.