Generate the Matching UI Details View🔗︎
This feature has been deprecated.
HTTP Verb | Path |
---|---|
POST | /ui/v9/details |
Generate an HTML user interface for reviewing a single result from Search & Match or Bimetric Scoring that can be consumed in your client application.
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.
MatchDetails 🔗︎ object
required
MatchDetails🔗︎
The information about the match result for this session. These properties should be filled from an Search & Match or Bimetric Score API response.
MatchDetails properties
AppliedCategoryWeights 🔗︎ object
required
AppliedCategoryWeights🔗︎
The AppliedCategoryWeights list from the API call that generated the above Result. One of:
SourceDocumentType 🔗︎ string
required
SourceDocumentType🔗︎
The type of document the result was scored against. Either Resume
or Job
.
ParsedDocument 🔗︎ string
ParsedDocument🔗︎
The Textkernel parsed document string. This is only required if you are viewing details for a Bimetric Score result. For Search & Match results, this value will be set automatically from the indexed document (using the DocumentId/IndexId pair in the match result). If set, should be one of:
Sample JSON
{
"UIOptions": {
"Username": "",
"Style": {
"PrimaryColor": "",
"HeaderColor": "",
"SquareCorners": false,
"FontFamily": "",
"FontUrl": ""
}
},
"MatchDetails": {
"Result": {
"SovScore": 0.0,
"*": "..."
},
"AppliedCategoryWeights": {
"Skills": 0.0,
"*": "..."
},
"SourceDocumentType": "",
"ParsedDocument": "",
"HtmlDocument": ""
}
}
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.