Skip to content

Get measurement ​

Returns the details of a single measurement.

Request ​

GET /api/oauth/v2/resource/customers/values/{uuid}

WARNING

The previous path /api/oauth/v2/resource/customer-values is deprecated and still works. Use /api/oauth/v2/resource/customers/values for new integrations.

HeaderValue
AuthorizationBearer {access_token}

URL parameters ​

ParameterTypeRequiredDescription
uuidstring (UUID)YesUnique UUID of the measurement

Response ​

Success (200 OK) ​

json
{
  "data": {
    "id": "9f8a1b2c-3d4e-5f60-8a1b-2c3d4e5f6071",
    "value": "120/80",
    "date": "2026-06-09",
    "valueType": {
      "id": "1e2d3c4b-5a69-4788-9f0e-1d2c3b4a5968",
      "name": "Blood pressure",
      "color": "#e34587",
      "unit": "mmHg",
      "abbreviation": "BP",
      "type": "range",
      "format": "decimal",
      "groupSeparator": ".",
      "showFirstOptionNull": false,
      "showAllCustomerOverview": true,
      "useMotherChildPass": false,
      "isDeleted": false,
      "enumOptionsList": []
    },
    "customer": {
      "id": "f0e1d2c3-b4a5-6789-fedc-ba9876543210",
      "firstName": "Anna",
      "lastName": "Muster"
    }
  }
}

Response fields ​

FieldTypeDescription
data.idstring (UUID)Unique UUID of the measurement
data.valuestring | object | nullMeasured value. For the types bmi, whr, and whtr an object (see below)
data.datestring | nullMeasurement date (YYYY-MM-DD)
data.valueTypeobjectMeasurement type
data.valueType.idstring (UUID)UUID of the measurement type
data.valueType.namestringName of the measurement type
data.valueType.colorstring | nullColor of the measurement type (hex)
data.valueType.unitstring | nullUnit of the measurement type
data.valueType.abbreviationstring | nullAbbreviation of the measurement type
data.valueType.typestringType of the measurement type (e.g. number, range, enum)
data.valueType.formatstring | nullNumber format (e.g. decimal, integer)
data.valueType.groupSeparatorstring | nullThousands separator
data.valueType.showFirstOptionNullbooleanShow first enum option as empty
data.valueType.showAllCustomerOverviewbooleanShow in customer overview
data.valueType.useMotherChildPassbooleanUse in mother-child pass
data.valueType.isDeletedbooleanMeasurement type deleted
data.valueType.enumOptionsListarrayOptions for enum types
data.customerobjectAssigned customer
data.customer.idstring (UUID)Customer ID
data.customer.firstNamestringFirst name
data.customer.lastNamestringLast name

Value for bmi, whr, and whtr

For these types, data.value is an object with the measurements and the calculated ratio:

TypeStructure of data.value
bmi{"bodyHeight": 180, "bodyWeight": 80, "bmi": 24.7}
whr{"waist": 90, "hip": 106, "waistToHipRatio": 0.85}
whtr{"waist": 90, "height": 172, "waistToHeightRatio": 0.52}
Beispiele
bash
curl -X GET "https://my.offisy.at/api/oauth/v2/resource/customers/values/b2c3d4e5-f6a7-8901-bcde-f01234567890" \
  -H "Authorization: Bearer {access_token}"
Parameter
Zuerst Token anfordern

Possible errors ​

StatusCodeDescription
401invalid_clientInvalid or missing access token
403insufficient_scopeScope customers not present
404not_foundMeasurement not found

Offisy GmbH