Create units of measurement
This endpoint is deprecated.
POST
/api/RPC.common.Api.Measures.set?token=<TOKEN>Parameters
| Field | Type | Description |
|---|---|---|
coderequired | String | Unit of measurement ID |
namerequired | String | Unit of measurement name |
si_labelrequired | String | Si unit of measurement name |
is_weight | Boolean | The 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