---
title: Using the GetSchemaForObject Web Method
slug: neurons-for-itsm/admin-user-help/enu/latest/using-the-getschemaforobject-web-method
createdAt: 2026-07-14T19:16:27.652Z
---

Retrieves an XML version of the metadata behind a business object. In the process, it screens out properties not appropriate for end users, such as the RecID.

## Request Syntax

string GetSchemaForObject(string sessionKey, string tenantId, string objectName)

## Parameters

- **sessionKey**: The session key from the **Connect** web method.
- **tenantId**: The tenant for which the session key is authenticated.
- **objectName**: The name of the business object, in object reference notation (such as "incident#").

## Return Value

A string value representing the schema for the specified business object, which is represented in XML.

## Example

string schemaDoc = frSvc.GetSchemaForObject(authSessionKey, tenantId, "Incident#");
