Click or drag to resize
RefGetTypeFromRef Method
Get the type from the specified ref

Namespace: Rally.RestApi
Assembly: Rally.RestApi (in Rally.RestApi.dll) Version: 3.1.1.0 (3.1.1.0)
Syntax
public static string GetTypeFromRef(
	string reference
)

Parameters

reference
Type: SystemString
The ref to get the type from

Return Value

Type: String
The type of the specified ref
Examples
C#
string fullyQualifiedRef = "https://rally1.rallydev.com/slm/webservice/v2.0/user/1234";
string relativeRef = Ref.GetTypeFromRef(fullyQualifiedRef);

// returns "user"
See Also