Format a Parsed Resume with Custom Template🔗︎
HTTP Verb | Path |
---|---|
POST | /v10/formatter/resume/template |
Format a Parsed Resume into a standardized DOCX or PDF file using a custom template that you provide.
Info
- You can try this endpoint out at our Swagger page ( US Data Center | EU Data Center | AU Data Center )
Request Body🔗︎
ResumeData 🔗︎ object
required
ResumeData🔗︎
Parsed ResumeData
or RedactedResumeData
from the Textkernel CV/Resume Parser. See Parse a Resume
Template 🔗︎ string
required
Template🔗︎
A base64-encoded string of the DOCX template document 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. For more information on creating custom templates,
see here.
CustomData 🔗︎ object
CustomData🔗︎
Any data that the template needs that is not in the extracted CV data. For example:
Sample JSON
Response Body🔗︎
Info 🔗︎ object
Info🔗︎
Information explaining the outcome of the transaction.
Info properties
Code 🔗︎ string
Code🔗︎
Code | Description |
---|---|
Success |
Successful transaction |
MissingParameter |
A required parameter wasn't provided |
InvalidParameter |
A parameter was incorrectly specified |
AuthenticationError |
An error occurred with the credentials provided |
TemplateError |
There was a problem populating the given template |
Message 🔗︎ string
Message🔗︎
This message further describes the code providing additional detail.
TransactionId 🔗︎ string
TransactionId🔗︎
The (GUID) id for a specific API transaction. Use this when contacting support@textkernel.com about issues.
EngineVersion 🔗︎ string
EngineVersion🔗︎
The version of the parsing/matching engine running under-the-hood.
TotalElapsedMilliseconds 🔗︎ integer
TotalElapsedMilliseconds🔗︎
How long the transaction took on Textkernel's server, in milliseconds. If the transaction takes longer to complete on the client side, that extra duration is solely network latency.
TransactionCost 🔗︎ decimal
TransactionCost🔗︎
How many credits the transaction costs.How many credits the transaction costs.
CustomerDetails 🔗︎ object
CustomerDetails🔗︎
Information about the customer who made the API call.
CustomerDetails properties
CreditsRemaining 🔗︎ decimal
CreditsRemaining🔗︎
The number of credits remaining to be used by the account.
Sample JSON
{
"Info": {
"Code": "string",
"Message": "string",
"TransactionId": "string",
"EngineVersion": "string",
"ApiVersion": "string",
"TotalElapsedMilliseconds": 0,
"TransactionCost": 0,
"CustomerDetails": {
"AccountId": "string",
"Name": "string",
"IPAddress": "string",
"Region": "string",
"CreditsRemaining": 0,
"CreditsUsed": 0,
"ExpirationDate": "2021-12-31",
"MaximumConcurrentRequests": 0
}
},
"Value": {
"DocumentAsBase64String": ""
}
}