API → Unit → Convert current units
Parameters
Name
Type
Req.
Possible values
amperes
: Amperes <https://en.wikipedia.org/wiki/Ampere>microamperes
: Microamperes <https://en.wikipedia.org/wiki/Microampere>milliamperes
: Milliamperes <https://en.wikipedia.org/wiki/Milliampere>nanoamperes
: Nanoamperes <https://en.wikipedia.org/wiki/Nanoampere>
Possible values
amperes
: Amperes <https://en.wikipedia.org/wiki/Ampere>microamperes
: Microamperes <https://en.wikipedia.org/wiki/Microampere>milliamperes
: Milliamperes <https://en.wikipedia.org/wiki/Milliampere>nanoamperes
: Nanoamperes <https://en.wikipedia.org/wiki/Nanoampere>
Returns
- 200 OK
successful operation
Name
Type
Req.
body
objectoptionalObject Properties
Possible values
amperes
: Amperes <https://en.wikipedia.org/wiki/Ampere>microamperes
: Microamperes <https://en.wikipedia.org/wiki/Microampere>milliamperes
: Milliamperes <https://en.wikipedia.org/wiki/Milliampere>nanoamperes
: Nanoamperes <https://en.wikipedia.org/wiki/Nanoampere>
Possible values
amperes
: Amperes <https://en.wikipedia.org/wiki/Ampere>microamperes
: Microamperes <https://en.wikipedia.org/wiki/Microampere>milliamperes
: Milliamperes <https://en.wikipedia.org/wiki/Milliampere>nanoamperes
: Nanoamperes <https://en.wikipedia.org/wiki/Nanoampere>
Possible values
queued
: The async API call is queued.uploaded
: The async API call was uploaded to be converted.in_progress
: The async API call is in progress.completed
: The async API call has completed.failed
: The async API call has failed.
get
/unit/conversion/current/{input_unit}/{output_unit}$ curl "https://api.zoo.dev/unit/conversion/current/{input_unit}/{output_unit}" \
--header "Authorization: Bearer $TOKEN"
200 OK
Response{
"completed_at": "2025-01-07T17:17:59.974Z",
"created_at": "2025-01-07T17:17:59.974Z",
"error": "dMGIQPSB2F",
"id": "6a53b62a-96d7-4c2b-8741-6e296e8bf4e8",
"input": 29,
"input_unit": "amperes",
"output": 14,
"output_unit": "amperes",
"started_at": "2025-01-07T17:17:59.974Z",
"status": "failed",
"updated_at": "2025-01-07T17:17:59.974Z",
"user_id": "f9cca6f6-543f-4cdd-8f1c-1600dc8096fd"
}