Help

Get one asset group by id.

Get one asset group by id.

GET
/asset-groups/{id}

Authorization

bearerAuth
AuthorizationBearer <token>

Access token from POST /directory/connect/token. Scope olifyapi.

In: header

Path Parameters

id*string
Formatuuid

Header Parameters

Olify-Tenant-Id*string

Tenant GUID the caller is allowed to access.

Formatuuid

Response Body

AssetGroup

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/asset-groups/497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Olify-Tenant-Id: 497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "names": {    "property1": "string",    "property2": "string"  },  "qrCode": "string",  "name": "string",  "description": "string",  "styleName": "string",  "localityId": "9b71895f-8a69-4102-a04b-0d26c0eb6f9d",  "locality": {    "code": "string",    "name": "string",    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"  },  "isFavorite": true,  "classId": "f0846d40-4884-40d5-8fc5-9f2c5ef371c4",  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"}