API → UnitConvert force units

Parameters

Name

Type

Req.

  • input_unit

    string
    required
    Possible values
    • dynes:  Dynes <https://en.wikipedia.org/wiki/Dyne>
    • kiloponds:  Kiloponds <https://en.wikipedia.org/wiki/Kilopond>
    • micronewtons:  Micronewtons <https://en.wikipedia.org/wiki/Newton_(unit)>
    • millinewtons:  Millinewtons <https://en.wikipedia.org/wiki/Newton_(unit)>
    • newtons:  Newtons <https://en.wikipedia.org/wiki/Newton_(unit)>
    • poundals:  Poundals <https://en.wikipedia.org/wiki/Poundal>
    • pounds:  Pounds <https://en.wikipedia.org/wiki/Pound_(force)>
  • output_unit

    string
    required
    Possible values
    • dynes:  Dynes <https://en.wikipedia.org/wiki/Dyne>
    • kiloponds:  Kiloponds <https://en.wikipedia.org/wiki/Kilopond>
    • micronewtons:  Micronewtons <https://en.wikipedia.org/wiki/Newton_(unit)>
    • millinewtons:  Millinewtons <https://en.wikipedia.org/wiki/Newton_(unit)>
    • newtons:  Newtons <https://en.wikipedia.org/wiki/Newton_(unit)>
    • poundals:  Poundals <https://en.wikipedia.org/wiki/Poundal>
    • pounds:  Pounds <https://en.wikipedia.org/wiki/Pound_(force)>
  • value

    number
    required

Returns

  • 200 OK

    successful operation

    Name

    Type

    Req.

    body

    object
    optional
    Object Properties
    • completed_at

      string / ISO-8601
      optional
    • created_at

      string / ISO-8601
      optional
    • error

      string
      optional
    • id

      string / UUID
      optional
    • input

      number
      optional
    • input_unit

      string
      optional
      Possible values
      • dynes:  Dynes <https://en.wikipedia.org/wiki/Dyne>
      • kiloponds:  Kiloponds <https://en.wikipedia.org/wiki/Kilopond>
      • micronewtons:  Micronewtons <https://en.wikipedia.org/wiki/Newton_(unit)>
      • millinewtons:  Millinewtons <https://en.wikipedia.org/wiki/Newton_(unit)>
      • newtons:  Newtons <https://en.wikipedia.org/wiki/Newton_(unit)>
      • poundals:  Poundals <https://en.wikipedia.org/wiki/Poundal>
      • pounds:  Pounds <https://en.wikipedia.org/wiki/Pound_(force)>
    • output

      number
      optional
    • output_unit

      string
      optional
      Possible values
      • dynes:  Dynes <https://en.wikipedia.org/wiki/Dyne>
      • kiloponds:  Kiloponds <https://en.wikipedia.org/wiki/Kilopond>
      • micronewtons:  Micronewtons <https://en.wikipedia.org/wiki/Newton_(unit)>
      • millinewtons:  Millinewtons <https://en.wikipedia.org/wiki/Newton_(unit)>
      • newtons:  Newtons <https://en.wikipedia.org/wiki/Newton_(unit)>
      • poundals:  Poundals <https://en.wikipedia.org/wiki/Poundal>
      • pounds:  Pounds <https://en.wikipedia.org/wiki/Pound_(force)>
    • started_at

      string / ISO-8601
      optional
    • status

      string
      optional
      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.
    • updated_at

      string / ISO-8601
      optional
    • user_id

      string / UUID
      optional
get
/unit/conversion/force/{input_unit}/{output_unit}
$ curl "https://api.zoo.dev/unit/conversion/force/{input_unit}/{output_unit}" \
	--header "Authorization: Bearer $TOKEN"
200 OK
Response
{
  "completed_at": "2024-04-26T17:03:32.030Z",
  "created_at": "2024-04-26T17:03:32.030Z",
  "error": "oQEFSC1Ihv",
  "id": "4ac5bff3-e12f-434e-af11-b2263482c79e",
  "input": 27,
  "input_unit": "dynes",
  "output": 6,
  "output_unit": "poundals",
  "started_at": "2024-04-26T17:03:32.030Z",
  "status": "completed",
  "updated_at": "2024-04-26T17:03:32.030Z",
  "user_id": "ad7b6113-97dd-4c4a-b2bd-f4fa09715121"
}