Updates the job measurement with the specified key.

Request Information

URI Parameters :

NameDescriptionTypeAdditional information
id

The job measurement id.

globally unique identifier

Required

Body Parameters :

job_measurement
NameDescriptionTypeAdditional 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

Sample:
{
  "id": "f43c82ac-1cb6-49ca-bc8c-b553c655c109",
  "db_report_id": "44a53898-352a-4e69-86c5-4f8f90b773f6",
  "db_info_field_id": "e5e1ab05-ef14-44e8-871b-828bcabe1e6f",
  "user_id": "2eec6925-bad1-4721-9099-f09714246485",
  "dateutc_done": "2026-09-16T08:36:18.2245678+00:00",
  "date_done": "2026-09-16T08:36:18.2245678+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-16T08:36:18.2245678+00:00",
  "sys_logical_delete": true,
  "modified_dateutc": "2026-09-16T08:36:18.2245678+00:00"
}

application/xml, text/xml

Sample:
<job_measurement xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <collected_with_device>true</collected_with_device>
  <date_done>2026-09-16T08:36:18.224Z</date_done>
  <dateutc_done>2026-09-16T08:36:18.224Z</dateutc_done>
  <db_info_field_id>e5e1ab05-ef14-44e8-871b-828bcabe1e6f</db_info_field_id>
  <db_report_id>44a53898-352a-4e69-86c5-4f8f90b773f6</db_report_id>
  <device_firmware_date>2026-09-16T08:36:18.224Z</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>f43c82ac-1cb6-49ca-bc8c-b553c655c109</id>
  <modified_dateutc>2026-09-16T08:36:18.224Z</modified_dateutc>
  <rawdata>sample string 7</rawdata>
  <sys_logical_delete>true</sys_logical_delete>
  <user_id>2eec6925-bad1-4721-9099-f09714246485</user_id>
</job_measurement>

Response Information

Resource Description :

IHttpActionResult containing the updated job measurement.

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.