Creates a new 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": "5d220b8c-364b-4f7b-b997-a85190f0cbdb",
  "db_report_id": "2e213896-ad55-45fa-8ab0-c7050dff460a",
  "db_info_field_id": "78124475-aba4-4cac-9ac4-fdbf291b74aa",
  "user_id": "7fb3ef4e-96e1-4548-b1ae-0181e7cd9aa1",
  "dateutc_done": "2026-11-12T14:27:52.7281432+00:00",
  "date_done": "2026-11-12T14:27:52.7281432+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:27:52.7281432+00:00",
  "sys_logical_delete": true,
  "modified_dateutc": "2026-11-12T14:27:52.7281432+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-11-12T14:27:52.728Z</date_done>
  <dateutc_done>2026-11-12T14:27:52.728Z</dateutc_done>
  <db_info_field_id>78124475-aba4-4cac-9ac4-fdbf291b74aa</db_info_field_id>
  <db_report_id>2e213896-ad55-45fa-8ab0-c7050dff460a</db_report_id>
  <device_firmware_date>2026-11-12T14:27:52.728Z</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>5d220b8c-364b-4f7b-b997-a85190f0cbdb</id>
  <modified_dateutc>2026-11-12T14:27:52.728Z</modified_dateutc>
  <rawdata>sample string 7</rawdata>
  <sys_logical_delete>true</sys_logical_delete>
  <user_id>7fb3ef4e-96e1-4548-b1ae-0181e7cd9aa1</user_id>
</job_measurement>

Response Information

Resource Description :

IHttpActionResult containing the created job measurement.

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.