private Request GetInternal(EnrollmentChecks enrollmentChecks) { enrollmentChecks.SetRequiredFields(new List <string> { GlobalConstants.Id }); enrollmentChecks.CheckRequiredFields(); return(new Request( uri: PrepareUri("/accounts/" + _client.Account() + "/enrollmentchecks/" + enrollmentChecks.Id()) )); }
/// <summary> /// Get the Enrollment Lookup /// </summary> /// <param name="auth">EnrollmentLookups</param> /// <returns>EnrollmentLookups</returns> public EnrollmentChecks Get(EnrollmentChecks enrollmentChecks) { enrollmentChecks.SetRequiredFields(new List <string> { GlobalConstants.Id }); enrollmentChecks.CheckRequiredFields(); Request request = new Request( uri: PrepareUri("/accounts/" + _client.Account() + "/enrollmentchecks/" + enrollmentChecks.Id()) ); dynamic response = _client.ProcessRequest(request); return(new EnrollmentChecks(response)); }