Search position seniorities

Operation ID: searchPositionSeniorities

Group: People Management › Position Seniorities

Open in the interactive reference

POST /people/position-seniorities/search

Read-only: A read that takes its filters in the body. Changes nothing, and ignores Idempotency-Key.

Searches position seniority records in every status. A record must match every filter you send. To find the record another system knows, filter on externalIdentifier; several records can share one value, so check how many come back. Results are ordered by creation, oldest first.

Parameters

Name In Type Required Description
Api-Version header string · v1 yes The API version this request targets, named by its public identifier. Required on every request; omitting it, or naming a version this company does not have, is answered with 400. This document describes version v1.

Request body

Required, application/json: searchPositionSenioritiesInput.

Field Type Required Description
filters object no The filters to apply. A record must match every filter you send. Omit to return all records.
filters.ids array<string> no Limits results to the records with these identifiers.
filters.externalIdentifier object no Limits results to records that carry this external identifier. Several records can share one value.
filters.externalIdentifier.fieldName string yes The configured key, for example 'apposeId'. A key that is not configured fails with UNKNOWN_EXTERNAL_IDENTIFIER.
filters.externalIdentifier.value string yes The identifier in the other system. The match is exact.
filters.status string no Limits results to records with this status. One of: "Active", "Inactive", "Deprecated".
filters.levelName string no Limits results to the record with exactly this name.
page object no Pagination controls. Omit for the first page.
page.cursor string no The cursor from the previous response's pagination.nextCursor. Omit on the first request. Do not construct it.
page.size number no The number of records per page, between 1 and 200. Defaults to 50. A value above 200 is treated as 200.
{}

Response

200 Success

Under data (searchPositionSenioritiesOutput):

Field Type Required Description
items array<object> yes The records on this page. An empty array when nothing matches.
items[].id string yes The unique identifier for the position seniority.
items[].levelName string yes The name of the seniority level, for example 'Senior'.
items[].levelOrder number yes The rank of the level on the career ladder. A higher number is more senior.
items[].status string yes The status of the position seniority. A deleted position seniority is 'Deprecated' and can be reactivated. One of: "Active", "Inactive", "Deprecated".
items[].externalIdentifiers array<object> no Identifiers owned by other systems. At most one entry per fieldName. Absent when there are none.
items[].externalIdentifiers[].fieldName string yes The configured key of the identifier, for example 'apposeId'.
items[].externalIdentifiers[].value string yes The identifier as the other system holds it.
items[].externalIdentifiers[].externalUrl string no An absolute http(s) link to the record in the other system.
items[].lastModifiedDate date-time yes The date and time the position seniority last changed, in UTC. Format YYYY-MM-DDTHH:mm:ss.sssZ. Changes to external identifiers alone do not move it.
pagination object yes Cursor and flag for fetching the next page.
pagination.nextCursor string no Pass back as page.cursor. Absent on the last page.
pagination.hasMore boolean yes Whether a further page exists.
{
  "data": {
    "items": [
      {
        "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "levelName": "<levelName>",
        "levelOrder": 0,
        "status": "Active",
        "externalIdentifiers": [
          {
            "fieldName": "<fieldName>",
            "value": "<value>",
            "externalUrl": "<externalUrl>"
          }
        ],
        "lastModifiedDate": "2026-01-15T09:30:00.000Z"
      }
    ],
    "pagination": {
      "nextCursor": "<nextCursor>",
      "hasMore": true
    }
  },
  "diagnostics": [
    {
      "code": "<code>",
      "message": "<message>",
      "severity": "error",
      "path": [
        "<path>"
      ],
      "details": "<details>"
    }
  ]
}

Errors

Code Status
TOO_MANY_ITEMS 400
UNKNOWN_EXTERNAL_IDENTIFIER 400
INVALID_CURSOR 400

Statuses