Skip to content
Tx Platform
Match / Search / Score

Generate the Matching UIπŸ”—︎

This feature has been deprecated.

HTTP Verb Path
POST /ui/v10/matcher/resume
HTTP Verb Path
POST /ui/v10/matcher/joborder
HTTP Verb Path
POST /ui/v10/matcher/indexes/(indexId)/documents/(documentId)
HTTP Verb Path
POST /ui/v10/searcher
HTTP Verb Path
POST /ui/v10/scorer/bimetric/resume
HTTP Verb Path
POST /ui/v10/scorer/bimetric/joborder

Generate an HTML user interface for matching/searching that can be consumed in your client application.

Info

  • Pagination settings in the SaasRequest such as Take or Skip will be accepted in Search queries, but ignored in Match queries.
  • UserDefinedTags can be set in the FilterCriteria and passed through in the background ONLY if there are no UserDefinedTagsPicklists specified in the request.

Request BodyπŸ”—︎

UIOptions πŸ”—︎ object

UIOptionsπŸ”—︎

Object representing various options for generating the UI.


UIOptions properties

Username πŸ”—︎ string

UsernameπŸ”—︎

The username of the current user. *If you do not provide this, the user will be required to login when they view the page.

Style πŸ”—︎ object

StyleπŸ”—︎

Specifies custom style options for this session.


Style properties

PrimaryColor πŸ”—︎ string

PrimaryColorπŸ”—︎

An HTML color used to generate several related colors for various UI elements. For example: #077799.

HeaderColor πŸ”—︎ string

HeaderColorπŸ”—︎

An HTML color used for the background of the section/accordian headers. For example: #077799.

SquareCorners πŸ”—︎ boolean

SquareCornersπŸ”—︎

true to use square corners for UI elements. Default is false for rounded corners.

FontFamily πŸ”—︎ string

FontFamilyπŸ”—︎

A CSS font-family to use for all UI elements. For example: Arial.

FontUrl πŸ”—︎ string

FontUrlπŸ”—︎

If you'd like to use a non-standard font, specify the URL where that font can be downloaded here. For example: https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap. Note that you also need to define the FontFamily if you use this option.

ShowFilterCriteria πŸ”—︎ boolean

ShowFilterCriteriaπŸ”—︎

Allow the user to see/modify the filter criteria.

FiltersToShow πŸ”—︎ object[]

FiltersToShowπŸ”—︎

If specified, only allows the user to see/modify certain filter categories. Also, the order specified here is the order in which the filters will appear in the UI.


FiltersToShow properties

FilterId πŸ”—︎ string required

FilterIdπŸ”—︎

One of:

  • JOB_TITLES
  • EXPERIENCE
  • SKILLS
  • INDUSTRIES
  • BOOLEAN
  • LANGUAGES
  • CERTIFICATIONS
  • EXECUTIVE_TYPES
  • LOCATION
  • EDUCATION
  • EMPLOYERS
  • TAGS
  • METADATA
  • UNCOMMON
Title πŸ”—︎ string

TitleπŸ”—︎

An optional value to override the title that is shown for a specific filter. If not specified, the defaults are as below:

  • Job Titles
  • Experience
  • Skills
  • Industries
  • Boolean or Semantic Search
  • Spoken Languages
  • Certifications
  • Executive Types
  • Location
  • Education
  • Employers
  • User-Defined Tags
  • Document Metadata
  • Uncommon Filters
ExecuteImmediately πŸ”—︎ boolean

ExecuteImmediatelyπŸ”—︎

Execute the query as soon as the page loads.

ShowBanner πŸ”—︎ boolean

ShowBannerπŸ”—︎

Show the banner containing your account logo inside the matching UI.

ShowWeights πŸ”—︎ boolean

ShowWeightsπŸ”—︎

Allow the user to see/modify the category weights.

ShowDetailsButton πŸ”—︎ boolean

ShowDetailsButtonπŸ”—︎

Show a button that opens the 'details' popup containing detailed job/resume info.

ShowFindSimilar πŸ”—︎ boolean

ShowFindSimilarπŸ”—︎

Adds a button in the Actions menu that matches other jobs/resumes similar to the current one.

Hooks πŸ”—︎ object

HooksπŸ”—︎

Contains all the User Action Hooks for this session.


Hooks properties

Client πŸ”—︎ object[]

ClientπŸ”—︎

The client-sideΒ  User Action Hooks Β for this session.


Client properties

LinkText πŸ”—︎ string

LinkTextπŸ”—︎

Text to display on the button for the user action.

IsBulk πŸ”—︎ boolean

IsBulkπŸ”—︎

Allows users to select multiple documents and perform this action on all of them at once. Note that this can only be set to true when you use a JSAction. UrlActions are not supported. See here for more info.

UrlAction πŸ”—︎ object

UrlActionπŸ”—︎

A URL action to perform when the user clicks the button.


UrlAction properties

Url πŸ”—︎ string

UrlπŸ”—︎

The URL to show (either in another tab/window or in an iFrame inside the Matching UI).

Target πŸ”—︎ string

TargetπŸ”—︎

Use tx to open a popup inside the Matching UI and display the webpage. Any other value will be used just like the target attribute on a normal anchor tag ( _blank for a new tab/window, etc).

JsAction πŸ”—︎ object

JsActionπŸ”—︎

A Javascript action to perform when the user clicks the button.


JsAction properties

Target πŸ”—︎ string

TargetπŸ”—︎

One of parent or opener, depending if you use an iFrame to show the Matching UI in your system, or if you open it in a separate tab/window.

TargetOrigin πŸ”—︎ string

TargetOriginπŸ”—︎

The 'targetOrigin' parameter for the window.postMessage() call. For more information see here.

Data πŸ”—︎ any

DataπŸ”—︎

Any data you want to be sent (in addition to document information) in the 'message' parameter for the window.postMessage() call. For more information see here.

Server πŸ”—︎ object[]

ServerπŸ”—︎

The server-side (HTTP POST) User Action Hooks for this session.


Server properties

LinkText πŸ”—︎ string

LinkTextπŸ”—︎

The text to display on the button for the user action.

Url πŸ”—︎ string

UrlπŸ”—︎

The URL for an HTTP POST call to perform some action in your system.

CustomInfo πŸ”—︎ any

CustomInfoπŸ”—︎

Any data from your system that you need to associate with this session/action. This is sent (in addition to document information) in the POST body. For more information see User Action Hooks.

IsBulk πŸ”—︎ boolean

IsBulkπŸ”—︎

Allows users to select multiple documents and perform this action on all of them at once. See User Action Hooks for more info.

OnUpdate πŸ”—︎ object

OnUpdateπŸ”—︎

This is called when the user makes category weight changes or adds/removes filter criteria and then re-runs the query. You can use these to store user preferences for use on future queries.


OnUpdate properties

Server πŸ”—︎ object

ServerπŸ”—︎

Makes a POST call to the specified URL with the filter/weights data.


Server properties

Url πŸ”—︎ string

UrlπŸ”—︎

The URL for an HTTP POST call to perform some action in your system.

CustomInfo πŸ”—︎ any

CustomInfoπŸ”—︎

Any data from your system that you need to associate with this session/action. This is sent (in addition to filter criteria and suggested weights) in the POST body. For more information see here.

Client πŸ”—︎ object

ClientπŸ”—︎

Makes a Javscript call via postMessage containing the filter/weights data.


Client properties

Target πŸ”—︎ string

TargetπŸ”—︎

One of parent or opener, depending if you use an iFrame to show the Matching UI in your system, or if you open it in a separate tab/window.

TargetOrigin πŸ”—︎ string

TargetOriginπŸ”—︎

The 'targetOrigin' parameter for the window.postMessage() call. For more information see here.

Data πŸ”—︎ any

DataπŸ”—︎

Any data you want to be sent (in addition to filter criteria and suggested weights) in the 'message' parameter for the window.postMessage() call. For more information see here.

UserDefinedTagsPicklists πŸ”—︎ object[]

UserDefinedTagsPicklistsπŸ”—︎

An array of picklists populated with user-defined tags for users to select from and filter on.


UserDefinedTagsPicklists properties

Label πŸ”—︎ string

LabelπŸ”—︎

The label that will appear above the picklist in the UI.

Options πŸ”—︎ object[]

OptionsπŸ”—︎

An array of user-defined tags to be used as the options in the picklist.


Options properties

Value πŸ”—︎ string

ValueπŸ”—︎

The user-defined tag.

Text πŸ”—︎ string

TextπŸ”—︎

The text that will show in the picklist for the user-defined tag.

SkillsAutoCompleteCustomSkillsList πŸ”—︎ string[]

SkillsAutoCompleteCustomSkillsListπŸ”—︎

String[] of your custom skills list names. The builtin Textkernel skills lists are always included.

SaasRequest πŸ”—︎ object required

SaasRequestπŸ”—︎

The SaaS request that defines the match/search. See the Search & Match and AI Search endpoints for details.


SaasRequest properties

IndexIdsToSearchInto πŸ”—︎ string[] required

IndexIdsToSearchIntoπŸ”—︎

The ids (case-insensitive) of the indexes in which you want to find results. This is the only required value in the SaasRequest.

* πŸ”—︎ any

*πŸ”—︎

All of the parameters that are supported in the normal Search & Match and AI Search requests are supported, apart from pagination settings for Match queries as noted above.

GeocodeOptions πŸ”—︎ object

GeocodeOptionsπŸ”—︎

All of the parameters that are supported in the normal parsing geocode options requests are supported. See Parse a Resume for more details.

Sample JSON
{
  "UIOptions": {
    "Username": "",
    "Style": {
      "PrimaryColor": "",
      "HeaderColor": "",
      "SquareCorners": false,
      "FontFamily": "",
      "FontUrl": ""
    },
    "ShowFilterCriteria": true,
    "FiltersToShow": [
      {
        "FilterId": "",
        "Title": ""
      }
    ],
    "ExecuteImmediately": false,
    "ShowBanner": true,
    "ShowWeights": true,
    "ShowDetailsButton": true,
    "ShowFindSimilar": true,
    "Hooks": {
      "Client": [
        {
          "LinkText": "",
          "IsBulk": false,
          "UrlAction": {
            "Url": "",
            "Target": ""
          },
          "JsAction": {
            "Target": "",
            "TargetOrigin": "",
            "Data": {}
          }
        }
      ],
      "Server": [
        {
          "LinkText": "",
          "Url": "",
          "CustomInfo": {},
          "IsBulk": false
        }
      ],
      "OnUpdate": {
        "Server": {
          "Url": "",
          "CustomInfo": {}
        },
        "Client": {
          "Target": "",
          "TargetOrigin": "",
          "Data": {}
        }
      }
    },
    "CustomValuePicklists": [
      {
        "Label": "",
        "Options": [
          {
            "Value": "",
            "Text": ""
          }
        ]
      }
    ],
    "SkillsAutoCompleteCustomSkillsList": [
      ""
    ]
  },
  "SaasRequest": {
    "IndexIdsToSearchInto": [
      ""
    ],
    "*": "..."
  },
  "ParseOptions": {
    "Configuration": "",
    "SkillsData": [
      ""
    ],
    "NormalizerData": ""
  },
  "GeocodeOptions": {
    "*": "..."
  }
}

Response BodyπŸ”—︎

url πŸ”—︎ string

urlπŸ”—︎

The endpoint to hit to get the generated Matching UI. The first request to this endpoint will automatically authenticate the user. Subsequent requests (who are not already authenticated) will require a login. This url will be valid for at least 24 hours.

expires_in πŸ”—︎ integer

expires_inπŸ”—︎

The number of seconds until the url auto-authentication expires.

Sample JSON
{
  "url": "",
  "expires_in": 0
}