Back to Aligni.com

Create a new unit conversion.

Examples

# request
curl -X POST -H 'Accept: application/xml' -H 'Content-Type: application/xml' -d "
<unit_conversion>
  <from_unit_id>4</from_unit_id>
  <to_unit_id>5</to_unit_id>
  <factor>100</factor>
</unit_conversion>" \
https://demo.aligni.com/api/v2/oid3vLgynoy_Yl1gZkrgkLEq3J/unit_conversion

# response
<unit_conversion>
  ...
</unit_conversion>

Params

Param name Description
api_token
required

Your API token.


Value: Must be a String