Get Units By Id
GET
/api/v2/units/c1826bdc-7ecf-064d-8c6d-c96446e95fe5
Use this method to get units by id. See our HTTP GET documentation for complete queries method.
The following elements are returned in the get units by id methods response :
Body Response
Element | Description |
---|---|
id | unit id. String. |
code | Unit code. String maximum 255 characters . |
name | Unit name String maximum 255 characters . |
description | Unit description String maximum 255 characters . |
is_base | Is base Boolean. |
is_active | Is Active Boolean. |
conversions* | conversions |
conversions.id | Conversions id String. |
target* | target conversions |
target.id | Target id String. |
target.code | Target code String. |
target.name | Target name String. |
value | Value of conversion String. |
other_fields | other_fields. |
created* | Created. |
created.user* | Created User. |
created.user.id | User id String Automaticaly. |
created.user.name | User name String. |
created.user.email | User email String. |
created.time | Date Time format YYYY-MM-DDThh:mm:ss.fffZ (RFC 3339, ISO 8601 date format) . Automaticaly. |
update* | Update. |
update.user* | Update user. |
update.user.id | User id String Automaticaly. |
update.user.name | User name String. |
update.user.email | User email String. |
update.time | Date Time format YYYY-MM-DDThh:mm:ss.fffZ (RFC 3339, ISO 8601 date format) . Automaticaly. |