Click or drag to resize
RallyRestApiGetAttributesByType Method
Get the attribute definitions for the specified type

Namespace: Rally.RestApi
Assembly: Rally.RestApi (in Rally.RestApi.dll) Version: 3.1.1.0 (3.1.1.0)
Syntax
public QueryResult GetAttributesByType(
	string type
)

Parameters

type
Type: SystemString
The type to get attributes for

Return Value

Type: QueryResult
Returns a QueryResult object containing the attribute definitions for the specified type.
Exceptions
ExceptionCondition
RallyUnavailableExceptionRally returned an HTML page. This usually occurs when Rally is off-line. Please check the ErrorMessage property for more information.
RallyFailedToDeserializeJsonThe JSON returned by Rally was not able to be deserialized. Please check the JsonData property for what was returned by Rally.
Examples
C#
DynamicJsonObject allowedValues = restApi.GetAllowedAttributeValues("defect", "severity");
See Also