Compare Professions🔗︎
HTTP Verb | Path |
---|---|
POST | /v10/ontology/compare-professions |
Compare two professions based on the skills associated with each.
Info
- You can try this endpoint out at our Swagger page ( US Data Center | EU Data Center | AU Data Center )
- The skill set used to determine the "common skills" is a larger set than /suggestskills returns. This is done to ensure less salient skills are listed as common ones if they are related to both professions. That means that the "common skills" don't necessarily align with the suggested skills.
Scope of use🔗︎
The purpose of this endpoint is to provide insights or enrich data records using our Ontology. You may store the parts of the response that are relevant to individual data records - such as candidate or employee profiles - within these records. It is not permitted to cache, store, or utilize responses from this endpoint for the purpose of limiting request volume, or to create replicas or derivatives of the Service and the Ontology.
Request Body🔗︎
ProfessionACodeId 🔗︎ int
required
ProfessionACodeId🔗︎
A profession code ID from the Professions Taxonomy to compare.
ProfessionBCodeId 🔗︎ int
required
ProfessionBCodeId🔗︎
A profession code ID from the Professions Taxonomy to compare.
OutputLanguage 🔗︎ string
OutputLanguage🔗︎
The language to use for the returned descriptions. If not provided, no descriptions are returned. Must be one of the supported ISO codes.
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 |
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.
Value 🔗︎ object
Value🔗︎
Contains response data for the transaction.
Value properties
SimilarityScore 🔗︎ float
SimilarityScore🔗︎
A value from [0 - 1] indicating the similarity between the two professions.
CommonSkills 🔗︎ object[]
CommonSkills🔗︎
A list of common skills for both professions.
CommonSkills properties
ExclusiveSkillsByProfession 🔗︎ object[]
ExclusiveSkillsByProfession🔗︎
A list of exclusive skills per profession. This list will have at most 2 entries (one for each profession you provided).
ExclusiveSkillsByProfession properties
ProfessionCodeId 🔗︎ string
ProfessionCodeId🔗︎
The code ID of the profession in the Professions Taxonomy.
SkillsFoundOnlyInThisProfession 🔗︎ object[]
SkillsFoundOnlyInThisProfession🔗︎
A list of skills that are relative to this profession, but not the other.
SkillsFoundOnlyInThisProfession properties
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": {
"SimilarityScore": 0.0,
"CommonSkills": [
{
"Score": 0.0,
"Id": "string",
"Description": "string"
}
],
"ExclusiveSkillsByProfession": [
{
"ProfessionCodeId": 0,
"SkillsFoundOnlyInThisProfession": [
{
"Score": 0.0,
"Id": "string",
"Description": "string"
}
]
}
]
}
}