RallyRestApiGetAllowedAttributeValues Method |
Get the allowed values for the specified type and attribute
Namespace: Rally.RestApiAssembly: Rally.RestApi (in Rally.RestApi.dll) Version: 3.1.1.0 (3.1.1.0)
Syntax public QueryResult GetAllowedAttributeValues(
string typePath,
string attributeName
)
Public Function GetAllowedAttributeValues (
typePath As String,
attributeName As String
) As QueryResult
public:
QueryResult^ GetAllowedAttributeValues(
String^ typePath,
String^ attributeName
)
member GetAllowedAttributeValues :
typePath : string *
attributeName : string -> QueryResult
Parameters
- typePath
- Type: SystemString
the type - attributeName
- Type: SystemString
the attribute to retrieve allowed values for
Return Value
Type:
QueryResultReturns a
DynamicJsonObject containing the allowed values for the specified type and attribute.
Exceptions Exception | Condition |
---|
RallyUnavailableException | Rally returned an HTML page. This usually occurs when Rally is off-line. Please check the ErrorMessage property for more information. |
RallyFailedToDeserializeJson | The JSON returned by Rally was not able to be deserialized. Please check the JsonData property for what was returned by Rally. |
Examples DynamicJsonObject allowedValues = restApi.GetAllowedAttributeValues("defect", "severity");
See Also