Create units of measurement

This endpoint is deprecated.
POST/api/RPC.common.Api.Measures.set?token=<TOKEN>

Key Measures.set · API version 2.0.0

Parameters

4 body parameters inside data[]
FieldTypeDescription
coderequiredStringUnit of measurement ID
namerequiredStringUnit of measurement name
si_labelrequiredStringSi unit of measurement name
is_weightBooleanThe unit of measurement is for weight

Request example

Create Measure:
{
   "data" : [
      {
         "code" : "Hz",
         "name" : "Hertz",
         "si_label" : "Hz"
      }
   ]
}

cURL

Create Measure:
curl -X POST -H 'Content-Type: application/json; charset=utf-8' -d '{   "data" : [      {         "code" : "Hz",         "name" : "Hertz",         "si_label" : "Hz"      }   ]}' "https://<DOMAIN_NAME>/api/RPC.common.Api.Measures.set?token=<TOKEN>"

Response example