public async void can_search_by_external_id() { JobsClient jobs = new JobsClient(ACCESS_KEY, SECRET_KEY, TenantName.ONEBLINK_TEST); string externalId = "EXT-01"; JobsSearchResult response = await jobs.SearchByExternalId(externalId); Assert.NotNull(response); }
public async void can_search_by_form_id() { JobsClient jobs = new JobsClient(ACCESS_KEY, SECRET_KEY, TenantName.ONEBLINK_TEST); int formId = 476; JobsSearchResult response = await jobs.SearchByFormId(formId); Assert.NotNull(response); }
public async void can_search_by_username() { JobsClient jobs = new JobsClient(ACCESS_KEY, SECRET_KEY, TenantName.ONEBLINK_TEST); string username = "******"; JobsSearchResult response = await jobs.SearchByUsername(username); Assert.NotNull(response); }
public async void can_search_with_multiple_fields() { JobsClient jobs = new JobsClient(ACCESS_KEY, SECRET_KEY, TenantName.ONEBLINK_TEST); JobsSearchParameters searchParams = new JobsSearchParameters() { externalId = "EXT-01", username = "******", formId = 476 }; JobsSearchResult response = await jobs.SearchJobs(searchParams); Assert.NotNull(response); }