---
title: "GET /AssetTypes/byids"
method: GET
path: "/AssetTypes/byids"
tags: ["AssetTypes"]
---

# GET /AssetTypes/byids

`GET /AssetTypes/byids`

## Request

- Base URL: `https://sb2api.servicechannel.com/v3`
- URL: `https://sb2api.servicechannel.com/v3/AssetTypes/byids`
- Auth: OAuth 2
  - Authorization code: `https://sb2login.servicechannel.com/oauth/authorize`
  - Token URL: `https://sb2login.servicechannel.com/oauth/token`
- TypeScript: <https://skmtc.dev/servicechannel/apis/servicechannel-api-v-3/docs/AssetTypes/byids/get.ts> (a function with typed inputs; its response is checked against the schema)

## Query parameters

- `ids` integer[], required

## Response `200`

Request succeeded and the requested information is in the response.

- ServiceChannelServicesMessagingAssetsAssetType
  - `Id` integer
  - `IsActive` boolean
  - `HasEquipment` boolean
  - `SubscriberId` integer
  - `Parent` ServiceChannelServicesMessagingAssetsAssetType (recursive)
  - `Name` string
  - `PrimaryTrade` string
  - `TradeId` integer
  - `ParentId` integer
  - `RefrigerantPurposeId` integer
  - `RefrigerantPurposeName` string
  - `AdditionalTrades` string[]
  - `AdditionalTradesIds` integer[]
  - `IsCircuit` boolean
  - `UserId` integer
  - `AssetTypeGroupId` integer
  - `PrimaryAssetTypeId` integer
  - `BrandIds` integer[]

## Other responses

- `401`: Unauthorized indicates that the requested resource requires authentication. <br/>Error codes: 504 — API call rejected by security permissions;

---

[API](https://skmtc.dev/servicechannel/apis/servicechannel-api-v-3.md) - [All operations](https://skmtc.dev/servicechannel/apis/servicechannel-api-v-3/llms.txt) - [OpenAPI document](https://skmtc.dev/servicechannel/apis/servicechannel-api-v-3/revisions/d490d6596809?raw)
