Click or drag to resize
RallyRestApiGetAllowedAttributeValues Method
Get the allowed values for the specified type and attribute

Namespace: Rally.RestApi
Assembly: Rally.RestApi (in Rally.RestApi.dll) Version: 3.1.1.0 (3.1.1.0)
Syntax
public QueryResult GetAllowedAttributeValues(
	string typePath,
	string attributeName
)

Parameters

typePath
Type: SystemString
the type
attributeName
Type: SystemString
the attribute to retrieve allowed values for

Return Value

Type: QueryResult
Returns a DynamicJsonObject containing the allowed values for the specified type and attribute.
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