Skip to main

API Technical Specs

Learn how to configure and leverage our services to achieve your toughest recruiting needs.

Parse a Job Order

POST /v9/parser/joborder

Parse a single Job Order.

Notes

  • You can try this endpoint out in your Swagger page https://(your-server)/swagger/ui/index#!/Parser/Parser_ParseJobOrder
  • This service is designed to parse job orders. It assumes that all files passed to it are job orders. It does not attempt to detect whether a document is a job order or not. It should not be used to try to extract information from other types of documents.
  • This service supports all commercially viable document formats used for text documents (image formats are not supported). The service does not support parsing of image files (such as TIFF, JPG) or scanned images within supported document file formats. Always send the original file, not the result of copy/paste, not a conversion by some other software, not a scanned image, and not a version marked up with recruiter notes or other non-job order information. Be aware that if you pass garbage into the service, then you are likely to get garbage out. The best results are always obtained by parsing the original job order file.
  • Documents parsed by an account without AI Matching enabled will never be able to be used for matching/searching. For more information on enabling AI Matching reach out to sales@sovren.com

Request Body

DocumentAsBase64Stringrequiredstring
A Base64 encoded string of the job order file bytes. This should use the standard 'base64' encoding as defined in RFC 4648 Section 4 (not the 'base64url' variant). .NET users can use the Convert.ToBase64String(byte[]) method.
RevisionDaterequiredstring
Mandatorydate, in YYYY-MM-DD format, representing the "current" or "as of" date used during parsing. This is useful when parsing older documents. Read more about this here.
OutputHtmlrequiredboolean
When true, the original file is converted to HTML and stored in the Html property.
OutputRtfrequiredboolean
When true, the original file is converted to RTF and stored in the Rtf property.
OutputPdfrequiredboolean
When true, the original file is converted to PDF and stored in the Pdf property as a byte array.
Configurationrequiredobject
Options that influence parser behavior.
Configuration.CountryCoderequiredstring
A 2-letter ISO 3166 code (or comma-delimited list of such codes) indicating the country to be assumed in cases where the location cannot be automatically detected. If multiple codes are specified, the first one is given the highest priority.
Configuration.Languagerequiredstring
An ISO 639-1 two letter language code indicating the language to be assumed in cases where the language cannot be automatically detected.
Configuration.KnownTyperequiredstring
Optionally specify a known type to enable special processing. Possible values include:
  • Indeed
  • Stride
  • JOB_SUBMISSION_REPLY_TO_CANDIDATE
Configuration.IncludeRecruitingTermsrequiredboolean
Recruiting terms in skills and job titles are ignored by default, because these terms often appear in job orders that are unrelated to recruiting. If this job order is for a recruiting or human resources position, then set this to true.
Configuration.IncludeSupplementalTextrequiredboolean
The parser defaults to extracting data from only the text that precedes the place in job orders where they transition from describing the job itself to describing the company, hiring policies, background checks, benefits, etc. This division of text normally works well, but in some job orders it can occur in the wrong place. Set this to true to allow the parser to extract data from all of the text.
Configuration.PreferShorterJobTitlesrequiredboolean
The parser defaults to returning full job titles. Setting this option to true will shorten job titles by excluding trailing phrases that do not include job words, so that "Vice President" would be returned instead of "Vice President, Information Systems".
SkillsDatarequiredstring[]
Unavailable except in special cases. Please reach out to support@sovren.com.String[] of your custom skills list names and the Sovren "builtin" skills list. If no list is provided the Sovren builtin skills list will be used. The parser automatically detects language and looks for a corresponding skills list in that language, if no match is found this list is ignored.
NormalizerDatarequiredstring
Will be used in a future release.

Sample Request

{ ... 
"DocumentAsBase64String" :  "","RevisionDate" :  "","OutputHtml" :  false,"OutputRtf" :  false,"OutputPdf" :  false,{ ... 
"CountryCode" :  "","Language" :  "","KnownType" :  "","IncludeRecruitingTerms" :  false,"IncludeSupplementalText" :  false,"PreferShorterJobTitles" :  false
},
[ ... 
""
],
"NormalizerData" :  ""
}

Response Body

Infoobject
Information explaining the outcome of the transaction.
Info.Codestring
A response code elaborating on the HTTP status code.
The following is a list of codes that can be returned by the service:

Success – Successful transaction

PossibleTruncationFromTimeout - The timeout occurred before the document was finished parsing which can result in truncation

ConversionException - There was an issue converting the document

MissingParameter - A required parameter wasn't provided

InvalidParameter - A parameter was incorrectly specified

AuthenticationError - An error occurred with the credentials provided
Info.Messagestring
This message further describes the code providing additional detail.
Valueobject
Contains response data for the transaction.
Value.ParsedDocumentstring
The parser results in JSON string format.
Value.FileTypestring
The input file type that was submitted through the ParseJobOrderRequest.
Value.Textstring
The plain text of the parsed job order.
Value.TextCodestring
A response code indicating the status of the conversion to Text.
Value.Htmlstring
HTML version of the input file, if OutputHtml was set to true.
Value.HtmlCodestring
A response code indicating the status of the conversion to HTML.
Value.Rtfstring
RTF version of the input file, if OutputRtf was set to true.
Value.RtfCodestring
A response code indicating the status of the conversion to RTF.
Value.Pdfstring
The PDF version of the input file, if OutputPdf was set to true. The file bytes are in a Base64-encoded string.
Value.PdfCodestring
A response code indicating the status of the conversion to PDF.
Value.FileExtensionstring
The recommended file extension of the input file.
Value.CreditsRemainingdecimal
Not used - always returns 0.

Sample Response

{ ... 
{ ... 
"Code" :  "","Message" :  ""
},
{ ... 
"ParsedDocument" :  "","FileType" :  "","Text" :  "","TextCode" :  "","Html" :  "","HtmlCode" :  "","Rtf" :  "","RtfCode" :  "","Pdf" :  "","PdfCode" :  "","FileExtension" :  "","CreditsRemaining" :  0
}
}