Get Deprecated /api/v3/unit

Operation: GetUnitsV3

Summary

Retrieves all units

Path and Query Parameters

Parameter Description Type Location
filter string Query

Filters

Name Description Type Operators
commodityCode Commodity Code string equals, not equals, less than, between, one of, greater than, less than equal, greater than equal, like, not like, not one of
commodityId integer equals, not equals, less than, between, greater than, less than equal, greater than equal
commodityInfo Commodity Name string equals, not equals, less than, between, one of, greater than, less than equal, greater than equal, like, not like, not one of
nounCode Noun Code string equals, not equals, less than, between, one of, greater than, less than equal, greater than equal, like, not like, not one of
nounId integer equals, not equals, less than, between, greater than, less than equal, greater than equal
observationTypeCode Observation Type Code string equals, not equals, less than, between, one of, greater than, less than equal, greater than equal, like, not like, not one of
observationTypeID integer equals, not equals, less than, between, greater than, less than equal, greater than equal
observationTypeInfo Observation Type Name string equals, not equals, less than, between, one of, greater than, less than equal, greater than equal, like, not like, not one of
unitTypeCode Unit Type Code string equals, not equals, less than, between, one of, greater than, less than equal, greater than equal, like, not like, not one of
unitTypeId integer equals, not equals, less than, between, greater than, less than equal, greater than equal
unitTypeInfo Unit Type Name string equals, not equals, less than, between, one of, greater than, less than equal, greater than equal, like, not like, not one of

Response Parameters

HTTP 200

Header Parameters

Header Description Type
ECI-Deprecated API version and if applicable the replacement operation name string


Body Parameters

Content Type: application/json

Type Reference: Unit [Array]

Parameter Description Type
array
   unitId integer
   unitCode Must be between 0 and 16 characters string
   unitInfo Must be between 0 and 32 characters string
   unitDisplayName Must be between 0 and 64 characters string
   unitType UnitType
      unitTypeId integer
      unitTypeCode string
      unitTypeInfo string

Responses

HTTP 200

Header

{
  "ECI-Deprecated": "string"
}

Body

Content Type: application/json
[
  {
    "unitId": 1,
    "unitCode": "string",
    "unitInfo": "string",
    "unitDisplayName": "string",
    "unitType": {
      "unitTypeId": 1,
      "unitTypeCode": "string",
      "unitTypeInfo": "string"
    }
  }
]