Get /api/v202305/unit

Operation: GetUnitsV202305

Summary

Retrieves all units

Path and Query Parameters

Parameter Description Type Location
filter string Query

Filters

Name Description Type Operators
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


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

Body

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