Skip to main content

Get assets for company

GET 

/api/inspect/v1/asset

Fetch the list of assets for the given company that the user has access to.

Request

Query Parameters

    companyID stringrequired

    Company ID for which assets are to be fetched.

Responses

200 response

Schema

    data

    object[]

    The list of assets.

  • Array [

  • createdAt int64

    Timestamp when the asset was created in milliseconds

    demo boolean

    Whether the asset is a demo asset

    name string

    Name of the asset

    rating double

    Rating of the asset

    updatedBy int64

    ID of the user who last updated the asset

    id uuid

    Unique identifier (ID) for the asset

    companyID uuid

    ID of the company to which the asset belongs

    createdBy int64

    ID of the user who created the asset

    geolocation

    object

    Geolocation of the asset

    geometry

    object

    The geometry of the entity on the Map.

    coordinates double[]

    Possible values: >= 2, <= 2

    The latitude and longitude coordinates of the entity on the Map.

    type string

    The type of geometry used, typically indicating the format of the map coordinates.

    properties

    object

    The properties of the entity on the Map.

    address string

    The address of the entity on the Map.

    name string

    The name of the entity on the Map.

    type string

    The type of geometry used, typically indicating the format of the map coordinates.

    type int32

    Possible values: [1, 2, 3, 4, 5]

    Type of the asset. 1 = Bridge, 2 = Building, 3 = Road, 4 = Tunnel, 5 = Others

    archived boolean

    Whether the asset is archived

    favorite boolean

    Whether the asset is a favorite asset

    thumbnailURL uri

    URL to the thumbnail of the asset

    updatedAt int64

    Timestamp when the asset was last updated in milliseconds

  • ]

Loading...