# Taleo Enterprise Jobs API

> Query jobs from Oracle Taleo Enterprise career sections through one API with ?source=taleo_enterprise, plus the missing header behind the 500, the portal id in the page, and the totalCount that overstates the board.

Source: https://hyperjobs.io/ats/taleo-enterprise

Taleo Enterprise Edition (TEE) is the large-enterprise Taleo: career sections at
`<tenant>.taleo.net/careersection/<section>/jobsearch.ftl`, run by employers like
HDR, Hyatt, BAE Systems and easyJet. It shares a brand and a domain with
[Taleo Business Edition](/ats/taleo) and almost nothing else, so it's a separate
source with its own value: `taleo_enterprise`.

For a long time TEE was written off as needing a browser. Its search page
answers `200` with zero job links, and its REST search answers `500`. Both are
true, and neither is a wall.

## Try it

```bash
curl -G https://api.hyperjobs.io/v1/jobs \
  -H "Authorization: Bearer $HYPERJOBS_KEY" \
  --data-urlencode "source=taleo_enterprise" \
  --data-urlencode "limit=2"
```

<Note>
  The value has an underscore and the page URL doesn't: the filter is
  `taleo_enterprise`, the page is `/ats/taleo-enterprise`. For both Taleos at
  once, `?source=taleo,taleo_enterprise`.
</Note>

## What a career section looks like

```bash
# List: 25 requisitions a page; tz header and portal id required
curl -X POST "https://<tenant>.taleo.net/careersection/rest/jobboard/searchjobs?lang=en&portal=<portalNo>" \
  -H "tz: GMT+00:00" -H "Content-Type: application/json" \
  -d '{"multilineEnabled":false,"pageNo":1}'

# Ids: the section's sitemap, one <loc> a job
curl "https://<tenant>.taleo.net/careersection/sitemap.jss?portalCode=<section>&lang=en"

# Detail
curl "https://<tenant>.taleo.net/careersection/<section>/jobdetail.ftl?job=<contestNo>&lang=en"
```

**The `500` is a missing header.** The page's own script sends the browser's
time-zone offset as a `tz` header. Without it, TEE answers `500` to any body;
with `tz: GMT+00:00`, the same request is a `200`.

**The portal id is in the page.** `jobsearch.ftl` states it in its own script
configuration, so it's read per board, never guessed. One id is shared by
several unrelated tenants, which is harmless: the tenant is the host the request
goes to.

## What else bites you

**`totalCount` is not the board.** The search counts requisitions it never
serves. Pages run short and then empty long before the count says they should:
one tenant served 539 of 2,065 counted, with single rows reappearing after runs
of empty pages, so an empty page isn't the end either. The section's **sitemap**
is the true list, and a superset of what the search serves: postings in it that no
search finds are live, with full descriptions. So the posting set is search plus
sitemap, and a list is complete when every page answered, never when the rows
reach `totalCount`, which they never would.

**Two search templates.** Most tenants serve the faceted REST search. Some serve
an older XHTML search whose first rows sit in the page state and the rest behind
a form-post pager. A section with neither still has its sitemap.

**The columns are the tenant's, and the User-Agent's.** Which columns a row has
is the section's configuration, and the multi-line layout has its own set. The
same request with a bot's User-Agent gets different columns from a browser's,
the date column among them. Read the columns by the names the search page gives
them, not by position.

**The detail is server-side, in the page state.** There's no JSON-LD and the
visible fields are empty templates. The posting is in a hidden form field, its
values joined by a delimiter, percent-encoded and positional, so only values that
describe themselves can be trusted.

**The requisition number is per tenant.** It's the tenant's own counter, so the
id is scoped by tenant; sister sections of one tenant list the same requisitions,
and they're one set.

## Or use ours

You get every posting in the section, including the ones no search finds, from
either search template, with the description out of the page state. Then the
usual: duplicates across sources linked to one job and the
[company join](/docs/objects/company), normalised onto the same
[schema](/docs/objects/job) as every other source.

Query it with `?source=taleo_enterprise`. The keys of
[`/v1/meta`](/docs/api-reference/meta)`.sources` are the values `?source=`
actually accepts, with counts. Read that rather than hardcode a list.

[Taleo Business Edition](/ats/taleo) · [Sources & coverage](/docs/reference/sources) ·
[all platforms](/ats) · [quickstart](/docs/quickstart).
