Click or drag to resize
RefGetOidFromRef Method
Get the object id 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 GetOidFromRef(
	string reference
)

Parameters

reference
Type: SystemString
The ref to get the object id from

Return Value

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

// returns "1234"
See Also