Beispiel #1
0
        public Dictionary <string, object> GetSubPageRecord(string subPageKey, int recordId, String token)
        {
            var subPageId = GetMinistryPlatformId(subPageKey);
            var result    = Call <SelectQueryResult>(token,
                                                     platformClient => platformClient.GetSubpageRecord(subPageId, recordId, false));

            return(MPFormatConversion.MPFormatToDictionary(result));
        }
Beispiel #2
0
 public Dictionary <string, object> GetLookupRecord(String token, int pageId, string search, string sort, int maxNumberOfRecordsToReturn = 100)
 {
     return(MPFormatConversion.MPFormatToDictionary(GetPageLookupRecords(token, pageId, search, sort, maxNumberOfRecordsToReturn)));
 }
Beispiel #3
0
 public Dictionary <string, object> GetRecordDict(int pageId, int recordId, String token, bool quickadd = false)
 {
     return(MPFormatConversion.MPFormatToDictionary(GetRecord(pageId, recordId, token, quickadd)));
 }