/// <summary> /// This endpoint will return an array of questionnaires linked to this account in order of creation date. Only public or published questionaires will be returned. Draft items are not accessible. /// </summary> /// <param name="offset">The number of items to skip before starting to collect the result set</param> /// <param name="limit">The numbers of items to return. Up to 50 items can be returned at a time</param> /// <returns></returns> public List <GetQuestionnairesResponse> ListQuestionnaires(long offset = 0, long limit = 50) { var url = $"questionnaires?"; url = HttpHelpers.OffSetsandLimits(url, offset, limit); var json = HttpHelpers.HttpGet(url); var retVal = JsonConvert.DeserializeObject <List <GetQuestionnairesResponse> >(json); return(retVal); }
/// <summary> /// This endpoint will return a list of referee's linked to your account in order of creation date. /// </summary> /// <param name="offset">The number of items to skip before starting to collect the result set</param> /// <param name="limit">The numbers of items to return. Up to 50 items can be returned at a time.</param> /// <returns></returns> public GetRefereesResponse ListReferees(long offset = 0, long limit = 50) { var url = $"referees?"; url = HttpHelpers.OffSetsandLimits(url, offset, limit); var json = HttpHelpers.HttpGet(url); var retVal = JsonConvert.DeserializeObject <GetRefereesResponse>(json); return(retVal); }