示例#1
0
        /// <summary>
        /// Given a "DefinedType" guid, this will return that "DefinedType"s id.
        /// The Id can then be used to get the "DefinedValues" for this "DefinedType".
        /// </summary>
        public static void GetDefinedTypeIdForGuid(string definedTypeGuid, HttpRequest.RequestResult <List <Rock.Client.DefinedType> > resultHandler)
        {
            string oDataFilter = string.Format("?$filter=Guid eq guid'{0}'", definedTypeGuid);

            RockApi.Get_DefinedTypes(oDataFilter, resultHandler);
        }