Search SBO context values

Operation ID: searchSboContextValues

Group: People Management › SBO Context Values

Open in the interactive reference

POST /people/sbo-context-values/search

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

Searches SBO context values. 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: searchSboContextValuesInput.

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.contextValue string no Limits results to the record with exactly this value.
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.
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 (searchSboContextValuesOutput):

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 SBO context value.
items[].contextValue string yes The SBO context value, for example 'Engineering'.
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 SBO context value last changed, in UTC. Format YYYY-MM-DDTHH:mm:ss.sssZ.
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",
        "contextValue": "<contextValue>",
        "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