Generate the Matching UI Details View🔗︎
This feature has been deprecated.
HTTP Verb | Path |
---|---|
POST | /ui/v10/details/job |
Generate an HTML user interface for reviewing a single result from 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 a Bimetric Score API response.
MatchDetails properties
AppliedCategoryWeights 🔗︎ object
required
AppliedCategoryWeights🔗︎
The AppliedCategoryWeights object from the API call that generated the above Result. One of:
SourceDocumentType 🔗︎ string
required
SourceDocumentType🔗︎
The type of document the job was scored against. Either Resume
or Job
.
JobData 🔗︎ object
required
JobData🔗︎
The Textkernel parsed job object that will be used (along with the match result above) to populate the details view.
HtmlDocument 🔗︎ string
HtmlDocument🔗︎
The HTML job to be displayed in the details view. If you do not provide this, only the plain text for the job is shown. The only allowed HTML string is the one generated by Textkernel in a Parse API when you set OutputHtml to true. See here: Parsed Job HTML.
Sample JSON
{
"UIOptions": {
"Username": "",
"Style": {
"PrimaryColor": "",
"HeaderColor": "",
"SquareCorners": false,
"FontFamily": "",
"FontUrl": ""
}
},
"MatchDetails": {
"Result": {
"SovScore": 0.0,
"*": "..."
},
"AppliedCategoryWeights": {
"Skills": 0.0,
"*": "..."
},
"SourceDocumentType": "",
"JobData": {
"JobDescription": "",
"*": "..."
},
"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.