Creates or updates a job measurement.

Request Information

URI Parameters :

None.

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": "defc098c-a287-448d-ac38-0a98cfc7ed2c",
  "db_report_id": "a9540f94-a81f-4210-a827-c64b28ec7f78",
  "db_info_field_id": "a4a88f62-a1d4-4008-96da-26be4c34f552",
  "user_id": "bd144502-a41a-4673-a4da-d484a576c5c2",
  "dateutc_done": "2026-09-17T12:15:23.3411234+00:00",
  "date_done": "2026-09-17T12:15:23.3567483+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-17T12:15:23.3567483+00:00",
  "sys_logical_delete": true,
  "modified_dateutc": "2026-09-17T12:15:23.3567483+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-17T12:15:23.356Z</date_done>
  <dateutc_done>2026-09-17T12:15:23.341Z</dateutc_done>
  <db_info_field_id>a4a88f62-a1d4-4008-96da-26be4c34f552</db_info_field_id>
  <db_report_id>a9540f94-a81f-4210-a827-c64b28ec7f78</db_report_id>
  <device_firmware_date>2026-09-17T12:15:23.356Z</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>defc098c-a287-448d-ac38-0a98cfc7ed2c</id>
  <modified_dateutc>2026-09-17T12:15:23.356Z</modified_dateutc>
  <rawdata>sample string 7</rawdata>
  <sys_logical_delete>true</sys_logical_delete>
  <user_id>bd144502-a41a-4673-a4da-d484a576c5c2</user_id>
</job_measurement>

Response Information

Resource Description :

IHttpActionResult containing the saved job measurement.

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.