You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register
Get Started: AI Resources for Oracle Cloud HCM – Go Here

Progress with Redwood: Redwood Resources for Oracle Cloud HCM -  Go Here

.NET Code sample for SearchCandidate with Hibernate Error

edited Dec 14, 2022 6:32AM in Taleo Business Edition (TBE)

Content

* Posted by Shirley Wong on October 8, 2009 at 3:36pm

I am trying to search matching candidates by the following code in .NET C#

net.taleo.tbe.WebAPI.mapItem Param1 = new net.taleo.tbe.WebAPI.mapItem();
net.taleo.tbe.WebAPI.mapItem Param2 = new net.taleo.tbe.WebAPI.mapItem();
net.taleo.tbe.WebAPI.mapItem[] SearchParams = new net.taleo.tbe.WebAPI.mapItem[2];

IWebAPIService webapi = new IWebAPIService();

private void btnSearch_Click(object sender, RoutedEventArgs e)
{
Param1.key = "city";
Param1.value = "Nashville";
SearchParams[0] = Param1;

Param2.key = "state";
Param2.value = "TN";
SearchParams[1] = Param2;

Try
{
SearchResult = webapi.searchCandidate(sessionID, SearchParams);
//SearchResult is of type net.taleo.tbe.WebAPI.SearchResultArr

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!