McMain icon

McMain

Interact with McMain API

Asset Type → Get Details

AI-generated

Summary

Retrieve asset type details by ID from the McMain API.

Inputs

  • id (required) — ID of the asset type to retrieve details for.
  • requestOptions — Configuration for the HTTP request such as batching, timeout, proxy, and SSL verification.

Output shape

a single asset type object

The response contains the asset type record returned by the API; no pagination; on error an error envelope is returned.

Examples

Example 1: Get details for asset type ID 9876

Set Asset Type ID to 9876; leave requestOptions as defaults.

Discussion