public class

TaleoConnector

extends Object
java.lang.Object
   ↳ org.mule.modules.TaleoConnector
Known Direct Subclasses
Known Indirect Subclasses

Class Overview

Cloud Connector

Summary

Fields
private TaleoClient client
private String companyCode Company code of the company
private String dispatcherUrl Url endpoint that will provide the URL for following messages
Public Constructors
TaleoConnector()
Public Methods
void connect(String username, String password)
Connect
String connectionId()
Are we connected
long createAccount(AccountBean account)
The endpoint receives a message to create an account, and sends a correlated message of account ID.
long createAttachment(long candidateId, String attachment, String attachmentName, String contentType, ByteArr binaryResume)
Create an attachment for a specific candidate, and sends a correlated message of attachment ID.
long createBackgroundCheck(BackgroundCheckBean backgroundCheck)
Create a background check.
long createCandidate(CandidateBean candidate)
Create a candidate
long createContact(ContactBean contact)
Create a Contact
long createContactLog(ContactLogBean contactLog)
Create a contact log
long createDepartment(DepartmentBean department)
Create a department
long createEmailLog(String email, String subject, String body, GregorianCalendar date)
Create a contact record that somebody sent an email to the user (INBOUND EMAIL).
long createEmailSentLog(String email, String subject, String body, GregorianCalendar date)
Create a contact record that the user sent somebody an email (OUTBOUND EMAIL).
long createEmployee(EmployeeBean employee)
Create an employee
long createEntityAttachment(String entityType, long entityId, String description, String fileName, String contentType, ByteArr data)
Create an attachment for a specific ID associated with a specific entity (i.e.
long createEvent(CalendarEventBean event)
Create an event
long createInterview(InterviewBean interview)
Create an interview instance for a specific candidate.
void createLink(String entityType1, long entityId1, String entityType2, long entityId2)
Link an entity (by ID) to another entity (by ID) in Taleo Business Edition.
long createLocation(LocationBean location)
Create a Location.
long createOffer(OfferBean offer)
Create an offer for a specific candidate.
long createReference(ReferenceBean reference)
Create a reference for a specific candidate
long createRegion(RegionBean region)
Create a Region
long createRequisition(RequisitionBean requisition)
Create a requisition
long createRequisitionTemplate(RequisitionBean requisition)
Create a requisition template.
long createTask(TaskBean task)
Create a task.
long createUser(UserBean user)
Create a User.
long createUserWithPermissions(UserBean user, Map additionalEntities)
Create a user with permission attributes
void deleteAccount(long accountId)
Delete an Account.
void deleteAttachment(long attachmentId)
Delete an attachment
void deleteBackgroundCheck(long backgroundCheckId)
Delete a background check instance.
void deleteCandidate(long candidateId)
Delete a candidate
void deleteContact(long contactId)
Delete a contact
void deleteContactLog(long contactLogId)
Delete a contact log
void deleteDepartment(long departmentId)
Delete a department
void deleteEmployee(long employeeId)
Delete an employee
void deleteEmployeeByNumber(String employeeNumber)
Delete an employee by employee number
void deleteEvent(long eventId)
Delete an event instance
void deleteInterview(long interviewId)
Delete an interview instance.
void deleteLocation(long locationId)
Delete a Location.
void deleteOffer(long offerId)
Delete an offer instance
void deleteReference(long referenceId)
Delete a reference instance.
void deleteRegion(long regionId)
Delete a Region
void deleteRequisition(long requisitionId)
Delete a requisition instance
void deleteRollingEntity(long rollingEntityId)
Delete a specific rolling entity instance based on ID
void deleteTask(long taskId)
Delete a task instance
void deleteUser(long userId)
Delete a user
void disconnect()
Disconnect
AccountBean getAccountById(long accountId)
Get an account details
HistoryBeanArr getAccountHistory(long accountId)
Get an account history.
LongArr getAssociatedUsers(long requisitionId, String association)
Get a users association within a given requisition.
AttachmentBean getAttachment(long attachmentId)
Get an attachment by attachment ID
ByteArr getAttachmentData(long attachmentId)
Get attachment data by ID
LongArr getAttachments(long candidateId)
Get attachment(s) by candidate id.
BackgroundCheckBean getBackgroundCheckById(long backgroundCheckId)
Get a specific background check by ID
LongArr getBackgroundChecksByCandidate(long candidateId)
Get all background checks for a specific Candidate ID
ByteArr getBinaryOffer(long offerId)
Get the offer letter binary attachment associated with a candidate (based on offer ID).
ByteArr getBinaryResume(long candidateId)
Get the primary resume binary attachment associated with a candidate.
String getCandReqStatus(long candidateId, long requisitionId)
Get a status of a requisition for a particular candidate
CandidateBean getCandidateById(long candidateId)
Get a candidate general information by ID
CandidateDetailsBean getCandidateDetailsById(long candidateId, boolean includeRequisitions, boolean includeInterviews, boolean includeReferences, boolean includeHistory, boolean includeAttachments, boolean includeOffers)
Get candidate detailed information by ID.By default all flags are true
HistoryBeanArr getCandidateHistory(long candidateId)
Get a Candidate transaction history
WorkHistoryArr getCandidateWorkHistory(long candidateId)
Get the rolling entity specific to a candidate’s work history form details
LongArr getCandidatesByRequisition(long requisitionId)
Get all candidates by Requisition ID
String getCompanyCode()
ContactBean getContactById(long contactId)
Get a contact details
HistoryBeanArr getContactHistory(long contactId)
Get a Contact transaction history
ContactLogBean getContactLogById(long contactLogId)
Get a contact log details by contact log ID
LongArr getContactLogsByEntity(String entityType, long entityId)
Get contact log(s) associated with any Taleo Business Edition entity that supports storing of contact logs
DepartmentBean getDepartmentById(long departmentId)
Get a Department details
DepartmentBean getDepartmentByName(String departmentName)
Get a Department details
DepartmentArr getDepartments()
Get all Departments.
String getDispatcherUrl()
EmployeeBean getEmployeeById(long employeeId)
Get employee general information by ID
EmployeeBean getEmployeeByNumber(String employeeNumber)
Get employee general information by Number
String getEnabledServices()
Get the all the application modules the company code has turned on.
LongArr getEntityAttachments(String entityType, long entityId)
Get attachment(s) associated with any Taleo Business Edition entity that supports attachment upload.
LongArr getEventByEntity(String entityType, long entityId)
Get event(s) associated with any Taleo Business Edition entity that supports storing/creation of calendar events.
CalendarEventBean getEventById(long eventId)
Get event details by event ID
InterviewBean getInterviewById(long interviewId)
Get interview details by interview ID
LongArr getInterviewsByCandidate(long candidateId)
Get interview(s) associated with any Taleo Business Edition candidate
LocationBean getLocationById(long locationId)
Get a Location details
LocationBean getLocationByName(String locationName)
Get a Location details
LocationArr getLocations()
Get all Locations.
String getLoginToken(String sessionId)
Retrieve the token results of a login session ID.
LookupArr getLookup(String fieldName)
Lookup picklist values for a given field.
MetadataArr getMetadata(EntityTypeEnum entityType)
Retrieve all field values within an entity.
OfferBean getOfferById(long offerId)
Get offer details by offer ID.
LongArr getOffers(long candidateId)
Get offer(s) associated with any Taleo Business Edition candidate.
LongArr getPublicEvents(GregorianCalendar startDate, GregorianCalendar endDate)
Get all public events within a start date and end date
ReferenceBean getReferenceById(long referenceId)
Get reference details by reference ID.
LongArr getReferencesByCandidate(long candidateId)
Get reference(s) associated with any Taleo Business Edition candidate
RegionBean getRegionById(long regionId)
Get a Region details
RegionBean getRegionByName(String regionName)
Get a Region details.
RegionArr getRegions()
Get all Regions.
RequisitionBean getRequisitionById(long requisitionId)
Get requisition details by requisition ID
HistoryBeanArr getRequisitionHistory(long requisitionId)
Get a Requisition transaction history.
LongArr getRequisitions(long candidateId)
Get requisition(s) associated with any Taleo Business Edition candidate
FlexRollingEntityBeanArr getRollingEntities(String rollingEntityType, String entityType, long entityId)
Get a specific rolling entity for a candidate or employee.
Map getSystemProps()
Get the system props of a company code using valid session variable.
LongArr getTaskByEntity(String entityType, long entityId)
Get task(s) associated with any Taleo Business Edition entity that supports storing/creation of task events
TaskBean getTaskById(long taskId)
Get task details by task ID
LongArr getTaskByUser(long userId, GregorianCalendar startDate, GregorianCalendar endDate)
Get all tasks associated with a user
String getUrl(String companyCode)
Get URL of a company code, or customer instance.
UserBean getUserById(long userId)
Get an User details
HistoryBeanArr getUserHistory(long userId)
Get a Users system history within Taleo Business Edition.
boolean isConnected()
Are we connected
String loginPartner(String orgCode, String partnerCode, long currentTimeMillis, String digest)
Login a Partner.
String parseResume(ByteArr binaryAttachment)
Receives a message resume binary attachment, and sends back a passed output of resume data (using third-party provider ResumeMirror)
CandidateInsertResultBean parseResumeIntoCandidate(ByteArr binaryAttachment, String referredBy, String fileName)
Creates a new candidate with contact information parsed with the original resume appended to the candidate record, and sends back: Candidate ID (either newly created or existing if duplicate) Duplicate Value where 0 equals none existing and 1 equals duplicate exists
void postRequisition(long requisitionId, long posterId, int formVersion)
Post a specific requisition to a supported posting location.
void removeAssociatedUser(long requisitionId, String association, long userId)
Remove an association of a user to a requisition.
void removeCandidate(long candidateId, long requisitionId)
Remove an existing candidate assignment from a requisition (both based on ID variables)
void removeLink(String entityType1, long entityId1, String entityType2, long entityId2)
Remove Linkage between two entities in Taleo Business Edition.
SearchResultArr searchAccount(Map searchParams)
Query all accounts based on defined key (field name) and value (data looking for), and sends a correlated message of Account ID and associated search relevance.
SearchResultArr searchCandidate(Map searchParams)
Query all candidates based on defined key (field name) and value (data looking for).
SearchResultArr searchContact(Map searchParams)
Query all contacts based on defined key (field name) and value (data looking for)
SearchResultArr searchEmployee(Map searchParams)
Query all employees based on defined key (field name) and value (data looking for)
SearchResultArr searchRequisition(Map searchParams)
Query all requisitions based on defined key (fieldname) and value (data looking for).
SearchResultArr searchUser(Map searchParams)
Query all Users based on defined key (field name) and value (data looking for).
void setAssociatedUser(long requisitionId, String association, long userId, int userSequenceNumber)
Set a user’s association to a requisition
void setBinaryOffer(long offerId, String fileName, ByteArr content)
Append an offer letter attachment by offer ID
void setBinaryResume(long candidateId, String fileName, ByteArr binaryAttachment)
Append a resume attachment to a candidate ID.
void setCompanyCode(String companyCode)
void setDispatcherUrl(String dispatcherUrl)
void submitCandidate(long candidateId, LongArr requisitionIds)
Submit a candidate to a requisition(s)
void unpostRequisition(long requisitionId, long posterId)
Unpost a specific requisition to a posting location
void updateAccount(AccountBean account)
Update an existing account.
void updateAttachment(long attachmentId, String description, String attachmentName, String contentType, ByteArr binaryResume)
Update an existing attachment.
void updateBackgroundCheck(BackgroundCheckBean backgroundCheck)
Update an existing BackgroundCheck instance.
void updateCandidate(CandidateBean candidate)
Update an existing candidate.
void updateContact(ContactBean contact)
Update an existing contact.
void updateContactLog(ContactLogBean contactLog)
Update an existing contact log.
void updateEmployee(EmployeeBean employee)
Update an existing employee.
void updateEvent(CalendarEventBean event)
Update an existing calendar event.
void updateInterview(InterviewBean interview)
Update an existing interview instance.
void updateOffer(OfferBean offer)
Update an existing offer instance Update requests replace all data fields in the offerBean (i.e.
void updateReference(ReferenceBean reference)
Update an existing reference instance.
void updateRequisition(RequisitionBean requisition)
Update an existing requisition instance.
void updateTask(TaskBean task)
Update an existing task event.
void updateUser(UserBean user)
Update an existing user.
void upsertCandidateToRequisitions(long candidateId, LongArr requisitionIds, long statusId, long reasonId, boolean doRanking)
Upsert, or append a candidate to a requisition
long upsertDepartment(DepartmentBean department)
Update or create a department instance.
long upsertEmployee(String employeeNumber, EmployeeBean employee)
Upsert an existing employee record (create new and/or update existing).
long upsertLocation(LocationBean location)
Update or create a Location instance.
long upsertRegion(RegionBean region)
Update or create a Region instance.
long upsertRollingEntity(FlexRollingEntityBean rollingEntityBean)
Update an existing rolling entity instance.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

private TaleoClient client

private String companyCode

Company code of the company

private String dispatcherUrl

Url endpoint that will provide the URL for following messages

Public Constructors

public TaleoConnector ()

Public Methods

public void connect (String username, String password)

Connect

Parameters
username A username
password A password
Throws
ConnectionException

public String connectionId ()

Are we connected

public long createAccount (AccountBean account)

The endpoint receives a message to create an account, and sends a correlated message of account ID. Accounts are the companies and organizations involved with your business such as employers, customers, search firms, agencies, etc.

Parameters
account AcountBean with name
Returns
  • Provided Account ID
Throws
TaleoException Exception

public long createAttachment (long candidateId, String attachment, String attachmentName, String contentType, ByteArr binaryResume)

Create an attachment for a specific candidate, and sends a correlated message of attachment ID. Attachments are all of the appended files associated with any entity in Taleo Business Edition. There is a one-to-many relationship with attachments to entities. Entities include accounts (ACCT), candidates (CAND), contacts (CTCT), employees (EMPL), requisitions (REQU) and users (WORK).

Parameters
candidateId Candidate Id
attachment Attachment description
attachmentName Attachment name
contentType Content Type
binaryResume Base64 data
Returns
  • Provided Attachment Id
Throws
TaleoException Exception

public long createBackgroundCheck (BackgroundCheckBean backgroundCheck)

Create a background check. Background checks provides background check information that may have occurred for a specific candidate in Taleo Business Edition. There is a one-to-many relationship with candidates to background checks.

Parameters
backgroundCheck BackgroundCheck entity to create
Returns
  • Provided Background Check Id
Throws
TaleoException Exception

public long createCandidate (CandidateBean candidate)

Create a candidate

Parameters
candidate Candidate required fields Status, email, lastname
Returns
  • Provided Candidate ID
Throws
TaleoException Exception

public long createContact (ContactBean contact)

Create a Contact

Parameters
contact Required field: lastName
Returns
  • Provided Contact ID
Throws
TaleoException Exception

public long createContactLog (ContactLogBean contactLog)

Create a contact log

Parameters
contactLog ContactLog required fields: creator, typeNo, entityType, entityId, subject
Returns
  • Provided Contact Log ID
Throws
TaleoException Exception

public long createDepartment (DepartmentBean department)

Create a department

Parameters
department Required field: Name
Returns
  • Provided Department ID
Throws
TaleoException Exception

public long createEmailLog (String email, String subject, String body, GregorianCalendar date)

Create a contact record that somebody sent an email to the user (INBOUND EMAIL).

Parameters
email Email address of candidate, contact, or user (must already exist)
subject Subject of email message
body Body of email message
date Calendar of email message
Returns
  • Provided Contact Log ID
Throws
TaleoException Exception

public long createEmailSentLog (String email, String subject, String body, GregorianCalendar date)

Create a contact record that the user sent somebody an email (OUTBOUND EMAIL). Tries to match outgoing email address against candidate, then contact, then user.

Parameters
email Email address of candidate, contact, or user (must already exist)
subject Subject of email message
body Body of email message
date Calendar of email message
Returns
  • Provided Contact Log ID
Throws
TaleoException Exception

public long createEmployee (EmployeeBean employee)

Create an employee

Parameters
employee Employee with status, employeeNumber, lastName, ewsLogin, ewsPassword
Returns
  • Provided Employee ID
Throws
TaleoException Exception

public long createEntityAttachment (String entityType, long entityId, String description, String fileName, String contentType, ByteArr data)

Create an attachment for a specific ID associated with a specific entity (i.e. Candidate, Employee, Account, etc.).

Parameters
entityType Entity type
entityId ID of associated entity
description Description of the file
fileName Binary File Name
contentType Content Type
data Attachment data
Returns
  • Provided Attachment ID
Throws
TaleoException Exception

public long createEvent (CalendarEventBean event)

Create an event

Parameters
event Event required fields: status, duration, entityId, andtityType, startDate, eventiId, eventType, personId, personType.
Returns
  • Provided Event ID
Throws
TaleoException Exception

public long createInterview (InterviewBean interview)

Create an interview instance for a specific candidate.

Parameters
interview Interview with status, candidateId, interviewType, requisitionId and startDate.
Returns
  • Provided interview ID
Throws
TaleoException Exception

public void createLink (String entityType1, long entityId1, String entityType2, long entityId2)

Link an entity (by ID) to another entity (by ID) in Taleo Business Edition.

Links are what tie one entity attribute to another. For example, linking a candidate to a requisition, or an attachment to a candidate.

Full list of entities include:

  • Account = ACCT
  • Candidate = CAND
  • Contact = CTCT
  • Requisition = REQU
  • User = WORK

Where the following linkage is available:

  • ACCT to REQU
  • CTCT to REQU
  • ACCT to CAND
  • CTCT to CAND
  • CAND to WORK

Parameters
entityType1 EntityType as provided in above list
entityId1 ID of entity type 1
entityType2 EntityType as provided in above list
entityId2 ID of entity type 2
Throws
TaleoException Exception

public long createLocation (LocationBean location)

Create a Location.

Parameters
location Location required fields: locationName.
Returns
  • Provided Location ID
Throws
TaleoException Exception

public long createOffer (OfferBean offer)

Create an offer for a specific candidate.

Parameters
offer Offer Required fields: Status, candidateId, employmentType, manager, requisitionId, title
Returns
  • Provided Offer ID
Throws
TaleoException Exception

public long createReference (ReferenceBean reference)

Create a reference for a specific candidate

Parameters
reference Reference required fields: status, candidateId, refName
Returns
  • Provided Reference ID
Throws
TaleoException Exception

public long createRegion (RegionBean region)

Create a Region

Parameters
region Required fields: name.
Returns
  • Provided Region ID
Throws
TaleoException Exception

public long createRequisition (RequisitionBean requisition)

Create a requisition

Parameters
requisition Requisition required fields: Status, title, location.
Returns
  • Provided Requisition ID
Throws
TaleoException Exception

public long createRequisitionTemplate (RequisitionBean requisition)

Create a requisition template. Templates are the available jobs preloaded in Taleo for users to post easily with consistency. They are stored in the job library.

Parameters
requisition Requisition required fields: status, location, title.
Returns
  • Provided Requisition ID.
Throws
TaleoException Exception

public long createTask (TaskBean task)

Create a task.

Parameters
task Task required fields: status, creator, priority, subject, eventyId, evenType, personId, personType, startDate
Returns
  • Provided Task ID
Throws
TaleoException Exception

public long createUser (UserBean user)

Create a User. Users are all the people with access to your Taleo Business Edition system including hiring managers, recruiters, interviewers, staffing agencies, etc. For more details check Taleo Business Guide User’s role:

  • 'A' = Administrator
  • 'M' = Hiring Manager
  • 'R' = Recruiter
  • 'E’ = Employee
  • 'G' = Agency
  • ‘-‘ = no access

Parameters
user User required fields: status, email, lastName, loginName, role
Returns
  • Provided User ID
Throws
TaleoException Exception

public long createUserWithPermissions (UserBean user, Map additionalEntities)

Create a user with permission attributes

Parameters
user User required fields: status, email, lastName, loginName, role
additionalEntities A map containing:
  • approver (Boolean)
  • offerAppr (Boolean)
  • reviewManager(Boolean)
  • reviewApprover(Boolean)
Returns
  • Provided user ID
Throws
TaleoException Exception

public void deleteAccount (long accountId)

Delete an Account.

Parameters
accountId ID of Account
Throws
TaleoException Exception

public void deleteAttachment (long attachmentId)

Delete an attachment

Parameters
attachmentId ID of attachment
Throws
TaleoException Exception

public void deleteBackgroundCheck (long backgroundCheckId)

Delete a background check instance.

Parameters
backgroundCheckId ID of Background Check
Throws
TaleoException Exception

public void deleteCandidate (long candidateId)

Delete a candidate

Parameters
candidateId ID of Candidate
Throws
TaleoException Exception

public void deleteContact (long contactId)

Delete a contact

Parameters
contactId ID of contact
Throws
TaleoException Exception

public void deleteContactLog (long contactLogId)

Delete a contact log

Parameters
contactLogId ID of contact log
Throws
TaleoException Exception

public void deleteDepartment (long departmentId)

Delete a department

Parameters
departmentId ID of department
Throws
TaleoException Exception

public void deleteEmployee (long employeeId)

Delete an employee

Parameters
employeeId ID of Employee
Throws
TaleoException Exception

public void deleteEmployeeByNumber (String employeeNumber)

Delete an employee by employee number

Parameters
employeeNumber Number of Employee
Throws
TaleoException Exception

public void deleteEvent (long eventId)

Delete an event instance

Parameters
eventId ID of Event
Throws
TaleoException Exception

public void deleteInterview (long interviewId)

Delete an interview instance.

Parameters
interviewId ID of interview
Throws
TaleoException Exception

public void deleteLocation (long locationId)

Delete a Location.

Parameters
locationId ID of Location
Throws
TaleoException Exception

public void deleteOffer (long offerId)

Delete an offer instance

Parameters
offerId ID of Offer
Throws
TaleoException Exception

public void deleteReference (long referenceId)

Delete a reference instance.

Parameters
referenceId ID of Reference
Throws
TaleoException Exception

public void deleteRegion (long regionId)

Delete a Region

Parameters
regionId ID of Region
Throws
TaleoException Exception

public void deleteRequisition (long requisitionId)

Delete a requisition instance

Parameters
requisitionId ID of requisition.
Throws
TaleoException Exception

public void deleteRollingEntity (long rollingEntityId)

Delete a specific rolling entity instance based on ID

Parameters
rollingEntityId ID of rolling entity
Throws
TaleoException Exception

public void deleteTask (long taskId)

Delete a task instance

Parameters
taskId ID of Task
Throws
TaleoException Exception

public void deleteUser (long userId)

Delete a user

Parameters
userId ID of User
Throws
TaleoException Exception

public void disconnect ()

Disconnect

public AccountBean getAccountById (long accountId)

Get an account details

Parameters
accountId ID of Account
Returns
  • AccountBean
Throws
TaleoException Exception

public HistoryBeanArr getAccountHistory (long accountId)

Get an account history.

Parameters
accountId ID of Account
Returns
  • This object is used to fetch a history log entry which reflects a past event or action related to accounts.
Throws
TaleoException Exception

public LongArr getAssociatedUsers (long requisitionId, String association)

Get a users association within a given requisition.

Parameters
requisitionId Requisition ID
association Association Values Picklist of Association Values:
  • ‘O’ = Owner
  • ‘A’ = approvers (in order) ‘F’ = offer approvers (in order)
  • ‘V’ = agencies
Returns
  • Array of User IDs
Throws
TaleoException Exception

public AttachmentBean getAttachment (long attachmentId)

Get an attachment by attachment ID

Parameters
attachmentId ID of the attachment
Returns
  • Attachment
Throws
TaleoException Exception

public ByteArr getAttachmentData (long attachmentId)

Get attachment data by ID

Parameters
attachmentId ID of attachment
Returns
  • Attachment data
Throws
TaleoException Exception

public LongArr getAttachments (long candidateId)

Get attachment(s) by candidate id.

Parameters
candidateId ID of Candidate
Returns
  • Attachment IDs
Throws
TaleoException Exception

public BackgroundCheckBean getBackgroundCheckById (long backgroundCheckId)

Get a specific background check by ID

Parameters
backgroundCheckId ID of Background Check
Returns
  • BackgroundCheckBean
Throws
TaleoException Exception

public LongArr getBackgroundChecksByCandidate (long candidateId)

Get all background checks for a specific Candidate ID

Parameters
candidateId ID of candidate
Returns
  • BackGround Check IDI(s)
Throws
TaleoException Exception

public ByteArr getBinaryOffer (long offerId)

Get the offer letter binary attachment associated with a candidate (based on offer ID).

Parameters
offerId ID of offer instance
Returns
  • ByteArr
Throws
TaleoException Exception

public ByteArr getBinaryResume (long candidateId)

Get the primary resume binary attachment associated with a candidate.

Parameters
candidateId ID of candidate
Returns
  • binary attachment in base64Binary
Throws
TaleoException Exception

public String getCandReqStatus (long candidateId, long requisitionId)

Get a status of a requisition for a particular candidate

Parameters
candidateId ID of candidate
requisitionId ID of requisition
Returns
  • the candidate’s specific requisition status
Throws
TaleoException Exception

public CandidateBean getCandidateById (long candidateId)

Get a candidate general information by ID

Parameters
candidateId ID of Candidate
Returns
  • Candidate Bean
Throws
TaleoException Exception

public CandidateDetailsBean getCandidateDetailsById (long candidateId, boolean includeRequisitions, boolean includeInterviews, boolean includeReferences, boolean includeHistory, boolean includeAttachments, boolean includeOffers)

Get candidate detailed information by ID.By default all flags are true

Parameters
candidateId ID of candidate
includeRequisitions True/False to include or not this information
includeInterviews True/False to include or not this information
includeReferences True/False to include or not this information
includeHistory True/False to include or not this information
includeAttachments True/False to include or not this information
includeOffers True/False to include or not this information
Returns
  • CandidateDetails
Throws
TaleoException Exception

public HistoryBeanArr getCandidateHistory (long candidateId)

Get a Candidate transaction history

Parameters
candidateId ID of Candidate
Returns
  • History for
Throws
TaleoException Exception

public WorkHistoryArr getCandidateWorkHistory (long candidateId)

Get the rolling entity specific to a candidate’s work history form details

Parameters
candidateId ID of candidate
Returns
  • Work History Information
Throws
TaleoException Exception

public LongArr getCandidatesByRequisition (long requisitionId)

Get all candidates by Requisition ID

Parameters
requisitionId Requisition ID
Returns
  • Candidate ID(s)
Throws
TaleoException Exception

public String getCompanyCode ()

public ContactBean getContactById (long contactId)

Get a contact details

Parameters
contactId ID of contact
Returns
  • Contact
Throws
TaleoException Exception

public HistoryBeanArr getContactHistory (long contactId)

Get a Contact transaction history

Parameters
contactId ID of contact
Returns
  • History for contact information
Throws
TaleoException Exception

public ContactLogBean getContactLogById (long contactLogId)

Get a contact log details by contact log ID

Parameters
contactLogId ID of contact log
Returns
  • Contact Log information
Throws
TaleoException Exception

public LongArr getContactLogsByEntity (String entityType, long entityId)

Get contact log(s) associated with any Taleo Business Edition entity that supports storing of contact logs

Parameters
entityType Type of related entity: ACCT = accounts CAND = candidates EMPL = employees REQU = requisitions WORK = users
entityId ID of associated entity
Returns
  • Array of contact log IDs
Throws
TaleoException Exception

public DepartmentBean getDepartmentById (long departmentId)

Get a Department details

Parameters
departmentId ID of department
Returns
  • Department
Throws
TaleoException Exception

public DepartmentBean getDepartmentByName (String departmentName)

Get a Department details

Parameters
departmentName Name of the department
Returns
  • Department
Throws
TaleoException Exception

public DepartmentArr getDepartments ()

Get all Departments. This functions similar to getLookUp Request.

Returns
  • Array of departments
Throws
TaleoException Exception

public String getDispatcherUrl ()

public EmployeeBean getEmployeeById (long employeeId)

Get employee general information by ID

Parameters
employeeId ID of Employee
Returns
  • Employee
Throws
TaleoException Exception

public EmployeeBean getEmployeeByNumber (String employeeNumber)

Get employee general information by Number

Parameters
employeeNumber Defined Employee Number
Returns
  • Employee
Throws
TaleoException Exception

public String getEnabledServices ()

Get the all the application modules the company code has turned on.

Returns
  • String of system modules configured where:
    • 'perform' = Taleo Business Edition Perform
    • 'onBoarding' = Taleo Business Edition onBoarding
    • 'recruit' = Taleo Business Edition Recruit
    • 'backup' = Taleo Business Edition on-Demand BackUp Service
    • 'offcp' = Taleo Business Edition OFFCP Compliance Package
    • 'tsc' = Taleo Schedule Center for Recruit
    • 'tvr'= Taleo Voice Response for Recruit
    • 'generic'= Taleo Business Edition Generic Package for Recruit
    • 'staffing' = Taleo Business Edition Staffing Package for Recruit
    • 'pureDiscovery' = Pure Discovery Advanced Sourcing for Recruit
Throws
TaleoException Exception

public LongArr getEntityAttachments (String entityType, long entityId)

Get attachment(s) associated with any Taleo Business Edition entity that supports attachment upload.

Parameters
entityType Entity Type.
entityId ID of associated entity
Returns
  • List of attachments IDs
Throws
TaleoException Exception

public LongArr getEventByEntity (String entityType, long entityId)

Get event(s) associated with any Taleo Business Edition entity that supports storing/creation of calendar events.

Parameters
entityType Type of related entity: ACCT = accounts CAND = candidates EMPL = employees REQU = requisitions WORK = users
entityId ID of associated entity
Returns
  • Array of event IDs
Throws
TaleoException Exception

public CalendarEventBean getEventById (long eventId)

Get event details by event ID

Parameters
eventId ID of Event instance
Returns
  • Calendar Event
Throws
TaleoException Exception

public InterviewBean getInterviewById (long interviewId)

Get interview details by interview ID

Parameters
interviewId ID of interview instance
Returns
  • Interview
Throws
TaleoException Exception

public LongArr getInterviewsByCandidate (long candidateId)

Get interview(s) associated with any Taleo Business Edition candidate

Parameters
candidateId ID of candidate
Returns
  • Array of interview ID
Throws
TaleoException Exception

public LocationBean getLocationById (long locationId)

Get a Location details

Parameters
locationId ID of location
Returns
  • Location
Throws
TaleoException Exception

public LocationBean getLocationByName (String locationName)

Get a Location details

Parameters
locationName Name of Location
Returns
  • Location
Throws
TaleoException Exception

public LocationArr getLocations ()

Get all Locations.

Returns
  • Array of Location
Throws
TaleoException Exception

public String getLoginToken (String sessionId)

Retrieve the token results of a login session ID.

Parameters
sessionId Session ID
Returns
  • Login Session ID
Throws
TaleoException Exception

public LookupArr getLookup (String fieldName)

Lookup picklist values for a given field. Metadata and picklist fields are any field (standard or custom) that associate drop-down list of values for data consistency. getLookup ‘fieldName’ works for standard system fields solely. Where custom fields require lookup, getLookup call requires actual database field value. True database field value can be found by ‘View Source’ of the GUI page displaying the appropriate field.

Parameters
fieldName Field name
Returns
  • Array of fieldname values (display name and integration code name).
Throws
TaleoException Exception

public MetadataArr getMetadata (EntityTypeEnum entityType)

Retrieve all field values within an entity. Returns all fields within the entity including:

  • displayName (application field name)
  • integrationName (API / external field name)
  • isCustom (whether the field is a standard or custom field in TBE)
  • isReadOnly (whether the field is writable or read-only)
  • isRequired (whether the field is application-required for data entry)
  • type (the type of field defined)

Parameters
entityType Type of related entity:
  • ACCT = accounts
  • CAND = candidates
  • CTCT = contacts
  • EMPL = employees
  • REQU = requisitions
  • WORK = users
Returns
  • Array of fieldname values (display name and integration code name) and other fields.
Throws
TaleoException Exception

public OfferBean getOfferById (long offerId)

Get offer details by offer ID.

Parameters
offerId ID of offer instance
Returns
  • Offer
Throws
TaleoException Exception

public LongArr getOffers (long candidateId)

Get offer(s) associated with any Taleo Business Edition candidate.

Parameters
candidateId ID of candidate
Returns
  • Array of offer IDs
Throws
TaleoException Exception

public LongArr getPublicEvents (GregorianCalendar startDate, GregorianCalendar endDate)

Get all public events within a start date and end date

Parameters
startDate Start of start date interval.
endDate End of start date interval.
Returns
  • Array of Event IDs
Throws
TaleoException Exception

public ReferenceBean getReferenceById (long referenceId)

Get reference details by reference ID.

Parameters
referenceId ID of Reference Instance
Returns
  • Reference
Throws
TaleoException Exception

public LongArr getReferencesByCandidate (long candidateId)

Get reference(s) associated with any Taleo Business Edition candidate

Parameters
candidateId ID of candidate
Returns
  • Array of reference IDs
Throws
TaleoException Exception

public RegionBean getRegionById (long regionId)

Get a Region details

Parameters
regionId ID of Region
Returns
  • Region
Throws
TaleoException Exception

public RegionBean getRegionByName (String regionName)

Get a Region details.

Parameters
regionName Name of Region
Returns
  • Region
Throws
TaleoException Exception

public RegionArr getRegions ()

Get all Regions. This functions similar to getLookUp Request.

Returns
  • Array of Regions.
Throws
TaleoException Exception

public RequisitionBean getRequisitionById (long requisitionId)

Get requisition details by requisition ID

Parameters
requisitionId ID of requisition
Returns
  • Requisition
Throws
TaleoException Exception

public HistoryBeanArr getRequisitionHistory (long requisitionId)

Get a Requisition transaction history. This object is used to fetch a history log entry which reflects a past event or action related to requisition. History records can only be created by the server, they cannot be modified or deleted. History log includes server side ID, test describing history record, complete text of email message (for email events) and creation date.

Parameters
requisitionId ID of Requisition
Returns
  • HistoryBean
Throws
TaleoException Exception

public LongArr getRequisitions (long candidateId)

Get requisition(s) associated with any Taleo Business Edition candidate

Parameters
candidateId ID of candidate
Returns
  • requisition IDs associated with the candidate ID
Throws
TaleoException Exception

public FlexRollingEntityBeanArr getRollingEntities (String rollingEntityType, String entityType, long entityId)

Get a specific rolling entity for a candidate or employee. There is no ‘ALL’ function; a call is configured for the pulling of each rolling entity type:

  • WORK_HISTORY
  • RESIDENCE_HISTORY
  • EDUCATION
  • REFERENCES
  • CERTIFICATES_LICENCES

Parameters
rollingEntityType Acceptable Values:
  • WORK_HISTORY
  • RESIDENCE_HISTORY
  • EDUCATION
  • REFERENCES
  • CERTIFICATES_LICENCES
entityType Acceptable Value : CAND
entityId Candidate ID
Returns
  • Requested rolling entity
Throws
TaleoException Exception

public Map getSystemProps ()

Get the system props of a company code using valid session variable. System-level properties return as string-string map:

  • HiredStatuses : Comma-separated ids of statuses for hired candidates
  • OpenedStatuses : Comma-separated ids of statuses for opened requisitionss
  • MyViewStatuses : Comma-separated ids of statuses for candidates shown on “My View” page
  • PipelineStatuses : Comma-separated ids of statuses for candidates shown on “Pipeline” page

Returns
  • Array of System Property Values.
Throws
TaleoException Exception

public LongArr getTaskByEntity (String entityType, long entityId)

Get task(s) associated with any Taleo Business Edition entity that supports storing/creation of task events

Parameters
entityType Type of related entity: ACCT = accounts CAND = candidates EMPL = employees REQU = requisitions WORK = users
entityId ID of associated entity
Returns
  • Array of task IDs
Throws
TaleoException Exception

public TaskBean getTaskById (long taskId)

Get task details by task ID

Parameters
taskId ID of Task instance
Returns
  • Task
Throws
TaleoException Exception

public LongArr getTaskByUser (long userId, GregorianCalendar startDate, GregorianCalendar endDate)

Get all tasks associated with a user

Parameters
userId User ID
startDate StartDate interval for due items
endDate EndDate interval for due items
Returns
  • Array of task IDs
Throws
TaleoException Exception

public String getUrl (String companyCode)

Get URL of a company code, or customer instance. This call is always performed using URL: https://tbe.taleo.net/MANAGER/dispatcher/servlet/rpcrouter

Parameters
companyCode Company Code of Taleo Customer
Returns
  • URL requested
Throws
TaleoException Exception

public UserBean getUserById (long userId)

Get an User details

Parameters
userId User ID
Returns
  • User details
Throws
TaleoException Exception

public HistoryBeanArr getUserHistory (long userId)

Get a Users system history within Taleo Business Edition. This object is used to fetch a history log entry which reflects a past event or action related to Users. History records can only be created by the server, they cannot be modified or deleted. History log includes server side ID, test describing history record, complete text of email message (for email events) and creation date.

Parameters
userId ID of User
Returns
  • History Bean
Throws
TaleoException Exception

public boolean isConnected ()

Are we connected

public String loginPartner (String orgCode, String partnerCode, long currentTimeMillis, String digest)

Login a Partner.

Parameters
orgCode Organization code
partnerCode Partner Code
currentTimeMillis Time
digest Digest
Returns
  • Session Id of partner
Throws
TaleoException Exception

public String parseResume (ByteArr binaryAttachment)

Receives a message resume binary attachment, and sends back a passed output of resume data (using third-party provider ResumeMirror)

Parameters
binaryAttachment Binary Attachment
Returns
  • Resume data
Throws
TaleoException Exception

public CandidateInsertResultBean parseResumeIntoCandidate (ByteArr binaryAttachment, String referredBy, String fileName)

Creates a new candidate with contact information parsed with the original resume appended to the candidate record, and sends back: Candidate ID (either newly created or existing if duplicate) Duplicate Value where 0 equals none existing and 1 equals duplicate exists

Parameters
binaryAttachment Base64Binary file
referredBy Name of referral source
fileName Name of the resume file including extension. The following MIME types are acceptable:
  • Text = text/plain
  • html = text/html
  • RTF = text/richtext
  • Word = application/msword
  • DocX = application/vnd.openxmlformats- officedocument.wordprocessingml.document
  • PDF = application/pdf
Returns
  • candidateId or dup (duplicate value)
Throws
TaleoException Exception

public void postRequisition (long requisitionId, long posterId, int formVersion)

Post a specific requisition to a supported posting location. For more details check Taleo Business Guide

Parameters
requisitionId ID of Requisition
posterId ID of the posting location, for example a specific Taleo Business Edition Career Website (picklist value ID #)
formVersion ID of the required application form to be used within the posting location (picklist value ID #)
Throws
TaleoException Exception

public void removeAssociatedUser (long requisitionId, String association, long userId)

Remove an association of a user to a requisition.

Parameters
requisitionId Requisition ID
association Picklist of Association Values:
  • ‘O’ = Owner
  • ‘A’ = approvers (in order)
  • ‘F’ = offer approvers
userId ID of User
Throws
TaleoException Exception

public void removeCandidate (long candidateId, long requisitionId)

Remove an existing candidate assignment from a requisition (both based on ID variables)

Parameters
candidateId ID of candidate
requisitionId ID of requisition
Throws
TaleoException Exception

public void removeLink (String entityType1, long entityId1, String entityType2, long entityId2)

Remove Linkage between two entities in Taleo Business Edition.

Links are what tie one entity attribute to another. For example, linking a candidate to a requisition, or an attachment to a candidate.

Full list of entities include:

  • Account = ACCT
  • Candidate = CAND
  • Contact = CTCT
  • Requisition = REQU
  • User = WORK

Where the following linkage is available:

  • ACCT to REQU
  • CTCT to REQU
  • ACCT to CAND
  • CTCT to CAND
  • CAND to WORK

Parameters
entityType1 EntityType as provided in above list.
entityId1 ID of entity type 1
entityType2 EntityType as provided in above list.
entityId2 ID of entity type 2
Throws
TaleoException Exception

public SearchResultArr searchAccount (Map searchParams)

Query all accounts based on defined key (field name) and value (data looking for), and sends a correlated message of Account ID and associated search relevance.

Parameters
searchParams Map of search parameters always contains:key: name of field to search as a string. value: search parameter as string. For more details check Taleo Business Guide
Returns
  • The results that match the criteria
Throws
TaleoException Exception

public SearchResultArr searchCandidate (Map searchParams)

Query all candidates based on defined key (field name) and value (data looking for).

Parameters
searchParams Map of search parameters always contains:key: name of field to search as a string. value: search parameter as string. For more details check Taleo Business Guide
Returns
  • The results that match the criteria
Throws
TaleoException Exception

public SearchResultArr searchContact (Map searchParams)

Query all contacts based on defined key (field name) and value (data looking for)

Parameters
searchParams Map of search parameters always contains:key: name of field to search as a string. value: search parameter as string. For more details check Taleo Business Guide
Returns
  • The results that match the criteria
Throws
TaleoException Exception

public SearchResultArr searchEmployee (Map searchParams)

Query all employees based on defined key (field name) and value (data looking for)

Parameters
searchParams Map of search parameters always contains:key: name of field to search as a string. value: search parameter as string. For more details check Taleo Business Guide
Returns
  • The results that match the criteria
Throws
TaleoException Exception

public SearchResultArr searchRequisition (Map searchParams)

Query all requisitions based on defined key (fieldname) and value (data looking for).

Parameters
searchParams Map of search parameters always contains:key: name of field to search as a string. value: search parameter as string. For more details check Taleo Business Guide
Returns
  • The results that match the criteria
Throws
TaleoException Exception

public SearchResultArr searchUser (Map searchParams)

Query all Users based on defined key (field name) and value (data looking for).

Parameters
searchParams Map of search parameters always contains:key: name of field to search as a string. value: search parameter as string. For more details check Taleo Business Guide
Returns
  • Search results that match the criteria
Throws
TaleoException Exception

public void setAssociatedUser (long requisitionId, String association, long userId, int userSequenceNumber)

Set a user’s association to a requisition

Parameters
requisitionId Requisition ID
association Picklist of Association Values:
  • ‘O’ = Owner
  • ‘A’ = approvers (in order)
  • ‘F’ = offer approvers (in order)
  • ‘V’ = agencies
userId User ID
userSequenceNumber Sequence number of user to association value
Throws
TaleoException Exception

public void setBinaryOffer (long offerId, String fileName, ByteArr content)

Append an offer letter attachment by offer ID

Parameters
offerId ID of Offer instance
fileName Filename of binary file with defined file extension.
  • The following MIME types are acceptable:
  • Text = text/plain
  • html = text/html
  • RTF = text/richtext
  • Word = application/msword
  • DocX = application/vnd.openxmlformats- officedocument.wordprocessingml.document
  • PDF = application/pdf
content Base64Binary
Throws
TaleoException Exception

public void setBinaryResume (long candidateId, String fileName, ByteArr binaryAttachment)

Append a resume attachment to a candidate ID.

Parameters
candidateId ID of candidate
fileName Filename of binary file with defined file extension. The following MIME types are acceptable:
  • Text = text/plain
  • html = text/html
  • RTF = text/richtext
  • Word = application/msword
  • DocX = application/vnd.openxmlformats- officedocument.wordprocessingml.document
  • PDF = application/pdf
binaryAttachment Attachment
Throws
TaleoException Exception

public void setCompanyCode (String companyCode)

Parameters
companyCode

public void setDispatcherUrl (String dispatcherUrl)

Parameters
dispatcherUrl

public void submitCandidate (long candidateId, LongArr requisitionIds)

Submit a candidate to a requisition(s)

Parameters
candidateId ID of candidate
requisitionIds Array of requisition IDs
Throws
TaleoException Exception

public void unpostRequisition (long requisitionId, long posterId)

Unpost a specific requisition to a posting location

Parameters
requisitionId ID of requisition
posterId ID of the posting location, for example a specific Taleo Business Edition Career Website (picklist value ID #).
Throws
TaleoException Exception

public void updateAccount (AccountBean account)

Update an existing account. Update requests replace all data fields in the accountBean (i.e. data is not appended or upserted).

Parameters
account AcountBean required fields: id, name
Throws
TaleoException Exception

public void updateAttachment (long attachmentId, String description, String attachmentName, String contentType, ByteArr binaryResume)

Update an existing attachment. Note: Update requests replaces the attachment file (i.e. data is not appended or upserted)

Parameters
attachmentId Attachment ID
description Attachment Description
attachmentName Attachment Name
contentType Content Type
binaryResume Binary resume
Throws
TaleoException Exception

public void updateBackgroundCheck (BackgroundCheckBean backgroundCheck)

Update an existing BackgroundCheck instance. Update requests replace all data fields in the backgroundCheckBean (i.e. data is not appended or upserted).

Parameters
backgroundCheck Background required fields: candidataId, checkerName, comments.
Throws
TaleoException Exception

public void updateCandidate (CandidateBean candidate)

Update an existing candidate. Update requests replace all data fields in the candidateBean (i.e. data is not appended or upserted)

Parameters
candidate Candidate
Throws
TaleoException Exception

public void updateContact (ContactBean contact)

Update an existing contact. Update requests replace all data fields in the contactBean (i.e. data is not appended or upserted).

Parameters
contact Contact required fields: accountId, lastName.
Throws
TaleoException Exception

public void updateContactLog (ContactLogBean contactLog)

Update an existing contact log. Update requests replace all data fields in the contactLogBean (i.e. data is not appended or upserted).

Parameters
contactLog ContactoLog required fields: entityId,EntityType, id, subject, typeNo.
Throws
TaleoException Exception

public void updateEmployee (EmployeeBean employee)

Update an existing employee. Note: Update requests replace all data fields in the employeeBean (i.e. data is not appended)

Parameters
employee Employee required fields: id, status, employeeNumber, lastName set, ewsLogin, ewsPassword.
Throws
TaleoException Exception

public void updateEvent (CalendarEventBean event)

Update an existing calendar event. Update requests replace all data fields in the calendarEventBean (i.e. data is not appended or upserted).

Parameters
event CalendarEvent required fields: Id, status, duration, entityId, entityType, startDate, eventId, eventType, personId, personType.
Throws
TaleoException Exception

public void updateInterview (InterviewBean interview)

Update an existing interview instance. Update requests replace all data fields in the interviewBean (i.e. data is not appended or upserted)

Parameters
interview Interview required fields: id, status, candidateID, interviewType, requisitionId, startDate.
Throws
TaleoException Exception

public void updateOffer (OfferBean offer)

Update an existing offer instance Update requests replace all data fields in the offerBean (i.e. data is not appended or upserted).

Parameters
offer Offer required fields: id, status, candidateId, manager, requisitionId, title.
Throws
TaleoException Exception

public void updateReference (ReferenceBean reference)

Update an existing reference instance. Update requests replace all data fields in the referenceBean (i.e. data is not appended or upserted).

Parameters
reference Reference required fields: id, status, candidateId, refName.
Throws
TaleoException Exception

public void updateRequisition (RequisitionBean requisition)

Update an existing requisition instance. Update requests replace all data fields in the requisitionBean (i.e. data is not appended or upserted) Update requests replace all data fields in the requisitionBean (i.e. data is not appended or upserted). Send all elements back or the field values will be returned NULL.

Parameters
requisition Requisition required fields: id, status, location, title
Throws
TaleoException Exception

public void updateTask (TaskBean task)

Update an existing task event. Update requests replace all data fields in the taskBean (i.e. data is not appended or upserted).

Parameters
task Task required fields: id, status, creator, priority subject, eventiId, eventType, personId, personType, startDate
Throws
TaleoException Exception

public void updateUser (UserBean user)

Update an existing user. Can assign user to department via flexFields where each flexFields array appends an additional department value. The value can be either the department id (set on the bean as valueLong) or department name (as String). Update requests replace all data fields in the userBean (i.e. data is not appended or upserted). Send all elements back or the field values will be returned NULL.

Parameters
user User required fields: status, id, loginName, lastName, role
Throws
TaleoException Exception

public void upsertCandidateToRequisitions (long candidateId, LongArr requisitionIds, long statusId, long reasonId, boolean doRanking)

Upsert, or append a candidate to a requisition

Parameters
candidateId ID of candidate
requisitionIds Array of requisition IDs
statusId ID of status or requisition-specific status ID
reasonId ID of reasonRej or requisition rejected status ID
doRanking Forces the system to recalculate the candidate’s rank for that requisition on upsert
Throws
TaleoException Exception

public long upsertDepartment (DepartmentBean department)

Update or create a department instance. Upsert is used to both create or update data within a specific department. Using the department ID AND department Name attribute updates or replaces existing department details. Requires both

Parameters
department Department required fields: departmentID, departmentName.
Returns
  • Department ID
Throws
TaleoException Exception

public long upsertEmployee (String employeeNumber, EmployeeBean employee)

Upsert an existing employee record (create new and/or update existing). Upsert is the universal create and update command for Taleo Business Edition API. When using upsertEmployee as create command, use all the field except for employeeID, When using upsertEmployee as update command, use all fields or fields will be defined NULL (same as updateEmployee).

Parameters
employeeNumber Defined Employee Number
employee Employee required fields: Status, lastName, ewsLogin, ewsPassword. Specify an ID to update an existing one.
Returns
  • Employee Id
Throws
TaleoException Exception

public long upsertLocation (LocationBean location)

Update or create a Location instance.

Upsert is used to both create or update data within a specific Location. Using the Location ID AND Location Name attribute updates or replaces existing Location details.

Parameters
location Location
Returns
  • ID of Location
Throws
TaleoException Exception

public long upsertRegion (RegionBean region)

Update or create a Region instance. Upsert is used to both create or update data within a specific Region. Using the Region ID AND Region Name attribute updates or replaces existing Region details

Parameters
region Region required fields: RegionID, RegionName
Returns
  • Region ID
Throws
TaleoException Exception

public long upsertRollingEntity (FlexRollingEntityBean rollingEntityBean)

Update an existing rolling entity instance. Upsert is used to both create or update data within a specific rolling entity. Using the ID attribute updates or replaces existing rolling entity instance, whereas not using an entityId will create a new rolling entity for the entity ID.

Parameters
rollingEntityBean RollingEntity required field: Id, Status
Returns
  • ID of RollingEntity TODO: check if Taleo server returns the ID when the user creates a new one, since the XML sample show that the update return message was empty.
Throws
TaleoException Exception