GET api/unitconversions?fromUnitId={fromUnitId}&toUnitId={toUnitId}

Determines if a unit conversion is valid

Request Information

URI Parameters

NameDescriptionTypeAdditional information
fromUnitId

integer

Required

toUnitId

integer

Required

Body Parameters

None.

Response Information

Resource Description

UnitConversionValidationModel
NameDescriptionTypeAdditional information
Valid

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "valid": true
}

application/xml, text/xml

Sample:
<UnitConversionValidationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TelogWebAPI.Models">
  <Valid>true</Valid>
</UnitConversionValidationModel>