コード例 #1
0
        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);
        }
コード例 #2
0
        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);
        }
コード例 #3
0
        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);
        }
コード例 #4
0
        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);
        }