RallyRestApiGetAttributesByType Method |
Get the attribute definitions for the specified type
Namespace: Rally.RestApiAssembly: Rally.RestApi (in Rally.RestApi.dll) Version: 3.1.1.0 (3.1.1.0)
Syntax public QueryResult GetAttributesByType(
string type
)
Public Function GetAttributesByType (
type As String
) As QueryResult
public:
QueryResult^ GetAttributesByType(
String^ type
)
member GetAttributesByType :
type : string -> QueryResult
Parameters
- type
- Type: SystemString
The type to get attributes for
Return Value
Type:
QueryResultReturns a
QueryResult object containing the attribute definitions for the specified type.
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