Generate the Matching UIπ︎
This feature has been deprecated.
HTTP Verb | Path |
---|---|
POST | /ui/v9/matcher/documents |
HTTP Verb | Path |
---|---|
POST | /ui/v9/matcher/indexes/(indexId)/documents/(documentId) |
HTTP Verb | Path |
---|---|
POST | /ui/v9/searcher |
HTTP Verb | Path |
---|---|
POST | /ui/v9/scorer/bimetric |
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.
- CustomValueIds can be set in the FilterCriteria and passed through in the background ONLY if there are no CustomValuePicklists 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.
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
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
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.
Server π︎ object[]
Serverπ︎
The server-side (HTTP POST)Β User Action Hooks Β for this session.
Server properties
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
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.
CustomValuePicklists π︎ object[]
CustomValuePicklistsπ︎
An array of picklists populated with custom values for users to select from and filter on.
CustomValuePicklists properties
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.