Taleo HCM REST API SDK for Node.js
A Node.js REST API SDK for Taleo Business Edition. The data in Taleo is structured
as entities and relationships. Each entity type can have relationships to other entities,
employee can upload documents during onboarding, so there will be an
relationship which relates the
employee with their
Relationships are typically queried with the following URI:
The SDK provides neat interfaces for these (see below example for getting employee attachments).
const Taleo = ;var taleo =orgCode: 'YOURCOMPANYCODE'username: 'your_username'password: 'your_password';taleo;
taleo;// Once close() is called, new requests will return an error
Get employee by ID
Get employee attachments
Get employee packets
Get packet by ID
Get packet activities
Get activity by ID
Download and activity form as a PDF and write the contents to a writable stream.
Get activity form as readable stream
Since requests are handled in a queue, your file may not download immediately when downloadActivity() is called. As such, the readable stream is passed as an argument to a handler function which you can then use. The readable stream is a wrapper around a request, so it must be consumed otherwise the request will not go through, blocking the queue.