Skip to main content

Get Unit

GET 

/api/v1/units/:unit

Get a Unit by its ID.

Request

Path Parameters

    unit integerrequired

    Possible values: > 0

    ID of the Unit

Responses

Success

Schema

    id integerrequired

    ID of the Unit

    Possible values: > 0

    Example: 1000
    name stringrequired

    Name of the Unit

    Example: Unit 1
    createdAt date-timerequired

    Creation Date of the Unit

    Example: 2025-03-12T18:12:44.465Z
    updatedAt date-timerequired

    Update Date of the Unit

    Example: 2025-03-12T18:12:44.465Z

    workspace

    object

    required

    id integerrequired

    ID of the Workspace

    Possible values: > 0

    Example: 1000
    name stringrequired

    Name of the Workspace

    Example: Workspace 1

    asset

    object

    required

    id integerrequired

    ID of the Asset

    Possible values: > 0

    Example: 1000
    name stringrequired

    Name of the Asset

    Example: Asset 1

    division

    object

    required

    id integerrequired

    ID of the Division

    Possible values: > 0

    Example: 1000
    name stringrequired

    Name of the Division

    Example: Division 1
Loading...