示例#1
0
        /*
         * /eventlist/[accountid]*
         * deleted (optional)
         * lastmodified-gt
         * (optional)
         * lastmodified-lt (optional)
         * attendees_modified-gt
         * (optional)
         * attendees_modified-lt
         * (optional)
         * pageNumber (optional)
         * pageSize (optional)
         */
        public static DataSet ListEvents(ScribeConnection connection,
                                         DateTime?modifiedAfter = null, DateTime?modifiedBefore = null, DateTime?attendeesModifiedAfter = null,
                                         Dictionary <string, string> keypairs = null)
        {
            string aQuery = string.Empty;

            if (attendeesModifiedAfter.HasValue)
            {
                var d = attendeesModifiedAfter.Value.ToString("yyyy-MM-dd");
                aQuery = $"attendees_modified-gt={d}";
            }
            return(DataUtility.GetDataset(connection, Extensions.Actions.Event, null, modifiedAfter, modifiedBefore,
                                          aQuery, keypairs));
        }
示例#2
0
 /*
  * /financialtransactionlist/[accountid]/[eventid] accountid
  * accesstoken
  * deleted (optional)
  * fields (optional)
  * pageNumber (optional)
  * pageSize (optional)
  */
 public static DataSet ListFinancialTransactions(ScribeConnection connection,
                                                 Dictionary <string, string> keypairs = null)
 {
     return(DataUtility.GetDataset(connection, Extensions.Actions.FinanacialTransaction, connection.EventId, null, null, null, keypairs));
 }
示例#3
0
 /*
  * /meetinglist/[accountid]/[eventid] *
  * pageNumber (optional)
  * pageSize (optional)
  */
 public static DataSet ListMeetings(ScribeConnection connection,
                                    Dictionary <string, string> keypairs = null)
 {
     return(DataUtility.GetDataset(connection, Extensions.Actions.Meeting, connection.EventId, null, null, null, keypairs));
 }
示例#4
0
 /*
  * /attendeelist/[accountid]/[eventid]*
  * deleted (optional)
  * lastmodified-gt
  * (optional)
  * lastmodified-lt (optional)
  * pageNumber (optional)
  * pageSize (optional)
  */
 public static DataSet ListAttendees(ScribeConnection connection, DateTime?modifiedAfter = null, DateTime?modifiedBefore = null,
                                     Dictionary <string, string> keypairs = null)
 {
     return(DataUtility.GetDataset(connection, Extensions.Actions.Attendee, connection.EventId,
                                   modifiedAfter, modifiedBefore, null, keypairs));
 }