Move filters to the other corpus

Renumber lookup filter values for the other corpus (full or fresh), matched by exact label. Values the other corpus does not hold come back null, or are dropped and named when you send a whole search. Free.

POSThttps://app.trygtm.com/api/v1/prospects/filters/remap
Scope
read

Body

corpusstringrequired
The corpus to renumber into: full is the whole database, fresh the verified slice.fullfresh
searchstring | nulloptional
The Search screen's filter model as its compact JSON string, to renumber whole.
selectionsobject[] | nulloptional
Individual values to renumber, when not passing search.

Request

curl -X POST https://app.trygtm.com/api/v1/prospects/filters/remap \
  -H "Authorization: Bearer $TRYGTM_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "corpus": "full"
  }'

Response

{
  "data": {
    "resolution": {
      "state": {
        "44": "5312"
      },
      "job_title": {
        "9001": null
      }
    }
  }
}

Was this page helpful?