Skip to main content

Units LIST

GET 

https://sandbox.absmartly.com/v1/unit_types

Required Permissions: UnitType List or UnitType Admin

Request

Query Parameters

    sort string

    The object key to sort the results by.

    sort_asc boolean
    page integer
    items integer

Responses

A JSON Object containing an array of all units.

Schema
    items integer
    page integer

    Possible values: >= 1

    total integer
    unit_types object[]
  • Array [
  • id integer
    name string
    description string
    created_at date-time
    created_by_user_id integer
    updated_at date-timenullable
    updated_by_user_id integernullable
    created_by object
    archived boolean
    avatar objectnullable
    avatar_file_upload_url string
    created_at date-time
    created_by_user_id integer

    Possible values: >= 1

    department string
    email email
    archived boolean
  • ]

Authorization: Authorization

name: Authorizationtype: apiKeyin: headerdescription: A User API Key for API authorization. **Must be in the format "Api-Key your_user_api_key"**scheme: ^Api-Key\s\S+
curl -L -X GET 'https://sandbox.absmartly.com/v1/unit_types' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
Request Collapse all
Base URL
https://sandbox.absmartly.com/v1
Auth
Parameters
— query
— query
— query
— query
ResponseClear

Click the Send API Request button above and see the response here!