Show Asset By Code
show_asset_by_code_companyRetrieve complete asset details by asset code or ID from Procore. Use when you know the asset and need its full field set; read-only.
Instructions
Returns Asset Details by given Asset ID / Asset Code (case-insensitive). Use this when you already know which asset you want and need its full field set. company_id defaults to the value set by procore_set_config when omitted, and asset_code must identify an existing parent record — resolve it with the matching list tool first. Returns a single JSON object describing the asset. Read-only — it changes nothing in Procore. Failures come back as an error payload carrying the HTTP status — commonly 401 when the token has expired, 403 without tool permission, and 404 when an id does not resolve. Required parameters: company_id, asset_code. Procore API (v2.0): Core > Assets. Endpoint: GET /rest/v2.0/companies/{company_id}/assets/by_code/{asset_code}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset_code | Yes | URL path parameter — asset ID / asset code identifier (case-insensitive) | |
| company_id | Yes | URL path parameter — unique identifier for the company. | |
| Accept-Language | No | JSON request body field — locale for localized response messages (for example: en, fr-FR, pseudo) | |
| wrap_custom_fields | No | Query string parameter — when true, wraps each custom field value as {"value": ...} and renames "name" to "label" inside LOV objects. |