How to create or delete a unit?
It is possible to create or delete a unit. This method allows to create a unit in a simplified manner. The method to be used when creating a unit is: POST url/api/mytenant/myorganization/corepatterns/units This method allows to create a unit according to the parameters filled in: When this method is executed successfully, it returns HttpStatusCode.201Created. This method allows you to delete a unit.Creating a unit
{
"unitKey": "HR",
"description": "Hora",
"precisionDigits": 2,
"conversionFactor": 1.0,
"symbol": "HR",
"isDimensionBaseUnit": false,
"dimension": "01"
}
Deleting a unit
login para deixar a sua opinião.